Check AVX-512 assembler support first
[glibc.git] / ChangeLog
blobfef3cf5cb5132d891d83b498752ec3bf8dac1e68
1 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4         first.  Disable AVX-512 GCC support if assembler doesn't support
5         it.
6         * sysdeps/x86_64/configure: Regenerated.
8 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12         (__old_pthread_attr_setstack): Likewise.
13         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14         [!_STACK_GROWS_DOWN]: Likewise.
16 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
18         * config.make.in (have-bash2): Delete.
19         * configure.ac (libc_cv_have_bash2): Delete.
20         * configure: Regenerate.
21         * elf/Makefile (common-ldd-rewrite): Rename to ...
22         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
23         (sh-ldd-rewrite): Delete.
24         (bash-ldd-rewrite): Delete.
25         (have-bash2): Delete checks.
26         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
28 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30         * config.make.in (have-ksh): Delete.
31         (KSH): Delete.
32         * configure.ac (libc_cv_have_ksh): Delete.
33         * configure: Regenerate.
35 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37         * elf/Makefile: Delete $(have-ksh) check.
38         ($(objpfx)sotruss): Change KSH to BASH.
39         * elf/sotruss.ksh: Rename to ...
40         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41         function style to match POSIX.  Drop ksh vim mode setting.
43 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
45         * manual/time.texi (Specifying the Time Zone with TZ): Change
46         Tuesday to Thursday.
48 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
50         * debug/tst-longjmp_chk2.c: Update header comment.
51         (stackoverflow_handler): Add comment.  Call assert on pass value.
53 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
55         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
56         (HAVE_AVX512_ASM_SUPPORT): Likewise.
57         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
58         (La_x86_64_vector): Add zmm.
59         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
60         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
61         ($(objpfx)tst-audit10): New target.
62         ($(objpfx)tst-audit10.out): Likewise.
63         (tst-audit10-ENV): New.
64         (AVX512-CFLAGS): Likewise.
65         (CFLAGS-tst-audit10.c): Likewise.
66         (CFLAGS-tst-auditmod10a.c): Likewise.
67         (CFLAGS-tst-auditmod10b.c): Likewise.
68         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
69         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
70         * sysdeps/x86_64/configure: Regenerated.
71         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
72         AVX-512 zmm register support.
73         (_dl_x86_64_save_sse): Likewise.
74         (_dl_x86_64_restore_sse): Likewise.
75         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
76         size vector registers.
77         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
78         (ZMM_SIZE): Likewise.
79         * sysdeps/x86_64/tst-audit10.c: New file.
80         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
81         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
83 2014-03-13  Roland McGrath  <roland@hack.frob.com>
85         * configure.ac (HAVE_EHDR_START): New check.
86         * configure: Regenerated.
87         * config.h.in (HAVE_EHDR_START): New #undef.
88         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
89         assuming the lowest-addressed segment maps the start of the file.
91 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
93         * INSTALL: Regenerated.
95 2014-03-13  Will Newton  <will.newton@linaro.org>
97         * manual/setjmp.texi (System V contexts): Improve
98         clarity and grammar of documentation.
100 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
102         [BZ #16381]
103         * elf/Makefile (tests): Add tst-pie2.
104         (tests-pie): Add tst-pie2.
105         * elf/tst-pie2.c: New file.
106         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
107         for ET_EXEC.
108         * elf/rtld.c (map_doit): Load executable as lt_executable.
109         (dl_main): Likewise.
111 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
113         [BZ #16642]
114         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
115         (__ASSUME_PSELECT): Undefine.
117 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
119         [BZ #16689]
120         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
121         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
122         static build.
123         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
124         selector for static builds.
126 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
128         [BZ #16695]
129         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
130         key in the buffer.
132 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
134         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
135         selector for static builds.
137 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
139         * sysdeps/mips/math_private.h [__mips_hard_float]
140         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
141         libc_feresetround_mips_ctx.
142         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
143         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
144         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
146         [BZ #16677]
147         * math/s_nextafter.c (__nextafter): Do not return value from
148         overflowing computation.
149         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
150         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
151         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
152         Likewise.
153         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
154         Likewise.
155         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
156         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
158 2014-03-11  Roland McGrath  <roland@hack.frob.com>
160         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
161         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
162         Move sfi_sp use from the load-multiple (that no longer sets sp) to
163         the new mov targetting sp.
165 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
167         [BZ #16683]
168         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
169         Define it for static builds as well.
170         (NO_BZERO_IMPL): Likewise.
172 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
174         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
175         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
176         multiarch strspn for PPC64.
177         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
178         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
180         (__libc_ifunc_impl_list): Likewise.
181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
182         multiarch optimizations
183         * string/strspn.c (strspn): Using macro to redefine symbol name.
185 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
186             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
188         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
189         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
190         multiarch strncat for PPC64.
191         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
192         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
194         (__libc_ifunc_impl_list): Likewise.
195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
196         multiarch optimizations
198 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
200         [BZ #16639]
201         * nscd/nscd.service: Make service type forking.
203 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
205         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
206         sign in non default rounding modes.
207         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
209 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
211         * math/libm-test.inc (ALL_RM_TEST): New macro.
212         (ceil_test): Use ALL_RM_TEST.
213         (cimag_test): Likewise.
214         (conj_test): Likewise.
215         (copysign_test): Likewise.
216         (cproj_test): Likewise.
217         (creal_test): Likewise.
218         (fabs_test): Likewise.
219         (floor_test): Likewise.
220         (fmax_test): Likewise.
221         (fmin_test): Likewise.
222         (fmod_test): Likewise.
223         (fpclassify_test): Likewise.
224         (frexp_test): Likewise.
225         (ilogb_test): Likewise.
226         (isfinite_test): Likewise.
227         (finite_test): Likewise.
228         (isgreater_test): Likewise.
229         (isgreaterequal_test): Likewise.
230         (isinf_test): Likewise.
231         (isless_test): Likewise.
232         (islessequal_test): Likewise.
233         (islessgreater_test): Likewise.
234         (isnan_test): Likewise.
235         (isnormal_test): Likewise.
236         (issignaling_test): Likewise.
237         (isunordered_test): Likewise.
238         (logb_test): Likewise.
239         (logb_downward_test_data): Remove.
240         (logb_test_downward): Likewise.
241         (lround_test): Use ALL_RM_TEST.
242         (llround_test): Likewise.
243         (modf_test): Likewise.
244         (nexttoward_test): Likewise.
245         (remainder_test): Likewise.
246         (drem_test): Likewise.
247         (remainder_tonearest_test_data): Likewise.
248         (remainder_test_tonearest): Likewise.
249         (drem_test_tonearest): Likewise.
250         (remainder_towardzero_test_data): Likewise.
251         (remainder_test_towardzero): Likewise.
252         (drem_test_towardzero): Likewise.
253         (remainder_downward_test_data): Likewise.
254         (remainder_test_downward): Likewise.
255         (drem_test_downward): Likewise.
256         (remainder_upward_test_data): Likewise.
257         (remainder_test_upward): Likewise.
258         (drem_test_upward): Likewise.
259         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
260         (round_test): Use ALL_RM_TEST.
261         (signbit_test): Likewise.
262         (trunc_test): Likewise.
263         (significand_test): Likewise.
264         (main): Don't call removed functions.
266 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
268         [BZ #16674]
269         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
270         || __USE_XOPEN2K8].
271         (ILL_ILLOPN): Likewise.
272         (ILL_ILLADR): Likewise.
273         (ILL_ILLTRP): Likewise.
274         (ILL_PRVOPC): Likewise.
275         (ILL_PRVREG): Likewise.
276         (ILL_COPROC): Likewise.
277         (ILL_BADSTK): Likewise.
278         (FPE_INTDIV): Likewise.
279         (FPE_INTOVF): Likewise.
280         (FPE_FLTDIV): Likewise.
281         (FPE_FLTOVF): Likewise.
282         (FPE_FLTUND): Likewise.
283         (FPE_FLTRES): Likewise.
284         (FPE_FLTINV): Likewise.
285         (FPE_FLTSUB): Likewise.
286         (SEGV_MAPERR): Likewise.
287         (SEGV_ACCERR): Likewise.
288         (BUS_ADRALN): Likewise.
289         (BUS_ADRERR): Likewise.
290         (BUS_OBJERR): Likewise.
291         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
292         (TRAP_TRACE): Likewise.
293         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
294         __USE_XOPEN2K8].
295         (CLD_KILLED): Likewise.
296         (CLD_DUMPED): Likewise.
297         (CLD_TRAPPED): Likewise.
298         (CLD_STOPPED): Likewise.
299         (CLD_CONTINUED): Likewise.
300         (POLL_IN): Likewise.
301         (POLL_OUT): Likewise.
302         (POLL_MSG): Likewise.
303         (POLL_ERR): Likewise.
304         (POLL_PRI): Likewise.
305         (POLL_HUP): Likewise.
306         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
307         Likewise.
308         (ILL_ILLOPN): Likewise.
309         (ILL_ILLADR): Likewise.
310         (ILL_ILLTRP): Likewise.
311         (ILL_PRVOPC): Likewise.
312         (ILL_PRVREG): Likewise.
313         (ILL_COPROC): Likewise.
314         (ILL_BADSTK): Likewise.
315         (FPE_INTDIV): Likewise.
316         (FPE_INTOVF): Likewise.
317         (FPE_FLTDIV): Likewise.
318         (FPE_FLTOVF): Likewise.
319         (FPE_FLTUND): Likewise.
320         (FPE_FLTRES): Likewise.
321         (FPE_FLTINV): Likewise.
322         (FPE_FLTSUB): Likewise.
323         (SEGV_MAPERR): Likewise.
324         (SEGV_ACCERR): Likewise.
325         (BUS_ADRALN): Likewise.
326         (BUS_ADRERR): Likewise.
327         (BUS_OBJERR): Likewise.
328         (BUS_MCEERR_AR): Likewise.
329         (BUS_MCEERR_AO): Likewise.
330         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
331         (TRAP_TRACE): Likewise.
332         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
333         __USE_XOPEN2K8].
334         (CLD_KILLED): Likewise.
335         (CLD_DUMPED): Likewise.
336         (CLD_TRAPPED): Likewise.
337         (CLD_STOPPED): Likewise.
338         (CLD_CONTINUED): Likewise.
339         (POLL_IN): Likewise.
340         (POLL_OUT): Likewise.
341         (POLL_MSG): Likewise.
342         (POLL_ERR): Likewise.
343         (POLL_PRI): Likewise.
344         (POLL_HUP): Likewise.
345         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
346         (ILL_ILLOPN): Likewise.
347         (ILL_ILLADR): Likewise.
348         (ILL_ILLTRP): Likewise.
349         (ILL_PRVOPC): Likewise.
350         (ILL_PRVREG): Likewise.
351         (ILL_COPROC): Likewise.
352         (ILL_BADSTK): Likewise.
353         (FPE_INTDIV): Likewise.
354         (FPE_INTOVF): Likewise.
355         (FPE_FLTDIV): Likewise.
356         (FPE_FLTOVF): Likewise.
357         (FPE_FLTUND): Likewise.
358         (FPE_FLTRES): Likewise.
359         (FPE_FLTINV): Likewise.
360         (FPE_FLTSUB): Likewise.
361         (SEGV_MAPERR): Likewise.
362         (SEGV_ACCERR): Likewise.
363         (BUS_ADRALN): Likewise.
364         (BUS_ADRERR): Likewise.
365         (BUS_OBJERR): Likewise.
366         (BUS_MCEERR_AR): Likewise.
367         (BUS_MCEERR_AO): Likewise.
368         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
369         (TRAP_TRACE): Likewise.
370         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
371         __USE_XOPEN2K8].
372         (CLD_KILLED): Likewise.
373         (CLD_DUMPED): Likewise.
374         (CLD_TRAPPED): Likewise.
375         (CLD_STOPPED): Likewise.
376         (CLD_CONTINUED): Likewise.
377         (POLL_IN): Likewise.
378         (POLL_OUT): Likewise.
379         (POLL_MSG): Likewise.
380         (POLL_ERR): Likewise.
381         (POLL_PRI): Likewise.
382         (POLL_HUP): Likewise.
383         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
384         Likewise.
385         (ILL_ILLOPN): Likewise.
386         (ILL_ILLADR): Likewise.
387         (ILL_ILLTRP): Likewise.
388         (ILL_PRVOPC): Likewise.
389         (ILL_PRVREG): Likewise.
390         (ILL_COPROC): Likewise.
391         (ILL_BADSTK): Likewise.
392         (ILL_BADIADDR): Likewise.
393         (ILL_BREAK): Likewise.
394         (FPE_INTDIV): Likewise.
395         (FPE_INTOVF): Likewise.
396         (FPE_FLTDIV): Likewise.
397         (FPE_FLTOVF): Likewise.
398         (FPE_FLTUND): Likewise.
399         (FPE_FLTRES): Likewise.
400         (FPE_FLTINV): Likewise.
401         (FPE_FLTSUB): Likewise.
402         (FPE_DECOVF): Likewise.
403         (FPE_DECDIV): Likewise.
404         (FPE_DECERR): Likewise.
405         (FPE_INVASC): Likewise.
406         (FPE_INVDEC): Likewise.
407         (SEGV_MAPERR): Likewise.
408         (SEGV_ACCERR): Likewise.
409         (SEGV_PSTKOVF): Likewise.
410         (BUS_ADRALN): Likewise.
411         (BUS_ADRERR): Likewise.
412         (BUS_OBJERR): Likewise.
413         (BUS_MCEERR_AR): Likewise.
414         (BUS_MCEERR_AO): Likewise.
415         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
416         (TRAP_TRACE): Likewise.
417         (TRAP_BRANCH): Likewise.
418         (TRAP_HWBKPT): Likewise.
419         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
420         __USE_XOPEN2K8].
421         (CLD_KILLED): Likewise.
422         (CLD_DUMPED): Likewise.
423         (CLD_TRAPPED): Likewise.
424         (CLD_STOPPED): Likewise.
425         (CLD_CONTINUED): Likewise.
426         (POLL_IN): Likewise.
427         (POLL_OUT): Likewise.
428         (POLL_MSG): Likewise.
429         (POLL_ERR): Likewise.
430         (POLL_PRI): Likewise.
431         (POLL_HUP): Likewise.
432         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
433         (ILL_ILLOPN): Likewise.
434         (ILL_ILLADR): Likewise.
435         (ILL_ILLTRP): Likewise.
436         (ILL_PRVOPC): Likewise.
437         (ILL_PRVREG): Likewise.
438         (ILL_COPROC): Likewise.
439         (ILL_BADSTK): Likewise.
440         (FPE_INTDIV): Likewise.
441         (FPE_INTOVF): Likewise.
442         (FPE_FLTDIV): Likewise.
443         (FPE_FLTOVF): Likewise.
444         (FPE_FLTUND): Likewise.
445         (FPE_FLTRES): Likewise.
446         (FPE_FLTINV): Likewise.
447         (FPE_FLTSUB): Likewise.
448         (SEGV_MAPERR): Likewise.
449         (SEGV_ACCERR): Likewise.
450         (BUS_ADRALN): Likewise.
451         (BUS_ADRERR): Likewise.
452         (BUS_OBJERR): Likewise.
453         (BUS_MCEERR_AR): Likewise.
454         (BUS_MCEERR_AO): Likewise.
455         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
456         (TRAP_TRACE): Likewise.
457         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
458         __USE_XOPEN2K8].
459         (CLD_KILLED): Likewise.
460         (CLD_DUMPED): Likewise.
461         (CLD_TRAPPED): Likewise.
462         (CLD_STOPPED): Likewise.
463         (CLD_CONTINUED): Likewise.
464         (POLL_IN): Likewise.
465         (POLL_OUT): Likewise.
466         (POLL_MSG): Likewise.
467         (POLL_ERR): Likewise.
468         (POLL_PRI): Likewise.
469         (POLL_HUP): Likewise.
470         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
471         (ILL_ILLOPN): Likewise.
472         (ILL_ILLADR): Likewise.
473         (ILL_ILLTRP): Likewise.
474         (ILL_PRVOPC): Likewise.
475         (ILL_PRVREG): Likewise.
476         (ILL_COPROC): Likewise.
477         (ILL_BADSTK): Likewise.
478         (FPE_INTDIV): Likewise.
479         (FPE_INTOVF): Likewise.
480         (FPE_FLTDIV): Likewise.
481         (FPE_FLTOVF): Likewise.
482         (FPE_FLTUND): Likewise.
483         (FPE_FLTRES): Likewise.
484         (FPE_FLTINV): Likewise.
485         (FPE_FLTSUB): Likewise.
486         (SEGV_MAPERR): Likewise.
487         (SEGV_ACCERR): Likewise.
488         (BUS_ADRALN): Likewise.
489         (BUS_ADRERR): Likewise.
490         (BUS_OBJERR): Likewise.
491         (BUS_MCEERR_AR): Likewise.
492         (BUS_MCEERR_AO): Likewise.
493         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
494         (TRAP_TRACE): Likewise.
495         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
496         __USE_XOPEN2K8].
497         (CLD_KILLED): Likewise.
498         (CLD_DUMPED): Likewise.
499         (CLD_TRAPPED): Likewise.
500         (CLD_STOPPED): Likewise.
501         (CLD_CONTINUED): Likewise.
502         (POLL_IN): Likewise.
503         (POLL_OUT): Likewise.
504         (POLL_MSG): Likewise.
505         (POLL_ERR): Likewise.
506         (POLL_PRI): Likewise.
507         (POLL_HUP): Likewise.
508         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
509         (ILL_ILLOPN): Likewise.
510         (ILL_ILLADR): Likewise.
511         (ILL_ILLTRP): Likewise.
512         (ILL_PRVOPC): Likewise.
513         (ILL_PRVREG): Likewise.
514         (ILL_COPROC): Likewise.
515         (ILL_BADSTK): Likewise.
516         (FPE_INTDIV): Likewise.
517         (FPE_INTOVF): Likewise.
518         (FPE_FLTDIV): Likewise.
519         (FPE_FLTOVF): Likewise.
520         (FPE_FLTUND): Likewise.
521         (FPE_FLTRES): Likewise.
522         (FPE_FLTINV): Likewise.
523         (FPE_FLTSUB): Likewise.
524         (SEGV_MAPERR): Likewise.
525         (SEGV_ACCERR): Likewise.
526         (BUS_ADRALN): Likewise.
527         (BUS_ADRERR): Likewise.
528         (BUS_OBJERR): Likewise.
529         (BUS_MCEERR_AR): Likewise.
530         (BUS_MCEERR_AO): Likewise.
531         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
532         (TRAP_TRACE): Likewise.
533         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
534         __USE_XOPEN2K8].
535         (CLD_KILLED): Likewise.
536         (CLD_DUMPED): Likewise.
537         (CLD_TRAPPED): Likewise.
538         (CLD_STOPPED): Likewise.
539         (CLD_CONTINUED): Likewise.
540         (POLL_IN): Likewise.
541         (POLL_OUT): Likewise.
542         (POLL_MSG): Likewise.
543         (POLL_ERR): Likewise.
544         (POLL_PRI): Likewise.
545         (POLL_HUP): Likewise.
546         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
547         (ILL_ILLOPN): Likewise.
548         (ILL_ILLADR): Likewise.
549         (ILL_ILLTRP): Likewise.
550         (ILL_PRVOPC): Likewise.
551         (ILL_PRVREG): Likewise.
552         (ILL_COPROC): Likewise.
553         (ILL_BADSTK): Likewise.
554         (ILL_DBLFLT): Likewise.
555         (ILL_HARDWALL): Likewise.
556         (FPE_INTDIV): Likewise.
557         (FPE_INTOVF): Likewise.
558         (FPE_FLTDIV): Likewise.
559         (FPE_FLTOVF): Likewise.
560         (FPE_FLTUND): Likewise.
561         (FPE_FLTRES): Likewise.
562         (FPE_FLTINV): Likewise.
563         (FPE_FLTSUB): Likewise.
564         (SEGV_MAPERR): Likewise.
565         (SEGV_ACCERR): Likewise.
566         (BUS_ADRALN): Likewise.
567         (BUS_ADRERR): Likewise.
568         (BUS_OBJERR): Likewise.
569         (BUS_MCEERR_AR): Likewise.
570         (BUS_MCEERR_AO): Likewise.
571         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
572         (TRAP_TRACE): Likewise.
573         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
574         __USE_XOPEN2K8].
575         (CLD_KILLED): Likewise.
576         (CLD_DUMPED): Likewise.
577         (CLD_TRAPPED): Likewise.
578         (CLD_STOPPED): Likewise.
579         (CLD_CONTINUED): Likewise.
580         (POLL_IN): Likewise.
581         (POLL_OUT): Likewise.
582         (POLL_MSG): Likewise.
583         (POLL_ERR): Likewise.
584         (POLL_PRI): Likewise.
585         (POLL_HUP): Likewise.
586         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
587         (ILL_ILLOPN): Likewise.
588         (ILL_ILLADR): Likewise.
589         (ILL_ILLTRP): Likewise.
590         (ILL_PRVOPC): Likewise.
591         (ILL_PRVREG): Likewise.
592         (ILL_COPROC): Likewise.
593         (ILL_BADSTK): Likewise.
594         (FPE_INTDIV): Likewise.
595         (FPE_INTOVF): Likewise.
596         (FPE_FLTDIV): Likewise.
597         (FPE_FLTOVF): Likewise.
598         (FPE_FLTUND): Likewise.
599         (FPE_FLTRES): Likewise.
600         (FPE_FLTINV): Likewise.
601         (FPE_FLTSUB): Likewise.
602         (SEGV_MAPERR): Likewise.
603         (SEGV_ACCERR): Likewise.
604         (BUS_ADRALN): Likewise.
605         (BUS_ADRERR): Likewise.
606         (BUS_OBJERR): Likewise.
607         (BUS_MCEERR_AR): Likewise.
608         (BUS_MCEERR_AO): Likewise.
609         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
610         (TRAP_TRACE): Likewise.
611         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
612         __USE_XOPEN2K8].
613         (CLD_KILLED): Likewise.
614         (CLD_DUMPED): Likewise.
615         (CLD_TRAPPED): Likewise.
616         (CLD_STOPPED): Likewise.
617         (CLD_CONTINUED): Likewise.
618         (POLL_IN): Likewise.
619         (POLL_OUT): Likewise.
620         (POLL_MSG): Likewise.
621         (POLL_ERR): Likewise.
622         (POLL_PRI): Likewise.
623         (POLL_HUP): Likewise.
624         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
625         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
627         [BZ #16670]
628         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
629         before #include of <time.h>.
630         [!__USE_XOPEN2K] (__need_timespec): Likewise.
631         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
632         (test-xfail-UNIX98/sched.h/conform): Likewise.
634 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
636         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
637         error absence of trapping exception support.
638         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
640 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
642         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
643         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
644         * timezone/Makefile (testdata): Move definition above include of
645         Rules.
646         (test-zones): New variable.
647         (tests-special): Add zone files.
648         (build-testdata): Use $(evaluate-test).
650         * elf/Makefile (tests-special): Rename tests to end with .out.
651         ($(objpfx)noload-mem): Likewise.
652         ($(objpfx)tst-leaks1-mem): Likewise.
653         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
654         * iconv/Makefile (xtests-special): Change test-iconvconfig to
655         $(objpfx)test-iconvconfig.out.
656         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
657         set -e inside subshell and redirect output to file.
658         * iconvdata/Makefile (generated): Rename tests to end with .out.
659         Correct type.
660         (tests-special): Rename tests to end with .out.
661         ($(objpfx)mtrace-tst-loading): Likewise.
662         * intl/Makefile (generated): Likewise.
663         (tests-special): Likewise.
664         ($(objpfx)mtrace-tst-gettext): Likewise.
665         * misc/Makefile (generated): Likewise.
666         (tests-special): Likewise.
667         ($(objpfx)tst-error1-mem): Likewise.
668         * nptl/Makefile (tests-special): Likewise.
669         ($(objpfx)tst-stack3-mem): Likewise.
670         (generated): Likewise.
671         * posix/Makefile (generated): Likewise.
672         (tests-special): Likewise.
673         (xtests-special): Likewise.
674         ($(objpfx)tst-fnmatch-mem): Likewise.
675         ($(objpfx)bug-regex2-mem): Likewise.
676         ($(objpfx)bug-regex14-mem): Likewise.
677         ($(objpfx)bug-regex21-mem): Likewise.
678         ($(objpfx)bug-regex31-mem): Likewise.
679         ($(objpfx)tst-vfork3-mem): Likewise.
680         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
681         ($(objpfx)tst-pcre-mem): Likewise.
682         ($(objpfx)tst-boost-mem): Likewise.
683         ($(objpfx)bug-ga2-mem): Likewise.
684         ($(objpfx)bug-glob2-mem): Likewise.
685         * resolv/Makefile (generate): Likewise.
686         (tests-special): Likewise.
687         (xtests-special): Likewise.
688         (generated): Likewise.
689         ($(objpfx)mtrace-tst-leaks): Likewise.
690         ($(objpfx)mtrace-tst-leaks2): Likewise.
692         * scripts/merge-test-results.sh: New file.
693         * Makefile (tests-special-notdir): New variable.
694         (tests): Run merge-test-results.sh.
695         (xtests): Likewise.
696         * Rules (tests-special-notdir): New variable.
697         (xtests-special-notdir): Likewise.
698         (tests): Run merge-test-results.sh
699         (xtests): Likewise.
701         * Makeconfig (test-xfail-name): New variable.
702         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
703         compute variable name for expected failures.
704         * conform/Makefile (conformtest-headers-data): New variable.
705         (conformtest-standards): Likewise.
706         (conformtest-headers-ISO): Likewise.
707         (conformtest-headers-ISO99): Likewise.
708         (conformtest-headers-ISO11): Likewise.
709         (conformtest-headers-POSIX): Likewise.
710         (conformtest-headers-XPG3): Likewise.
711         (conformtest-headers-XPG4): Likewise.
712         (conformtest-headers-UNIX98): Likewise.
713         (conformtest-headers-XOPEN2K): Likewise.
714         (conformtest-headers-POSIX2008): Likewise.
715         (conformtest-headers-XOPEN2K8): Likewise.
716         (conformtest-header-list-base): Likewise.
717         (conformtest-header-list-tests): Likewise.
718         (conformtest-header-base): Likewise.
719         (conformtest-header-tests): Likewise.
720         (tests-special): Add $(conformtest-header-list-tests).  If
721         [$(fast-check) && !$(cross-compiling)], add
722         $(conformtest-header-tests) instead of
723         $(objpfx)run-conformtest.out.
724         (generated): Add $(conformtest-header-list-base).  If
725         [$(fast-check) && !$(cross-compiling)], add
726         $(conformtest-header-base).  Remove previous setting.
727         ($(conformtest-header-list-tests)): New target.
728         (test-xfail-run-conformtest): Remove variable.
729         ($(objpfx)run-conformtest.out): Remove target.
730         (test-xfail-ISO11/complex.h/conform): New variable.
731         (test-xfail-ISO11/stdalign.h/conform): Likewise.
732         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
733         (test-xfail-XPG3/varargs.h/conform): Likewise.
734         (test-xfail-XPG4/varargs.h/conform): Likewise.
735         (test-xfail-UNIX98/varargs.h/conform): Likewise.
736         (test-xfail-XPG4/ndbm.h/conform): Likewise.
737         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
738         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
739         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
740         (test-xfail-XPG3/fcntl.h/conform): Likewise.
741         (test-xfail-XPG3/ftw.h/conform): Likewise.
742         (test-xfail-XPG3/grp.h/conform): Likewise.
743         (test-xfail-XPG3/langinfo.h/conform): Likewise.
744         (test-xfail-XPG3/limits.h/conform): Likewise.
745         (test-xfail-XPG3/pwd.h/conform): Likewise.
746         (test-xfail-XPG3/search.h/conform): Likewise.
747         (test-xfail-XPG3/signal.h/conform): Likewise.
748         (test-xfail-XPG3/stdio.h/conform): Likewise.
749         (test-xfail-XPG3/stdlib.h/conform): Likewise.
750         (test-xfail-XPG3/string.h/conform): Likewise.
751         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
752         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
753         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
754         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
755         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
756         (test-xfail-XPG3/sys/types.h/conform): Likewise.
757         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
758         (test-xfail-XPG3/termios.h/conform): Likewise.
759         (test-xfail-XPG3/time.h/conform): Likewise.
760         (test-xfail-XPG3/unistd.h/conform): Likewise.
761         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
762         (test-xfail-XPG4/fcntl.h/conform): Likewise.
763         (test-xfail-XPG4/langinfo.h/conform): Likewise.
764         (test-xfail-XPG4/netdb.h/conform): Likewise.
765         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
766         (test-xfail-XPG4/signal.h/conform): Likewise.
767         (test-xfail-XPG4/stdio.h/conform): Likewise.
768         (test-xfail-XPG4/stdlib.h/conform): Likewise.
769         (test-xfail-XPG4/stropts.h/conform): Likewise.
770         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
771         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
772         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
773         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
774         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
775         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
776         (test-xfail-XPG4/sys/time.h/conform): Likewise.
777         (test-xfail-XPG4/sys/types.h/conform): Likewise.
778         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
779         (test-xfail-XPG4/termios.h/conform): Likewise.
780         (test-xfail-XPG4/ucontext.h/conform): Likewise.
781         (test-xfail-XPG4/unistd.h/conform): Likewise.
782         (test-xfail-XPG4/utmpx.h/conform): Likewise.
783         (test-xfail-POSIX/sched.h/conform): Likewise.
784         (test-xfail-POSIX/signal.h/conform): Likewise.
785         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
786         (test-xfail-POSIX/tar.h/conform): Likewise.
787         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
788         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
789         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
790         (test-xfail-UNIX98/netdb.h/conform): Likewise.
791         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
792         (test-xfail-UNIX98/sched.h/conform): Likewise.
793         (test-xfail-UNIX98/signal.h/conform): Likewise.
794         (test-xfail-UNIX98/stdio.h/conform): Likewise.
795         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
796         (test-xfail-UNIX98/stropts.h/conform): Likewise.
797         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
798         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
799         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
800         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
801         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
802         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
803         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
804         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
805         (test-xfail-UNIX98/unistd.h/conform): Likewise.
806         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
807         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
808         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
809         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
810         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
811         (test-xfail-XOPEN2K/math.h/conform): Likewise.
812         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
813         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
814         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
815         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
816         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
817         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
818         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
819         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
820         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
821         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
822         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
823         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
824         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
825         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
826         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
827         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
828         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
829         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
830         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
831         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
832         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
833         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
834         (test-xfail-POSIX2008/signal.h/conform): Likewise.
835         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
836         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
837         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
838         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
839         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
840         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
841         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
842         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
843         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
844         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
845         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
846         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
847         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
848         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
849         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
850         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
851         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
852         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
853         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
854         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
855         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
856         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
857         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
858         (conformtest-cc-flags): Likewise.
859         ($(conformtest-header-tests): New target.
860         * conform/check-header-lists.sh: New file.
861         * conform/run-conformtest.sh: Remove.
863         * conform/conformtest.pl: Allow ' and \ in values given for
864         constants.
865         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
866         inclusion.
867         [POSIX] (sys/types.h): Likewise.
868         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
869         inclusion.
870         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
871         inclusion.
872         * conform/data/signal.h-data (SIGIO): Remove expectation.
873         [XPG3] (SIGBUS): Do not expect.
874         [POSIX || XPG3] (SIGPOLL): Likewise.
875         [POSIX || XPG3] (SIGPROF): Likewise.
876         [POSIX || XPG3] (SIGSYS): Likewise.
877         [XPG3] (SIGTRAP): Likewise.
878         [POSIX || XPG3] (SIGURG): Likewise.
879         [POSIX || XPG3] (SIGVTALRM): Likewise.
880         [POSIX || XPG3] (SIGXCPU): Likewise.
881         [POSIX || XPG3] (SIGXFSZ): Likewise.
882         [POSIX] (SA_SIGINFO): Expect.
883         [XPG3] (siginfo_t): Do not expect type or contents.
884         [POSIX] (si_pid): Do not expect element.
885         [POSIX] (si_uid): Likewise.
886         [POSIX] (si_addr): Likewise.
887         [POSIX] (si_status): Likewise.
888         [POSIX] (si_band): Likewise.
889         [XPG4] (si_value): Likewise.
890         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
891         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
892         [POSIX || XPG3] (ILL_ILLADR): Likewise.
893         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
894         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
895         [POSIX || XPG3] (ILL_PRVREG): Likewise.
896         [POSIX || XPG3] (ILL_COPROC): Likewise.
897         [POSIX || XPG3] (ILL_BADSTK): Likewise.
898         [POSIX || XPG3] (FPE_INTDIV): Likewise.
899         [POSIX || XPG3] (FPE_INTOVF): Likewise.
900         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
901         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
902         [POSIX || XPG3] (FPE_FLTUND): Likewise.
903         [POSIX || XPG3] (FPE_FLTRES): Likewise.
904         [POSIX || XPG3] (FPE_FLTINV): Likewise.
905         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
906         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
907         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
908         [POSIX || XPG3] (BUS_ADRALN): Likewise.
909         [POSIX || XPG3] (BUS_ADRERR): Likewise.
910         [POSIX || XPG3] (BUS_OBJERR): Likewise.
911         [POSIX || XPG3] (CLD_EXITED): Likewise.
912         [POSIX || XPG3] (CLD_KILLED): Likewise.
913         [POSIX || XPG3] (CLD_DUMPED): Likewise.
914         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
915         [POSIX || XPG3] (CLD_STOPPED): Likewise.
916         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
917         [POSIX || XPG3] (POLL_IN): Likewise.
918         [POSIX || XPG3] (POLL_OUT): Likewise.
919         [POSIX || XPG3] (POLL_MSG): Likewise.
920         [POSIX || XPG3] (POLL_ERR): Likewise.
921         [POSIX || XPG3] (POLL_PRI): Likewise.
922         [POSIX || XPG3] (POLL_HUP): Likewise.
923         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
924         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
925         (SIG*): Do not allow.
926         [XPG3] (si_*): Likewise.
927         [XPG3] (SI_*): Likewise.
928         [XPG3 || XPG4] (sigev_*): Likewise.
929         [XPG3 || XPG4] (SIGEV_*): Likewise.
930         [XPG3 || XPG4] (sival_*): Likewise.
931         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
932         [POSIX || XPG3] (BUS_*): Likewise.
933         [POSIX || XPG3] (CLD_*): Likewise.
934         [POSIX || XPG3] (FPE_*): Likewise.
935         [POSIX || XPG3] (ILL_*): Likewise.
936         [POSIX || XPG3] (POLL_*): Likewise.
937         [POSIX || XPG3] (SEGV_*): Likewise.
938         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
939         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
940         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
941         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
942         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
943         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
944         Specify type and value.
945         (TVERSLEN): Likewise.
946         (REGTYPE): Likewise.
947         (AREGTYPE): Likewise.
948         (LNKTYPE): Likewise.
949         (SYMTYPE): Likewise.
950         (CHRTYPE): Likewise.
951         (BLKTYPE): Likewise.
952         (DIRTYPE): Likewise.
953         (FIFOTYPE): Likewise.
954         (CONTTYPE): Likewise.
955         (TSUID): Likewise.
956         (TSGID): Likewise.
957         (TSVTX): Likewise.
958         (TUREAD): Likewise.
959         (TUWRITE): Likewise.
960         (TUEXEC): Likewise.
961         (TGREAD): Likewise.
962         (TGWRITE): Likewise.
963         (TGEXEC): Likewise.
964         (TOREAD): Likewise.
965         (TOWRITE): Likewise.
966         (TOEXEC): Likewise.
967         [POSIX] (TSVTX): Expect constant.
969 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
971         * Makefile (tests): Change dependencies to ....
972         (tests-special): ... additions to this variable.
973         (tests): Depend on $(tests-special).
974         * Makerules (check-abi-list): New variable.
975         (check-abi): Depend on $(check-abi-list).
976         [$(subdir) = elf] (tests-special): Add
977         $(objpfx)check-abi-libc.out.
978         [$(build-shared) = yes && subdir] (tests-special): Add
979         $(check-abi-list).
980         [$(build-shared) = yes && subdir] (tests): Do not depend on
981         check-abi.
982         * Rules (tests): Depend on $(tests-special).
983         (xtests): Depend on $(xtests-special).
984         * catgets/Makefile (tests): Change dependencies to ....
985         (tests-special): ... additions to this variable.
986         * conform/Makefile (tests): Change dependencies to ....
987         (tests-special): ... additions to this variable.
988         * elf/Makefile (tests): Change dependencies to ....
989         (tests-special): ... additions to this variable.
990         * grp/Makefile (tests): Change dependencies to ....
991         (tests-special): ... additions to this variable.
992         * iconv/Makefile (xtests): Change dependencies to ....
993         (xtests-special): ... additions to this variable.
994         * iconvdata/Makefile (tests): Change dependencies to ....
995         (tests-special): ... additions to this variable.
996         * intl/Makefile (tests): Change dependencies to ....
997         (tests-special): ... additions to this variable.  Also add
998         $(objpfx)tst-gettext.out.
999         * io/Makefile (tests): Change dependencies to ....
1000         (tests-special): ... additions to this variable.
1001         * libio/Makefile (tests): Change dependencies to ....
1002         (tests-special): ... additions to this variable.
1003         * malloc/Makefile (tests): Change dependencies to ....
1004         (tests-special): ... additions to this variable.
1005         * misc/Makefile (tests): Change dependencies to ....
1006         (tests-special): ... additions to this variable.
1007         * nptl/Makefile (tests): Change dependencies to ....
1008         (tests-special): ... additions to this variable.
1009         * nptl_db/Makefile (tests): Change dependencies to ....
1010         (tests-special): ... additions to this variable.
1011         * posix/Makefile (tests): Change dependencies to ....
1012         (tests-special): ... additions to this variable.
1013         (xtests): Change dependencies to ....
1014         (xtests-special): ... additions to this variable.
1015         * resolv/Makefile (tests): Change dependencies to ....
1016         (tests-special): ... additions to this variable.
1017         (xtests): Change dependencies to ....
1018         (xtests-special): ... additions to this variable.
1019         * stdio-common/Makefile (tests): Change dependencies to ....
1020         (tests-special): ... additions to this variable.
1021         (do-tst-unbputc): Remove target.
1022         (do-tst-printf): Likewise.
1023         * stdlib/Makefile (tests): Change dependencies to ....
1024         (tests-special): ... additions to this variable.
1025         * string/Makefile (tests): Change dependencies to ....
1026         (tests-special): ... additions to this variable.
1027         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1028         (tests-special): ... additions to this variable.
1030         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1031         whole file.
1032         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1033         whole file.
1034         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1035         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1037         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1038         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1039         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1040         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1041         * conform/data/libgen.h-data [XPG3]: Likewise.
1042         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1043         * conform/data/ndbm.h-data [XPG3]: Likewise.
1044         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1045         * conform/data/netdb.h-data [XPG3]: Likewise.
1046         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1047         * conform/data/poll.h-data [XPG3]: Likewise.
1048         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1049         * conform/data/strings.h-data [XPG3]: Likewise.
1050         * conform/data/stropts.h-data [XPG3]: Likewise.
1051         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1052         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1053         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1054         Likewise.
1055         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1056         * conform/data/sys/time.h-data [XPG3]: Likewise.
1057         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1058         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1059         * conform/data/sys/un.h-data [XPG3]: Likewise.
1060         * conform/data/syslog.h-data [XPG3]: Likewise.
1061         * conform/data/ucontext.h-data [XPG3]: Likewise.
1062         * conform/data/utmpx.h-data [XPG3]: Likewise.
1063         * conform/data/varargs.h-data [UNIX98]: Enable file.
1065         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1067         * math/libm-test.inc (struct test_f_f_data): Move expected results
1068         into structure for each rounding mode.
1069         (struct test_ff_f_data): Likewise.
1070         (struct test_ff_f_data_nexttoward): Likewise.
1071         (struct test_fi_f_data): Likewise.
1072         (struct test_fl_f_data): Likewise.
1073         (struct test_if_f_data): Likewise.
1074         (struct test_fff_f_data): Likewise.
1075         (struct test_c_f_data): Likewise.
1076         (struct test_f_f1_data): Likewise.
1077         (struct test_fF_f1_data): Likewise.
1078         (struct test_ffI_f1_data): Likewise.
1079         (struct test_c_c_data): Likewise.
1080         (struct test_cc_c_data): Likewise.
1081         (struct test_f_i_data): Likewise.
1082         (struct test_ff_i_data): Likewise.
1083         (struct test_f_l_data): Likewise.
1084         (struct test_f_L_data): Likewise.
1085         (struct test_fFF_11_data): Likewise.
1086         (RM_): New macro.
1087         (RM_FE_DOWNWARD): Likewise.
1088         (RM_FE_TONEAREST): Likewise.
1089         (RM_FE_TOWARDZERO): Likewise.
1090         (RM_FE_UPWARD): Likewise.
1091         (RUN_TEST_LOOP_f_f): Update references to expected results.
1092         (RUN_TEST_LOOP_2_f): Likewise.
1093         (RUN_TEST_LOOP_fff_f): Likewise.
1094         (RUN_TEST_LOOP_c_f): Likewise.
1095         (RUN_TEST_LOOP_f_f1): Likewise.
1096         (RUN_TEST_LOOP_fF_f1): Likewise.
1097         (RUN_TEST_LOOP_fI_f1): Likewise.
1098         (RUN_TEST_LOOP_ffI_f1): Likewise.
1099         (RUN_TEST_LOOP_c_c): Likewise.
1100         (RUN_TEST_LOOP_cc_c): Likewise.
1101         (RUN_TEST_LOOP_f_i): Likewise.
1102         (RUN_TEST_LOOP_f_i_tg): Likewise.
1103         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1104         (RUN_TEST_LOOP_f_b): Likewise.
1105         (RUN_TEST_LOOP_f_b_tg): Likewise.
1106         (RUN_TEST_LOOP_f_l): Likewise.
1107         (RUN_TEST_LOOP_f_L): Likewise.
1108         (RUN_TEST_LOOP_fFF_11): Likewise.
1109         * math/gen-libm-test.pl (parse_args): Output four copies of
1110         expected results for each test.
1112         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1113         (__ASSUME_UTIMES): Remove.
1114         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1115         (__ASSUME_UTIMES): Likewise.
1117         * math/gen-auto-libm-tests.c: Update comment on output format.
1118         (output_for_one_input_case): Generate before-rounding and
1119         after-rounding information as conditions on output flags not
1120         floating-point format.
1121         * math/auto-libm-test-out: Regenerated.
1122         * math/gen-libm-test.pl (cond_value): New function.
1123         (or_cond_value): Use cond_value.
1124         (generate_testfile): Handle conditional exceptions.
1126 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1128         * math/libm-test.inc (max_valid_error): New variable.
1129         (init_max_error): Take new argument specifying whether function
1130         results are exactly determined.  Set max_valid_error and bound
1131         other variables for errors based on this argument.
1132         (set_max_error): Do not record results above max_valid_error.
1133         (check_float_internal): Only accept errors of up to 0.5ulps if
1134         also at most max_valid_error.
1135         (START): Take new argument EXACT and pass it to init_max_error.
1136         (acos_test): Update call to START.
1137         (acos_test_tonearest): Likewise.
1138         (acos_test_towardzero): Likewise.
1139         (acos_test_downward): Likewise.
1140         (acos_test_upward): Likewise.
1141         (acosh_test): Likewise.
1142         (asin_test): Likewise.
1143         (asin_test_tonearest): Likewise.
1144         (asin_test_towardzero): Likewise.
1145         (asin_test_downward): Likewise.
1146         (asin_test_upward): Likewise.
1147         (asinh_test): Likewise.
1148         (atan_test): Likewise.
1149         (atanh_test): Likewise.
1150         (atan2_test): Likewise.
1151         (cabs_test): Likewise.
1152         (cacos_test): Likewise.
1153         (cacosh_test): Likewise.
1154         (carg_test): Likewise.
1155         (casin_test): Likewise.
1156         (casinh_test): Likewise.
1157         (catan_test): Likewise.
1158         (catanh_test): Likewise.
1159         (cbrt_test): Likewise.
1160         (ccos_test): Likewise.
1161         (ccosh_test): Likewise.
1162         (ceil_test): Likewise.
1163         (cexp_test): Likewise.
1164         (cimag_test): Likewise.
1165         (clog_test): Likewise.
1166         (clog10_test): Likewise.
1167         (conj_test): Likewise.
1168         (copysign_test): Likewise.
1169         (cos_test): Likewise.
1170         (cos_test_tonearest): Likewise.
1171         (cos_test_towardzero): Likewise.
1172         (cos_test_downward): Likewise.
1173         (cos_test_upward): Likewise.
1174         (cosh_test): Likewise.
1175         (cosh_test_tonearest): Likewise.
1176         (cosh_test_towardzero): Likewise.
1177         (cosh_test_downward): Likewise.
1178         (cosh_test_upward): Likewise.
1179         (cpow_test): Likewise.
1180         (cproj_test): Likewise.
1181         (creal_test): Likewise.
1182         (csin_test): Likewise.
1183         (csinh_test): Likewise.
1184         (csqrt_test): Likewise.
1185         (ctan_test): Likewise.
1186         (ctan_test_tonearest): Likewise.
1187         (ctan_test_towardzero): Likewise.
1188         (ctan_test_downward): Likewise.
1189         (ctan_test_upward): Likewise.
1190         (ctanh_test): Likewise.
1191         (ctanh_test_tonearest): Likewise.
1192         (ctanh_test_towardzero): Likewise.
1193         (ctanh_test_downward): Likewise.
1194         (ctanh_test_upward): Likewise.
1195         (erf_test): Likewise.
1196         (erfc_test): Likewise.
1197         (exp_test): Likewise.
1198         (exp_test_tonearest): Likewise.
1199         (exp_test_towardzero): Likewise.
1200         (exp_test_downward): Likewise.
1201         (exp_test_upward): Likewise.
1202         (exp10_test): Likewise.
1203         (exp10_test_tonearest): Likewise.
1204         (exp10_test_towardzero): Likewise.
1205         (exp10_test_downward): Likewise.
1206         (exp10_test_upward): Likewise.
1207         (pow10_test): Likewise.
1208         (exp2_test): Likewise.
1209         (expm1_test): Likewise.
1210         (expm1_test_tonearest): Likewise.
1211         (expm1_test_towardzero): Likewise.
1212         (expm1_test_downward): Likewise.
1213         (expm1_test_upward): Likewise.
1214         (fabs_test): Likewise.
1215         (fdim_test): Likewise.
1216         (floor_test): Likewise.
1217         (fma_test): Likewise.
1218         (fma_test_towardzero): Likewise.
1219         (fma_test_downward): Likewise.
1220         (fma_test_upward): Likewise.
1221         (fmax_test): Likewise.
1222         (fmin_test): Likewise.
1223         (fmod_test): Likewise.
1224         (fpclassify_test): Likewise.
1225         (frexp_test): Likewise.
1226         (hypot_test): Likewise.
1227         (ilogb_test): Likewise.
1228         (isfinite_test): Likewise.
1229         (finite_test): Likewise.
1230         (isgreater_test): Likewise.
1231         (isgreaterequal_test): Likewise.
1232         (isinf_test): Likewise.
1233         (isless_test): Likewise.
1234         (islessequal_test): Likewise.
1235         (islessgreater_test): Likewise.
1236         (isnan_test): Likewise.
1237         (isnormal_test): Likewise.
1238         (issignaling_test): Likewise.
1239         (isunordered_test): Likewise.
1240         (j0_test): Likewise.
1241         (j1_test): Likewise.
1242         (jn_test): Likewise.
1243         (ldexp_test): Likewise.
1244         (lgamma_test): Likewise.
1245         (gamma_test): Likewise.
1246         (lrint_test): Likewise.
1247         (lrint_test_tonearest): Likewise.
1248         (lrint_test_towardzero): Likewise.
1249         (lrint_test_downward): Likewise.
1250         (lrint_test_upward): Likewise.
1251         (llrint_test): Likewise.
1252         (llrint_test_tonearest): Likewise.
1253         (llrint_test_towardzero): Likewise.
1254         (llrint_test_downward): Likewise.
1255         (llrint_test_upward): Likewise.
1256         (log_test): Likewise.
1257         (log10_test): Likewise.
1258         (log1p_test): Likewise.
1259         (log2_test): Likewise.
1260         (logb_test): Likewise.
1261         (logb_test_downward): Likewise.
1262         (lround_test): Likewise.
1263         (llround_test): Likewise.
1264         (modf_test): Likewise.
1265         (nearbyint_test): Likewise.
1266         (nextafter_test): Likewise.
1267         (nexttoward_test): Likewise.
1268         (pow_test): Likewise.
1269         (pow_test_tonearest): Likewise.
1270         (pow_test_towardzero): Likewise.
1271         (pow_test_downward): Likewise.
1272         (pow_test_upward): Likewise.
1273         (remainder_test): Likewise.
1274         (drem_test): Likewise.
1275         (remainder_test_tonearest): Likewise.
1276         (drem_test_tonearest): Likewise.
1277         (remainder_test_towardzero): Likewise.
1278         (drem_test_towardzero): Likewise.
1279         (remainder_test_downward): Likewise.
1280         (drem_test_downward): Likewise.
1281         (remainder_test_upward): Likewise.
1282         (drem_test_upward): Likewise.
1283         (remquo_test): Likewise.
1284         (rint_test): Likewise.
1285         (rint_test_tonearest): Likewise.
1286         (rint_test_towardzero): Likewise.
1287         (rint_test_downward): Likewise.
1288         (rint_test_upward): Likewise.
1289         (round_test): Likewise.
1290         (scalb_test): Likewise.
1291         (scalbn_test): Likewise.
1292         (scalbln_test): Likewise.
1293         (signbit_test): Likewise.
1294         (sin_test): Likewise.
1295         (sin_test_tonearest): Likewise.
1296         (sin_test_towardzero): Likewise.
1297         (sin_test_downward): Likewise.
1298         (sin_test_upward): Likewise.
1299         (sincos_test): Likewise.
1300         (sinh_test): Likewise.
1301         (sinh_test_tonearest): Likewise.
1302         (sinh_test_towardzero): Likewise.
1303         (sinh_test_downward): Likewise.
1304         (sinh_test_upward): Likewise.
1305         (sqrt_test): Likewise.
1306         (sqrt_test_tonearest): Likewise.
1307         (sqrt_test_towardzero): Likewise.
1308         (sqrt_test_downward): Likewise.
1309         (sqrt_test_upward): Likewise.
1310         (tan_test): Likewise.
1311         (tan_test_tonearest): Likewise.
1312         (tan_test_towardzero): Likewise.
1313         (tan_test_downward): Likewise.
1314         (tan_test_upward): Likewise.
1315         (tanh_test): Likewise.
1316         (tgamma_test): Likewise.
1317         (trunc_test): Likewise.
1318         (y0_test): Likewise.
1319         (y1_test): Likewise.
1320         (yn_test): Likewise.
1321         (significand_test): Likewise.
1323         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1324         individual tests in comment.
1325         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1326         (prev_max_error): New variable.
1327         (prev_real_max_error): Likewise.
1328         (prev_imag_max_error): Likewise.
1329         (compare_ulp_data): Don't refer to test names in comment.
1330         (find_test_ulps): Remove function.
1331         (find_function_ulps): Likewise.
1332         (find_complex_function_ulps): Likewise.
1333         (init_max_error): Take function name as argument.  Look up ulps
1334         for that function.
1335         (print_ulps): Remove function.
1336         (print_max_error): Use prev_max_error instead of calling
1337         find_function_ulps.
1338         (print_complex_max_error): Use prev_real_max_error and
1339         prev_imag_max_error instead of calling find_complex_function_ulps.
1340         (check_float_internal): Take max_ulp parameter instead of calling
1341         find_test_ulps.  Don't call print_ulps.
1342         (check_float): Update call to check_float_internal.
1343         (check_complex): Update calls to check_float_internal.
1344         (START): Pass argument to init_max_error.
1345         * math/gen-libm-test.pl (%results): Don't include "kind"
1346         information.
1347         (parse_ulps): Don't handle ulps of individual tests.
1348         (print_ulps_file): Likewise.
1349         (output_ulps): Likewise.
1350         * math/README.libm-test: Update.
1351         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1352         individual tests.
1353         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1354         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1355         * sysdeps/arm/libm-test-ulps: Likewise.
1356         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1357         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1358         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1359         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1360         * sysdeps/microblaze/libm-test-ulps: Likewise.
1361         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1362         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1363         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1364         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1365         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1366         * sysdeps/sh/libm-test-ulps: Likewise.
1367         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1368         * sysdeps/tile/libm-test-ulps: Likewise.
1369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1371 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
1373         * math/libm-test.inc (print_complex_max_error): Check separately
1374         whether real and imaginary errors are within allowed range and
1375         pass 0 to print_complex_function_ulps instead of value within
1376         allowed range.
1378 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1380         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1381         formatting.
1382         (get_handles_fopen): Likewise.
1383         (do_write_test): Likewise.
1385         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1387         * libio/fileops.c (do_ftell): Use cached offset when
1388         available.
1389         * libio/iofwide.c (do_ftell_wide): Likewise.
1390         * libio/iofdopen.c (_IO_new_fdopen): Don't use
1391         _IO_file_attach.
1392         * libio/wfileops.c (_IO_fwide): Don't cache offset.
1394         [BZ #16532]
1395         * libio/libioP.h (get_file_offset): New function.
1396         * libio/fileops.c (get_file_offset): Likewise.
1397         (do_ftell): Likewise.
1398         (_IO_new_file_seekoff): Split out ftell logic.
1399         * libio/wfileops.c (do_ftell_wide): Likewise.
1400         (_IO_wfile_seekoff): Split out ftell logic.
1401         * libio/tst-ftell-active-handler.c: New test case.
1402         * libio/Makefile (tests): Add it.
1404 2014-03-03  Roland McGrath  <roland@hack.frob.com>
1406         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1407         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1409 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1411         [BZ #16639]
1412         * nscd/connections.c (nscd_init): Call do_exit.
1413         (start_threads): Call do_exit and notify_parent.
1414         (begin_drop_privileges): Call do_exit.
1415         (finish_drop_privileges): Likewise.
1416         * nscd/selinux.c (preserve_capabilities): Likewise.
1417         (install_real_capabilities): Likewise.
1418         (nscd_selinux_enabled): Likewise.
1419         (avc_create_thread): Likewise.
1420         (avc_alloc_lock): Likewise.
1421         (nscd_avc_init): Likewise.
1422         * nscd/nscd.c (parent_fd): New static variable.
1423         (main): Create a pipe between parent and child processes.
1424         Skip closing parent_fd.
1425         (monitor_child): New function.
1426         (do_exit): Likewise.
1427         (notify_parent): Likewise.
1428         * nscd/nscd.h (notify_parent): Likewise.
1429         (do_exit): Likewise.
1431 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
1433         * malloc/malloc.c (__libc_calloc): Revert last change.
1435 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1439 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1441         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1443         implementation.
1444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1445         (__libc_ifunc_impl_list): Likewise.
1446         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1447         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1448         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1449         * string/strrchr.c: Define STRRCHR.
1451 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
1453         * benchtest/bench-strtok.c (simple_strtok): Delete.
1454         (strtok_string): Use as benchmark.
1455         * string/strtok (STRTOK): New macro.
1457 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
1459         * manual/threads.texi: Add header and standard comments to all
1460         functions.
1462         * elf/dl-lookup.c (check_match): New function.
1463         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1464         (do_lookup_x): Remove nested function check_match. Use non-nested
1465         function check_match.
1467 2014-02-28  Roland McGrath  <roland@hack.frob.com>
1469         * csu/Makefile (generated, before-compile): Use += rather than =.
1470         * catgets/Makefile (generated, generated-dirs): Likewise.
1471         * debug/Makefile (generated): Likewise.
1472         * dlfcn/Makefile (generated): Likewise.
1473         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1474         * iconvdata/Makefile (before-compile, generated): Likewise.
1475         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1476         * libio/Makefile (generated): Likewise.
1477         * malloc/Makefile (generated): Likewise.
1478         * manual/Makefile (generated, generated-dirs): Likewise.
1479         * misc/Makefile (generated): Likewise.
1480         * posix/Makefile (generated): Likewise.
1481         * resolv/Makefile (generated): Likewise.
1482         * sunrpc/Makefile (generated, generated-dirs): Likewise.
1483         * timezone/Makefile (generated, generated-dirs): Likewise.
1485         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1487 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1489         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1490         implementation.
1491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1492         POWER8 llround ifunc implementation.
1493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1494         POWER8 implementation.
1495         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1496         POWER8 llround implementation.
1498 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1501         implementation.
1502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1503         POWER8 llrint ifunc implementation.
1504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1505         POWER8 implementation.
1506         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1507         POWER8 llrint implementation.
1509 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1512         implementation.
1513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1514         POWER8 finite ifunc implementation.
1515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1516         POWER8 implementation.
1517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1518         Likewise.
1519         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1520         POWER8 finite implementation.
1521         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1523 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1525         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1526         implementation.
1527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1528         POWER8 isinf ifunc implementation.
1529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1530         POWER8 implementation.
1531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1532         Likewise.
1533         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1534         POWER8 isinf implementation.
1535         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1537 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1539         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1540         Add hwcap2 initialization.
1541         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1542         implementation.
1543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1544         POWER8 isnan ifunc implementation.
1545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1546         POWER8 implementation.
1547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1548         Likewise.
1549         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1550         POWER8 isnan implementation.
1551         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1553 2014-02-27  Joey Ye  <joey.ye@arm.com>
1555         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1556         (_FP_NANFRAC_Q): Set to zero.
1558 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1560         [BZ #16623]
1561         * math/auto-libm-test-in: New test inputs.
1562         * math/auto-libm-test-out: Regenerate.
1563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1564         and DA.
1565         (__cos): Likewise.
1566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1568 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
1570         * scripts/evaluate-test.sh: Take new argument indicating whether
1571         failure is expected.
1572         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1573         indicating whether failure is expected.
1574         * conform/Makefile (test-xfail-run-conformtest): New variable.
1575         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1576         level.
1577         * posix/Makefile (test-xfail-annexc): New variable.
1578         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1580 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
1582         * argp/Makefile: Include Makeconfig immediately after defining
1583         subdir.
1584         * assert/Makefile: Likewise.
1585         * benchtests/Makefile: Likewise.
1586         * catgets/Makefile: Likewise.
1587         * conform/Makefile: Likewise.
1588         * crypt/Makefile: Likewise.
1589         * csu/Makefile: Likewise.
1590         (all): Remove target.
1591         * ctype/Makefile: Include Makeconfig immediately after defining
1592         subdir.
1593         * debug/Makefile: Likewise.
1594         * dirent/Makefile: Likewise.
1595         * dlfcn/Makefile: Likewise.
1596         * gmon/Makefile: Likewise.
1597         * gnulib/Makefile: Likewise.
1598         * grp/Makefile: Likewise.
1599         * gshadow/Makefile: Likewise.
1600         * hesiod/Makefile: Likewise.
1601         * hurd/Makefile: Likewise.
1602         (all): Remove target.
1603         * iconvdata/Makefile: Include Makeconfig immediately after
1604         defining subdir.
1605         * inet/Makefile: Likewise.
1606         * intl/Makefile: Likewise.
1607         * io/Makefile: Likewise.
1608         * libio/Makefile: Likewise.
1609         (all): Remove target.
1610         * locale/Makefile: Include Makeconfig immediately after defining
1611         subdir.
1612         * login/Makefile: Likewise.
1613         * mach/Makefile: Likewise.
1614         (all): Remove target.
1615         * malloc/Makefile: Include Makeconfig immediately after defining
1616         subdir.
1617         (all): Remove target.
1618         * manual/Makefile: Include Makeconfig immediately after defining
1619         subdir.
1620         * math/Makefile: Likewise.
1621         * misc/Makefile: Likewise.
1622         * nis/Makefile: Likewise.
1623         * nss/Makefile: Likewise.
1624         * po/Makefile: Likewise.
1625         (all): Remove target.
1626         * posix/Makefile: Include Makeconfig immediately after defining
1627         subdir.
1628         * pwd/Makefile: Likewise.
1629         * resolv/Makefile: Likewise.
1630         * resource/Makefile: Likewise.
1631         * rt/Makefile: Likewise.
1632         * setjmp/Makefile: Likewise.
1633         * shadow/Makefile: Likewise.
1634         * signal/Makefile: Likewise.
1635         * socket/Makefile: Likewise.
1636         * soft-fp/Makefile: Likewise.
1637         * stdio-common/Makefile: Likewise.
1638         * stdlib/Makefile: Likewise.
1639         * streams/Makefile: Likewise.
1640         * string/Makefile: Likewise.
1641         * sunrpc/Makefile: Likewise.
1642         (all): Remove target.
1643         * sysvipc/Makefile: Include Makeconfig immediately after defining
1644         subdir.
1645         * termios/Makefile: Likewise.
1646         * time/Makefile: Likewise.
1647         * timezone/Makefile: Likewise.
1648         (all): Remove target.
1649         * wcsmbs/Makefile: Include Makeconfig immediately after defining
1650         subdir.
1651         * wctype/Makefile: Likewise.
1653 2014-02-26  Steve Ellcey  <sellcey@mips.com>
1655         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1656         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1657         (libc_feholdexcept_setround_mips): Ditto.
1658         (libc_feholdsetround): New.
1659         (libc_feholdsetroundf): New.
1660         (libc_feholdsetroundl): New.
1661         (libc_feupdateenv_test_mips): New.
1662         (libc_feupdateenv_test): New.
1663         (libc_feupdateenv_testf): New.
1664         (libc_feupdateenv_testl): New.
1665         (libc_feresetround): New.
1666         (libc_feresetroundf): New.
1667         (libc_feresetroundl): New.
1668         (libc_fetestexcept_mips): New.
1669         (libc_fetestexcept): New.
1670         (libc_fetestexceptf): New.
1671         (libc_fetestexceptl): New.
1672         (HAVE_RM_CTX): New.
1673         (libc_feholdexcept_setround_mips_ctx): New.
1674         (libc_feholdexcept_setround_ctx): New.
1675         (libc_feholdexcept_setroundf_ctx): New.
1676         (libc_feholdexcept_setroundl_ctx): New.
1677         (libc_fesetenv_mips_ctx): New.
1678         (libc_fesetenv_ctx): New.
1679         (libc_fesetenv_ctxf): New.
1680         (libc_fesetenv_ctxl): New.
1681         (libc_feupdateenv_mips_ctx): New.
1682         (libc_feupdateenv_ctx): New.
1683         (libc_feupdateenvf_ctx): New.
1684         (libc_feupdateenvl_ctx): New.
1685         (libc_feholdsetround_mips_ctx): New.
1686         (libc_feholdsetround_ctx): New.
1687         (libc_feholdsetroundf_ctx): New.
1688         (libc_feholdsetroundl_ctx): New.
1689         (libc_feresetround_mips_ctx): New.
1690         (libc_feresetround_ctx): New.
1691         (libc_feresetroundf_ctx): New.
1692         (libc_feresetroundl_ctx): New.
1694 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
1696         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1698         * manual/ipc.texi: New file.
1699         * manual/Makefile (chapters): Add ipc.
1700         * manual/job.texi: Add "Inter-Process Communication" to next.
1701         * manual/process.texi: Add "Inter-Process Communication" to prev.
1703 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1707 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
1709         * malloc/malloc.c (__libc_calloc): Simplify implementation.
1711         * manual/arith.texi: Fix spaces after sentences.
1712         * manual/charset.texi: Likewise.
1713         * manual/errno.texi: Likewise.
1714         * manual/install.texi: Likewise.
1715         * manual/llio.texi: Likewise.
1716         * manual/locale.texi: Likewise.
1717         * manual/maint.texi: Likewise.
1718         * manual/math.texi: Likewise.
1719         * manual/memory.texi: Likewise.
1720         * manual/message.texi: Likewise.
1721         * manual/probes.texi: Likewise.
1722         * manual/resource.texi: Likewise.
1723         * manual/signal.texi: Likewise.
1724         * manual/socket.texi: Likewise.
1725         * manual/stdio.texi: Likewise.
1726         * manual/string.texi: Likewise.
1727         * manual/time.texi: Likewise.
1728         * manual/users.texi: Likewise.
1730 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
1732         [BZ #16632]
1733         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1734         _DEFAULT_SOURCE is defined.
1736 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
1737             Carlos O'Donell  <carlos@redhat.com>
1739         [BZ #16613]
1740         * elf/dl-tls.c (_dl_count_modids): New function.
1741         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1742         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1743         audit library and increment generation counter.
1744         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1745         * elf/tst-audit9.c: New file.
1746         * elf/tst-auditmod9a.c: New file.
1747         * elf/tst-auditmod9b.c: New file.
1748         * elf/Makefile: Add rules to build and run tst-audit9.
1750 2014-02-25  Florian Weimer  <fweimer@redhat.com>
1752         [BZ #15347]
1753         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1755 2014-02-25  Will Newton  <will.newton@linaro.org>
1757         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1758         (__longjmp): Restore sp and lr before restoring callee
1759         saved registers.  Add longjmp and longjmp_target
1760         SystemTap probe point.
1761         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1762         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1763         Define to zero to match jmpbuf layout.
1764         * sysdeps/arm/setjmp.S: Include stap-probe.h.
1765         (__sigsetjmp): Save sp and lr before saving callee
1766         saved registers.  Add setjmp SystemTap probe point.
1768 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1770         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1772 2014-02-24  Andreas Schwab  <schwab@suse.de>
1774         [BZ #15804]
1775         * elf/pldd.c (wait_for_ptrace_stop): New function.
1776         (main): Call it after attaching.
1778 2014-02-22  Roland McGrath  <roland@hack.frob.com>
1780         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1781         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1782         Versions files is now verboten.
1783         * hurd/Versions (libc: GLIBC_2.0):
1784         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1785         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1786         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1787         * mach/Versions: Likewise.
1789         * csu/Versions: Remove unused %include.
1790         * resolv/Versions: Likewise.
1792 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
1794         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1795         ($(objpfx)check-local-headers.out): Likewise.
1796         ($(objpfx)begin-end-check.out): Likewise.
1797         * Makerules (check-abi-%.out): Likewise.
1798         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1799         ($(objpfx)test2.cat): Likewise.
1800         ($(objpfx)de/libc.cat): Likewise.
1801         ($(objpfx)test-gencat.out): Likewise.
1802         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1803         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1804         ($(objpfx)noload-mem): Likewise.
1805         ($(objpfx)tst-pathopt.out): Likewise.
1806         ($(objpfx)tst-rtld-load-self.out): Likewise.
1807         ($(objpfx)tst-array1-cmp.out): Likewise.
1808         ($(objpfx)tst-array1-static-cmp.out): Likewise.
1809         ($(objpfx)tst-array2-cmp.out): Likewise.
1810         ($(objpfx)tst-array3-cmp.out): Likewise.
1811         ($(objpfx)tst-array4-cmp.out): Likewise.
1812         ($(objpfx)tst-array5-cmp.out): Likewise.
1813         ($(objpfx)tst-array5-static-cmp.out): Likewise.
1814         ($(objpfx)check-textrel.out): Likewise.
1815         ($(objpfx)check-execstack.out): Likewise.
1816         ($(objpfx)check-localplt.out): Likewise.
1817         ($(objpfx)order2-cmp.out): Likewise.
1818         ($(objpfx)tst-leaks1-mem): Likewise.
1819         ($(objpfx)tst-leaks1-static-mem): Likewise.
1820         ($(objpfx)tst-initorder-cmp.out): Likewise.
1821         ($(objpfx)tst-initorder2-cmp.out): Likewise.
1822         ($(objpfx)tst-unused-dep.out): Likewise.
1823         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1824         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1825         * iconv/Makefile (test-iconvconfig): Likewise.
1826         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1827         ($(objpfx)iconv-test.out): Likewise.
1828         ($(objpfx)tst-tables.out): Likewise.
1829         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1830         ($(objpfx)tst-gettext.out): Likewise.
1831         ($(objpfx)tst-translit.out): Likewise.
1832         ($(objpfx)tst-gettext2.out): Likewise.
1833         ($(objpfx)tst-gettext4.out): Likewise.
1834         ($(objpfx)tst-gettext6.out): Likewise.
1835         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1836         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1837         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1838         ($(objpfx)tst-fopenloc-mem.out): Likewise.
1839         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1840         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1841         * posix/Makefile ($(objpfx)globtest.out): Likewise.
1842         ($(objpfx)wordexp-tst.out): Likewise.
1843         ($(objpfx)annexc.out): Likewise.
1844         ($(objpfx)tst-fnmatch-mem): Likewise.
1845         ($(objpfx)bug-regex2-mem): Likewise.
1846         ($(objpfx)bug-regex14-mem): Likewise.
1847         ($(objpfx)bug-regex21-mem): Likewise.
1848         ($(objpfx)bug-regex31-mem): Likewise.
1849         ($(objpfx)tst-vfork3-mem): Likewise.
1850         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1851         ($(objpfx)tst-pcre-mem): Likewise.
1852         ($(objpfx)tst-boost-mem): Likewise.
1853         ($(objpfx)tst-getconf.out): Likewise.
1854         ($(objpfx)bug-ga2-mem): Likewise.
1855         ($(objpfx)bug-glob2-mem): Likewise.
1856         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1857         ($(objpfx)mtrace-tst-leaks2): Likewise.
1858         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1859         ($(objpfx)tst-printf.out): Likewise.
1860         ($(objpfx)tst-setvbuf1.out): Likewise.
1861         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1862         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1863         ($(objpfx)tst-fmtmsg.out): Likewise.
1864         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1865         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1867         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1868         * bits/sigaction.h [__USE_MISC]: Likewise.
1869         * bits/waitstatus.h: Update #endif comments.
1870         * ctype/ctype.h: Likewise.
1871         * dirent/dirent.h: Likewise.
1872         [__USE_MISC]: Remove redundant conditionals.
1873         * grp/grp.h: Update #endif comments.
1874         [__USE_GNU]: Remove redundant conditionals.
1875         [__USE_MISC]: Likewise.
1876         * inet/netinet/in.h [__USE_GNU]: Likewise.
1877         * io/sys/stat.h [__USE_MISC]: Likewise.
1878         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1879         * libio/bits/stdio.h: Update #endif comments.
1880         [__USE_MISC]: Remove redundant conditionals.
1881         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1882         * libio/stdio.h: Update #endif comments.
1883         [__USE_MISC]: Remove redundant conditionals.
1884         * math/bits/math-finite.h [__USE_MISC]: Likewise.
1885         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1886         * math/math.h: Update #else and #endif comments.
1887         [__USE_MISC]: Remove redundant conditionals.
1888         * misc/sys/uio.h: Update #endif comments.
1889         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1890         * posix/glob.h [__USE_MISC]: Likewise.
1891         * posix/sys/types.h: Update #endif comments.
1892         [__USE_MISC]: Remove redundant conditionals.
1893         * posix/sys/wait.h: Update #endif comments.
1894         [__USE_MISC]: Remove redundant conditionals.
1895         * posix/unistd.h: Update #endif comments.
1896         [__USE_MISC]: Remove redundant conditionals.
1897         * pwd/pwd.h [__USE_GNU]: Likewise.
1898         [__USE_MISC]: Likewise.
1899         * resolv/netdb.h [__USE_GNU]: Likewise.
1900         * signal/signal.h: Update #endif comments.
1901         [__USE_MISC]: Remove redundant conditionals.
1902         * stdlib/stdlib.h: Update #else and #endif comments.
1903         [__USE_MISC]: Remove redundant conditionals.
1904         [__USE_GNU]: Likewise.
1905         * string/bits/string2.h [__USE_MISC]: Likewise.
1906         * string/string.h: Update #endif comments.
1907         [__USE_MISC]: Remove redundant conditionals.
1908         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1909         Likewise.
1910         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1911         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1912         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1913         Likewise.
1914         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1915         Likewise.
1916         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1917         comments.
1918         [__USE_MISC]: Remove redundant conditionals.
1919         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1920         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1921         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1922         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1923         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1924         Likewise.
1925         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1926         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1927         Likewise.
1928         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1929         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1930         Likewise.
1931         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1932         Likewise.
1933         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1934         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1935         Likewise.
1936         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1937         Likewise.
1938         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1939         * sysdeps/x86/bits/string.h: Update #endif comments.
1940         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1941         conditionals.
1942         * time/sys/time.h: Update #endif comments.
1943         * time/time.h: Likewise.
1944         [__USE_MISC]: Remove redundant conditionals.
1946 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
1948         [BZ #16600]
1949         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1951 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
1953         * Versions.def (librt): Add GLIBC_2.17.
1955 2014-02-21  Adam Conrad  <adconrad@0c3.net>
1957         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1958         synonym for _SYS_AUXV_H to allow direct inclusion.
1959         * sysdeps/sparc/bits/hwcap.h: Likewise.
1960         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1961         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1962         * sysdeps/sparc/sysdep.h: Likewise.
1964 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1966         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1968 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1970         * benchtests/bench-strrchr.c: Print length instead of position.
1972 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
1974         [BZ #16611]
1975         * sysdeps/unix/sysv/linux/kernel-features.h
1976         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1977         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1978         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1979         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1980         Likewise.
1981         [__i386__ || __powerpc__ || __sh__ || __sparc__]
1982         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1983         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1984         (__ASSUME_SENDMMSG): Define instead of using previous
1985         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1986         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1987         (__ASSUME_SENDMMSG_SYSCALL): Define.
1988         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1989         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1990         Likewise.
1991         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1992         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1993         Likewise.
1994         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1995         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1996         Likewise.
1997         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1998         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1999         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2000         [__ASSUME_SENDMMSG]: Change conditionals to
2001         [__ASSUME_SENDMMSG_SOCKETCALL].
2002         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2003         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2004         Define.
2005         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2006         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2007         Likewise.
2008         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2009         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2010         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2011         [!__ASSUME_SENDMMSG]: Change conditional to
2012         [!__ASSUME_SENDMMSG_SOCKETCALL].
2013         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2014         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2015         Define.
2017         [BZ #16610]
2018         * sysdeps/unix/sysv/linux/kernel-features.h
2019         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2020         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2021         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2022         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2023         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2024         [__i386__ || __sparc__]
2025         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2026         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2027         (__ASSUME_RECVMMSG): Define instead of using previous
2028         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2029         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2030         (__ASSUME_RECVMMSG_SYSCALL): Define.
2031         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2032         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2033         Likewise.
2034         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2035         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2036         Likewise.
2037         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2038         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2039         Likewise.
2040         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2041         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2042         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2043         [__ASSUME_RECVMMSG]: Change condition to
2044         [__ASSUME_RECVMMSG_SOCKETCALL].
2045         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2047         Define.
2048         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2049         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2051         Likewise.
2052         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2053         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2054         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2055         [!__ASSUME_RECVMMSG]: Change condition to
2056         [!__ASSUME_RECVMMSG_SOCKETCALL].
2057         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2058         (__ASSUME_RECVMMSG_SYSCALL): Define.
2060         [BZ #16609]
2061         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2062         __powerpc__ || __s390__ || __sh__ || __sparc__]
2063         (__ASSUME_SOCKETCALL): Define.
2064         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2065         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2066         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2067         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2068         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2069         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2070         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2071         (__ASSUME_ACCEPT4): Define instead of using previous
2072         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2073         __powerpc__ || __sparc__ || __s390__)] condition.
2074         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2075         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2076         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2077         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2078         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2079         [!__ASSUME_ACCEPT4]: Change condition to
2080         [!__ASSUME_ACCEPT4_SOCKETCALL].
2081         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2082         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2083         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2084         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2085         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2086         __ASSUME_ACCEPT4_SYSCALL.
2087         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2088         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2089         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2090         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2091         __ASSUME_ACCEPT4_SYSCALL.
2092         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2093         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2094         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2095         [__ASSUME_ACCEPT4]: Change condition to
2096         [__ASSUME_ACCEPT4_SOCKETCALL].
2097         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2098         (__ASSUME_SOCKETCALL): Define.
2099         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2100         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2101         (__ASSUME_SOCKETCALL): Define.
2102         (__ASSUME_ACCEPT4): Remove.
2103         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2104         Define.
2105         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2106         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2107         Likewise.
2108         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2109         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2111         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2112         macro.
2113         (HWCAP_ARM_LPAE): Likewise.
2114         (HWCAP_ARM_EVTSTRM): Likewise.
2115         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2116         Add vpfd32, lpae and evtstrm.
2117         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2118         Increase to 22.
2120 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2122         * math/auto-libm-test-in: Add tests of clog10.
2123         * math/auto-libm-test-out: Regenerated.
2124         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2125         * sysdeps/i386/fpu/libm-test-ulps: Update.
2126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2128 2014-02-18  Andreas Schwab  <schwab@suse.de>
2130         [BZ #16574]
2131         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2132         Store non-zero if the second buffer was newly allocated.
2133         (send_dg): Likewise.
2134         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2135         to send_vc and send_dg.
2136         (res_nsend): Pass NULL for ansp2_malloced.
2137         * resolv/res_query.c (__libc_res_nquery): Add parameter
2138         answerp2_malloced and pass it down to __libc_res_nsend.
2139         (res_nquery): Pass additional NULL to __libc_res_nquery.
2140         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2141         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2142         second answer buffer if answerp2_malloced was set.
2143         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2144         (__libc_res_nquerydomain): Add parameter
2145         answerp2_malloced and pass it down to __libc_res_nquery.
2146         (res_nquerydomain): Pass additional NULL to
2147         __libc_res_nquerydomain.
2148         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2149         additional NULL to __libc_res_nsend and __libc_res_nquery.
2150         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2151         additional NULL to __libc_res_nsearch.
2152         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2153         parameter of __libc_res_nsearch to check for separately allocated
2154         second buffer.
2155         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2156         __libc_res_nquery.
2157         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2158         additional NULL to __libc_res_nquery.
2159         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2160         __libc_res_nsearch.
2161         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2162         * include/resolv.h: Update prototypes of __libc_res_nquery,
2163         __libc_res_nsearch, __libc_res_nsend.
2165 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2167         * math/auto-libm-test-in: Add tests of fma.
2168         * math/auto-libm-test-out: Regenerated.
2169         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2170         (fma_towardzero_test_data): Likewise.
2171         (fma_downward_test_data): Likewise.
2172         (fma_upward_test_data): Likewise.
2173         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2174         mpc_mode.
2175         (rounding_modes): Add values for new field.
2176         (func_calc_method): Add value mpfr_fff_f.
2177         (func_calc_desc): Add mpfr_fff_f union field.
2178         (test_function): Add field exact_args.
2179         (FUNC): Add macro argument EXACT_ARGS.
2180         (FUNC_mpfr_f_f): Update call to FUNC.
2181         (FUNC_mpfr_f_f): Likewise.
2182         (FUNC_mpfr_ff_f): Likewise.
2183         (FUNC_mpfr_if_f): Likewise.
2184         (FUNC_mpc_c_f): Likewise.
2185         (FUNC_mpc_c_c): Likewise.
2186         (test_functions): Add fma.  Update calls to FUNC.
2187         (handle_input_arg): Add argument exact_args.
2188         (add_test): Update call to handle_input_arg.
2189         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2190         (output_for_one_input_case): Update call to calc_generic_results.
2191         Recalculate exact zero results in each rounding mode.
2193         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2194         non-negative before setting low bit.
2195         * math/auto-libm-test-in: Mark one asin test possibly having
2196         spurious underflow.
2197         * math/auto-libm-test-out: Regenerated.
2198         * sysdeps/i386/fpu/libm-test-ulps: Update.
2199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2201 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2203         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2204         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2205         ports/sysdeps/unix/sysv/linux/microblaze.
2206         * README: Add missing listing for microblaze*-*-linux-gnu.
2208 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2210         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2211         * sysdeps/unix/sysv/linux/ia64: Move directory from
2212         ports/sysdeps/unix/sysv/linux/ia64.
2213         * README: Update listing for ia64-*-linux-gnu.
2215 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2216             Joseph Myers  <joseph@codesourcery.com>
2218         * Makeconfig (test-name): New variable.
2219         (evaluate-test): Likewise.
2220         * Makerules (do-test-clean): Remove .test-result files.
2221         (common-mostlyclean): Likewise.
2222         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2223         * scripts/evaluate-test.sh: New file.
2225 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2227         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2228         separate $(objpfx)tst-fopenloc-cmp.out and
2229         $(objpfx)tst-fopenloc-mem.out targets.
2230         (tests): Update dependencies.
2231         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2232         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2233         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2234         (tst-rxspencer-no-utf8-ARGS): New variable.
2235         (tst-rxspencer-no-utf8-ENV): Likewise.
2236         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2237         instead of $(objpfx)tst-rxspencer-mem.
2238         ($(objpfx)tst-rxspencer-mem): Change target to
2239         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2240         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2241         * posix/tst-rxspencer-no-utf8.c: New file.
2243         * elf/Makefile ($(objpfx)order.out): Remove rule.
2244         [$(run-built-tests) = yes] (tests): Depend on
2245         $(objpfx)order-cmp.out.
2246         ($(objpfx)order-cmp.out): New rule.
2247         [$(run-built-tests) = yes] (tests): Depend on
2248         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2249         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2250         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2251         $(objpfx)tst-array5-static-cmp.out.
2252         ($(objpfx)tst-array1.out): Remove rule.
2253         ($(objpfx)tst-array1-cmp.out): New rule.
2254         ($(objpfx)tst-array1-static.out): Remove rule.
2255         ($(objpfx)tst-array1-static-cmp.out): New rule.
2256         ($(objpfx)tst-array2.out): Remove rule.
2257         ($(objpfx)tst-array2-cmp.out): New rule.
2258         ($(objpfx)tst-array3.out): Remove rule.
2259         ($(objpfx)tst-array3-cmp.out): New rule.
2260         ($(objpfx)tst-array4.out): Remove rule.
2261         ($(objpfx)tst-array4-cmp.out): New rule.
2262         ($(objpfx)tst-array5.out): Remove rule.
2263         ($(objpfx)tst-array5-cmp.out): New rule.
2264         ($(objpfx)tst-array5-static.out): Remove rule.
2265         ($(objpfx)tst-array5-static-cmp.out): New rule.
2266         [$(run-built-tests) = yes] (tests): Depend on
2267         $(objpfx)order2-cmp.out.
2268         ($(objpfx)order2.out): Remove rule.
2269         ($(objpfx)order2-cmp.out): New rule.
2270         ($(objpfx)tst-initorder.out): Remove rule.
2271         [$(run-built-tests) = yes] (tests): Depend on
2272         $(objpfx)tst-initorder-cmp.out.
2273         ($(objpfx)tst-initorder-cmp.out): New rule.
2274         ($(objpfx)tst-initorder2.out): Remove rule.
2275         [$(run-built-tests) = yes] (tests): Depend on
2276         $(objpfx)tst-initorder2-cmp.out.
2277         ($(objpfx)tst-initorder2-cmp.out): New rule.
2278         [$(run-built-tests) = yes] (tests): Depend on
2279         $(objpfx)tst-unused-dep-cmp.out.
2280         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2281         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2282         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2283         on $(objpfx)tst-setvbuf1-cmp.out.
2284         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2285         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2286         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2287         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2288         ($(objpfx)tst-svc.out): Remove rule.
2289         ($(objpfx)tst-svc-cmp.out): New rule.
2291 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2293         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2294         * ctype/ctype.h [__USE_MISC]: Likewise.
2295         * dirent/dirent.h [__USE_MISC]: Likewise.
2296         * grp/grp.h [__USE_MISC]: Likewise.
2297         * io/fcntl.h [__USE_MISC]: Likewise.
2298         * io/sys/stat.h [__USE_MISC]: Likewise.
2299         * libio/stdio.h [__USE_MISC]: Likewise.
2300         * posix/unistd.h [__USE_MISC]: Likewise.
2301         * pwd/pwd.h [__USE_MISC]: Likewise.
2302         * stdlib.h [__USE_MISC]: Likewise.
2303         * string/bits/string2.h [__USE_MISC]: Likewise.
2304         * string/string.h [__USE_MISC]: Likewise.
2305         * time/time.h [__USE_MISC]: Likewise.
2307 2014-02-13  Andreas Schwab  <schwab@suse.de>
2309         [BZ #16574]
2310         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2311         second answer buffer if it was separately allocated.
2313 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2315         * sysdeps/mips/math-tests.h: Include <features.h>.
2316         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2317         (ROUNDING_TESTS_long_double): Do not define.
2318         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2319         (EXCEPTION_TESTS_long_double): Likewise.
2320         * sysdeps/mips/mips64/libm-test-ulps: Update.
2322         * include/features.h (__USE_BSD): Remove macro definitions.
2323         (__USE_SVID): Likewise.
2324         (_BSD_SOURCE): Likewise.
2325         (_SVID_SOURCE): Likewise.
2326         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2327         from definition of _DEFAULT_SOURCE.
2328         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2329         [_DEFAULT_SOURCE].
2330         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2331         * bits/mman.h [__USE_BSD]: Likewise.
2332         * bits/termios.h [__USE_BSD]: Likewise.
2333         * bits/waitstatus.h [__USE_BSD]: Likewise.
2334         * ctype/ctype.h [__USE_SVID]: Likewise.
2335         * dirent/dirent.h [__USE_BSD]: Likewise.
2336         * grp/grp.h [__USE_SVID]: Likewise.
2337         [__USE_BSD]: Likewise.
2338         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2339         * io/fcntl.h [__USE_BSD]: Likewise.
2340         * io/ftw.h [__USE_BSD]: Likewise.
2341         * io/sys/stat.h [__USE_BSD]: Likewise.
2342         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2343         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2344         * libio/stdio.h [__USE_SVID]: Likewise.
2345         [__USE_BSD]: Likewise.
2346         * math/math.h [__USE_SVID]: Likewise.
2347         [__USE_BSD]: Likewise.
2348         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2349         * misc/bits/syslog.h [__USE_BSD]: Likewise.
2350         * misc/search.h [__USE_SVID]: Likewise.
2351         * misc/sys/mman.h [__USE_BSD]: Likewise.
2352         * misc/sys/syslog.h [__USE_BSD]: Likewise.
2353         * misc/sys/uio.h [__USE_BSD]: Likewise.
2354         * posix/bits/unistd.h [__USE_BSD]: Likewise.
2355         * posix/glob.h [__USE_BSD]: Likewise.
2356         * posix/regex.h [__USE_BSD]: Likewise.
2357         * posix/sys/types.h [__USE_BSD]: Likewise.
2358         [__USE_SVID]: Likewise.
2359         * posix/sys/utsname.h [__USE_SVID]: Likewise.
2360         * posix/sys/wait.h [__USE_BSD]: Likewise.
2361         [__USE_SVID]: Likewise.
2362         * posix/unistd.h [__USE_BSD]: Likewise.
2363         [__USE_SVID]: Likewise.
2364         * pwd/pwd.h [__USE_SVID]: Likewise.
2365         * resolv/netdb.h [__USE_BSD]: Likewise.
2366         * setjmp/setjmp.h [__USE_BSD]: Likewise.
2367         * signal/signal.h [__USE_BSD]: Likewise.
2368         [__USE_SVID]: Likewise.
2369         * socket/sys/socket.h [__USE_BSD]: Likewise.
2370         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2371         * stdlib/stdlib.h [__USE_BSD]: Likewise.
2372         [__USE_SVID]: Likewise.
2373         * string/bits/string2.h [__USE_BSD]: Likewise.
2374         [__USE_SVID]: Likewise.
2375         * string/bits/string3.h [__USE_BSD]: Likewise.
2376         * string/endian.h [__USE_BSD]: Likewise.
2377         * string/string.h [__USE_SVID]: Likewise.
2378         [__USE_BSD]: Likewise.
2379         * string/strings.h [__USE_BSD]: Likewise.
2380         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2381         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2382         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2383         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2384         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2385         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2386         Likewise.
2387         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2388         Likewise.
2389         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2390         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2391         Likewise.
2392         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2393         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2394         Likewise.
2395         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2396         Likewise.
2397         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2398         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2399         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2400         Likewise.
2401         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2402         Likewise.
2403         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2404         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2405         * termios/termios.h [__USE_BSD]: Likewise.
2406         * time/sys/time.h [__USE_BSD]: Likewise.
2407         * time/time.h [__USE_BSD]: Likewise.
2408         [__USE_SVID]: Likewise.
2410         * Makefile (subdir_targets): Remove subdir_lint.out.
2412         * stdio-common/Makefile (do-tst-unbputc): Remove target.
2413         (do-tst-printf): Likewise.
2414         (tests): Depend directly on $(objpfx)tst-unbputc.out and
2415         $(objpfx)tst-printf.out.
2417         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2419         * Makerules (check-abi-%): Change target to
2420         $(objpfx)check-abi-%.out.
2421         (check-abi target): Update dependencies.
2422         (check-abi-pattern variable): Redirect output of diff to $@.
2423         (check-abi variable): Likewise.
2424         * elf/Makefile (check-abi): Update dependencies.
2426         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2427         unused.
2428         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2429         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2430         subnormal range.
2431         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2432         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2433         value has largest subnormal exponent.
2434         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2435         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2436         * sysdeps/aarch64/soft-fp/sfp-machine.h
2437         (_FP_TININESS_AFTER_ROUNDING): New macro.
2438         * sysdeps/alpha/soft-fp/sfp-machine.h
2439         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2440         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2441         Likewise.
2442         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2443         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2444         * sysdeps/mips/soft-fp/sfp-machine.h
2445         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2446         * sysdeps/powerpc/soft-fp/sfp-machine.h
2447         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2448         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2449         Likewise.
2450         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2451         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2452         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2453         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2454         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2455         Likewise.
2457 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
2459         [BZ #16545]
2460         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2461         model 1.
2463 2014-02-12  Richard Henderson  <rth@redhat.com>
2465         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2466         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2467         * sysdeps/unix/sysv/linux/alpha: Move directory from
2468         ports/sysdeps/unix/sysv/linux/alpha.
2469         * README: Update listing for alpha-*-linux-gnu.
2471 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
2473         * include/features.h: Update comment documenting feature test
2474         macros.
2475         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
2476         _DEFAULT_SOURCE.
2477         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2478         (_SVID_SOURCE): Likewise.
2479         (_DEFAULT_SOURCE): Update description of default features.
2480         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2481         with _GNU_SOURCE.
2482         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2483         (S_ISVTX): Likewise.
2484         * manual/math.texi (Mathematical Constants): Likewise.
2485         * manual/signal.texi (Interrupted Primitives): Likewise.
2486         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2487         * math/test-matherr.c (_SVID_SOURCE): Do not define.
2488         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2489         Don't refer to _SVID_SOURCE in warning text.
2491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2493         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2494         already defined.
2495         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2496         * sysdeps/mips/dl-lookup.c: Remove.
2497         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2499 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2501         [BZ #16447]
2502         * math/auto-libm-test-in: Add testcase for expl.
2503         * math/auto-libm-test-out: Regenerate.
2504         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2505         calculation of unsafe.
2506         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2508 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2510         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2511         * sysdeps/unix/sysv/linux/aarch64: Move directory from
2512         ports/sysdeps/unix/sysv/linux/aarch64.
2513         * README: Update listing for aarch64*-*-linux-gnu.
2515 2014-02-11  Will Newton  <will.newton@linaro.org>
2517         * manual/probes.texi (Mathematical Function Probes): Use
2518         "triggered" instead of "hit".
2520 2014-02-11  Will Newton  <will.newton@linaro.org>
2522         * manual/probes.texi (Internal Probes): Add documentation
2523         of setjmp, longjmp and longjmp_target probes.
2525 2014-02-11  Will Newton  <will.newton@linaro.org>
2527         * include/stap-probe.h: Add comment about probe argument
2528         format.
2530 2014-02-11  Will Newton  <will.newton@linaro.org>
2532         * malloc/mtrace.c (attribute_hidden): Remove unused macro
2533         definition.  (tr_where, tr_freehook, tr_mallochook,
2534         tr_reallochook, tr_memalignhook): Use ANSI protoype.
2536 2014-02-11  David S. Miller  <davem@davemloft.net>
2538         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2539         processing int_tests.
2541 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
2543         * sysdeps/mips: Move directory from ports/sysdeps/mips.
2544         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2545         * sysdeps/unix/sysv/linux/mips: Move directory from
2546         ports/sysdeps/unix/sysv/linux/mips.
2547         * README: Update listing for mips-*-linux-gnu and
2548         mips64-*-linux-gnu.
2550 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
2552         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2553         * sysdeps/unix/sysv/linux/m68k: Move directory from
2554         ports/sysdeps/unix/sysv/linux/m68k.
2555         * README: Update listing for m68k-*-linux-gnu.
2557 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
2559         * sysdeps/tile: Move directory from ports/sysdeps/tile.
2560         * sysdeps/unix/sysv/linux/generic: Move directory from
2561         ports/sysdeps/unix/sysv/linux/generic.
2562         * sysdeps/unix/sysv/linux/tile: Move directory from
2563         ports/sysdeps/unix/sysv/linux/tile.
2564         * README: Update listing for tile*-*-linux-gnu.
2566 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2568         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2569         * benchtests/bench-memmem.c (simple_memmem): Likewise.
2570         * catgets/open_catalog.c (__open_catalog): Likewise.
2571         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2572         * debug/confstr_chk.c: Likewise.
2573         * debug/fread_chk.c (__fread_chk): Likewise.
2574         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2575         * debug/getgroups_chk.c: Likewise.
2576         * debug/mbsnrtowcs_chk.c: Likewise.
2577         * debug/mbsrtowcs_chk.c: Likewise.
2578         * debug/mbstowcs_chk.c: Likewise.
2579         * debug/memcpy_chk.c: Likewise.
2580         * debug/memmove_chk.c: Likewise.
2581         * debug/mempcpy_chk.c: Likewise.
2582         * debug/memset_chk.c: Likewise.
2583         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2584         * debug/strcat_chk.c (__strcat_chk): Likewise.
2585         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2586         * debug/strncat_chk.c (__strncat_chk): Likewise.
2587         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2588         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2589         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2590         * debug/wcpncpy_chk.c: Likewise.
2591         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2592         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2593         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2594         * debug/wcsncpy_chk.c: Likewise.
2595         * debug/wcsnrtombs_chk.c: Likewise.
2596         * debug/wcsrtombs_chk.c: Likewise.
2597         * debug/wcstombs_chk.c: Likewise.
2598         * debug/wmemcpy_chk.c: Likewise.
2599         * debug/wmemmove_chk.c: Likewise.
2600         * debug/wmempcpy_chk.c: Likewise.
2601         * debug/wmemset_chk.c: Likewise.
2602         * dirent/scandirat.c (SCANDIRAT): Likewise.
2603         * dlfcn/dladdr1.c (dladdr1): Likewise.
2604         * dlfcn/dladdr.c (dladdr): Likewise.
2605         * dlfcn/dlclose.c (dlclose_doit): Likewise.
2606         * dlfcn/dlerror.c (__dlerror): Likewise.
2607         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2608         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2609         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2610         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2611         * dlfcn/dlsym.c (dlsym_doit): Likewise.
2612         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2613         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2614         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2615         Likewise.
2616         * elf/dl-conflict.c: Likewise.
2617         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2618         * elf/dl-dst.h: Likewise.
2619         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2620         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2621         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2622         * elf/dl-init.c (call_init, _dl_init): Likewise.
2623         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2624         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2625         _dl_map_object_from_fd, open_verify, open_path,
2626         _dl_map_object): Likewise.
2627         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2628         Likewise.
2629         * elf/dl-minimal.c (__libc_memalign): Likewise.
2630         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2631         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2632         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2633         * elf/dl-sym.c (do_sym): Likewise.
2634         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2635         _dl_tls_get_addr_soft): Likewise.
2636         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2637         * elf/dl-writev.h (_dl_writev): Likewise.
2638         * elf/ldconfig.c (search_dir): Likewise.
2639         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2640         dl_main): Likewise.
2641         * elf/setup-vdso.h (setup_vdso): Likewise.
2642         * grp/compat-initgroups.c (compat_call): Likewise.
2643         * grp/fgetgrent.c (fgetgrent): Likewise.
2644         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2645         * grp/putgrent.c (putgrent): Likewise.
2646         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2647         Likewise.
2648         * hurd/hurdinit.c: Likewise.
2649         * iconvdata/8bit-gap.c (struct): Likewise.
2650         * iconvdata/ansi_x3.110.c : Likewise.
2651         * iconvdata/big5.c : Likewise.
2652         * iconvdata/big5hkscs.c : Likewise.
2653         * iconvdata/cp1255.c: Likewise.
2654         * iconvdata/cp1258.c : Likewise.
2655         * iconvdata/cp932.c : Likewise.
2656         * iconvdata/euc-cn.c: Likewise.
2657         * iconvdata/euc-jisx0213.c : Likewise.
2658         * iconvdata/euc-jp.c: Likewise.
2659         * iconvdata/euc-jp-ms.c : Likewise.
2660         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2661         * iconvdata/gb18030.c : Likewise.
2662         * iconvdata/gbbig5.c (const): Likewise.
2663         * iconvdata/gbgbk.c: Likewise.
2664         * iconvdata/gbk.c : Likewise.
2665         * iconvdata/ibm1364.c : Likewise.
2666         * iconvdata/ibm930.c : Likewise.
2667         * iconvdata/ibm932.c: Likewise.
2668         * iconvdata/ibm933.c : Likewise.
2669         * iconvdata/ibm935.c : Likewise.
2670         * iconvdata/ibm937.c : Likewise.
2671         * iconvdata/ibm939.c : Likewise.
2672         * iconvdata/ibm943.c: Likewise.
2673         * iconvdata/iso_11548-1.c: Likewise.
2674         * iconvdata/iso-2022-cn.c : Likewise.
2675         * iconvdata/iso-2022-cn-ext.c : Likewise.
2676         * iconvdata/iso-2022-jp-3.c: Likewise.
2677         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2678         * iconvdata/iso-2022-kr.c : Likewise.
2679         * iconvdata/iso646.c (gconv_end): Likewise.
2680         * iconvdata/iso_6937-2.c : Likewise.
2681         * iconvdata/iso_6937.c : Likewise.
2682         * iconvdata/iso8859-1.c: Likewise.
2683         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2684         * iconvdata/shift_jisx0213.c : Likewise.
2685         * iconvdata/sjis.c : Likewise.
2686         * iconvdata/t.61.c : Likewise.
2687         * iconvdata/tcvn5712-1.c : Likewise.
2688         * iconvdata/tscii.c: Likewise.
2689         * iconvdata/uhc.c : Likewise.
2690         * iconvdata/unicode.c (gconv_end): Likewise.
2691         * iconvdata/utf-16.c (gconv_end): Likewise.
2692         * iconvdata/utf-32.c (gconv_end): Likewise.
2693         * iconvdata/utf-7.c (base64): Likewise.
2694         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2695         * iconv/gconv_close.c (__gconv_close): Likewise.
2696         * iconv/gconv_open.c (__gconv_open): Likewise.
2697         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2698         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2699         internal_ucs4le_loop_single, ucs4le_internal_loop,
2700         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2701         * iconv/iconv.c (iconv): Likewise.
2702         * iconv/iconv_close.c: Likewise.
2703         * iconv/loop.c (SINGLE): Likewise.
2704         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2705         * include/atomic.h: Likewise.
2706         * inet/inet6_option.c (option_alloc): Likewise.
2707         * intl/bindtextdom.c (set_binding_values): Likewise.
2708         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2709         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2710         * intl/localealias.c (read_alias_file): Likewise.
2711         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2712         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2713         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2714         * libio/fmemopen.c (fmemopen): Likewise.
2715         * libio/iofgets.c (_IO_fgets): Likewise.
2716         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2717         * libio/iofgetws.c (fgetws): Likewise.
2718         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2719         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2720         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2721         adjust_wide_data, _IO_wfile_seekoff): Likewise.
2722         * locale/findlocale.c (_nl_find_locale): Likewise.
2723         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2724         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2725         Likewise.
2726         * locale/setlocale.c (setlocale): Likewise.
2727         * login/programs/pt_chown.c (main): Likewise.
2728         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2729         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2730         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2731         mmap, mmap64, mremap, munmap): Likewise.
2732         * math/e_exp2l.c: Likewise.
2733         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2734         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2735         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2736         * math/s_catan.c (__catan): Likewise.
2737         * math/s_catanf.c (__catanf): Likewise.
2738         * math/s_catanh.c (__catanh): Likewise.
2739         * math/s_catanhf.c (__catanhf): Likewise.
2740         * math/s_catanhl.c (__catanhl): Likewise.
2741         * math/s_catanl.c (__catanl): Likewise.
2742         * math/s_ccosh.c (__ccosh): Likewise.
2743         * math/s_ccoshf.c (__ccoshf): Likewise.
2744         * math/s_ccoshl.c (__ccoshl): Likewise.
2745         * math/s_cexp.c (__cexp): Likewise.
2746         * math/s_cexpf.c (__cexpf): Likewise.
2747         * math/s_cexpl.c (__cexpl): Likewise.
2748         * math/s_clog10.c (__clog10): Likewise.
2749         * math/s_clog10f.c (__clog10f): Likewise.
2750         * math/s_clog10l.c (__clog10l): Likewise.
2751         * math/s_clog.c (__clog): Likewise.
2752         * math/s_clogf.c (__clogf): Likewise.
2753         * math/s_clogl.c (__clogl): Likewise.
2754         * math/s_csin.c (__csin): Likewise.
2755         * math/s_csinf.c (__csinf): Likewise.
2756         * math/s_csinh.c (__csinh): Likewise.
2757         * math/s_csinhf.c (__csinhf): Likewise.
2758         * math/s_csinhl.c (__csinhl): Likewise.
2759         * math/s_csinl.c (__csinl): Likewise.
2760         * math/s_csqrt.c (__csqrt): Likewise.
2761         * math/s_csqrtf.c (__csqrtf): Likewise.
2762         * math/s_csqrtl.c (__csqrtl): Likewise.
2763         * math/s_ctan.c (__ctan): Likewise.
2764         * math/s_ctanf.c (__ctanf): Likewise.
2765         * math/s_ctanh.c (__ctanh): Likewise.
2766         * math/s_ctanhf.c (__ctanhf): Likewise.
2767         * math/s_ctanhl.c (__ctanhl): Likewise.
2768         * math/s_ctanl.c (__ctanl): Likewise.
2769         * math/w_pow.c: Likewise.
2770         * math/w_powf.c: Likewise.
2771         * math/w_powl.c: Likewise.
2772         * math/w_scalb.c (sysv_scalb): Likewise.
2773         * math/w_scalbf.c (sysv_scalbf): Likewise.
2774         * math/w_scalbl.c (sysv_scalbl): Likewise.
2775         * misc/error.c (error_tail): Likewise.
2776         * misc/pselect.c (__pselect): Likewise.
2777         * nis/nis_callback.c (__nis_create_callback): Likewise.
2778         * nis/nis_call.c (__nisfind_server): Likewise.
2779         * nis/nis_creategroup.c (nis_creategroup): Likewise.
2780         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2781         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2782         * nis/nis_getservlist.c (nis_getservlist): Likewise.
2783         * nis/nis_lookup.c (nis_lookup): Likewise.
2784         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2785         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2786         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2787         * nis/nis_xdr.c (xdr_endpoint): Likewise.
2788         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2789         internal_getgrgid_r): Likewise.
2790         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2791         Likewise.
2792         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2793         internal_getpwuid_r): Likewise.
2794         * nis/nss_compat/compat-spwd.c (getspent_next_file,
2795         internal_getspnam_r): Likewise.
2796         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2797         _nss_nis_getaliasbyname_r): Likewise.
2798         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2799         _nss_nis_getntohost_r): Likewise.
2800         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2801         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2802         Likewise.
2803         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2804         internal_nis_gethostent_r, internal_gethostbyname2_r,
2805         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2806         _nss_nis_gethostbyname4_r): Likewise.
2807         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2808         initgroups_netid): Likewise.
2809         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2810         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2811         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2812         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2813         _nss_nis_getprotobynumber_r): Likewise.
2814         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2815         _nss_nis_getsecretkey): Likewise.
2816         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2817         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2818         Likewise.
2819         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2820         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2821         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2822         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2823         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2824         _nss_nis_getspnam_r): Likewise.
2825         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2826         Likewise.
2827         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2828         _nss_nisplus_getntohost_r): Likewise.
2829         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2830         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2831         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2832         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2833         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2834         Likewise.
2835         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2836         _nss_nisplus_getnetbyaddr_r): Likewise.
2837         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2838         _nss_nisplus_getprotobynumber_r): Likewise.
2839         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2840         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2841         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2842         Likewise.
2843         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2844         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2845         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2846         _nss_nisplus_getspnam_r): Likewise.
2847         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2848         * nscd/aicache.c (addhstaiX): Likewise.
2849         * nscd/cache.c (cache_search, prune_cache): Likewise.
2850         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2851         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2852         * nscd/grpcache.c (addgrbyX): Likewise.
2853         * nscd/hstcache.c (addhstbyX): Likewise.
2854         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2855         * nscd/mem.c (gc, mempool_alloc): Likewise.
2856         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2857         Likewise.
2858         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2859         Likewise.
2860         * nscd/nscd_getai.c (__nscd_getai): Likewise.
2861         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2862         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2863         Likewise.
2864         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2865         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2866         * nscd/nscd_helper.c (__readvall, open_socket,
2867         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2868         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2869         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2870         * nscd/pwdcache.c (addpwbyX): Likewise.
2871         * nscd/selinux.c (preserve_capabilities): Likewise.
2872         * nscd/servicescache.c (addservbyX): Likewise.
2873         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2874         * posix/fnmatch.c (fnmatch): Likewise.
2875         * posix/getopt.c (_getopt_internal_r): Likewise.
2876         * posix/glob.c (glob, glob_in_dir): Likewise.
2877         * posix/wordexp.c (exec_comm_child): Likewise.
2878         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2879         gaih_getanswer_slice): Likewise.
2880         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2881         * resolv/res_init.c: Likewise.
2882         * resolv/res_mkquery.c (res_nmkquery): Likewise.
2883         * resolv/res_query.c (__libc_res_nquery): Likewise.
2884         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2885         Likewise.
2886         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2887         * stdio-common/perror.c (perror): Likewise.
2888         * stdio-common/printf_fp.c (___printf_fp): Likewise.
2889         * stdio-common/tmpnam.c (tmpnam): Likewise.
2890         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2891         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2892         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2893         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2894         * stdlib/putenv.c (putenv): Likewise.
2895         * stdlib/setenv.c (__add_to_environ): Likewise.
2896         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2897         * stdlib/strtol_l.c (INTERNAL): Likewise.
2898         * string/memmem.c (memmem): Likewise.
2899         * string/strerror.c (strerror): Likewise.
2900         * string/strnlen.c (__strnlen): Likewise.
2901         * string/test-memmem.c (simple_memmem): Likewise.
2902         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2903         * sunrpc/pm_getport.c (__get_socket): Likewise.
2904         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2905         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2906         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2907         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2908         Likewise.
2909         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2910         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2911         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2912         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2913         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2914         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2915         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2916         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2917         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2918         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2919         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2920         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2922         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2923         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2924         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2925         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2926         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2927         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2928         Likewise.
2929         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2930         Likewise.
2931         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2932         Likewise.
2933         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2934         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2935         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2936         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2937         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2938         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2939         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2940         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2941         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2942         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2943         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2944         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2945         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2946         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2948         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2949         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2950         Likewise.
2951         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2952         Likewise.
2953         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2954         Likewise.
2955         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2956         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2957         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2958         Likewise.
2959         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2960         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2961         * sysdeps/posix/opendir.c (__opendirat): Likewise.
2962         * sysdeps/posix/sleep.c: Likewise.
2963         * sysdeps/posix/tempname.c: Likewise.
2964         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2965         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2966         Likewise.
2967         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2968         elf_machine_rela): Likewise.
2969         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2970         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2971         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2972         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2973         Likewise.
2974         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2975         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2976         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2977         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2978         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2979         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2980         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2981         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2982         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2983         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2984         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2985         elf_machine_lazy_rel): Likewise.
2986         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2988         elf_machine_lazy_rel): Likewise.
2989         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2990         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2991         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2992         * sysdeps/unix/grantpt.c (grantpt): Likewise.
2993         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2994         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2995         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2996         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2997         Likewise.
2998         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2999         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3000         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3001         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3002         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3003         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3004         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3005         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3006         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3007         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3008         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3009         Likewise.
3010         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3011         (__posix_fallocate64_l64): Likewise.
3012         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3013         (posix_fallocate): Likewise.
3014         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3015         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3016         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3017         getifaddrs_internal): Likewise.
3018         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3019         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3020         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3021         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3022         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3023         (__posix_fallocate64_l64): Likewise.
3024         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3025         Likewise.
3026         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3027         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3028         Likewise.
3029         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3030         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3031         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3032         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3033         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3034         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3035         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3036         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3039         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3040         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3041         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3042         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3043         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3044         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3045         Likewise.
3046         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3047         (posix_fallocate): Likewise.
3048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3049         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3050         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3051         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3052         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3053         Likewise.
3054         * time/asctime.c (asctime_internal): Likewise.
3055         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3056         * time/tzset.c (__tzset_parse_tz): Likewise.
3057         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3058         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3059         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3060         * wcsmbs/wcsmbsload.h: Likewise.
3062 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3064         [BZ #15894]
3065         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3067 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3069         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3070         arena_get2): Remove THREAD_STATS conditionals.
3071         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3072         __malloc_stats, int): Likewise.
3074 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3076         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3077         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3079 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3081         * manual/setjmp.texi: Fix typos/grammar errors.
3083 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3085         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3086         Only return early when n is <= 0.  Delete unused return statement.
3088 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3090         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3091         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3092         * debug/tst-longjmp_chk3.c: New file.
3094 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3096         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3097         (test_main): Replace code with set_fortify_handler call.
3098         * debug/test-strcpy_chk.c: Likewise.
3099         * debug/tst-chk1.c: Likewise.
3100         * debug/tst-longjmp_chk.c: Likewise.
3101         * test-skeleton.c: Include fcntl.h & paths.h
3102         (set_fortify_handler): Define.
3104 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3106         * debug/tst-longjmp_chk.c: Add header comment and include
3107         ../test-skeleton.c.
3108         (do_test): Mark static.
3109         (TEST_FUNCTION): Define.
3111 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3113         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3114         (IP_PMTUDISC_INTERFACE): Likewise.
3115         (IP_MULTICAST_IF): Likewise.
3116         (IP_MULTICAST_TTL): Likewise.
3117         (IP_MULTICAST_LOOP): Likewise.
3118         (IP_ADD_MEMBERSHIP): Likewise.
3119         (IP_DROP_MEMBERSHIP): Likewise.
3120         (IP_UNBLOCK_SOURCE): Likewise.
3121         (IP_BLOCK_SOURCE): Likewise.
3122         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3123         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3124         (IP_MSFILTER): Likewise.
3125         (MCAST_JOIN_GROUP): Likewise.
3126         (MCAST_BLOCK_SOURCE): Likewise.
3127         (MCAST_UNBLOCK_SOURCE): Likewise.
3128         (MCAST_LEAVE_GROUP): Likewise.
3129         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3130         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3131         (MCAST_MSFILTER): Likewise.
3132         (IP_MULTICAST_ALL): Likewise.
3133         (IP_UNICAST_IF): Likewise.
3135 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3137         * timezone/Makefile: Delete $(have-ksh) check.
3138         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3139         * timezone/tzselect.ksh: Add +x mode bits.
3141 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3143         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3144         (ANON_INODE_FS_MAGIC): Likewise.
3145         (BDEVFS_MAGIC): Likewise.
3146         (BINFMTFS_MAGIC): Likewise.
3147         (BTRFS_TEST_MAGIC): Likewise.
3148         (CRAMFS_MAGIC_WEND): Likewise.
3149         (DEBUGFS_MAGIC): Likewise.
3150         (ECRYPTFS_SUPER_MAGIC): Likewise.
3151         (EXT3_SUPER_MAGIC): Likewise.
3152         (EXT4_SUPER_MAGIC): Likewise.
3153         (FUTEXFS_SUPER_MAGIC): Likewise.
3154         (HOSTFS_SUPER_MAGIC): Likewise.
3155         (HUGETLBFS_MAGIC): Likewise.
3156         (MINIX3_SUPER_MAGIC): Likewise.
3157         (MTD_INODE_FS_MAGIC): Likewise.
3158         (NILFS_SUPER_MAGIC): Likewise.
3159         (OPENPROM_SUPER_MAGIC): Likewise.
3160         (PIPEFS_MAGIC): Likewise.
3161         (PSTOREFS_MAGIC): Likewise.
3162         (QNX6_SUPER_MAGIC): Likewise.
3163         (RAMFS_MAGIC): Likewise.
3164         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3165         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3166         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3167         (SECURITYFS_MAGIC): Likewise.
3168         (SELINUX_MAGIC): Likewise.
3169         (SMACK_MAGIC): Likewise.
3170         (SOCKFS_MAGIC): Likewise.
3171         (SQUASHFS_MAGIC): Likewise.
3172         (STACK_END_MAGIC): Likewise.
3173         (TMPFS_MAGIC): Likewise.
3174         (USBDEVICE_SUPER_MAGIC): Likewise.
3175         (V9FS_MAGIC): Likewise.
3176         (XENFS_SUPER_MAGIC): Likewise.
3177         (CRAMFS_MAGIC): Fix typo in comment.
3178         (EXT2_SUPER_MAGIC): Update comment.
3179         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3181 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3183         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3184         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3185         * sysdeps/unix/sysv/linux/arm: Move directory from
3186         ports/sysdeps/unix/sysv/linux/arm.
3187         * README: Update listing for arm-*-linux-gnueabi.
3189         * README: Remove mention of am33.
3191 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3193         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3194         than the comma operator, to avoid "rhs of comma has no effect"
3195         compiler warnings.
3196         (__sigfillset, __sigandset, __sigorset): Likewise.
3197         * include/signal.h (__sigemptyset): Likewise.
3198         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3200 2014-02-07  Allan McRae  <allan@archlinux.org>
3202         * version.h (RELEASE): Set to "development".
3203         (VERSION): Set to "2.19.90"
3204         * NEWS: Add 2.20 section.
3206 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3208         [BZ #16529]
3209         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3211 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3213         * manual/contrib.texi: Update entry for Carlos O'Donell,
3214         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3216 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3218         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3220         * sysdeps/unix/sysv/linux/kernel-features.h
3221         [__LINUX_KERNEL_VERSION >= 0x020621]
3222         (__ASSUME_PROC_PID_TASK_COMM): Define.
3224 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3226         [BZ #16398]
3227         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3228         conversion when destination buffer does not have enough space.
3229         * libio/tst-ftell-partial-wide.c: New test case.
3230         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3232         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3233         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3234         Leonard and Allan McRae.
3236 2014-02-04  David S. Miller  <davem@davemloft.net>
3238         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3239         32-bit.
3241 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3244         file
3245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3246         New file
3247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3248         file.
3249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3250         file.
3251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3252         New file.
3253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3254         file.
3255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3256         file.
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3258         New file.
3259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3260         New file.
3261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3262         New file.
3263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3264         New file.
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3266         New file.
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3268         New file.
3270 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3272         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3273         * shlib-versions: Likewise.
3275 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3276             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3278         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3279         (abilist-pattern): New variable, set to %-le.abilist.
3281         * Makerules (abilist-pattern): New variable.
3282         (vpath): Use $(abilist-pattern) in place of %.abilist.
3283         (check-abi-% pattern rule): Likewise.
3284         (check-abi, update-abi): Likewise.
3286 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3290 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3294 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3296         * manual/startup.texi: Add next, previous, and top entries for
3297         the `Program Arguments' and `Environment Variables' nodes.
3299 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
3301         * manual/macros.texi: Add comments before MTASC-safety macros.
3303         * manual/users.texi: Document MTASC-safety properties.
3305         * manual/threads.texi (pthread_key_create, pthread_key_delete,
3306         pthread_getspecific, pthread_setspecific): Format with
3307         @deftypefun, and add @safety note.
3308         * manual/signal.texi: Move comments that analyze the above
3309         functions to their home place.
3311 2014-02-03  Allan McRae  <allan@archlinux.org>
3313         * po/sl.po: Update Slovenian translation from translation project.
3315 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
3317         * manual/time.texi (timegm): Add missing blank after @c.
3318         Reported by Joseph Myers <joseph@codesourcery.com>.
3320 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
3322         * manual/check-safety.sh: New.
3323         * manual/Makefile ($(objpfx)stamp-summary): Run it.
3325         * manual/terminal.texi: Document MTASC-safety properties.
3327         * manual/filesys.texi: Document MTASC-safety properties.
3329         * manual/errno.texi: Document MTASC-safety properties.
3331         * manual/intro.texi: Document safety identifiers and
3332         conditionals.
3334         * manual/string.texi (wcstok): Fix prototype.
3335         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3337         * manual/time.texi: Document MTASC-safety properties.
3339         * manual/string.texi: Document MTASC-safety properties.
3341         * manual/threads.texi: Document MTASC-safety properties.
3343         * manual/stdio.texi: Document MTASC-safety properties.
3345         * manual/syslog.texi: Document MTASC-safety properties.
3347         * manual/sysinfo.texi: Document MTASC-safety properties.
3349         * manual/startup.texi: Document MTASC-safety properties.
3351         * manual/socket.texi: Document MTASC-safety properties.
3353         * manual/signal.texi: Document MTASC-safety properties.
3355 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
3357         * manual/setjmp.texi: Document MTASC-safety properties.
3359         * manual/search.texi: Document MTASC-safety properties.
3361         * manual/resource.texi: Document MTASC-safety properties.
3363         * manual/process.texi: Document MTASC-safety properties.
3365         * manual/platform.texi: Document MTASC-safety properties.
3367         * manual/pipe.texi: Document MTASC-safety properties.
3369         * manual/pattern.texi: Document MTASC-safety properties.
3371         * manual/message.texi: Document MTASC-safety properties.
3373         [BZ #12751]
3374         * manual/memory.texi: Document MTASC-safety properties.
3376         * manual/math.texi: Document MTASC-safety properties.
3378         * manual/locale.texi: Document MTASC-safety properties.
3380         * manual/llio.texi: Document MTASC-safety properties.
3382         * manual/libdl.texi: New.
3384         * manual/lang.texi: Document MTASC-safety properties.
3386         * manual/job.texi: Document MTASC-safety properties.
3388         * manual/getopt.texi: Document MTASC-safety properties.
3390         * manual/ctype.texi: Document MTASC-safety properties.
3392 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
3394         [BZ #16046]
3395         * csu/libc-tls.c (static_map): Remove variable.
3396         (__libc_setup_tls): Use main executable's link map for TLS data.
3397         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3398         casing for LM_ID_BASE and GL(dl_nns).
3399         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3400         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
3401         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3402         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3403         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3404         member.
3405         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3406         l_phnum members.
3408 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
3410         * manual/debug.texi: Document MTASC-safety properties.
3412 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3414         [BZ #16510]
3415         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3416         of __x86_64__ when disabling x87 inline functions.
3418 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
3420         * manual/charset.texi: Document MTASC-safety properties.
3422         * manual/crypt.texi: Document MTASC-safety properties.
3424         * manual/conf.texi: Document MTASC-safety properties.
3426         * manual/arith.texi: Document MTASC-safety properties.
3428         * manual/argp.texi: Document MTASC-safety properties.
3430         * manual/macros.texi: Introduce macros to document multi
3431         thread, asynchronous signal and asynchronous cancellation
3432         safety properties.
3433         * manual/intro.texi: Introduce the properties themselves.
3435 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3437         * sysdeps/sh/sh4/Makefile: New file.
3439 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
3441         * math/gen-libm-test.pl ($srcdir): New variable.
3442         ($auto_input): Use it.
3444 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3446         [BZ #16506]
3447         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3448         access beyond array bounds when parsing netgroups file.
3450         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3451         the old buffer before realloc.
3453 2014-01-27  Allan McRae  <allan@archlinux.org>
3455         * po/fr.po: Update French translation from translation project.
3457 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3459         * sysdeps/sh/libm-test-ulps: Regenerate.
3461 2014-01-24  David S. Miller  <davem@davemloft.net>
3463         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3465 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3467         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3468         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3470 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3472         [BZ #16474]
3473         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3474         string pointers after reallocation.
3476 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3478         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3479         __SH4A__ instead of __SH_FPU_ANY__.
3481 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3483         * sysdeps/sh/fpu_control.h: New file.
3484         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3485         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3486         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3487         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3488         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3489         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3490         * sysdeps/sh/sys/ucontext.h: Remove.
3491         * sysdeps/sh/sys: Remove directory.
3493 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3495         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3496         s390/sys/ucontext.h.
3497         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3498         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3500 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
3502         [BZ #15605]
3503         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3505 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3507         [BZ#16431]
3508         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3509         Adjust the vDSO correctly for internal calls.
3510         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3512 2014-01-20  Allan McRae  <allan@archlinux.org>
3514         * po/ca.po: Update Catalan translation from translation project.
3516 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
3518         * sysdeps/s390/sotruss-lib.c: New file.
3520 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3522         [BZ#16430]
3523         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3524         (__GI___gettimeofday): Alias for a different internal symbol to avoid
3525         local calls issues by not having a PLT stub required for IFUNC calls.
3526         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3528 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
3530         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3531         * math/test-fpucw-static.c: Likewise.
3533 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3535         [BZ #16453]
3536         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3538 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3540         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3541         implementation for powerpc.
3543 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
3545         [BZ #14782]
3546         * sysdeps/posix/system.c (__libc_system): Do not enable
3547         asynchronous cancellation.
3549 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3551         [BZ #16427]
3552         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3553         handling only for numbers special also in the IEEE case.
3555 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3557         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3559 2014-01-11  Allan McRae  <allan@archlinux.org>
3561         * po/bg.po: Update Bulgarian translation from translation project.
3563         * po/de.po: Update German translation from translation project.
3565 2014-01-10  Roland McGrath  <roland@hack.frob.com>
3567         * sysdeps/generic/gcc-compat.h: New file.
3569 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3571         * benchtests/asin-inputs: Correct slow inputs.
3572         * benchtests/acos-inputs: Likewise.
3574 2014-01-10  Allan McRae  <allan@archlinux.org>
3576         * po:sv.po: Update Swedish translation from translation project.
3578         * po/vi.po: Update Vietnamese translation from translation project.
3580         * po/eo.po: Update Esperanto translation from translation project.
3582         * po/cs.po: Update Czech translation from translation project.
3584         * po/nl.po: Update Dutch translation from translation project.
3586         * po/pl.po: Update Polish translation from translation project.
3588         * po/ru.po: Update Russian translation from translation project.
3590         * po/uk.po: Update Ukrainian translation from translation project.
3592 2014-01-08  Brooks Moses  <bmoses@google.com>
3594         * elf/dl-load.c: Fix comment typo.
3596 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
3598         * po/header.pot: Rename to...
3599         * po/pot.header: ... this.
3600         * po/Makefile: Use pot.header.
3602 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
3603             Maxim Kuvyrkov  <maxim@kugelworks.com>
3605         [BZ #16394]
3606         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3607         SRC and DEST against LEN.
3609 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3611         [BZ #16414]
3612         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3613         implementation.
3614         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3616 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3620 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
3622         [BZ #16408]
3623         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3624         for large positive arguments.
3626 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
3628         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3630         * math/auto-libm-test-in: Mark various tests with
3631         xfail-rounding:ldbl-128ibm.
3632         * math/auto-libm-test-out: Regenerated.
3634         [BZ #16407]
3635         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3636         Increase overflow threshold.
3638 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
3640         [BZ #14286]
3641         * stdio-common/vfprintf.c: Check for integer overflow.
3643 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3645         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3646         the first argument and return value of __tls_get_addr_internal.
3648 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3650         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3651         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3653 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3655         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3656         * sysdeps/s390/rtld-global-offsets.sym: New file.
3657         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3658         GLIBC_2.19 symbol.
3659         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3660         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3661         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3662         ... this.
3663         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3664         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3665         ... this.
3666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3667         Regenerate.
3668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3669         Regenerate.
3670         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3671         halfs of GPRs for high_gprs contexts.
3672         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3673         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
3674         field.
3675         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3676         uc_flags field.
3677         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3678         64 bit versions:
3679         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3680         for high GPRs (uc_high_gprs) and for future extensions
3681         (__reserved).
3682         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3683         for future extensions (__reserved).
3684         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3685         64 bit versions:
3686         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3687         SC_HIGHGPRS offset definition.
3688         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3689         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3691 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3693         * Versions.def: Add GLIBC_2.19 for libpthread.
3694         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3695         siglongjmp for libpthread with GLIBC_2.19 symver.
3696         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3697         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3698         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3699         * sysdeps/s390/__longjmp.c: New file.
3700         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3701         * sysdeps/s390/longjmp.c: New file.
3702         * sysdeps/s390/setjmp.S: New file.
3703         * sysdeps/s390/sigjmp.S: New file.
3704         * sysdeps/s390/v1-longjmp.c: New file.
3705         * sysdeps/s390/v1-setjmp.h: New file.
3706         * sysdeps/s390/v1-sigjmp.c: New file.
3707         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3708         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3709         GLIBC_2.19 version.
3710         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3711         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3712         versioned symbols for ____longjmp_chk.
3713         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3714         Likewise.
3715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3716         Regenerate.
3717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3718         Regenerate.
3719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3720         Regenerate.
3721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3722         Regenerate.
3723         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3724         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3725         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3726         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3727         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3728         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3729         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3730         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3731         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3732         * sysdeps/s390/rtld-__longjmp.c: New file.
3733         * sysdeps/s390/rtld-setjmp.S: New file.
3735 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
3737         [BZ #16400]
3738         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3739         Return -__logl (x) for small positive arguments without evaluating
3740         a polynomial.
3742 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
3744         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3745         Rename to ...
3746         (__ptrace_peeksiginfo_args): ... this.
3747         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3748         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3749         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3751 2014-01-06  Allan McRae  <allan@archlinux.org>
3753         * inet/netinet/in.h: Fix typo in comment.
3755 2014-01-05  Andreas Jaeger  <aj@suse.de>
3757         * sysdeps/i386/fpu/libm-test-ulps: Update.
3759 2014-01-05  Allan McRae  <allan@archlinux.org>
3761         * po/libc.pot: Regenerated.
3763         * malloc/memusagestat.c: Fix gettext call formatting.
3765 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
3767         * nscd/nscd.c: Improve usage() output.
3769 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
3771         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3772         * sysdeps/unix/sysv/linux/configure: Regenerated.
3773         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3774         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3776 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3778         [BZ #16390]
3779         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3780         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3782 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3784         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3785         extra tokens at end of #undef directive.
3786         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3787         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3788         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3790 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3792         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3794         * math/auto-libm-test-in: Mark various tests with
3795         xfail-rounding:ldbl-128ibm.
3796         * math/auto-libm-test-out: Regenerated.
3798 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3800         [BZ #16386]
3801         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3802         numbers with subnormal high part when calculating exponent.
3804         [BZ #16385]
3805         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3806         fabs.
3808         [BZ #16384]
3809         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3810         M_LN2l.
3811         (__ieee754_acoshl): Use __log1pl not __log1p.
3813 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
3815         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3816         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3817         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3818         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3819         Convert to GNU style.
3820         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3821         mem2mem_check, mem2chunk_check, top_check, realloc_check,
3822         memalign_check, __malloc_set_state): Likewise.
3823         * malloc/mallocbug.c (main): Likewise.
3824         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3825         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3826         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3827         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3828         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3829         * malloc/malloc.h: Likewise.
3830         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3831         memalignhook, reallochook, mabort): Likewise.
3832         * malloc/mcheck.h: Likewise.
3833         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3834         mmap64, mremap, munmap, dest): Likewise.
3835         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3836         * malloc/morecore.c (__default_morecore): Likewise.
3837         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3838         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3839         _obstack_allocated_p, obstack_free, _obstack_memory_used,
3840         print_and_abort): Likewise.
3841         * malloc/obstack.h: Likewise.
3842         * malloc/set-freeres.c (__libc_freeres): Likewise.
3843         * malloc/tst-mallocstate.c (main): Likewise.
3844         * malloc/tst-mtrace.c (main): Likewise.
3845         * malloc/tst-realloc.c (do_test): Likewise.
3847 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3849         [BZ #16366]
3850         * nscd/netgroupcache.c (do_notfound): New function.
3851         (addgetnetgrentX): Use it.
3853         [BZ # 16365]
3854         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3855         NSS_STATUS_NOTFOUND.
3857 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
3859         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3862 2014-01-01  Allan McRae  <allan@archlinux.org>
3864         * scripts/update-copyrights: Update configure input file suffix.
3866         * NEWS: Update copyright year.
3867         * catgets/gencat.c: Likewise.
3868         * csu/version.c: Likewise.
3869         * debug/catchsegv.sh: Likewise.
3870         * debug/pcprofiledump.c: Likewise.
3871         * debug/xtrace.sh: Likewise.
3872         * elf/ldconfig.c: Likewise.
3873         * elf/ldd.bash.in: Likewise.
3874         * elf/pldd.c: Likewise.
3875         * elf/sotruss.ksh: Likewise.
3876         * elf/sprof.c: Likewise.
3877         * iconv/iconv_prog.c: Likewise.
3878         * iconv/iconvconfig.c: Likewise.
3879         * locale/programs/locale.c: Likewise.
3880         * locale/programs/localedef.c: Likewise.
3881         * login/programs/pt_chown.c: Likewise.
3882         * malloc/memusage.sh: Likewise.
3883         * malloc/memusagestat.c: Likewise.
3884         * malloc/mtrace.pl: Likewise.
3885         * manual/libc.texinfo: Likewise.
3886         * nscd/nscd.c: Likewise.
3887         * nss/getent.c: Likewise.
3888         * nss/makedb.c: Likewise.
3889         * posix/getconf.c: Likewise.
3890         * scripts/test-installation.pl: Likewise.
3892         * All files with FSF copyright notices: Update copyright dates
3893         using scripts/update-copyrights.
3894         * intl/plural.c: Regenerated.
3895         * locale/programs/charmap-kw.h: Likewise.
3896         * locale/programs/locfile-kw.h: Likewise.
3898 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
3900         * sysdeps/unix/sysv/linux/configure: Regenerated.
3901         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3902         the linux/fanotify.h header.
3903         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3904         HAVE_LINUX_FANOTIFY_H is defined.
3906 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3908         * benchtests/cos-inputs: New inputs.
3909         * benchtests/sin-inputs: Likewise.
3911         * benchtests/atan-inputs: New inputs. Fix name of multiple
3912         precision fallback inputs.
3914         * benchtests/atanh-inputs: New inputs.
3915         * benchtests/tanh-inputs: Likewise.
3917         * benchtests/acosh-inputs: New inputs.
3918         * benchtests/asinh-inputs: Likewise.
3920         * benchtests/cosh-inputs: New inputs.
3921         * benchtests/sinh-inputs: Likewise.
3923         * benchtests/acos-inputs: Add more inputs.
3924         * benchtests/asin-inputs: Likewise.
3926 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
3928         [BZ #16375]
3929         * manual/arith.texi: Fix spelling.
3930         * manual/charset.texi: Likewise.
3931         * manual/errno.texi: Likewise.
3932         * manual/filesys.texi: Likewise.
3933         * manual/lang.texi: Likewise.
3934         * manual/llio.texi: Likewise.
3935         * manual/locale.texi: Likewise.
3936         * manual/message.texi: Likewise.
3937         * manual/resource.texi: Likewise.
3938         * manual/search.texi: Likewise.
3939         * manual/setjmp.texi: Likewise.
3940         * manual/stdio.texi: Likewise.
3941         * manual/string.texi: Likewise.
3942         * manual/sysinfo.texi: Likewise.
3943         * manual/time.texi: Likewise.
3945 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
3947         * po/sl.po: New file.
3949 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
3951         * .gitignore: Add core/.gdbinit/.gdb_history.
3953 2013-12-27  Allan McRae  <allan@archlinux.org>
3955         [BZ #16369]
3956         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3957         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3959 2013-12-24  Brooks Moses  <bmoses@google.com>
3961         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3962         all compilers that claim C++98 compliance, not just GCC.
3963         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3964         Likewise.
3966 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3968         * NEWS: Restore accidentally deleted bug-fix entries.
3970 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3971             Ondřej Bílka  <neleai@seznam.cz>
3973         [BZ #15073]
3974         * malloc/malloc.c (_int_free): Perform sanity check only if we
3975         have_lock.
3977 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
3979         [BZ #12986]
3980         * manual/stdio.texi (String Input Conversions): Clarify that character
3981         classes are not supported.
3983 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3987 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
3989         [BZ #16337]
3990         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3991         Calculate results for small negative arguments directly rather
3992         than using reflection formula with special underflow handling.
3994         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3995         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3996         sysdeps/unix/bsd/bsd4.4/syscalls.list.
3997         (fchflags): Likewise.
3998         (revoke): Likewise.
3999         (setlogin): Likewise.
4000         (sigaltstack): Likewise.
4001         (wait4): Likewise.
4002         (sigblock): Remove.
4003         (sigsetmask): Likewise.
4004         (wait3): Likewise.
4005         (waitpid): Likewise.
4006         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4007         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4008         file.
4009         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4010         * sysdeps/unix/bsd/Makefile: ... here.
4011         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4012         * sysdeps/unix/bsd/Versions: ... here.
4013         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4014         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4015         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4016         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4017         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4018         * sysdeps/unix/bsd/sigblock.c: ... here.
4019         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4020         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4021         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4022         * sysdeps/unix/bsd/sigvec.c: ... here.
4023         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4024         * sysdeps/unix/bsd/tcdrain.c: ... here.
4025         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4026         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4027         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4028         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4029         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4030         * sysdeps/unix/bsd/wait.c: ... here.
4031         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4032         * sysdeps/unix/bsd/wait3.c: ... here.
4033         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4034         * sysdeps/unix/bsd/waitpid.c: ... here.
4036 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4038         [BZ #16356]
4039         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4040         round-to-nearest for [!USE_AS_EXPM1L].
4041         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4042         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4043         more tests of exp and exp10.  Expect some exp10 tests to miss
4044         exceptions or fail in directed rounding modes.
4045         * math/auto-libm-test-out: Regenerated.
4046         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4047         (exp10_test_tonearest): New function.
4048         (exp10_towardzero_test_data): New array.
4049         (exp10_test_towardzero): New function.
4050         (exp10_downward_test_data): New array.
4051         (exp10_test_downward): New function.
4052         (exp10_upward_test_data): New array.
4053         (exp10_test_upward): New function.
4054         (main): Call the new functions.
4055         * sysdeps/i386/fpu/libm-test-ulps: Update.
4056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4058 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4060         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4061         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4062         * math/auto-libm-test-out: Regenerated.
4063         * math/libm-test.inc (acosh_test_data): Add more tests.
4064         (atanh_test_data): Likewise.
4065         (ceil_test_data): Likewise.
4066         (copysign_test_data): Likewise.
4067         * sysdeps/i386/fpu/libm-test-ulps: Update.
4068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4070         * timezone/checktab.awk: Update from tzcode 2013i.
4071         * timezone/private.h: Likewise.
4072         * timezone/scheck.c: Likewise.
4073         * timezone/tzfile.h: Likewise.
4074         * timezone/tzselect.ksh: Likewise.
4075         * timezone/zdump.c: Likewise.
4076         * timezone/zic.c: Likewise.
4078         * math/auto-libm-test-in: Add tests of cpow.
4079         * math/auto-libm-test-out: Regenerated.
4080         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4081         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4082         mpc_cc_c.
4083         (func_calc_desc): Add mpc_cc_c union field.
4084         (test_functions): Add cpow.
4085         (special_fill_2pi): New function.
4086         (special_real_inputs): Add 2pi.
4087         (calc_generic_results): Handle mpc_cc_c.
4088         * sysdeps/i386/fpu/libm-test-ulps: Update.
4089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4091         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4092         csqrt, ctan and ctanh.
4093         * math/auto-libm-test-out: Regenerated.
4094         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4095         (TEST_COND_x86): Likewise.
4096         (ccos_test_data): Use AUTO_TESTS_c_c.
4097         (ccosh_test_data): Likewise.
4098         (cexp_test_data): Likewise.
4099         (clog_test_data): Likewise.
4100         (csqrt_test_data): Likewise.
4101         (ctan_test_data): Likewise.
4102         (ctan_tonearest_test_data): Likewise.
4103         (ctan_towardzero_test_data): Likewise.
4104         (ctan_downward_test_data): Likewise.
4105         (ctan_upward_test_data): Likewise.
4106         (ctanh_test_data): Likewise.
4107         (ctanh_tonearest_test_data): Likewise.
4108         (ctanh_towardzero_test_data): Likewise.
4109         (ctanh_downward_test_data): Likewise.
4110         (ctanh_upward_test_data): Likewise.
4111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4112         mpc_c_c.
4113         (func_calc_desc): Add mpc_c_c union field.
4114         (FUNC_mpc_c_c): New macro.
4115         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4116         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4117         ctanh.
4118         (special_fill_min_subnorm_p120): New function.
4119         (special_real_inputs): Add min_subnorm_p120.
4120         (calc_generic_results): Handle mpc_c_c.
4121         * sysdeps/i386/fpu/libm-test-ulps: Update.
4122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4124 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4126         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4127         do_sin_slow): New functions.
4128         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4129         cslow2, csloww1, csloww2): Use the new functions.
4131         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4132         Use M to change sign of result instead of X.  Assume X is
4133         positive.
4134         (csloww1): Likewise.
4135         (__sin): Adjust.
4136         (__cos): Adjust.
4138         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4139         arguments A and DA.
4140         (__sin): Adjust.
4141         (__cos): Likewise.
4143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4144         (__cos): Likewise.
4145         (sloww1): Don't adjust sign of DX.
4146         (csloww1): Likewise.
4147         (sloww2): Use X directly and don't adjust sign of DX.
4148         (csloww2): Likewise.
4150 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4152         * math/auto-libm-test-in: Add tests of cabs and carg.
4153         * math/auto-libm-test-out: Regenerated.
4154         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4155         (carg_test_data): Likewise.
4156         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4157         mpc_c_f.
4158         (func_calc_desc): Add mpc_c_f union field.
4159         (test_functions): Add cabs and carg.
4160         (calc_generic_results): Handle mpc_c_f.
4162         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4163         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4164         as a macro and a compat symbol.
4165         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4166         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4167         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4168         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4169         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4170         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4171         not use .hidden.
4172         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4173         Likewise.
4174         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4175         Likewise.
4176         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4177         Likewise.
4178         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4179         Likewise.
4180         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4181         Likewise.
4182         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4183         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4184         from GLIBC_2.3.2.
4186 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4190 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4192         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4193         trailing whitespace removed.
4194         * scripts/config.guess: Update to version 2013-11-29.
4195         * scripts/config.sub: Update to version 2013-10-01.
4197         * math/auto-libm-test-in: Add tests of sincos.
4198         * math/auto-libm-test-out: Regenerated.
4199         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4200         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4201         mpfr_f_11.
4202         (func_calc_desc): Add mpfr_f_11 union field.
4203         (test_functions): Add sincos.
4204         (calc_generic_results): Handle mpfr_f_11.
4205         * sysdeps/i386/fpu/libm-test-ulps: Update.
4206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4208 2013-12-19  Andreas Schwab  <schwab@suse.de>
4210         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4211         CALL_MCOUNT.
4212         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4213         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4214         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4216 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4218         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4219         * sysdeps/i386/fpu/libm-test-ulps: Update.
4220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4222         [BZ #16293]
4223         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4224         round-to-nearest mode when using frndint.
4225         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4226         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4227         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4228         Likewise.
4229         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4230         sinh test to fail.
4231         * math/auto-libm-test-out: Regenerated.
4232         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4233         (TEST_COND_x86): Likewise.
4234         (expm1_tonearest_test_data): New array.
4235         (expm1_test_tonearest): New function.
4236         (expm1_towardzero_test_data): New array.
4237         (expm1_test_towardzero): New function.
4238         (expm1_downward_test_data): New array.
4239         (expm1_test_downward): New function.
4240         (expm1_upward_test_data): New array.
4241         (expm1_test_upward): New function.
4242         (main): Run the new test functions.
4243         * sysdeps/i386/fpu/libm-test-ulps: Update.
4244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246         * include/features.h: Update comment documenting feature test
4247         macros.  Mention _DEFAULT_SOURCE in comment.
4248         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4249         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4250         _BSD_SOURCE and _SVID_SOURCE.
4251         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4252         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4253         !_SVID_SOURCE]: Likewise.
4254         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4255         (__USE_POSIX_IMPLICITLY): Define.
4256         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4257         (_POSIX_SOURCE): Undefine and redefine.
4258         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4259         (_POSIX_C_SOURCE): Likewise.
4260         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4261         (Feature Test Macros): Update documentation of default features.
4263 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4265         * benchtests/Makefile: Add bench-strtok.
4266         * benchtests/bench-strtok.c: New file: strtok benchtest.
4268 2013-12-19  Allan McRae  <allan@archlinux.org>
4270         * manual/install.texi: Suppress menu for plain text output.
4271         * INSTALL: Regenerated.
4273 2013-12-18  Brooks Moses  <bmoses@google.com>
4275         [BZ #15846]
4276         * misc/getauxval.c: Include errno.h.
4277         (__getauxval): Set errno to ENOENT if the requested type is not
4278         found.
4279         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4280         don't declare with __attribute_const__.
4281         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4282         * manual/startup.texi: Document that getauxval sets errno.
4284 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4286         * math/auto-libm-test-in: Add tests of jn and yn.
4287         * math/auto-libm-test-out: Regenerated.
4288         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4289         (yn_test_data): Likewise.
4290         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4291         mpfr_if_f.
4292         (func_calc_desc): Add mpfr_if_f union field.
4293         (FUNC_mpfr_if_f): New macro.
4294         (test_functions): Add jn and yn.
4295         (calc_generic_results): Assert type of second input for
4296         mpfr_ff_f.  Handle mpfr_if_f.
4297         (output_for_one_input_case): Disable all checking for arguments
4298         fitting floating-point types in case of an integer argument.
4299         * sysdeps/i386/fpu/libm-test-ulps: Update.
4300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4303         Don't expect fegetround reference in libm.so.
4305 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4307         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4308         $(config-cflags-nofma).
4310 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4312         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4313         * math/auto-libm-test-out: Regenerated.
4315         [BZ #16338]
4316         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4317         to determine exponent and adjust argument to have exponent of -1.
4318         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4319         log2.
4320         * math/auto-libm-test-out: Regenerated.
4321         * sysdeps/i386/fpu/libm-test-ulps: Update.
4322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4324 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
4326         * manual/probes.texi: Remove cases when per-thread arenas are
4327         disabled.
4329 2013-12-18  Andreas Schwab  <schwab@suse.de>
4331         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4332         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4333         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4334         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4335         * sysdeps/i386/i686/multiarch/Makefile: Update.
4336         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4338 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4340         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4341         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4343 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4345         [BZ #15968]
4346         Support TZ transition times < 00:00:00.
4347         This is needed for version-3 tz-format files; it supports time
4348         stamps past 2037 for America/Godthab (the only entry in the tz
4349         database for which this change is relevant).
4350         * manual/time.texi (TZ Variable): Document transition times
4351         from -167:59:59 through -00:00:01.
4352         * time/tzset.c (tz_rule): Time of day is now signed.
4353         (__tzset_parse_tz): Parse negative time of day.
4355         Document TZ transition times >= 25:00:00.
4356         * manual/time.texi (TZ Variable): Document transition times from
4357         25:00:00 through 167:59:59.  These are already supported, and this
4358         support will help with version-3 tz-format files.
4360         * manual/time.texi (TZ Variable): Modernize North America example
4361         to reflect current (i.e., 2007-and-later) daylight saving rules.
4363         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4365 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4367         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4368         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4369         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4371         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4372         * sysdeps/unix/bsd/bsdstat.h: Likewise.
4373         * sysdeps/unix/bsd/clock.c: Likewise.
4374         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4375         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4376         * sysdeps/unix/bsd/init-posix.c: Likewise.
4377         * sysdeps/unix/bsd/poll.c: Likewise.
4378         * sysdeps/unix/bsd/ptsname.c: Likewise.
4379         * sysdeps/unix/bsd/seekdir.c: Likewise.
4380         * sysdeps/unix/bsd/setegid.c: Likewise.
4381         * sysdeps/unix/bsd/seteuid.c: Likewise.
4382         * sysdeps/unix/bsd/setgid.c: Likewise.
4383         * sysdeps/unix/bsd/setrgid.c: Likewise.
4384         * sysdeps/unix/bsd/setruid.c: Likewise.
4385         * sysdeps/unix/bsd/setsid.c: Likewise.
4386         * sysdeps/unix/bsd/setuid.c: Likewise.
4387         * sysdeps/unix/bsd/sigaction.c: Likewise.
4388         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4389         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4390         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4391         * sysdeps/unix/bsd/telldir.c: Likewise.
4392         * sysdeps/unix/bsd/times.c: Likewise.
4393         * sysdeps/unix/bsd/usleep.c: Likewise.
4395         * misc/Makefile (install-lib): Remove libbsd-compat.a.
4396         ($(objpfx)libbsd-compat.a): Remove rule.
4398         * include/features.h (__FAVOR_BSD): Do not define.
4399         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4400         features conflicting with POSIX.
4401         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4402         (_BSD_SOURCE): Remove description of not being a subset of other
4403         feature test macros.
4404         * manual/job.texi (getpgrp): Do not document BSD version.
4405         (getpgid): Do not document by reference to BSD getpgrp.
4406         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4407         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4408         * signal/signal.h [__FAVOR_BSD]: Likewise.
4409         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4410         instead of making contents conditional on [__FAVOR_BSD].
4411         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4413 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4417 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4419         [BZ #16314]
4420         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4421         values below 2**-450, not 2**-500.
4422         * math/auto-libm-test-in: Don't allow spurious underflow from
4423         hypot.
4424         * math/auto-libm-test-out: Regenerated.
4426         [BZ #16316]
4427         [BZ #16330]
4428         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4429         values of ha and hb and sort them after adjusting subnormal
4430         arguments.
4431         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4432         Likewise.
4433         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4434         values of ea and eb and sort them after adjusting subnormal
4435         arguments.
4436         * math/auto-libm-test-in: Do not expect some hypot tests of
4437         subnormals to fail.  Add more hypot tests.
4438         * math/auto-libm-test-out: Regenerated.
4440 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4442         [BZ #13304]
4443         * sysdeps/sh/s_fma.c: New file.
4444         * sysdeps/sh/s_fmaf.c: New file.
4445         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
4446         version.
4447         * sysdeps/sh/Implies: Add sh/soft-fp.
4449 2013-12-16  Roland McGrath  <roland@hack.frob.com>
4451         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
4452         level of indirection to members `objname', `errstring', `malloced'.
4453         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4454         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
4455         it as the __longjmp argument (just pass 1 instead).
4456         (_dl_catch_error): Initialize C with argument pointers and address of
4457         volatile local ERRCODE rather than copying values out of C at return.
4459 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
4461         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4462         * math/auto-libm-test-out: Regenerated.
4463         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4464         (hypot_test_data): Likewise.
4465         (pow_test_data): Likewise.
4466         (pow_tonearest_test_data): Likewise.
4467         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4468         mpfr_ff_f.
4469         (func_calc_desc): Add mpfr_ff_f union field.
4470         (FUNC_mpfr_ff_f): New macro.
4471         (test_functions): Add atan2, hypot and pow.
4472         (special_fill_min): New function.
4473         (special_fill_minus_min): Likewise.
4474         (special_fill_min_subnorm): Likewise.
4475         (special_fill_minus_min_subnorm): Likewise.
4476         (special_real_inputs): Add min, -min, min_subnorm and
4477         -min_subnorm.
4478         (calc_generic_results): Handle mpfr_ff_f.
4479         * sysdeps/i386/fpu/libm-test-ulps: Update.
4480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482 2013-12-16  Will Newton  <will.newton@linaro.org>
4484         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4485         (Aligned Memory Blocks): Add documentation for aligned_alloc
4486         and suggest it as an alternative to posix_memalign.
4487         (Hooks for Malloc): Document __memalign_hook is also called
4488         for aligned_alloc.  (Summary of Malloc): Add summary for
4489         aligned alloc.  Document __memalign_hook is also called
4490         for aligned_alloc.
4492 2013-12-16  Will Newton  <will.newton@linaro.org>
4494         * manual/memory.texi (Malloc Examples): Clarify default
4495         alignment documentation.  Suggest posix_memalign rather
4496         than memalign or valloc.
4497         (Aligned Memory Blocks): Remove suggestion to use memalign
4498         or valloc.  Remove obsolete comment about BSD.
4499         Document memalign errno values and mark the function obsolete.
4500         Document posix_memalign returned error codes.  Mark valloc
4501         as obsolete.  (Hooks for Malloc): __memalign_hook is also
4502         called for posix_memalign and valloc.
4503         (Summary of Malloc): Add posix_memalign to function summary.
4504         __memalign_hook is also called for posix_memalign and valloc.
4506 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4508         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4509         TAYLOR_SIN.
4510         (__sin): Adjust.
4511         (__cos): Likewise.
4512         (sloww): Use mynumber union.  Expand ternary operator into
4513         if-else statements.
4514         (cslow): use mynumber union.
4516 2013-12-16  Allan McRae  <allan@archlinux.org>
4518         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4519         * configure: Regenerated.
4521         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4523         [BZ #14120]
4524         * configure.ac: Added --enable-maintainer-mode. Check for
4525         autoconf when enabled.
4526         * configure: Regenerated.
4528         * nscd/nscd.service: New file.
4529         * nscd/nscd.tmpfiles: New file.
4531 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
4533         [BZ #12100]
4534         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4535         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4536         * sysdeps/x86_64/multiarch/strstr.c: ... here.
4537         (strstr): Add __strstr_sse2_unaligned ifunc.
4538         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4539         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4540         (strcasestr): Remove __strcasestr_sse42 ifunc.
4541         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4545 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4547         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4548         * sysdeps/sh/bits/fenv.h: ... here.
4549         * sysdeps/sh/sh4/fpu/bits: Remove directory.
4551 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4553         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4555 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4557         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4558         hypotf multiarch implementations.
4559         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4560         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4561         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4562         multiarch hypot for PPC64.
4563         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4564         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4565         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4566         multiarch hypotf for PPC64.
4568 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4571         modff multiarch implementations.
4572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4575         multiarch modf for PPC64.
4576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4579         multiarch modff for PPC64.
4581 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4584         and logl multiarch implementations.
4585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4588         multiarch logb for PPC64.
4589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4592         multiarch logb for PPC64.
4593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4596         multiarch logb for PPC64.
4598 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4601         isinff multiarch implementation.
4602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4603         file.
4604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4606         multiarch isinf for PPC64.
4607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4608         file.
4609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4610         multiarch isinff for PPC64.
4612 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4615         finitef multiarch implementation.
4616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4617         file.
4618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4620         multiarch finite for PPC64.
4621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4622         file.
4623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4624         multiarch finitef for PPC64.
4626 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4629         lrint multiarch implementation.
4630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4631         file.
4632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4634         multiarch llrint for PPC64.
4635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4636         multiarch lrint for PPC64.
4638 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4641         copysignf multiarch implementation.
4642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4643         file.
4644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4645         file.
4646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4647         multiarch copysign for PPC64.
4648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4649         multiarch copysignf for PPC64.
4651 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4654         multiarch implementation.
4655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4656         file.
4657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4658         file.
4659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4660         file.
4661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4662         file.
4663         multiarch llround for PPC64.
4664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4665         multiarch trunc for PPC64.
4666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4667         multiarch truncf for PPC64.
4669 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4671         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4672         multiarch implementation.
4673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4674         file.
4675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4676         file.
4677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4678         file.
4679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4680         file.
4681         multiarch llround for PPC64.
4682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4683         multiarch round for PPC64.
4684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4685         multiarch roundf for PPC64.
4687 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4689         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4690         multiarch implementation.
4691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4692         file.
4693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4694         file.
4695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4696         file.
4697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4698         file.
4699         multiarch llround for PPC64.
4700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4701         multiarch floor for PPC64.
4702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4703         multiarch floorf for PPC64.
4705 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4708         multiarch implementation.
4709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4710         file.
4711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4712         file.
4713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4714         file.
4715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4716         file.
4717         multiarch llround for PPC64.
4718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4719         multiarch ceil for PPC64.
4720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4721         multiarch ceilf for PPC64.
4723 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4725         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4726         multiarch implementation.
4727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4728         file.
4729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4730         file.
4731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4732         file.
4733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4734         multiarch llround for PPC64.
4735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4736         multiarch lround for PPC64.
4738 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4741         multiarch implementation.
4742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4745         file.
4746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4749         multiarch isnan for PPC64.
4750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4751         multiarch isnanf for PPC64.
4753 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4755         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4756         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4757         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4758         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4759         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4762 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4764         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4765         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4766         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4769 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4772         multiarch implementations.
4773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4774         (__libc_ifunc_impl_list): Likewise.
4775         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4776         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4777         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4778         multiarch stpcpy for PPC64.
4780 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4783         multiarch implementations.
4784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4785         (__libc_ifunc_impl_list): Likewise.
4786         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4787         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4788         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4789         multiarch strcpy for PPC64.
4791 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4793         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4794         redefine function name.
4795         (_wordcopy_fwd_dest_aligned): Likewise.
4796         (_wordcopy_bwd_aligned): Likewise.
4797         (_wordcopy_bwd_dest_aligned): Likewise.
4798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4799         multiarch implementations.
4800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4801         (__libc_ifunc_impl_list): Likewise.
4802         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4803         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4804         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4805         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4806         multiarch wcscpy for PPC64.
4808 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4811         multiarch implementations.
4812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4813         (__libc_ifunc_impl_list): Likewise.
4814         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4815         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4816         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4817         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4818         multiarch wcscpy for PPC64.
4820 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4823         multiarch implementations.
4824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4825         (__libc_ifunc_impl_list): Likewise.
4826         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4827         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4828         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4829         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4830         multiarch wcsrchr for PPC64.
4832 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4835         multiarch implementations.
4836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4837         (__libc_ifunc_impl_list): Likewise.
4838         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4839         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4840         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4841         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4842         multiarch wcschr for PPC64.
4844 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4847         multiarch implementations.
4848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4849         (__libc_ifunc_impl_list): Likewise.
4850         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4851         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4852         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4853         multiarch strchrnul for PPC64.
4855 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4858         implementations.
4859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4860         (__libc_ifunc_impl_list): Likewise.
4861         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4862         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4863         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4864         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4865         strchr for PPC64.
4867 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4870         implementations.
4871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4872         (__libc_ifunc_impl_list): Likewise.
4873         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4874         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4875         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4876         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4877         strncmp for PPC64.
4879 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4882         multiarch implementations.
4883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4884         (__libc_ifunc_impl_list): Likewise.
4885         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4886         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4887         strncasecmp for PPC64.
4888         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4889         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4890         multiarch strncasecmp_l for PPC64.
4892 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4895         multiarch implementations.
4896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4897         (__libc_ifunc_impl_list): Likewise.
4898         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4899         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4900         multiarch strcasecmp for PPC64.
4901         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4902         file.
4903         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4904         multiarch strcasecmp_l for PPC64.
4906 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4909         implementations.
4910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4911         (__libc_ifunc_impl_list): Likewise.
4912         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4913         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4914         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4915         strnlen for PPC64.
4917 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4920         implementations.
4921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4922         (__libc_ifunc_impl_list): Likewise.
4923         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4924         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4925         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4926         strlen for PPC64.
4928 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4931         implementations.
4932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4933         (__libc_ifunc_impl_list): Likewise.
4934         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4935         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4936         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4937         rawmemrchr for PPC64.
4939 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4942         implementation.
4943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4944         (__libc_ifunc_impl_list): Likewise.
4945         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4946         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4947         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4948         memrchr for PPC64.
4950 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4953         implementation.
4954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4955         (__libc_ifunc_impl_list): Likewise.
4956         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4957         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4958         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4959         memchr for PPC64.
4961 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4964         implementation.
4965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4966         (__libc_ifunc_impl_list): Likewise.
4967         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4968         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4969         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4970         mempcpy for PPC64.
4972 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4974         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4975         avoid cretion of __bzero symbol.
4976         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4977         Likewise.
4978         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4979         Likewise.
4980         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4981         Likewise.
4982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4983         multiarch implementations.
4984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4985         (__libc_ifunc_impl_list): Likewise.
4986         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4987         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4988         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4989         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4990         bzero for PPC32.
4991         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4992         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4993         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4994         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4995         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4996         memset for PPC64.
4997         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4999 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5001         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5003         implementations.
5004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5005         (__libc_ifunc_impl_list): Likewise.
5006         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5007         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5008         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5009         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5010         memcmp for PPC64.
5012 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5015         multiarch for POWER/PPC64.
5016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5017         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5018         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5019         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5020         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5021         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5022         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5023         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5024         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5025         memcpy for PPC64.
5027 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5029         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5030         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5031         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5032         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5033         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5034         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5035         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5036         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5037         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5038         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5039         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5040         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5041         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5042         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5043         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5052 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5054         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5056 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5058         * benchtests/Makefile (bench): Add exp2 and log2.
5059         (LDLIBS-bench-exp2): Add -lm.
5060         (LDLIBS-bench-log2): Likewise.
5061         * benchtests/exp2-inputs: New inputs file.
5062         * benchtests/log2-inputs: New inputs file.
5063         * benchtests/log-inputs: Add new inputs.
5064         * benchtests/tan-inputs: Likewise.
5066 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5068         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5069         definition...
5070         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5071         csloww1, csloww2): ... from here.
5073         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5074         instead of structures.
5075         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5076         (POLYNOMIAL): Likewise.
5077         (TAYLOR_SLOW): Likewise.
5078         (__sin): Likewise.
5079         (__cos): Likewise.
5080         (slow1): Likewise.
5081         (slow2): Likewise.
5082         (sloww): Likewise.
5083         (sloww1); Likewise.
5084         (sloww2): Likewise.
5085         (bsloww1): Likewise.
5086         (bsloww2): Likewise.
5087         (cslow2): Likewise.
5088         (csloww): Likewise.
5089         (csloww1): Likewise.
5090         (csloww2): Likewise.
5092 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5094         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5095         (__malloc_assert, __libc_realloc, __libc_calloc,
5096         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5097         memcpy and memset.
5098         * malloc/hooks.c (realloc_check): Likewise.
5100 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5102         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5103         * malloc/arena.c: Remove PER_THREAD conditional.
5104         [!PER_THREAD]: Remove code.
5105         (ptmalloc_unlock_all2): Likewise.
5106         (ptmalloc_init): Likewise.
5107         (_int_new_arena): Likewise.
5108         (arena_get2): Likewise.
5109         * malloc/hooks.c (__malloc_get_state): Likewise.
5110         (__malloc_set_state): Likewise.
5111         * malloc/malloc.c: Likewise.
5112         (struct malloc_state): Likewise.
5113         (struct malloc_par): Likewise.
5114         (__libc_realloc): Likewise.
5115         (__libc_mallopt): Likewise.
5117 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5119         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5121 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5123         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5124         macro to a function.  Check for zero perturb_byte.
5125         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5127 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5129         * malloc/malloc.c: (force_reg): Remove.
5130         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5131         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5132         force_reg by atomic_forced_read.
5133         * malloc/arena.c (ptmalloc_init): Likewise.
5134         * malloc/hooks.c (top_check): Likewise.
5136 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5140 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5144 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5146         * math/auto-libm-test-in: Add tests of lgamma.
5147         * math/auto-libm-test-out: Regenerated.
5148         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5149         (M_LOG_2_SQRT_PIl): Likewise.
5150         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5151         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5152         mpfr_f_f1.
5153         (func_calc_desc): Add mpfr_f_f1 union field.
5154         (ARGS1): New macro.
5155         (ARGS2): Likewise.
5156         (ARGS3): Likewise.
5157         (ARGS4): Likewise.
5158         (RET1): Likewise.
5159         (RET2): Likewise.
5160         (CALC): Likewise.
5161         (FUNC): Likewise.
5162         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5163         (test_functions): Add lgamma.
5164         (calc_generic_results): Handle mpfr_f_f1.
5165         * sysdeps/i386/fpu/libm-test-ulps: Update.
5166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5168 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5170         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5171         __mpn_add_n for PowerPC64/POWER7.
5172         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5173         __mpn_sub_n for PowerPC64/POWER7.
5175 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5177         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5178         __mpn_addmul_1 for PowerPC64.
5179         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5180         __mpn_submul_1 for PowerPC64.
5181         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5182         for PowerPC64.
5183         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5184         for PowerPC64.
5186 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5188         [BZ #15089]
5189         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5191 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5193         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5195 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5197         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5198         add multiarch folders.
5199         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5200         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5201         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5202         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5203         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5204         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5205         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5206         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5207         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5208         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5209         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5217 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5220         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5222         New file.
5223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5224         New file.
5225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5226         multiarch __ieee754_hypot for PowerPC32.
5227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5228         New file.
5229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5230         New file.
5231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5232         multiarch __ieee754_hypotf for PowerPC32.
5234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5236         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5237         long_double_symbol only if __logbl is defined.
5238         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5239         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5240         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5241         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5243         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5244         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5245         path for implementation.
5246         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5247         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5249         logb, and logbl multiarch implementations for PowerPC32.
5250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5251         file.
5252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5253         file.
5254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5255         multiarch logb for PowerPC32.
5256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5257         file.
5258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5259         file.
5260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5261         multiarch logbf for PowerPC32.
5262         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5264         file.
5265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5266         multiarch logbl implementation for PowerPC32.
5268 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5271         and modff multiarch implementations.
5272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5273         New file.
5274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5275         New file.
5276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5277         multiarch modf for PowerPC32.
5278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5279         New file.
5280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5281         New file.
5282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5283         multiarch modff for PowerPC32.
5285 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5288         and lrintf multiarch implementations.
5289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5290         New file.
5291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5292         New file.
5293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5294         multiarch lrint for PowerPC32.
5295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5296         file: multiarch lrintf for PowerPC32.
5298 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5301         and lroundf multiarch implementations.
5302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5303         New file.
5304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5305         New file.
5306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5307         New file.
5308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5309         multiarch lround for PowerPC32.
5310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5311         file: multiarch lroundf for PowerPC32.
5313 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5316         copysign and copysignf multiarch implementations.
5317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5318         New file.
5319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5320         New file.
5321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5322         file: multiarch copysign for PowerPC32.
5323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5324         file: multiarch copysignf for PowerPC32.
5326 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5329         and truncf multiarch implementations.
5330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5331         New file.
5332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5333         file.
5334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5335         multiarch trunc for PowerPC32.
5336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5337         New file.
5338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5339         New file.
5340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5341         multiarch truncf for PowerPC32.
5343 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5346         and roundf multiarch implementations.
5347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5348         New file.
5349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5350         file.
5351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5352         multiarch round for PowerPC32.
5353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5354         New file.
5355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5356         New file.
5357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5358         multiarch roundf for PowerPC32.
5360 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5363         and floorf multiarch implementations.
5364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5365         New file.
5366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5367         file.
5368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5369         multiarch floor for PowerPC32.
5370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5371         New file.
5372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5373         New file.
5374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5375         multiarch floorf for PowerPC32.
5377 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5380         and ceilf multiarch implementations.
5381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5382         New file.
5383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5384         file.
5385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5386         multiarch ceil for PowerPC32.
5387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5388         New file.
5389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5390         file.
5391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5392         multiarch ceilf for PowerPC32.
5394 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5396         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5397         is defined.
5398         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5399         FINITEF is defined.
5400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5401         and finitef multiarch implementations.
5402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5403         New file.
5404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5405         file.
5406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5407         multiarch finite for PowerPC32.
5408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5409         New file.
5410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5411         file: multiarch finitef for PowerPC32.
5413 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5416         and isinff multiarch implementations.
5417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5418         file.
5419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5420         file.
5421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5422         multiarch isinf for PowerPC32.
5423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5424         New file.
5425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5426         multiarch isinff for PowerPC32.
5428 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5430         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5431         alias when __isnan is defined.
5432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5433         and isnanf multiarch implementations.
5434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5435         file.
5436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5437         file.
5438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5439         file.
5440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5441         file.
5442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5443         multiarch isnan for PowerPC32.
5444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5445         New file.
5446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5447         New file.
5448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5449         multiarch isnanf for PowerPC32.
5451 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5454         and sqrtf multiarch implementations.
5455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5456         file.
5457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5458         file.
5459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5460         multiarch sqrt for PowerPC32.
5461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5462         file.
5463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5464         file.
5465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5466         multiarch sqrtf for PowerPC32.
5468 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5471         and llroundf multiarch implementations.
5472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5473         New file.
5474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5475         New file.
5476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5477         New file.
5478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5479         file: multiarch llround for PowerPC32.
5480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5481         file: multiarch llroundf for PowerPC32.
5483 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5486         multiarch PowerPC32 fpu implementations.
5487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5488         New file.
5489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5490         New file.
5491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5492         multiarch llrint for PowerPC32.
5493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5494         New file.
5495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5496         New file.
5497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5498         file.
5500 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5504 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5506         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5507         file.
5508         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5509         file.
5510         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5511         file.
5512         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5513         multiarch wordcopy for PPC32.
5514         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5515         wordcopy objects.
5516         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5517         (__libc_ifunc_impl_list): Likewise.
5518         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5519         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5520         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5521         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5522         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5523         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5525 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5527         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5528         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5529         file.
5530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5531         file.
5532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5533         file.
5534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5535         multiarch wcscpy for PPC32.
5536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5537         multiarch objects.
5538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5539         (__libc_ifunc_impl_list): Likewise.
5540         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5541         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5542         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5543         sysdeps/powerpc/power6/wcscpy.c.
5545 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5547         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5549         file.
5550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5551         file.
5552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5553         file.
5554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5555         multiarch wcsrchr for PPC32.
5556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5557         multiarch objects.
5558         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5559         (__libc_ifunc_impl_list): Likewise.
5560         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5561         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5562         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5563         sysdeps/powerpc/power6/wcsrchr.c.
5565 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5567         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5568         file.
5569         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5570         file.
5571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5573         multiarch wcschr for PPc32.
5574         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5575         multiarch objects.
5576         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5577         (__libc_ifunc_impl_list): Likewise.
5578         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5579         * sysdeps/powerpc/power6/wcschr.c: ... to here.
5580         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5581         sysdeps/powerpc/power6/wcschr.c.
5583 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5585         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5586         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5587         file.
5588         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5589         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5590         file: multiarch strchr for PPC32.
5591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
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         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5599         name.
5600         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5601         file.
5602         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5603         file.
5604         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5605         multiarch strchrnul for PPC32.
5606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5607         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/strncase-power7.c: New
5614         file.
5615         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5616         multiarch strncasecmp for PPC32.
5617         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5618         file.
5619         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5620         multiarch strncasecmp_l for PPC32.
5621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5622         strncasecmp 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/strcasecmp-power7.S: New
5629         file.
5630         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5631         multiarch strncasecmp for PPC32.
5632         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5633         New file.
5634         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5635         multiarch strcasecmp_l for PPC32.
5636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5637         multiarch objects.
5638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5639         (__libc_ifunc_impl_list): Likewise.
5641 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5644         file.
5645         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5646         file.
5647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5648         multiarch strncmp for PPC32.
5649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5650         multiarch objects.
5651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5652         (__libc_ifunc_impl_list): Likewise.
5654 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5656         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5657         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5658         file.
5659         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5660         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5662         multiarch objects.
5663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5664         (__libc_ifunc_impl_list): Likewise.
5666 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5668         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5669         file.
5670         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5671         file.
5672         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5674         multiarch objects.
5675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5676         (__libc_ifunc_impl_list): Likewise.
5678 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5680         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5681         file.
5682         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5683         file.
5684         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5685         multiarch rawmemchr for PPC32.
5686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5687         multiarch objects.
5688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5689         (__libc_ifunc_impl_list): Likewise.
5691 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5693         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5694         file.
5695         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5696         file.
5697         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5698         file: memrchr multiarch for PPC32.
5699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5700         multiarch objects.
5701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5702         (__libc_ifunc_impl_list): Likewise.
5704 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5706         * string/memchr.c (__memchr): Using macro to redefine symbol name.
5707         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5708         file.
5709         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5710         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5711         multiarch memchr for PPC32.
5712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5713         multiarch objects.
5714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5715         (__libc_ifunc_impl_list): Likewise.
5717 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5719         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5720         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5721         file.
5722         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5723         file.
5724         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5725         file: multiarch mempcpy for PPC32.
5726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5727         multiarch objects.
5728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5729         (__libc_ifunc_impl_list): Likewise.
5731 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5733         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5735         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5736         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5737         multiarch bzero for PPC32.
5738         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5739         file.
5740         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5741         file.
5742         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5743         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5744         file: multiarch memset for PPC32.
5745         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5747         memset multiarch objects.
5748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5749         (__libc_ifunc_impl_list): Likewise.
5751 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5753         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5754         file.
5755         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5756         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5757         memcmp for PPC32.
5758         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5760         multiarch objects.
5761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5762         (__libc_ifunc_impl_list): Likewise.
5764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5768         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5769         file.
5770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5771         file.
5772         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5773         file.
5774         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5775         multiarch memcpy for PPC32.
5776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5777         multiarch objects.
5778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5779         (__libc_ifunc_impl_list): Likewise.
5781 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5784         support multiarch for POWER/PPC32.
5785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5786         Likewise.
5787         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5789         Implies file to make multiarch folder appers before the fpu and
5790         default folder for power4 configuration.
5792 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5794         * scripts/bench.pl: Append volatile keyword to type.
5796 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5798         * sysdeps/sh/sotruss-lib.c: New file.
5799         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5801 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5805 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
5807         [BZ #6810]
5808         * math/w_tgamma.c: Include <errno.h>.
5809         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
5810         * math/w_tgammaf.c: Include <errno.h>.
5811         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
5812         * math/w_tgammal.c: Include <errno.h>.
5813         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
5814         * math/auto-libm-test-in: Do not allow missing errno on tgamma
5815         underflow.  Add more tgamma tests.
5816         * math/auto-libm-test-out: Regenerated.
5817         * sysdeps/i386/fpu/libm-test-ulps: Update.
5818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5820         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5821         sin, sinh, tan, tanh, tgamma, y0 and y1.
5822         * math/auto-libm-test-out: Regenerated.
5823         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5824         (TEST_COND_x86): Likewise.
5825         (M_E2l): Remove macro.
5826         (M_E3l): Likewise.
5827         (M_2_SQRT_PIl): Likewise.
5828         (M_SQRT_PIl): Likewise.
5829         (M_1_DIV_El): Likewise.
5830         (log_test_data): Use AUTO_TESTS_f_f.
5831         (log10_test_data): Likewise.
5832         (log1p_test_data): Likewise.
5833         (log2_test_data): Likewise.
5834         (sin_test_data): Likewise.
5835         (sin_tonearest_test_data): Likewise.
5836         (sin_towardzero_test_data): Likewise.
5837         (sin_downward_test_data): Likewise.
5838         (sin_upward_test_data): Likewise.
5839         (sinh_test_data): Likewise.
5840         (sinh_tonearest_test_data): Likewise.
5841         (sinh_towardzero_test_data): Likewise.
5842         (sinh_downward_test_data): Likewise.
5843         (sinh_upward_test_data): Likewise.
5844         (tan_test_data): Likewise.
5845         (tan_tonearest_test_data): Likewise.
5846         (tan_towardzero_test_data): Likewise.
5847         (tan_downward_test_data): Likewise.
5848         (tan_upward_test_data): Likewise.
5849         (tanh_test_data): Likewise.
5850         (tgamma_test_data): Likewise.
5851         (y0_test_data): Likewise.
5852         (y1_test_data): Likewise.
5853         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5854         (special_real_inputs): Add pi/4.
5855         * sysdeps/i386/fpu/libm-test-ulps: Update.
5856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5858 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5860         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5861         "longjmp_target" static probes.
5862         (__longjmp): Rename to __longjmp_symbol.
5863         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5864         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5865         on which longjmp to generate.
5866         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5867         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5868         probe.
5869         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5870         (__sigjmp_save): Rename to __sigjmp_save_symbol.
5871         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5872         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5873         and __sigjmp_save_symbol based on which sigsetjmp to generated.
5874         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5876         __longjmp_symbol based on which __longjmp to generate.
5877         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5878         probe.
5879         (setjmp): Rename to setjmp_symbol.
5880         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5881         (_setjmp): Rename to _setjmp_symbol.
5882         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5883         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5884         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5885         which setjmp to generate.
5886         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5887         "longjmp_target" static probes.
5889 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5891         * benchtests/README: Add note about output arguments.
5892         * benchtests/bench-sincos.c: Remove file.
5893         * benchtests/sincos-inputs: New file.
5894         * scripts/bench.pl: Identify output arguments and define
5895         static variables for them.
5897         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5899         [BZ #15941]
5900         * Makefile (INSTALL): Add install-plain.texi as the primary
5901         dependency.
5902         * manual/install-plain.texi: New file.
5903         * manual/install.texi: Include node directive only for
5904         non-plaintext output.
5906 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
5908         * stdlib/longlong.h: Update from GCC.
5910         [BZ #6807]
5911         [BZ #15901]
5912         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5913         * math/w_j0f.c (y0f): Likewise.
5914         * math/w_j0l.c (__y0l): Likewise.
5915         * math/w_j1.c (y1): Likewise.
5916         * math/w_j1f.c (y1f): Likewise.
5917         * math/w_j1l.c (__y1l): Likewise
5918         * math/w_jn.c (yn): Likewise.
5919         * math/w_jnf.c (ynf): Likewise.
5920         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5921         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
5922         value for Bessel function domain errors outside _SVID_ mode.
5923         Adjust sign of return value for yn (negative integer, 0).
5924         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5925         by zero in return for negative x and set sign appropriately for
5926         negative n.
5927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5928         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5929         * math/libm-test.inc (y0_test_data): Add more tests and adjust
5930         expectations in error cases.
5931         (y1_test_data): Likewise.
5932         (yn_test_data): Likewise.
5933         * sysdeps/i386/fpu/libm-test-ulps: Update.
5934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5936 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5938         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5939         "64" to "64-v1".  Add "64-v2".
5940         (abi-64-options): Rename to ...
5941         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
5942         (abi-64-condition): Rename to ...
5943         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
5944         (abi-64-ld-soname): Rename to ...
5945         (abi-64-v1-ld-soname): ... this.
5946         (abi-64-v2-options): Define.
5947         (abi-64-v2-condition): Likewise.
5948         (abi-64-v2-ld-soname): Likewise.
5949         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5950         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5955 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5956             Alan Modra  <amodra@gmail.com>
5958         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5959         New versions for use with the ELFv2 ABI.
5960         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5961         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5962         declaration.
5963         (struct La_ppc64v2_retval): Likewise.
5964         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5965         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5966         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5967         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5968         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5969         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5970         Do not save or restore CR.
5971         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5972         (_dl_profile_resolve): Do no save or restore CR.  Support extended
5973         return values for ELFv2 ABI.  Fix location of FPR return registers.
5974         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5975         updated values for _CALL_ELF == 2.
5976         (La_regs, La_retval, int_retval): Likewise.
5978 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5980         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5981         (FRAME_MIN_SIZE_PARM): Likewise.
5982         (FRAME_BACKCHAIN): Likewise.
5983         (FRAME_CR_SAVE): Likewise.
5984         (FRAME_LR_SAVE): Likewise.
5985         (FRAME_TOC_SAVE): Likewise.
5986         (FRAME_PARM_SAVE): Likewise.
5987         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5988         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5989         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5990         (call_mcount_parm_offset): New macro.
5991         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5992         (PROF): Use symbolic stack frame offsets.
5993         (TAIL_CALL_SYSCALL_ERROR): Likewise.
5994         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5995         Redefine in terms of FRAME_MIN_SIZE.
5996         (_dl_runtime_resolve): Use symbolic stack frame offsets.
5997         (_dl_profile_resolve): Likewise.  Update comment.
5998         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5999         symbols stack frame offsets.
6000         (__sigsetjmp): Likewise.
6001         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6002         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6003         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6004         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6007         (FRAME_BACKCHAIN): Remove.
6008         (FRAME_CR_SAVE): Likewise.
6009         (FRAME_LR_SAVE): Likewise.
6010         (FRAME_COMPILER_DW): Likewise.
6011         (FRAME_LINKER_DW): Likewise.
6012         (FRAME_TOC_SAVE): Likewise.
6013         (FRAME_PARM_SAVE): Likewise.
6014         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6015         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6016         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6018         (CHECK_SP): Use symbolic stack frame offsets.
6019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6020         zone" instead of caller's parameter save area for temp storage.
6021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6022         Likewise.  Also, use symbolic stack frame offsets.
6023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6024         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6025         our own stack frame instead of the caller's.
6026         (__socket): Use symbolic stack frame offsets.
6028 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6029             Alan Modra  <amodra@gmail.com>
6031         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6032         Define.
6033         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6034         PPC64_LOCAL_ENTRY_OFFSET): Define.
6035         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6036         New function.
6037         (elf_machine_fixup_plt): Call it.
6038         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6039         reloc arguments.
6040         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6041         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6042         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6043         r2 before calling target.
6045 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6046             Alan Modra  <amodra@gmail.com>
6048         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6049         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6050         versions of macros to support ELFv2 ABI.
6051         (LOCALENTRY): New macro.
6052         (ENTRY, EALIGN): Use it.
6053         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6054         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6055         fall through into ENTRY entry point.
6056         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6057         Only define if _CALL_ELF != 2.
6059         (elf_machine_matches_host): Verify ABI version matches.
6060         (RTLD_START): Use LOCALENTRY.
6061         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6062         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6063         (PLT_ENTRY_WORDS): New macro.
6064         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6065         (elf_machine_runtime_setup): Support ELFv2 ABI.
6066         (elf_machine_fixup_plt): Likewise.
6067         (elf_machine_plt_conflict): Likewise.
6068         (resolve_ifunc): Likewise.
6069         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6070         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6071         Likewise.
6072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6073         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6075         (makecontext): Support ELFv2 ABI.
6076         * elf/elf.h (EF_PPC64_ABI): Define.
6078 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6080         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6081         New assembler macro.
6082         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6083         [ASSEMBLER] (ENTRY): ... but instead here ...
6084         [ASSEMBLER] (EALIGN): ... and here.
6085         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6086         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6087         [!ASSEMBLER] (ENTRY_2): Use it.
6088         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6089         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6090         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6091         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6092         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6094         Use PPC64_LOAD_FUNCPTR.
6096 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6098         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6100 2013-12-04  Alan Modra  <amodra@gmail.com>
6102         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6103         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6104         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6105         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6108         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6109         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6110         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6111         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6112         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6114 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6117         (__makecontext): Fix incorrect CFI when backtracing out of
6118         context created via makecontext.
6119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6120         (__setcontext): Fix incorrect CFI during switch to new context.
6121         (__novec_setcontext): Likewise.
6123 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6125         [BZ #4772]
6126         * time/strptime_l.c (__strptime_internal): Allow modifiers
6127         in strptime.
6128         * time/tst-strptime.c (day_tests): Add testcase.
6131 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6133         * scripts/bench.pl: Skip over blank lines.
6135 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6137         [BZ #926]
6138         * manual/time.texi (Calendar Time): Clarify what timezone functions
6139         use.
6141 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6145 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6147         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6148         implementation.
6149         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6150         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6151         * debug/memset_chk.c (__memset_chk): Likewise.
6152         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6153         * debug/strncpy_chk.c: Likewise.
6155 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6157         [BZ #15268]
6158         [BZ #15425]
6159         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6160         (__ieee754_exp): For possibly underflowing results, check size of
6161         result and force underflow exception if required.
6162         * math/auto-libm-test-in: Add more tests of exp.
6163         * math/auto-libm-test-out: Regenerated.
6164         * sysdeps/i386/fpu/libm-test-ulps: Update.
6165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6167         [BZ #16283]
6168         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6169         * math/w_exp2f.c (__exp2f): Likewise.
6170         * math/w_exp2l.c (__exp2l): Likewise.
6171         * math/auto-libm-test-in: Do not allow missing errno on exp2
6172         underflow.
6173         * math/auto-libm-test-out: Regenerated.
6175 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6177         [BZ #16274]
6178         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6179         handle filename validation.
6180         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6181         (do_open): Delete.
6183 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6185         [BZ #6786]
6186         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6187         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6188         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6189         <float.h>.
6190         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6191         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6192         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6194         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6195         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6196         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6197         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6198         Add more erfc tests.
6199         * math/auto-libm-test-out: Regenerated.
6200         * sysdeps/i386/fpu/libm-test-ulps: Update.
6201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6203         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6204         exp2, expm1, j0 and j1.
6205         * math/auto-libm-test-out: Regenerated.
6206         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6207         (erfc_test_data): Likewise.
6208         (exp_test_data): Likewise.
6209         (exp_tonearest_test_data): Likewise.
6210         (exp_towardzero_test_data): Likewise.
6211         (exp_downward_test_data): Likewise.
6212         (exp_upward_test_data): Likewise.
6213         (exp10_test_data): Likewise.
6214         (exp2_test_data): Likewise.
6215         (expm1_test_data): Likewise.
6216         (j0_test_data): Likewise.
6217         (j1_test_data): Likewise.
6218         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6219         (input_flag_type): Add flag_xfail_rounding.
6220         (input_flags): Add xfail-rounding.
6221         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6222         (output_for_one_input_case): Handle flag_xfail_rounding.
6223         * sysdeps/i386/fpu/libm-test-ulps: Update.
6224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6226 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6228         [BZ #16289]
6229         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6230         division by 0.
6232 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6234         [BZ #16195]
6235         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6236         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6237         (STAP_PROBE0): New macro.
6238         (STAP_PROBE1): Likewise.
6239         (STAP_PROBE2): Likewise.
6240         (STAP_PROBE3): Likewise.
6241         (STAP_PROBE4): Likewise.
6243 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6245         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6247 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6249         * benchtests/Makefile (bench): Add sqrt.
6250         (LDLIBS-bench-sqrt): New.
6251         * benchtests/sqrt-input: New.
6253 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6255         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6256         (GAIH_EAI): Likewise.
6257         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6258         (gaih_inet): Likewise.
6259         (getaddrinfo): Don't use GAIH_EAI.
6261         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6262         (struct gaih): Remove definition.
6264 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6266         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6267         Use HERRNOP directly.
6269 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6273 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6275         * math/gen-auto-libm-tests.c (test_functions): Add more
6276         single-argument functions.
6277         (special_fill_pi_2): New function.
6278         (special_fill_minus_pi_2): Likewise.
6279         (special_fill_pi_6): Likewise.
6280         (special_fill_minus_pi_6): Likewise.
6281         (special_fill_pi_3): Likewise.
6282         (special_fill_2pi_3): Likewise.
6283         (special_fill_e): Likewise.
6284         (special_fill_1_e): Likewise.
6285         (special_fill_e_minus_1): Likewise.
6286         (special_real_inputs): Add more special inputs.
6287         (output_for_one_input_case): Do not require ERANGE on underflow to
6288         zero if round-to-nearest result does not underflow to zero, unless
6289         exact results required.
6290         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6291         atan, atanh, cbrt, cos and cosh.
6292         * math/auto-libm-test-out: Regenerated.
6293         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6294         (acos_tonearest_test_data): Likewise.
6295         (acos_towardzero_test_data): Likewise.
6296         (acos_downward_test_data): Likewise.
6297         (acos_upward_test_data): Likewise.
6298         (acosh_test_data): Likewise.
6299         (asin_test_data): Likewise.
6300         (asin_tonearest_test_data): Likewise.
6301         (asin_towardzero_test_data): Likewise.
6302         (asin_upward_test_data): Likewise.
6303         (asinh_test_data): Likewise.
6304         (atan_test_data): Likewise.
6305         (atanh_test_data): Likewise.
6306         (cbrt_test_data): Likewise.
6307         (cos_test_data): Likewise.
6308         (cos_tonearest_test_data): Likewise.
6309         (cos_towardzero_test_data): Likewise.
6310         (cos_downward_test_data): Likewise.
6311         (cos_upward_test_data): Likewise.
6312         (cosh_test_data): Likewise.
6313         (cosh_tonearest_test_data): Likewise.
6314         (cosh_towardzero_test_data): Likewise.
6315         (cosh_downward_test_data): Likewise.
6316         (cosh_upward_test_data): Likewise.
6317         * sysdeps/i386/fpu/libm-test-ulps: Update.
6318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6320 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
6322         [BZ #6787]
6323         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6324         * math/w_exp10f.c (__exp10f): Likewise.
6325         * math/w_exp10l.c (__exp10l): Likewise.
6326         * math/libm-test.inc (exp10_test_data): Add more tests and expect
6327         errno settings in existing tests.
6329         [BZ #14032]
6330         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6331         precision control set to double precision.
6332         * sysdeps/i386/fpu/w_sqrt.c: New file.
6333         * math/auto-libm-test-in: Add more tests.
6334         * math/auto-libm-test-out: Update.
6336         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6337         (sqrt_test_tonearest): New function.
6338         (sqrt_towardzero_test_data): New variable.
6339         (sqrt_test_towardzero): New function.
6340         (sqrt_downward_test_data): New variable.
6341         (sqrt_test_downward): New function.
6342         (sqrt_upward_test_data): New variable.
6343         (sqrt_test_upward): New function.
6344         (main): Call the new functions.
6346         * math/gen-auto-libm-tests.c: New file.
6347         * math/auto-libm-test-in: Likewise.
6348         * math/auto-libm-test-out: New generated file.
6349         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6350         variables.
6351         (%beautify): Add generated representations of zero.
6352         (top level): Set $auto_input and call parse_auto_input.
6353         (beautify): Remove trailing "f" from hex float constants.
6354         (parse_args): Handle XFAIL_TEST.
6355         (convert_condition): New function.
6356         (or_value): Likewise.
6357         (or_cond_value): Likewise.
6358         (generate_testfile): Handle AUTO_TESTS_* lines.
6359         (parse_auto_input): New function.
6360         * math/libm-test.inc (XFAIL_TEST): New macro.
6361         (ERRNO_UNCHANGED): Update value.
6362         (ERRNO_EDOM): Likewise.
6363         (ERRNO_ERANGE): Likewise.
6364         (IGNORE_RESULT): Likewise.
6365         (TEST_COND_flt_32): New macro.
6366         (TEST_COND_dbl_64): Likewise.
6367         (TEST_COND_ldbl_96_intel): Likewise.
6368         (TEST_COND_ldbl_96_m68k): Likewise.
6369         (TEST_COND_ldbl_128): Likewise.
6370         (TEST_COND_ldbl_128ibm): Likewise.
6371         (TEST_COND_long32): Likewise.
6372         (TEST_COND_long64): Likewise.
6373         (TEST_COND_before_rounding): Likewise.
6374         (TEST_COND_after_rounding): Likewise.
6375         (enable_test): Handle XFAIL_TEST flag.
6376         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6377         with finite results.
6378         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6379         auto-libm-test-out.
6381 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6382             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6384         [BZ #16214]
6385         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6386         __tls_get_addr_internal instead of __tls_get_offset in order to
6387         avoid GOT pointer dependency.  Make rtld export
6388         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6389         __tls_get_addr since we are a __tls_get_offset platform.
6390         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6391         GOT pointer being set up before.
6392         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6394 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
6396         * manual/math.texi (Errors in Math Functions): Document accuracy
6397         goals.
6399         [BZ #15004]
6400         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6401         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6402         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6403         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6404         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6405         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6406         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6407         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6408         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6409         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6410         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6411         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6412         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6413         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6414         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6415         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6417         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6418         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6419         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6420         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6421         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6422         Likewise.
6423         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6424         Likewise.
6425         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6426         Likewise.
6427         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6428         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6429         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6430         atomic-feupdateenv and flt-rounds.
6431         * sysdeps/powerpc/nofpu/Versions (libc): Add
6432         __atomic_feholdexcept, __atomic_feclearexcept,
6433         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6434         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6435         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6436         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6437         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6438         here.
6439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6440         Update.
6442         * manual/arith.texi (FP Exceptions): Document that exceptions may
6443         not be raised when matherr is used.
6444         (Math Error Reporting): Document overflow in directed rounding
6445         modes.  Document that errno may not be set when finite values are
6446         returned on overflow.  Document intent to set errno on underflow
6447         only for underflow to zero.
6449         [BZ #16271]
6450         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6451         round-to-nearest then adjust result for other rounding modes.
6452         * include/fenv.h (fegetround): Use libm_hidden_proto.
6453         * math/fegetround.c (fegetround): Use libm_hidden_def.
6454         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6455         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6456         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6457         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6458         Likewise.
6459         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6460         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6461         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6462         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6464 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6466         [BZ #16077]
6467         * nss/Versions (libnss_files): Add
6468         _nss_files_gethostbyname3_r.
6469         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6470         New function.
6471         (HOST_DB_LOOKUP): Remove macro.
6472         (_nss_files_gethostbyname_r): Implement function without the
6473         HOST_DB_LOOKUP macro.
6474         (_nss_files_gethostbyname2_r): Likewise.
6476 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
6478         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6480 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
6482         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6483         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6484         warning.
6486 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6488         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6489         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6490         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6491         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6492         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6493         __fe_nomask_env_priv and attribute_hidden.
6494         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6495         (libc_feupdateenv_test_ppc): Likewise.
6496         (libc_feresetround_ppc): Likewise.
6497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6498         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6499         compat_symbol macro.
6500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6501         (__fe_nomask_env): Likewise.
6502         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6504 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6506         * string/Makefile: Remove ifunc tests.
6507         * string/test-string.h: Define TEST_IFUNC.
6508         * string/test-bcopy-ifunc.c: Remove.
6509         * string/test-bzero-ifunc.c: Likewise.
6510         * string/test-memccpy-ifunc.c: Likewise.
6511         * string/test-memchr-ifunc.c: Likewise.
6512         * string/test-memcmp-ifunc.c: Likewise.
6513         * string/test-memcpy-ifunc.c: Likewise.
6514         * string/test-memmem-ifunc.c: Likewise.
6515         * string/test-memmove-ifunc.c: Likewise.
6516         * string/test-mempcpy-ifunc.c: Likewise.
6517         * string/test-memrchr-ifunc.c: Likewise.
6518         * string/test-memset-ifunc.c: Likewise.
6519         * string/test-rawmemchr-ifunc.c: Likewise.
6520         * string/test-stpcpy-ifunc.c: Likewise.
6521         * string/test-stpncpy-ifunc.c: Likewise.
6522         * string/test-strcasecmp-ifunc.c: Likewise.
6523         * string/test-strcasestr-ifunc.c: Likewise.
6524         * string/test-strcat-ifunc.c: Likewise.
6525         * string/test-strchr-ifunc.c: Likewise.
6526         * string/test-strchrnul-ifunc.c: Likewise.
6527         * string/test-strcmp-ifunc.c: Likewise.
6528         * string/test-strcpy-ifunc.c: Likewise.
6529         * string/test-strcspn-ifunc.c: Likewise.
6530         * string/test-strlen-ifunc.c: Likewise.
6531         * string/test-strncasecmp-ifunc.c: Likewise.
6532         * string/test-strncat-ifunc.c: Likewise.
6533         * string/test-strncmp-ifunc.c: Likewise.
6534         * string/test-strncpy-ifunc.c: Likewise.
6535         * string/test-strnlen-ifunc.c: Likewise.
6536         * string/test-strpbrk-ifunc.c: Likewise.
6537         * string/test-strrchr-ifunc.c: Likewise.
6538         * string/test-strspn-ifunc.c: Likewise.
6539         * string/test-strstr-ifunc.c: Likewise.
6541 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6543         * benchtests/Makefile: Remove ifunc tests.
6544         * benchtests/bench-string.h: Define TEST_IFUNC.
6545         * benchtests/bench-bcopy-ifunc.c: Remove.
6546         * benchtests/bench-bzero-ifunc.c: Likewise.
6547         * benchtests/bench-memccpy-ifunc.c: Likewise.
6548         * benchtests/bench-memchr-ifunc.c: Likewise.
6549         * benchtests/bench-memcmp-ifunc.c: Likewise.
6550         * benchtests/bench-memcpy-ifunc.c: Likewise.
6551         * benchtests/bench-memmem-ifunc.c: Likewise.
6552         * benchtests/bench-memmove-ifunc.c: Likewise.
6553         * benchtests/bench-mempcpy-ifunc.c: Likewise.
6554         * benchtests/bench-memrchr-ifunc.c: Likewise.
6555         * benchtests/bench-memset-ifunc.c: Likewise.
6556         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6557         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6558         * benchtests/bench-stpcpy-ifunc.c: Likewise.
6559         * benchtests/bench-stpncpy-ifunc.c: Likewise.
6560         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6561         * benchtests/bench-strcasestr-ifunc.c: Likewise.
6562         * benchtests/bench-strcat-ifunc.c: Likewise.
6563         * benchtests/bench-strchr-ifunc.c: Likewise.
6564         * benchtests/bench-strchrnul-ifunc.c: Likewise.
6565         * benchtests/bench-strcmp-ifunc.c: Likewise.
6566         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6567         * benchtests/bench-strcpy-ifunc.c: Likewise.
6568         * benchtests/bench-strcspn-ifunc.c: Likewise.
6569         * benchtests/bench-strlen-ifunc.c: Likewise.
6570         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6571         * benchtests/bench-strncat-ifunc.c: Likewise.
6572         * benchtests/bench-strncmp-ifunc.c: Likewise.
6573         * benchtests/bench-strncpy-ifunc.c: Likewise.
6574         * benchtests/bench-strnlen-ifunc.c: Likewise.
6575         * benchtests/bench-strpbrk-ifunc.c: Likewise.
6576         * benchtests/bench-strrchr-ifunc.c: Likewise.
6577         * benchtests/bench-strsep-ifunc.c: Likewise.
6578         * benchtests/bench-strspn-ifunc.c: Likewise.
6579         * benchtests/bench-strstr-ifunc.c: Likewise.
6581 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6583         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6585 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6587         * resolv/netdb.h: Use __glibc_reserved instead __unused.
6588         * rt/aio.h: Likewise.
6589         * sysdeps/gnu/bits/utmp.h: Likewise.
6590         * sysdeps/gnu/bits/utmpx.h: Likewise.
6591         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6592         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6593         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6594         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6595         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6596         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6597         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6598         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6599         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6600         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6601         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6602         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6603         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6605         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6606         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6607         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6608         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6609         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6610         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6611         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6612         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6613         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6614         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6615         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6616         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6617         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6618         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6619         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6620         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6621         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6622         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6623         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6624         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6625         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6626         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6627         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6628         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6629         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6630         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6631         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6632         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6634 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
6636         [BZ #16245]
6637         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6638         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6640 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
6642         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6643         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6644         Likewise.
6646 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6648         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6649         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6650         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6651         (__fesetround): Remove define.
6652         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6653         rounding and exceptions handling.
6654         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6655         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6656         (__fe_nomask_env): Likewise.
6657         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6658         __fegetround instead of fegetround.
6659         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6660         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6662 2013-11-21  Roland McGrath  <roland@hack.frob.com>
6664         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6665         it's there.
6667         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6669 2013-11-21  Meador Inge  <meadori@codesourcery.com>
6671         [BZ #11157]
6672         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6673         (encrypt_r): Likewise.
6674         * malloc/obstack.h (obstack_free): Likewise.
6675         * posix/unistd.h (encrypt): Likewise.
6677 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6679         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6680         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6681         DL_CALL_DT_FINI() that call the functions directly.
6682         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6683         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6684         * elf/dl-fini.c: Likewise.
6686 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
6688         * malloc/hooks.c (memalign_check): Add alignment rounding.
6689         * malloc/malloc.c (_mid_memalign): New function.
6690         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6691         Implement by calling _mid_memalign.
6692         * manual/probes.texi (Memory Allocation Probes): Remove
6693         memory_valloc_retry and memory_pvalloc_retry.
6695 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6697         * locale/programs/locarchive.c (open_archive): Add const
6698         qualifier to ARCHIVEFNAME and copy default fname to
6699         DEFAULT_FNAME.
6701         [BZ #15601]
6702         * libio/tst-widetext.input: Rename Oriya to Odia.
6703         * locale/iso-639.def: Likewise.
6705         * manual/probes.texi (Mathematical Function Probes): Add
6706         documentation for sin, cos, asin and acos probes.
6707         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6708         (__sin32): Add slowasin probe.
6709         (__cos32): Add slowacos probe.
6710         (__mpsin): Add slowsin probe.
6711         (__mpcos): Add slowcos probe.
6713 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
6715         [BZ #15483]
6716         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6717         thread-local __sim_exceptions_thread and global
6718         __sim_exceptions_global.
6719         (__sim_disabled_exceptions): Change to thread-local
6720         __sim_disabled_exceptions_thread and global
6721         __sim_disabled_exceptions_global.
6722         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6723         and global __sim_round_mode_global.
6724         (__simulate_exceptions): Use thread-local floating-point state and
6725         set global state from it as needed.
6726         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6727         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6728         __sim_round_mode_thread.
6729         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6730         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6731         and global __sim_exceptions_global.
6732         (__sim_disabled_exceptions): Change to thread-local
6733         __sim_disabled_exceptions_thread and global
6734         __sim_disabled_exceptions_global.
6735         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6736         and global __sim_round_mode_global.
6737         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6738         (SIM_SET_GLOBAL): Likewise.
6739         * sysdeps/powerpc/soft-fp/sfp-machine.h
6740         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6741         __sim_round_mode_thread.
6742         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6743         __sim_disabled_exceptions_thread.
6744         (__sim_exceptions): Change to __sim_exceptions_thread.
6745         (__sim_disabled_exceptions): Change to
6746         __sim_disabled_exceptions_thread.
6747         (__sim_round_mode): Change to __sim_round_mode_thread.
6748         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6749         thread-local floating-point state and set global state from it as
6750         needed.
6751         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6752         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6753         (__sim_disabled_exceptions): Remove extern declaration.
6754         (feenableexcept): Use thread-local floating-point state and set
6755         global state from it as needed.
6756         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6757         extern declaration.
6758         (__sim_disabled_exceptions): Likewise.
6759         (__sim_round_mode): Likewise.
6760         (__fegetenv): Use thread-local floating-point state.
6761         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6762         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6763         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6764         floating-point state and set global state from it as needed.
6765         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6766         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6767         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6768         Likewise.
6769         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6770         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6771         Likewise.
6772         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6773         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6774         Use __sim_round_mode_thread.
6775         * math/test-fenv-tls.c: New file.
6776         * math/Makefile (tests): Add test-fenv-tls.
6777         ($(objpfx)test-fenv-tls): Depend on
6778         $(common-objpfx)nptl/libpthread.so.
6780 2013-11-19  Andreas Schwab  <schwab@suse.de>
6782         * locale/programs/locale.c (show_info): Decode wordarray elements.
6783         * locale/categories.def (LC_MONETARY): Add element for
6784         _NL_MONETARY_CRNCYSTR.
6785         * locale/C-monetary.c (conversion_rate): New variable.
6786         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6787         element.
6789 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
6791         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6792         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6794 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6796         * elf/Makefile (tst-auxv): New test.
6797         * elf/tst-auxv.c: New
6798         * elf/rtld.c (dl_main): Adjust AT_EXECFN
6800 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
6802         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6803         (hidden_proto): Caller changed.
6804         (hidden_tls_proto): New macro.
6805         (libc_hidden_tls_proto): Likewise.
6806         (rtld_hidden_tls_proto): Likewise.
6807         (libm_hidden_tls_proto): Likewise.
6808         (libresolv_hidden_tls_proto): Likewise.
6809         (librt_hidden_tls_proto): Likewise.
6810         (libdl_hidden_tls_proto): Likewise.
6811         (libnss_files_hidden_tls_proto): Likewise.
6812         (libnsl_hidden_tls_proto): Likewise.
6813         (libnss_nisplus_hidden_tls_proto): Likewise.
6814         (libutil_hidden_tls_proto): Likewise.
6816 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
6818         [BZ #10253]
6819         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6820         (decompose_rpath): Defer expansion to fillin_rpath.
6821         (_dl_init_paths): Pass linkmap to fillin_rpath.
6823 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6825         * benchtests/Makefile: Add strsep.
6826         * benchtests/bench-strsep.c: New file: strsep benchtest.
6827         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6829 2013-11-18  Andreas Schwab  <schwab@suse.de>
6831         * locale/programs/locale.c (show_info) [case byte]: Check for
6832         '\377' instead of '\177'.
6833         * locale/C-monetary.c (not_available): Always use "\377".
6834         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6835         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
6836         detect unavailable sign_posn locale elements.
6837         * locale/localeconv.c (__localeconv): For grouping and
6838         mon_grouping handle "\177" and "\377" like no grouping.
6839         (INT_ELEM): New macro.  Use it to set all numeric members.
6840         * locale/programs/ld-monetary.c (monetary_read)
6841         <tok_mon_grouping>: Normalize single -1 to the empty string.
6842         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6843         Likewise.
6845 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6847         [BZ #16055]
6848         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6849         when we match (nil).
6850         * stdio-common/tst-sscanf.c (struct test): Add testcase.
6852 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
6854         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6855         (NO_TEST_INLINE): Update value.
6856         (ERRNO_UNCHANGED): Likewise.
6857         (ERRNO_EDOM): Likewise.
6858         (ERRNO_ERANGE): Likewise.
6859         (IGNORE_RESULT): Likewise.
6860         (check_float_internal): Check signs of NaN results if
6861         TEST_NAN_SIGN used.
6862         (check_complex): Pass TEST_NAN_SIGN flag through to second
6863         check_float_internal call.
6864         (copysign_test_data): Add tests with quiet NaNs as second
6865         argument.  Use TEST_NAN_SIGN.
6866         (fabs_test_data): Add test of negative quiet NaN argument.  Use
6867         TEST_NAN_SIGN.
6868         (signbit_test_data): Add tests of quiet NaN argument.
6869         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6871         * math/gen-libm-test.pl (show_exceptions): Take extra argument
6872         $ignore_result.
6873         (parse_args): Handle function results specified as IGNORE.
6874         * math/libm-test.inc (IGNORE_RESULT): New macro.
6875         (check_float_internal): Do not check numerical result if flag
6876         IGNORE_RESULT set.
6877         (check_complex): Pass through IGNORE_RESULT to second
6878         check_float_internal call.
6879         (check_int): Do not check numerical result if flag IGNORE_RESULT
6880         set.
6881         (check_long): Likewise.
6882         (check_bool): Likewise.
6883         (check_longlong): Likewise.
6884         (lrint_test_data): Add tests of infinite and NaN arguments.
6885         (lrint_tonearest_test_data): Likewise.
6886         (lrint_towardzero_test_data): Likewise.
6887         (lrint_downward_test_data): Likewise.
6888         (lrint_upward_test_data): Likewise.
6889         (llrint_test_data): Likewise.
6890         (llrint_tonearest_test_data): Likewise.
6891         (llrint_towardzero_test_data): Likewise.
6892         (llrint_downward_test_data): Likewise.
6893         (llrint_upward_test_data): Likewise.
6894         (lround_test_data): Likewise.
6895         (llround_test_data): Likewise.
6897         * math/libm-test.inc (NO_TEST_INLINE): New macro.
6898         (ERRNO_UNCHANGED): Update value.
6899         (ERRNO_EDOM): Likewise.
6900         (ERRNO_ERANGE): Likewise.
6901         (NO_TEST_INLINE_FLOAT): New macro.
6902         (NO_TEST_INLINE_DOUBLE): Likewise.
6903         (enable_test): New function.
6904         (RUN_TEST_f_f): Check enable_test before running test.
6905         (RUN_TEST_2_f): Likewise.
6906         (RUN_TEST_fff_f): Likewise.
6907         (RUN_TEST_c_f): Likewise.
6908         (RUN_TEST_f_f1): Likewise.
6909         (RUN_TEST_fF_f1): Likewise.
6910         (RUN_TEST_fI_f1): Likewise.
6911         (RUN_TEST_ffI_f1): Likewise.
6912         (RUN_TEST_c_c): Likewise.
6913         (RUN_TEST_cc_c): Likewise.
6914         (RUN_TEST_f_i): Likewise.
6915         (RUN_TEST_f_i_tg): Likewise.
6916         (RUN_TEST_ff_i_tg): Likewise.
6917         (RUN_TEST_f_b): Likewise.
6918         (RUN_TEST_f_b_tg): Likewise.
6919         (RUN_TEST_f_l): Likewise.
6920         (RUN_TEST_f_L): Likewise.
6921         (RUN_TEST_fFF_11): Likewise.
6922         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6923         conditionals.
6924         (cosh_test_data): Likewise.
6925         (exp_test_data): Likewise.
6926         (expm1_test_data): Likewise.
6927         (hypot_test_data): Likewise.
6928         (pow_test_data): Likewise.
6929         (sinh_test_data): Likewise.
6930         (tanh_test_data): Likewise.
6931         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6932         flags argument.
6934         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6935         tests with quiet NaN input and output.
6936         (acosh_test_data): Likewise.
6937         (asin_test_data): Likewise.
6938         (asinh_test_data): Likewise.
6939         (atan_test_data): Likewise.
6940         (atanh_test_data): Likewise.
6941         (atan2_test_data): Likewise.
6942         (cbrt_test_data): Likewise.
6943         (cos_test_data): Likewise.
6944         (cosh_test_data): Likewise.
6945         (erf_test_data): Likewise.
6946         (erfc_test_data): Likewise.
6947         (exp_test_data): Likewise.
6948         (exp10_test_data): Likewise.
6949         (exp2_test_data): Likewise.
6950         (expm1_test_data): Likewise.
6951         (hypot_test_data): Likewise.
6952         (j0_test_data): Likewise.
6953         (j1_test_data): Likewise.
6954         (jn_test_data): Likewise.
6955         (lgamma_test_data): Likewise.
6956         (log_test_data): Likewise.
6957         (log10_test_data): Likewise.
6958         (log1p_test_data): Likewise.
6959         (log2_test_data): Likewise.
6960         (pow_test_data): Likewise.
6961         (scalb_test_data): Likewise.
6962         (sin_test_data): Likewise.
6963         (sincos_test_data): Likewise.
6964         (sinh_test_data): Likewise.
6965         (tan_test_data): Likewise.
6966         (tanh_test_data): Likewise.
6967         (tgamma_test_data): Likewise.
6968         (y0_test_data): Likewise.
6969         (y1_test_data): Likewise.
6970         (yn_test_data): Likewise.
6972         [BZ #16167]
6973         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6974         argument being NaN and avoid computations with second argument in
6975         that case.
6976         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6977         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6978         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6980 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
6982         * locale/iso-639.def: Add Chitwani Tharu (the).
6984 2013-11-14  Andreas Schwab  <schwab@suse.de>
6986         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6987         word instead of empty string.
6989 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6992         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6994         (__fe_nomask_env): Likewise.
6996 2013-11-13  Steve Ellcey  <sellcey@mips.com>
6998         * benchtests/bench-timing.h: Include time.h.
7000 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
7002         [BZ #15997]
7003         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7004         to 3.4.0 for x32.
7005         * sysdeps/unix/sysv/linux/configure: Regenerated.
7007 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
7009         [BZ #16151]
7010         * stdlib/strtod_l.c (round_and_return): Do not consider
7011         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7012         exponent one less than half the least subnormal exponent.
7013         * stdlib/test-strtod-round-data: Add more tests.
7014         * stdlib/tst-strtod-round.c (tests): Regenerated.
7016 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7018         [BZ #14143]
7019         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7020         (__fe_mask_env): Likewise.
7021         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7022         libm_hidden_proto and add function prototype.
7023         (__fe_mask_env): Add function prototype.
7024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7025         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7027         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7029         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7031 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7033         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7034         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7036 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7038         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7039         of htab_find_slot().
7041 2013-11-11  David S. Miller  <davem@davemloft.net>
7043         [BZ #16150]
7044         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7045         symbol in the non-vis3 case in static builds.
7046         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7047         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7048         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7049         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7051 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7053         [BZ #387]
7054         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7055         it is empty.
7057 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7059         * benchtests/Makefile: Add bench-strtod.
7060         * benchtests/bench-strtod.c: New file: strtod benchtest
7062 2013-11-11  Andreas Schwab  <schwab@suse.de>
7064         [BZ #16153]
7065         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7066         terminating NUL in key length.
7068 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7070         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7071         Add artificial ODP entry for vDSO symbol for PPC64.
7072         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7073         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7075 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7077         [BZ #15374]
7078         * nss/getent.c (services_keys): Recognize services starting with digit.
7080 2013-11-06  David S. Miller  <davem@davemloft.net>
7082         [BZ #15985]
7083         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7084         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7086 2013-11-06  Will Newton  <will.newton@linaro.org>
7088         * manual/memory.texi (Malloc Examples): Remove register
7089         keyword from examples.
7091 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7093         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7095 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7097         [BZ #6981]
7098         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7099         depending on [__GCC_IEC_559 > 0].
7100         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7101         depending on [__GCC_IEC_559_COMPLEX > 0].
7103 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7105         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7106         to iso-639.def.
7108 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7110         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7112 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7114         [BZ #16112]
7115         * malloc/malloc (malloc_info): Do not handle first bin as
7116         special case.
7118 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7120         * locale/iso-639.def: Add Central Nahuatl (nhn).
7122 2013-11-01  Bruno Haible  <bruno@clisp.org>
7124         [BZ #7003]
7125         * manual/math.texi (BSD Random): Specify range upper bound as
7126         in POSIX.
7128 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7130         * locale/iso-639.def: Add Meadow Mari (mhr).
7132 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7134         [BZ #14752], [BZ #15763]
7135         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7136         Validate name.
7137         * rt/tst_shm.c: Add test for escaping directory.
7139 2013-10-31  Andreas Schwab  <schwab@suse.de>
7141         [BZ #15917]
7142         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7143         followed by 'x' as part of digit sequence.
7144         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7146 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7148         [BZ #16037]
7149         * configure.ac: allow GNU Make 4.0 and greater.
7150         * configure: Regenerated.
7152 2013-10-30  Will Newton  <will.newton@linaro.org>
7154         [BZ #16038]
7155         * malloc/hooks.c (memalign_check): Limit alignment to the
7156         maximum representable power of two.
7157         * malloc/malloc.c (__libc_memalign): Likewise.
7158         * malloc/tst-memalign.c (do_test): Add test for very
7159         large alignment values.
7160         * malloc/tst-posix_memalign.c (do_test): Likewise.
7162 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7164         [BZ #11087]
7165         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7166         (munmap_chunk): Likewise.
7167         (mremap_chunk): Likewise.
7169 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7171         [BZ #15799]
7172         * stdlib/div.c (div): Remove obsolete code.
7173         * stdlib/ldiv.c (ldiv): Likewise.
7174         * stdlib/lldiv.c (lldiv): Likewise.
7176 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7178         [BZ #16071]
7179         * nss/nss_files/files-XXX.c (get_contents_ret): New
7180         enumerator.
7181         (get_contents): New function.
7182         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7184 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7186         * configure.in: Moved to ...
7187         * configure.ac: ... here. Change reference to configure.in
7188         to configure.ac.
7189         * sysdeps/arm/preconfigure.ac: ... here.
7190         configure.in to configure.ac.
7191         * sysdeps/gnu/configure.in: Moved to ...
7192         * sysdeps/gnu/configure.ac: ... here.
7193         * sysdeps/i386/configure.in: Moved to ...
7194         * sysdeps/i386/configure.ac: ... here.
7195         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7196         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7197         * sysdeps/mach/configure.in: Moved to ...
7198         * sysdeps/mach/configure.ac: ... here.
7199         * sysdeps/mach/hurd/configure.in: Moved to ...
7200         * sysdeps/mach/hurd/configure.ac: ... here.
7201         * sysdeps/powerpc/configure.in: Moved to ...
7202         * sysdeps/powerpc/configure.ac: ... here.
7203         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7204         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7205         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7206         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7207         * sysdeps/s390/s390-32/configure.in: Moved to ...
7208         * sysdeps/s390/s390-32/configure.ac: ... here.
7209         * sysdeps/s390/s390-64/configure.in: Moved to ...
7210         * sysdeps/s390/s390-64/configure.ac: ... here.
7211         * sysdeps/sh/configure.in: Moved to ...
7212         * sysdeps/sh/configure.ac: ... here.
7213         * sysdeps/sparc/configure.in: Moved to ...
7214         * sysdeps/sparc/configure.ac: ... here.
7215         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7216         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7217         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7218         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7219         * sysdeps/x86_64/configure.in: Moved to ...
7220         * sysdeps/x86_64/configure.ac: ... here.
7221         * sysdeps/x86_64/preconfigure.in: Moved to ...
7222         * sysdeps/x86_64/preconfigure.ac: ... here.
7223         * aclocal.m4: Change reference to configure.in to configure.ac.
7224         * config.h.in: Likewise.
7225         * manual/install.texi: Likewise.
7226         * manual/maint.texi: Likewise.
7227         * Makefile: Likewise.
7228         * malloc/Makefile: Likewise.
7229         * nscd/Makefile: Likewise.
7230         * Makeconfig: Change reference to configure.in and
7231         preconfigure.in to configure.ac and preconfigure.ac
7232         respectively.
7233         * INSTALL: Regenerated.
7234         * configure: Likewise.
7235         * sysdeps/gnu/configure: Likewise.
7236         * sysdeps/i386/configure: Likewise.
7237         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7238         * sysdeps/mach/configure: Likewise.
7239         * sysdeps/mach/hurd/configure: Likewise.
7240         * sysdeps/powerpc/configure: Likewise.
7241         * sysdeps/powerpc/powerpc32/configure: Likewise.
7242         * sysdeps/powerpc/powerpc64/configure: Likewise.
7243         * sysdeps/s390/s390-32/configure: Likewise.
7244         * sysdeps/s390/s390-64/configure: Likewise.
7245         * sysdeps/sh/configure: Likewise.
7246         * sysdeps/sparc/configure: Likewise.
7247         * sysdeps/unix/sysv/linux/configure: Likewise.
7248         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7249         * sysdeps/x86_64/configure: Likewise.
7250         * sysdeps/x86_64/preconfigure: Likewise.
7252 2013-10-29  Andreas Schwab  <schwab@suse.de>
7254         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7256 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7258         * benchtests/pow-inputs: Add new inputs.
7260         * benchtests/exp-inputs: Add new inputs.
7262         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7263         conditional check for return value.
7264         (__cos32): Likewise.
7266 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7268         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7269         to provide a boost for large inputs with word alignment.
7270         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7271         implementation based on optimized PPC64 strcpy.
7272         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7273         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7274         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7275         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7277 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7279         [BZ #2801]
7280         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7282 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7284         [BZ #14876]
7285         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7286         * time/tst-strptime.c (day_tests): Add testcase.
7288 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7290         [BZ #14029]
7291         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7293 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7295         [BZ #16074]
7296         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7297         MAP_FAILED on error.
7299 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7301         [BZ #16072]
7302         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7303         heap for large requests.
7305 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
7307         [BZ #9954]
7308         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7309         result if the result has no associated interface.
7310         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7311         interface for all 127.X.Y.Z addresses.
7313 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
7315         * locale/iso-639.def: Add Ligurian (lij)
7317 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
7319         [BZ #15825]
7320         * sunrpc/rpc_main.c: Document rpcgen -5.
7322 2013-10-19  Michael Stahl  <mstahl@redhat.com>
7324         * elf/rtld.c (do_preload): Print the reason why preloading failed.
7326 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7328         [BZ #10278]
7329         * posix/glob.c: Match only directories when trailing slash is present.
7330         * posix/tst-gnuglob.c (my_opendir): Do not open files.
7331         (main): Add testcase.
7333 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7335         [BZ #15670]
7336         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7338 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
7340         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7341         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7342         AUTH_DES and cindex for FIPS 140-2.
7343         (DES Encryption): Add cindex FIPS 46-3.
7345         * locale/locarchive.h (struct locarhandle): Add fname.
7346         * locale/programs/localedef.c (main): Pass ARGV[remaining]
7347         if an optional argument was specified to --list-archive,
7348         otherwise NULL.
7349         * locale/programs/locarchive.c (show_archive_content): Take new
7350         argument fname and pass it via ah.fname to open_archive.
7351         * locale/programs/localedef.h: Update decl.
7352         (open_archive): If AH->fname is non-null, open that file
7353         rather than the default file name, and don't ignore ENOENT.
7354         (create_archive): Set AH.fname to NULL.
7355         (delete_locales_from_archive): Likewise.
7356         (add_locales_to_archive): Likewise.
7357         * locale/programs/locfile.c (write_all_categories): Likewise.
7359 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
7360             Aldy Hernandez  <aldyh@redhat.com>
7362         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7363         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7364         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7365         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7366         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7367         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7368         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7369         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7370         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7371         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7372         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7373         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7374         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7375         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7376         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7377         Likewise.
7378         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7379         Likewise.
7380         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7381         Likewise.
7382         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7383         Likewise.
7384         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7385         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7386         Likewise.
7387         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7388         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7389         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7390         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7391         Likewise.
7392         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7393         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7394         * sysdeps/powerpc/preconfigure: Likewise.
7395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7396         Likewise.
7397         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7398         Replace contents of file by #include of <fenv_libc.h>.
7399         * sysdeps/powerpc/soft-fp/sfp-machine.h
7400         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7401         and <sys/prctl.h>.
7402         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7403         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7405         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7406         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7407         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7409         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7415         Allow copysignl PLT reference to be missing.
7417 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
7418             Joseph Myers  <joseph@codesourcery.com
7420         [BZ #15948]
7421         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7422         single character.
7423         (add_to_tablewc): Assert sequence of wide characters is nonempty.
7425 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7427         * elf/tst-tls-dlinfo.c: Don't include tls.h.
7428         * elf/tst-tls1.c: Likewise.
7429         * elf/tst-tls10.h: Likewise.
7430         * elf/tst-tls14.c: Likewise.
7431         * elf/tst-tls2.c: Likewise.
7432         * elf/tst-tls3.c: Likewise.
7433         * elf/tst-tls4.c: Likewise.
7434         * elf/tst-tls5.c: Likewise.
7435         * elf/tst-tls6.c: Likewise.
7436         * elf/tst-tls7.c: Likewise.
7437         * elf/tst-tls8.c: Likewise.
7438         * elf/tst-tls9.c: Likewise.
7439         * elf/tst-tlsmod1.c: Likewise.
7440         * elf/tst-tlsmod13.c: Likewise.
7441         * elf/tst-tlsmod13a.c: Likewise.
7442         * elf/tst-tlsmod14a.c: Likewise.
7443         * elf/tst-tlsmod16a.c: Likewise.
7444         * elf/tst-tlsmod16b.c: Likewise.
7445         * elf/tst-tlsmod2.c: Likewise.
7446         * elf/tst-tlsmod3.c: Likewise.
7447         * elf/tst-tlsmod4.c: Likewise.
7448         * elf/tst-tlsmod5.c: Likewise.
7449         * elf/tst-tlsmod6.c: Likewise.
7451 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
7453         [BZ #12486]
7454         * malloc/malloc.c: remove checks for statistics.
7456 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7458         [BZ #15277]
7459         * inet/inet_net.c (inet_network): Detect additional invalid strings.
7460         * inet/tst-network.c: Add testcase.
7462 2013-10-17  Andreas Schwab  <schwab@suse.de>
7464         [BZ #15218]
7465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7466         to determine canonical name.
7468 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7470         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7471         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7472         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7473         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7475         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7476         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7477         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7478         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7479         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7480         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7481         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7482         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7483         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7484         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7485         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7486         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7487         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7488         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7489         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7490         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7491         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7493         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7494         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7495         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7496         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7497         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7498         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7499         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7500         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7501         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7502         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7503         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7504         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7505         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7506         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7507         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7508         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7509         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7510         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7511         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7512         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7513         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7514         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7515         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7516         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7517         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7518         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7519         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7520         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7521         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7522         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7523         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7524         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7525         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7526         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7527         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7529 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
7531         [BZ #16041]
7532         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7533         make result into a quiet NaN.
7535 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
7537         * soft-fp/adddf3.c: Fix horizontal whitespace.
7538         * soft-fp/addsf3.c: Likewise.
7539         * soft-fp/addtf3.c: Likewise.
7540         * soft-fp/divdf3.c: Likewise.
7541         * soft-fp/divsf3.c: Likewise.
7542         * soft-fp/divtf3.c: Likewise.
7543         * soft-fp/double.h: Likewise.
7544         * soft-fp/eqdf2.c: Likewise.
7545         * soft-fp/eqsf2.c: Likewise.
7546         * soft-fp/eqtf2.c: Likewise.
7547         * soft-fp/extenddftf2.c: Likewise.
7548         * soft-fp/extended.h: Likewise.
7549         * soft-fp/extendsfdf2.c: Likewise.
7550         * soft-fp/extendsftf2.c: Likewise.
7551         * soft-fp/extendxftf2.c: Likewise.
7552         * soft-fp/fixdfdi.c: Likewise.
7553         * soft-fp/fixdfsi.c: Likewise.
7554         * soft-fp/fixdfti.c: Likewise.
7555         * soft-fp/fixsfdi.c: Likewise.
7556         * soft-fp/fixsfsi.c: Likewise.
7557         * soft-fp/fixsfti.c: Likewise.
7558         * soft-fp/fixtfdi.c: Likewise.
7559         * soft-fp/fixtfsi.c: Likewise.
7560         * soft-fp/fixtfti.c: Likewise.
7561         * soft-fp/fixunsdfdi.c: Likewise.
7562         * soft-fp/fixunsdfsi.c: Likewise.
7563         * soft-fp/fixunsdfti.c: Likewise.
7564         * soft-fp/fixunssfdi.c: Likewise.
7565         * soft-fp/fixunssfsi.c: Likewise.
7566         * soft-fp/fixunssfti.c: Likewise.
7567         * soft-fp/fixunstfdi.c: Likewise.
7568         * soft-fp/fixunstfsi.c: Likewise.
7569         * soft-fp/fixunstfti.c: Likewise.
7570         * soft-fp/floatdidf.c: Likewise.
7571         * soft-fp/floatdisf.c: Likewise.
7572         * soft-fp/floatditf.c: Likewise.
7573         * soft-fp/floatsidf.c: Likewise.
7574         * soft-fp/floatsisf.c: Likewise.
7575         * soft-fp/floatsitf.c: Likewise.
7576         * soft-fp/floattidf.c: Likewise.
7577         * soft-fp/floattisf.c: Likewise.
7578         * soft-fp/floattitf.c: Likewise.
7579         * soft-fp/floatundidf.c: Likewise.
7580         * soft-fp/floatundisf.c: Likewise.
7581         * soft-fp/floatunditf.c: Likewise.
7582         * soft-fp/floatunsidf.c: Likewise.
7583         * soft-fp/floatunsisf.c: Likewise.
7584         * soft-fp/floatunsitf.c: Likewise.
7585         * soft-fp/floatuntidf.c: Likewise.
7586         * soft-fp/floatuntisf.c: Likewise.
7587         * soft-fp/floatuntitf.c: Likewise.
7588         * soft-fp/fmadf4.c: Likewise.
7589         * soft-fp/fmasf4.c: Likewise.
7590         * soft-fp/fmatf4.c: Likewise.
7591         * soft-fp/gedf2.c: Likewise.
7592         * soft-fp/gesf2.c: Likewise.
7593         * soft-fp/getf2.c: Likewise.
7594         * soft-fp/ledf2.c: Likewise.
7595         * soft-fp/lesf2.c: Likewise.
7596         * soft-fp/letf2.c: Likewise.
7597         * soft-fp/muldf3.c: Likewise.
7598         * soft-fp/mulsf3.c: Likewise.
7599         * soft-fp/multf3.c: Likewise.
7600         * soft-fp/negdf2.c: Likewise.
7601         * soft-fp/negsf2.c: Likewise.
7602         * soft-fp/negtf2.c: Likewise.
7603         * soft-fp/op-1.h: Likewise.
7604         * soft-fp/op-2.h: Likewise.
7605         * soft-fp/op-4.h: Likewise.
7606         * soft-fp/op-8.h: Likewise.
7607         * soft-fp/op-common.h: Likewise.
7608         * soft-fp/quad.h: Likewise.
7609         * soft-fp/single.h: Likewise.
7610         * soft-fp/soft-fp.h: Likewise.
7611         * soft-fp/sqrtdf2.c: Likewise.
7612         * soft-fp/sqrtsf2.c: Likewise.
7613         * soft-fp/sqrttf2.c: Likewise.
7614         * soft-fp/subdf3.c: Likewise.
7615         * soft-fp/subsf3.c: Likewise.
7616         * soft-fp/subtf3.c: Likewise.
7617         * soft-fp/truncdfsf2.c: Likewise.
7618         * soft-fp/trunctfdf2.c: Likewise.
7619         * soft-fp/trunctfsf2.c: Likewise.
7620         * soft-fp/trunctfxf2.c: Likewise.
7621         * soft-fp/unorddf2.c: Likewise.
7622         * soft-fp/unordsf2.c: Likewise.
7623         * soft-fp/unordtf2.c: Likewise.
7625 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
7627         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7628         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7630 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
7632         * elf/dl-libc.c: Clear initfini list after freeing.
7634 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
7636         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7637         * soft-fp/addsf3.c: Likewise.
7638         * soft-fp/addtf3.c: Likewise.
7639         * soft-fp/divdf3.c: Likewise.
7640         * soft-fp/divsf3.c: Likewise.
7641         * soft-fp/divtf3.c: Likewise.
7642         * soft-fp/double.h: Likewise.
7643         * soft-fp/eqdf2.c: Likewise.
7644         * soft-fp/eqsf2.c: Likewise.
7645         * soft-fp/eqtf2.c: Likewise.
7646         * soft-fp/extenddftf2.c: Likewise.
7647         * soft-fp/extended.h: Likewise.
7648         * soft-fp/extendsfdf2.c: Likewise.
7649         * soft-fp/extendsftf2.c: Likewise.
7650         * soft-fp/extendxftf2.c: Likewise.
7651         * soft-fp/fixdfdi.c: Likewise.
7652         * soft-fp/fixdfsi.c: Likewise.
7653         * soft-fp/fixdfti.c: Likewise.
7654         * soft-fp/fixsfdi.c: Likewise.
7655         * soft-fp/fixsfsi.c: Likewise.
7656         * soft-fp/fixsfti.c: Likewise.
7657         * soft-fp/fixtfdi.c: Likewise.
7658         * soft-fp/fixtfsi.c: Likewise.
7659         * soft-fp/fixtfti.c: Likewise.
7660         * soft-fp/fixunsdfdi.c: Likewise.
7661         * soft-fp/fixunsdfsi.c: Likewise.
7662         * soft-fp/fixunsdfti.c: Likewise.
7663         * soft-fp/fixunssfdi.c: Likewise.
7664         * soft-fp/fixunssfsi.c: Likewise.
7665         * soft-fp/fixunssfti.c: Likewise.
7666         * soft-fp/fixunstfdi.c: Likewise.
7667         * soft-fp/fixunstfsi.c: Likewise.
7668         * soft-fp/fixunstfti.c: Likewise.
7669         * soft-fp/floatdidf.c: Likewise.
7670         * soft-fp/floatdisf.c: Likewise.
7671         * soft-fp/floatditf.c: Likewise.
7672         * soft-fp/floatsidf.c: Likewise.
7673         * soft-fp/floatsisf.c: Likewise.
7674         * soft-fp/floatsitf.c: Likewise.
7675         * soft-fp/floattidf.c: Likewise.
7676         * soft-fp/floattisf.c: Likewise.
7677         * soft-fp/floattitf.c: Likewise.
7678         * soft-fp/floatundidf.c: Likewise.
7679         * soft-fp/floatundisf.c: Likewise.
7680         * soft-fp/floatunsidf.c: Likewise.
7681         * soft-fp/floatunsisf.c: Likewise.
7682         * soft-fp/floatuntidf.c: Likewise.
7683         * soft-fp/floatuntisf.c: Likewise.
7684         * soft-fp/floatuntitf.c: Likewise.
7685         * soft-fp/fmadf4.c: Likewise.
7686         * soft-fp/fmasf4.c: Likewise.
7687         * soft-fp/fmatf4.c: Likewise.
7688         * soft-fp/gedf2.c: Likewise.
7689         * soft-fp/gesf2.c: Likewise.
7690         * soft-fp/getf2.c: Likewise.
7691         * soft-fp/ledf2.c: Likewise.
7692         * soft-fp/lesf2.c: Likewise.
7693         * soft-fp/letf2.c: Likewise.
7694         * soft-fp/muldf3.c: Likewise.
7695         * soft-fp/mulsf3.c: Likewise.
7696         * soft-fp/multf3.c: Likewise.
7697         * soft-fp/negdf2.c: Likewise.
7698         * soft-fp/negsf2.c: Likewise.
7699         * soft-fp/negtf2.c: Likewise.
7700         * soft-fp/op-1.h: Likewise.
7701         * soft-fp/op-2.h: Likewise.
7702         * soft-fp/op-4.h: Likewise.
7703         * soft-fp/op-8.h: Likewise.
7704         * soft-fp/op-common.h: Likewise.
7705         * soft-fp/quad.h: Likewise.
7706         * soft-fp/single.h: Likewise.
7707         * soft-fp/soft-fp.h: Likewise.
7708         * soft-fp/sqrtdf2.c: Likewise.
7709         * soft-fp/sqrtsf2.c: Likewise.
7710         * soft-fp/sqrttf2.c: Likewise.
7711         * soft-fp/subdf3.c: Likewise.
7712         * soft-fp/subsf3.c: Likewise.
7713         * soft-fp/subtf3.c: Likewise.
7714         * soft-fp/truncdfsf2.c: Likewise.
7715         * soft-fp/trunctfdf2.c: Likewise.
7716         * soft-fp/trunctfsf2.c: Likewise.
7717         * soft-fp/trunctfxf2.c: Likewise.
7718         * soft-fp/unorddf2.c: Likewise.
7719         * soft-fp/unordsf2.c: Likewise.
7720         * soft-fp/unordtf2.c: Likewise.
7722 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
7724         [BZ #15672]
7725         * misc/error.c (error_tail): Fix possible buffer overflow.
7727 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
7729         [BZ #13028]
7730         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7731         address.
7733 2013-10-14  P. J. McDermott  <pj@pehjota.net>
7735         [BZ #832]
7736         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
7737         testing pipefail option.
7739 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7741         * soft-fp/double.h: Indent preprocessor directives inside #if.
7742         * soft-fp/extended.h: Likewise.
7743         * soft-fp/op-2.h: Likewise.
7744         * soft-fp/op-4.h: Likewise.
7745         * soft-fp/op-common.h: Likewise.
7746         * soft-fp/quad.h: Likewise.
7747         * soft-fp/single.h: Likewise.
7748         * soft-fp/soft-fp.h: Likewise.
7750 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
7752         * iconv/iconv_prog.c: Fix typos.
7753         * stdio-common/psiginfo-data.h: Likewise.
7755 2013-10-12   Reuben Thomas <rrt@sc3d.org>
7757         [BZ #15764]
7758         * locale/setlocale.c: Fix typo.
7760 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7762         [BZ #16036]
7763         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7764         signaling NaN arguments.
7765         * soft-fp/unordsf2.c (__unordsf2): Likewise.
7766         * soft-fp/unordtf2.c (__unordtf2): Likewise.
7768         [BZ #14910]
7769         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7770         unordered operands.
7771         * soft-fp/gesf2.c (__gesf2): Likewise.
7772         * soft-fp/getf2.c (__getf2): Likewise.
7773         * soft-fp/ledf2.c (__ledf2): Likewise.
7774         * soft-fp/lesf2.c (__lesf2): Likewise.
7775         * soft-fp/letf2.c (__letf2): Likewise.
7777         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7778         * soft-fp/eqsf2.c (__eqsf2): Likewise.
7779         * soft-fp/eqtf2.c (__eqtf2): Likewise.
7780         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7781         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7782         * soft-fp/fixdfti.c (__fixdfti): Likewise.
7783         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7784         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7785         * soft-fp/fixsfti.c (__fixsfti): Likewise.
7786         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7787         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7788         * soft-fp/fixtfti.c (__fixtfti): Likewise.
7789         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7790         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7791         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7792         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7793         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7794         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7795         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7796         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7797         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7798         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7799         * soft-fp/floatdisf.c (__floatdisf): Likewise.
7800         * soft-fp/floatsisf.c (__floatsisf): Likewise.
7801         * soft-fp/floattidf.c (__floattidf): Likewise.
7802         * soft-fp/floattisf.c (__floattisf): Likewise.
7803         * soft-fp/floattitf.c (__floattitf): Likewise.
7804         * soft-fp/floatundidf.c (__floatundidf): Likewise.
7805         * soft-fp/floatundisf.c (__floatundisf): Likewise.
7806         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7807         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7808         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7809         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7810         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7811         * soft-fp/gesf2.c (__gesf2): Likewise.
7812         * soft-fp/getf2.c (__getf2): Likewise.
7813         * soft-fp/ledf2.c (__ledf2): Likewise.
7814         * soft-fp/lesf2.c (__lesf2): Likewise.
7815         * soft-fp/letf2.c (__letf2): Likewise.
7817         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7818         Undefine and redefine.
7819         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7820         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7821         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7822         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7823         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7824         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7825         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7826         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7827         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7828         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7829         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7830         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7831         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7832         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7833         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7835         [BZ #16032]
7836         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7837         without decrementing exponent if mantissa >= that for the
7838         denominator, not >.
7839         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7840         denominator, not >.  Decrement exponent in < case instead of
7841         incrementing in >= case.
7842         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7843         without decrementing exponent if mantissa >= that for the
7844         denominator, not >.
7846         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7847         computing saturated result for unsigned overflow.
7849 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7850             Jeff Law  <law@redhat.com>
7852         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7853         (atan2Mp): Add systemtap probe marker.
7854         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7855         (__ieee754_log): Add systemtap probe marker.
7856         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7857         (atanMp): Add systemtap probe marker.
7858         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7859         (tanMp): Add systemtap probe marker.
7860         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7861         (__slowexp): Add systemtap probe marker.
7862         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7863         (__slowpow): Add systemtap probe marker.
7864         * manual/probes.texi: Document probes.
7866 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
7868         [BZ #15362]
7869         * libio/fileops.c (_IO_new_file_write): Return count of bytes
7870         written.
7871         (_IO_new_file_xsputn): Don't return EOF if nothing has been
7872         written.
7873         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7874         written to buffer but not flushed.
7875         * libio/iofwrite_u.c:  Likewise.
7876         * libio/iopadn.c:  Return bytes returned even if EOF was
7877         encountered.
7878         * libio/iowpadn.c:  Likewise.
7879         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7880         if _IO_padn does not write the whole buffer.
7881         [!COMPILE_WPRINTF] (PAD): Likewise.
7883 2013-10-10  David S. Miller  <davem@davemloft.net>
7885         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7886         directory block.
7888 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7890         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
7891         instead of FSF address.
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         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
7907         * soft-fp/fixdfti.c: Likewise.
7908         * soft-fp/fixsfti.c: Likewise.
7909         * soft-fp/fixtfti.c: Likewise.
7910         * soft-fp/fixunsdfti.c: Likewise.
7911         * soft-fp/fixunssfti.c: Likewise.
7912         * soft-fp/fixunstfti.c: Likewise.
7913         * soft-fp/floattidf.c: Likewise.
7914         * soft-fp/floattisf.c: Likewise.
7915         * soft-fp/floattitf.c: Likewise.
7916         * soft-fp/floatuntidf.c: Likewise.
7917         * soft-fp/floatuntisf.c: Likewise.
7918         * soft-fp/floatuntitf.c: Likewise.
7919         * soft-fp/trunctfxf2.c: Likewise.
7921 2013-10-10  David S. Miller  <davem@davemloft.net>
7923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7925 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
7927         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7928         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7929         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7930         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7931         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7932         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7933         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7936         for NaNs before doing comparisons on argument.
7937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7938         Likewise.
7940 2013-10-10  Will Newton  <will.newton@linaro.org>
7942         * malloc/hooks.c (memalign_check): Ensure the value of bytes
7943         passed to _int_memalign does not overflow.
7945 2013-10-10  Torvald Riegel  <triegel@redhat.com>
7947         * scripts/bench.pl: Add include-sources directive.
7948         * benchtests/README: Update documentation.
7950 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7952         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7953         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7954         instead of FP_INIT_ROUNDMODE.
7955         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7956         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7958         [BZ #16034]
7959         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
7960         copy class of input value.
7961         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
7962         not handle exceptions.
7963         * soft-fp/negsf2.c (__negsf2): Likewise.
7964         * soft-fp/negtf2.c (__negtf2): Likewise.
7965         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7967 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
7969         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7970         semicolon.  From Linux kernel.
7972 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
7974         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7976 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
7978         [BZ #156]
7979         * manual/socket.texi: Added statement about buffer
7980         for gethostbyname2_r.
7982 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
7984         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7985         Use .p2align directive instead, throughout.
7986         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7987         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7988         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7989         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7990         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7991         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7992         * sysdeps/x86_64/strchr.S: Likewise.
7993         * sysdeps/x86_64/strrchr.S: Likewise.
7995 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7997         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7999         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8001         * sysdeps/generic/math_private.h (__mpsin1): Remove
8002         declaration.
8003         (__mpcos1): Likewise.
8004         (__mpsin): New argument __range_reduce.
8005         (__mpcos): Likewise.
8006         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8007         (slow): Use __mpsin and __mpcos.
8008         (slow1): Likewise.
8009         (slow2): Likewise.
8010         (sloww): Likewise.
8011         (sloww1): Likewise.
8012         (sloww2): Likewise.
8013         (bsloww): Likewise.
8014         (bsloww1): Likewise.
8015         (bsloww2): Likewise.
8016         (cslow2): Likewise.
8017         (csloww): Likewise.
8018         (csloww1): Likewise.
8019         (csloww2): Likewise.
8020         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8021         range_reduce.  Merge in __mpsin1.
8022         (__mpcos): Likewise.
8023         (__mpsin1): Remove.
8024         (__mpcos1): Likewise.
8026 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8028         * locale/loadlocale.c (_nl_intern_locale_data): Use
8029         LOCFILE_ALIGNED_P.
8030         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8031         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8032         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8033         obstack data is appropriately aligned.
8034         (obstack_int32_grow_fast): Likewise.
8035         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8036         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8037         (add_locale_uint32_array): Likewise.
8039 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8041         * benchtests/Makefile: Remove ARGLIST and RET variables.
8042         ($(objpfx)bench-%.c): Pass only function name to the script.
8043         * benchtests/README: Update documentation.
8044         * benchtests/acos-inputs: Add new directives.
8045         * benchtests/acosh-inputs: Likewise.
8046         * benchtests/asin-inputs: Likewise.
8047         * benchtests/asinh-inputs: Likewise.
8048         * benchtests/atan-inputs: Likewise.
8049         * benchtests/atanh-inputs: Likewise.
8050         * benchtests/cos-inputs: Likewise.
8051         * benchtests/cosh-inputs: Likewise.
8052         * benchtests/exp-inputs: Likewise.
8053         * benchtests/log-inputs: Likewise.
8054         * benchtests/pow-inputs: Likewise.
8055         * benchtests/rint-inputs: Likewise.
8056         * benchtests/sin-inputs: Likewise.
8057         * benchtests/sinh-inputs: Likewise.
8058         * benchtests/tan-inputs: Likewise.
8059         * benchtests/tanh-inputs: Likewise.
8060         * scripts/bench.pl: Add support for new directives.
8062 2013-10-07  Alan Modra  <amodra@gmail.com>
8064         * README: Fix careless merge.
8066 2013-10-05  Alan Modra  <amodra@gmail.com>
8068         * NEWS: Mention powerpc64le support and bugs fixed.
8069         * README: Both big-endian and little-endian powerpc64 supported.
8071 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8073         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8074         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8075         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8076         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8078 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8080         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8081         match prototype.
8083 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8085         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8086         Move -mhard-float appending from
8087         ports/sysdeps/powerpc/powerpc32/Makefile.
8088         [$(with-fp) = yes] (ASFLAGS): Likewise.
8089         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8090         * sysdeps/powerpc/nofpu: Move directory from
8091         ports/sysdeps/powerpc/nofpu.
8092         * sysdeps/powerpc/soft-fp: Move directory from
8093         ports/sysdeps/powerpc/soft-fp.
8094         * sysdeps/powerpc/powerpc32/405: Move directory from
8095         ports/sysdeps/powerpc/powerpc32/405.
8096         * sysdeps/powerpc/powerpc32/440: Move directory from
8097         ports/sysdeps/powerpc/powerpc32/440.
8098         * sysdeps/powerpc/powerpc32/464: Move directory from
8099         ports/sysdeps/powerpc/powerpc32/464.
8100         * sysdeps/powerpc/powerpc32/476: Move directory from
8101         ports/sysdeps/powerpc/powerpc32/476.
8102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8103         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8105         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8107         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8109         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8111         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8112         * README: Update for powerpc-*-linux-gnu software floating point
8113         support in libc.
8115         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8116         case to powerpc/powerpc32*.
8117         * sysdeps/unix/sysv/linux/configure: Regenerated.
8119         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8120         (_FPU_MASK_OM): Define as 0x04.
8121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8123         0x00c10080.
8124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8125         0x0000003c.
8126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8129         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8130         getcontext_e500.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8132         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8133         setcontext_e500.
8134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8135         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8136         and setcontext_e500.
8138 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8140         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8142 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8144         * manual/threads.texi (Default Thread Attributes): Fix typo.
8146 2013-10-04  Will Newton  <will.newton@linaro.org>
8148         * malloc/Makefile: Add tst-memalign.
8149         * malloc/tst-memalign.c: New file.
8151         * malloc/tst-posix_memalign.c: Add comments.
8152         (do_test): Add comments and call free on all potentially
8153         allocated pointers. Add space after cast.
8155         * malloc/tst-pvalloc.c: Add comments.
8156         (do_test): Add comments and call free on all potentially
8157         allocated pointers. Remove duplicate check for NULL pointer.
8158         Add space after cast.
8160         * malloc/tst-valloc.c: Add comments.
8161         (do_test): Add comments and call free on all potentially
8162         allocated pointers. Remove duplicate check for NULL pointer.
8163         Add space after cast.
8165 2013-10-04  Alan Modra  <amodra@gmail.com>
8167         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8168         Use stdint types in rather than __attribute__((mode())).
8169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8171 2013-10-04  Alan Modra  <amodra@gmail.com>
8173         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8174         Correct handling of unaligned relocs for little-endian.
8175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8177 2013-10-04  Alan Modra  <amodra@gmail.com>
8179         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8180         * configure: Regenerate.
8181         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8182         * shlib-versions: Likewise.
8184 2013-10-04  Alan Modra  <amodra@gmail.com>
8186         * string/tester.c (test_memrchr): Increment reported test cycle.
8188 2013-10-04  Alan Modra  <amodra@gmail.com>
8190         * string/test-memcpy.c (do_one_test): When reporting errors, print
8191         string address and don't overrun end of string.
8193 2013-10-04  Alan Modra  <amodra@gmail.com>
8195         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8196         insrdi.  Make better use of reg selection to speed exit slightly.
8197         Schedule entry path a little better.  Remove useless "are we done"
8198         checks on entry to main loop.  Handle wrapping around zero address.
8199         Correct main loop count.  Handle single left-over word from main
8200         loop inline rather than by using loop_small.  Remove extra word
8201         case in loop_small caused by wrong loop count.  Add little-endian
8202         support.
8203         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8204         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8205         cache hint.
8206         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8207         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8208         support.  Avoid rlwimi.
8209         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8211 2013-10-04  Alan Modra  <amodra@gmail.com>
8213         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8214         insrdi.  Formatting.
8215         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8216         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8217         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8218         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8219         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8220         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8222 2013-10-04  Alan Modra  <amodra@gmail.com>
8224         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8225         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8226         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8227         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8228         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8229         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8230         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8231         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8232         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8233         use of regs.  Use power7 mtocrf.  Tidy function tails.
8235 2013-10-04  Alan Modra  <amodra@gmail.com>
8237         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8238         Formatting.  Consistently use rXXX register defines or rN defines.
8239         Use early exit labels that avoid restoring unused non-volatile regs.
8240         Make cr field use more consistent with rWORDn compares.  Rename
8241         regs used as shift registers for unaligned loop, using rN defines
8242         for short lifetime/multiple use regs.
8243         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8244         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8245         addi 1,1,64 to pop stack frame.  Simplify return value code.
8246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8248 2013-10-04  Alan Modra  <amodra@gmail.com>
8250         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8251         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8252         rather than rlwimi.
8253         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8254         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8255         little-endian support.  Correct typos.
8256         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8257         rather than rlwimi.
8258         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8259         in loop and entry code to keep "and." results.
8260         (strchr): Add little-endian support.  Comment.  Move cntlzd
8261         earlier in tail.
8262         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8264 2013-10-04  Alan Modra  <amodra@gmail.com>
8266         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8267         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8268         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8269         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8271 2013-10-04  Alan Modra  <amodra@gmail.com>
8273         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8274         (rTMP): Define as r11.
8275         (strcmp): Add little-endian support.  Optimise tail.
8276         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8277         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8278         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8279         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8280         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8281         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8282         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8284 2013-10-04  Alan Modra  <amodra@gmail.com>
8286         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8287         little-endian support.  Remove unnecessary "are we done" tests.
8288         Handle "s" wrapping around zero and extremely large "size".
8289         Correct main loop count.  Handle single left-over word from main
8290         loop inline rather than by using small_loop.  Correct comments.
8291         Delete "zero" tail, use "end_max" instead.
8292         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8294 2013-10-04  Alan Modra  <amodra@gmail.com>
8296         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8297         support.  Don't branch over align.
8298         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8299         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8300         support.  Rearrange tmp reg use to suit.  Comment.
8301         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8303 2013-10-04  Alan Modra  <amodra@gmail.com>
8305         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8307 2013-10-04  Alan Modra  <amodra@gmail.com>
8309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8310         conditional form of branch and link when obtaining pc.
8311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8313 2013-10-04  Alan Modra  <amodra@gmail.com>
8315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8316         HIWORD/LOWORD.
8317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8320 2013-10-04  Alan Modra  <amodra@gmail.com>
8322         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8323         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8324         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8325         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8326         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8327         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8328         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8329         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8330         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8331         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8333 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8334             Alistair Popple <alistair@ozlabs.au.ibm.com>
8335             Alan Modra <amodra@gmail.com>
8337         [BZ #15723]
8338         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8339         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8340         _dl_hwcap access for little-endian.
8341         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
8342         destroy vmx regs when saving unaligned.
8343         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8344         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
8345         destroy vmx regs when saving unaligned.
8347 2013-10-04  Alan Modra  <amodra@gmail.com>
8349         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8350         Don't use a union to pack hi/low value.
8352 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8354         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8355         for little-endian.
8356         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8357         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8358         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8359         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8360         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8362 2013-10-04  Alan Modra  <amodra@gmail.com>
8364         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8365         constants to usual value for .cst8 section, and remove redundant
8366         high address load.
8367         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8368         constant for 0x1p52.  Load little-endian words of double from
8369         correct stack offsets.
8371 2013-10-04  Alan Modra  <amodra@gmail.com>
8373         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8374         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8375         words of double from correct stack offsets.
8376         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8377         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8378         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8379         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8380         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8381         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8382         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8383         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8384         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8386         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8387         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8388         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8389         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8390         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8391         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8392         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8394 2013-10-04  Alan Modra  <amodra@gmail.com>
8396         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8397         64-bit int/double union.
8398         (_FPU_SETCW): Likewise.
8399         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8400         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8402 2013-10-04  Alan Modra  <amodra@gmail.com>
8404         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8405         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8407 2013-10-04  Alan Modra  <amodra@gmail.com>
8409         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8410         use vector int constants.
8411         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8413 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8415         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8416         array with long long.
8417         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8418         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8419         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8420         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8421         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8422         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8423         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8424         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8425         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8426         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8427         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8428         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8429         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8431 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8433         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8434         (__signbit): Likewise.  Correct for little-endian.
8435         (__signbitl): Call __signbit.
8436         (lrint): Correct for little-endian.
8437         (lrintf): Call lrint.
8439 2013-10-04  Alan Modra  <amodra@gmail.com>
8441         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8442         union 32-bit int array member with 64-bit int array.
8443         (t515, tm256): Double rather than long double.
8444         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8446 2013-10-04  Alan Modra  <amodra@gmail.com>
8448         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8449         Delete.
8450         (IEEE854_LONG_DOUBLE_BIAS): Delete.
8451         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8452         version of math_ldbl.h.
8454 2013-10-04  Alan Modra  <amodra@gmail.com>
8456         [BZ #15734], [BZ #15735]
8457         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8458         all uses of ieee875 long double macros and unions.  Simplify test
8459         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
8460         ldbl_extract_mantissa value for ix,iy exponents.  Properly
8461         normalize after ldbl_extract_mantissa, and don't add hidden bit
8462         already handled.  Don't treat low word of ieee854 mantissa like
8463         low word of IBM long double and mask off bit when testing for
8464         zero.
8465         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8466         all uses of ieee875 long double macros and unions.  Simplify tests
8467         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
8468         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
8469         two1022, instead use their values.  Recognise that tests for large
8470         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
8471         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8472         Rewrite all uses of ieee875 long double macros and unions.  Simplify
8473         test for 0.0L and nan.  Correct negation.
8474         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8475         ieee875 long double macros and unions.  Correct output for large
8476         magnitude x.  Correct absolute value calculation.
8477         (__erfcl): Likewise.
8478         * math/libm-test.inc: Add tests for errors discovered in IBM long
8479         double versions of fmodl, remainderl, erfl and erfcl.
8481 2013-10-04  Alan Modra  <amodra@gmail.com>
8483         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8484         all uses of ieee854 long double macros and unions.  Simplify tests
8485         for long doubles that are fully specified by the high double.
8486         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8487         Likewise.
8488         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8489         Remove dead code too.
8490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8491         (__ieee754_ynl): Likewise.
8492         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8493         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8494         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8495         Remove dead code too.
8496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8497         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8498         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8499         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8500         Simplify.
8501         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8502         Simplify.
8503         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8505         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8506         Comment on variable precision.
8507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8508         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8509         Likewise.
8510         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8511         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8512         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8513         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8514         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8516 2013-10-04  Alan Modra  <amodra@gmail.com>
8518         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8520         all uses of ieee854 long double macros and unions.
8521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8522         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8523         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8524         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8525         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8526         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8527         Likewise.
8528         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8529         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8530         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8531         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8532         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8533         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8534         Simplify sign and nan test too.
8535         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8536         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8537         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8538         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8539         Likewise.
8540         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8541         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8542         Likewise.
8543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8544         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8545         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8546         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8547         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8550 2013-10-04  Alan Modra  <amodra@gmail.com>
8552         * stdio-common/printf_size.c (__printf_size): Don't use
8553         union ieee854_long_double in fpnum union.
8554         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
8555         signbit macro to retrieve sign from long double.
8556         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8557         retrieve sign from long double.
8558         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8559         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8560         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8561         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8562         * math/test-misc.c (main): Don't use union ieee854_long_double.
8564 2013-10-04  Alan Modra  <amodra@gmail.com>
8566         [BZ #15680]
8567         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8568         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8569         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8570         calculation.  Remove unnecessary test for denormal exponent.
8571         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8572         Correct handling of denormals.  Avoid undefined shift behaviour.
8573         Correct normalisation of low mantissa when low double is denormal.
8574         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8575         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
8576         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8577         Correct normalisation of low mantissa.  Test for overflow of high
8578         mantissa and normalise.
8579         (ldbl_nearbyint): Use more readable constant for two52.
8580         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8581         (__mpn_construct_long_double): Fix test for overflow of high
8582         mantissa and correct normalisation.  Avoid undefined shift.
8584 2013-10-04  Alan Modra  <amodra@gmail.com>
8586         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8587         (union ibm_extended_long_double): Define as an array of ieee754_double.
8588         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8589         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8590         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8591         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8592         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8593         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8595         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8596         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8597         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8598         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8600 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
8602         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8603         page size instead of calling getpagesize.
8605         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8606         (LOCFILE_ALIGN_MASK): Likewise.
8607         (LOCFILE_ALIGN_UP): Likewise.
8608         (LOCFILE_ALIGNED_P): Likewise.
8609         * locale/programs/ld-collate.c (collate_output): Use the new
8610         macros instead of __alignof__ (int32_t).
8611         * locale/weight.h (findidx): Likewise.
8613 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
8615         [BZ #431]
8616         * manual/string.texi: Fix strncat and wcsncat.
8618 2013-10-03  Brooks Moses  <bmoses@google.com>
8620         [BZ #15915]
8621         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8622         * Makerules: ...here, and adjust associated comments.
8624 2013-10-02  Will Newton  <will.newton@linaro.org>
8626         * malloc/Makefile: Add tst-pvalloc.
8627         * malloc/tst-pvalloc.c: New file.
8629 2013-10-02  Will Newton  <will.newton@linaro.org>
8631         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8632         improve test coverage.
8634 2013-10-02  Will Newton  <will.newton@linaro.org>
8636         * malloc/Makefile: Add tst-posix_memalign.
8637         * malloc/tst-posix_memalign.c: New file.
8639 2013-10-01  Eric Blake  <eblake@redhat.com>
8641         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8642         Use __THROWNL rather than __THROW on static functions.
8644 2013-09-30  Petr Machata  <pmachata@redhat.com>
8646         * elf/elf.h (R_AARCH64_ABS16): New macro.
8647         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8648         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8649         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8650         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8651         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8652         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8653         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8654         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8655         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8656         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8657         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8658         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8659         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8660         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8661         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8662         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8663         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8664         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8665         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8666         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8667         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8668         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8669         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8670         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8671         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8672         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8673         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8674         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8675         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8676         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8677         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8678         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8679         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8680         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8681         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8682         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8683         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8684         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8685         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8686         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8687         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8688         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8689         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8690         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8691         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8692         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8693         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8694         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8695         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8696         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8697         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8698         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8699         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8700         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8701         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8702         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8703         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8704         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8705         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8706         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8707         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8708         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8709         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8710         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8711         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8712         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8713         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8714         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8715         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8716         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8717         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8718         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8719         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8720         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8721         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8722         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8723         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8724         (R_AARCH64_TLSDESC_LDR): Likewise.
8725         (R_AARCH64_TLSDESC_ADD): Likewise.
8726         (R_AARCH64_TLSDESC_CALL): Likewise.
8728 2013-09-30  Andreas Schwab  <schwab@suse.de>
8730         [BZ #15048]
8731         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8732         the nss database lookup.
8733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8736 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
8738         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8740 2013-09-28  P. J. McDermott  <pj@pehjota.net>
8742         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8743         ${Bash-specific parameter/pattern/string} parameter expansion.
8744         * sysdeps/unix/make-syscalls.sh: Likewise.
8746 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8748         * sysdeps/sh/stackguard-macros.h: New file.
8750 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
8752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8754         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8755         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8756         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8757         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8759 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8761         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8762         Fix thread ID register.
8764 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
8766         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8767         [POSIX || UNIX98]: Require rather than permitting all symbols from
8768         <time.h>.
8769         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8770         element of struct sched_param.
8771         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8772         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8773         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8774         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8775         constant.
8777 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
8779         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8780         argument calculation.
8782 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8784         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8785         Expect macro.
8786         [POSIX] (pthread_attr_t): Do not require type.
8787         [POSIX] (pthread_cond_t): Likewise.
8788         [POSIX] (pthread_condattr_t): Likewise.
8789         [POSIX] (pthread_key_t): Likewise.
8790         [POSIX] (pthread_mutex_t): Likewise.
8791         [POSIX] (pthread_mutexattr_t): Likewise.
8792         [POSIX] (pthread_once_t): Likewise.
8793         [POSIX] (pthread_t): Likewise.
8794         [POSIX-based standards] (pthread_atfork): Expect function.
8796 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8797             Richard Sandiford  <richard@codesourcery.com>
8799         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8800         (swap_endianness_p): New extern variable.
8801         (set_big_endian): New inline function.
8802         (maybe_swap_uint32): Likewise.
8803         (maybe_swap_uint32_array): Likewise.
8804         (maybe_swap_uint32_obstack): Likewise.
8805         * locale/programs/locfile.c: Include <stdbool.h>.
8806         (swap_endianness_p): New variable.
8807         (add_locale_uint32): Call maybe_swap_uint32.
8808         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8809         (write_locale_data): Call maybe_swap_uint32_array.
8810         * locale/programs/ld-collate.c (obstack_int32_grow): Call
8811         maybe_swap_uint32.
8812         (obstack_int32_grow_fast): Likewise.
8813         (output_weightwc): Call maybe_swap_uint32_obstack.
8814         (collate_output): Likewise.
8815         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8816         (OPT_LITTLE_ENDIAN): Likewise.
8817         (options): Add --little-endian and --big-endian options.
8818         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8819         * locale/programs/locarchive.c: Include "locfile.h".
8820         (GET): New macro.
8821         (SET): Likewise.
8822         (INC): Likewise.
8823         (create_archive): Use the new macros to access fields of
8824         structures directly mapped from or written to locale archives.
8825         (oldlocrecentcmp): Likewise.
8826         (enlarge_archive): Likewise.
8827         (insert_name): Likewise.
8828         (add_alias): Likewise.
8829         (add_locale): Likewise.
8830         (delete_locales_from_archive): Likewise.
8831         (show_archive_content): Likewise.
8832         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
8833         locale data.
8835 2013-09-24  Roland McGrath  <roland@hack.frob.com>
8837         * manual/freemanuals.texi: Updated from (newly) canonical copy at
8838         http://www.gnu.org/doc/freemanuals.texi.
8839         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8841 2013-09-24  Will Newton  <will.newton@linaro.org>
8843         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8844         macro.
8846 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
8848         * locale/hashval.h (compute_hashval): Interpret bytes of key as
8849         unsigned char.
8851 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
8853         * manual/threads.texi (POSIX Threads): Fix a typo.
8855 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8857         [BZ #14547]
8858         * string/tst-strcoll-overflow.c: New test case.
8859         * string/Makefile (xtests): Add tst-strcoll-overflow.
8860         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8861         cache if string sizes may cause integer overflow.
8863         [BZ #14547]
8864         * string/strcoll_l.c (coll_seq): New members rule, idx,
8865         save_idx and back_us.
8866         (get_next_seq_nocache): New function.
8867         (do_compare_nocache): New function.
8868         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8869         when malloc fails.
8871 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
8873         [BZ #15754]
8874         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8875         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8876         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8878         [BZ #15754]
8879         * elf/Makefile (tests): Add tst-ptrguard1.
8880         (tests-static): Add tst-ptrguard1-static.
8881         (tst-ptrguard1-ARGS): Define.
8882         (tst-ptrguard1-static-ARGS): Define.
8883         * elf/tst-ptrguard1.c: New file.
8884         * elf/tst-ptrguard1-static.c: New file.
8885         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8886         * sysdeps/i386/stackguard-macros.h: Likewise.
8887         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8888         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8889         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8890         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8891         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8892         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8894 2013-09-23  Hector Marco  <hecmargi@upv.es>
8895             Ismael Ripoll  <iripoll@disca.upv.es>
8896             Carlos O'Donell  <carlos@redhat.com>
8898         [BZ #15754]
8899         * sysdeps/generic/stackguard-macros.h: Define
8900         __pointer_chk_guard_local and POINTER_CHK_GUARD.
8901         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8902         Define __pointer_chk_guard_local.
8903         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8904         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8906 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
8908         [BZ #15859]
8909         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8911 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
8913         * include/string.h (__ffs): Declare as hidden.
8914         * string/ffs.c (__ffs): Define as hidden.
8915         * sysdeps/i386/ffs.c (__ffs): Likewise.
8916         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8917         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8918         * sysdeps/s390/ffs.c (__ffs): Likewise.
8919         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8921 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
8923         * NEWS: Mention malloc probes.
8925         * malloc/arena.c (new_heap): New memory_heap_new probe.
8926         (grow_heap): New memory_heap_more probe.
8927         (shrink_heap): New memory_heap_less probe.
8928         (heap_trim): New memory_heap_free probe.
8929         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8930         (systrim): New memory_sbrk_less probe.
8931         * manual/probes.texi: Document them.
8933         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8934         * manual/probes.texi: Document it.
8936         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8937         (__libc_realloc): Add memory_realloc_retry probe.
8938         (__libc_memalign): Add memory_memalign_retry probe.
8939         (__libc_valloc): Add memory_valloc_retry probe.
8940         (__libc_pvalloc): Add memory_pvalloc_retry probe.
8941         (__libc_calloc): Add memory_calloc_retry probe.
8942         * manual/probes.texi: Document them.
8944         * malloc/arena.c (get_free_list): Add probe
8945         memory_arena_reuse_free_list.
8946         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8947         and memory_arena_reuse.
8948         (arena_get2) [!PER_THREAD]: Likewise.
8949         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8950         memory_arena_reuse_realloc.
8951         * manual/probes.texi: Document them.
8953         * malloc/malloc.c (__libc_free): Add
8954         memory_mallopt_free_dyn_thresholds probe.
8955         (__libc_mallopt): Add multiple memory_mallopt probes.
8956         * manual/probes.texi: Document them.
8958         * malloc/malloc.c: Include stap-probe.h.
8959         (__libc_mallopt): Add memory_mallopt probe.
8960         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8961         * manual/probes.texi: New.
8962         * manual/Makefile (chapters): Add probes.
8963         * manual/threads.texi: Set next node.
8965 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
8967         [BZ #15963, #13985]
8968         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8969         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8970         Add `Chinese' to `nan' entry name.
8972 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8974         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8975         (POLYNOMIAL): Likewise.
8976         (TAYLOR_SINCOS): Likewise.
8977         (TAYLOR_SLOW): Likewise.
8978         (__sin): Use TAYLOR_SINCOS.
8979         (__cos): Likewise.
8980         (slow): Use TAYLOR_SLOW.
8981         (sloww): Likewise.
8982         (bsloww): Likewise.
8983         (csloww): Likewise.
8985 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8987         * stdlib/strtod_l.c: Fix buffer overrun.
8989 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8991         * benchtests/Makefile (bench): Add sincos.
8992         * benchtests/bench-sincos.c: New file.
8994         * math/libm-test.inc (cos_test_data): New test inputs.
8995         (sin_test_data): Likewise.
8997         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8998         macro.
8999         (__sin): Use it.
9000         (__cos): Likewise.
9001         (slow1): Likewise.
9002         (slow2): Likewise.
9003         (sloww1): Likewise.
9004         (sloww2): Likewise.
9005         (bsloww1): Likewise.
9006         (bsloww2): Likewise.
9007         (cslow2): Likewise.
9008         (csloww1): Likewise.
9009         (csloww2): Likewise.
9011         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9012         function.
9013         (__sin): Use it.
9014         (__cos): Likewise.
9016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9017         gotos.
9018         (__cos): Likewise.
9020 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9022         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9023         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9024         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9025         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9026         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9027         * elf/cache.c (print_entry): Handle the new cache flags.
9029 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9030             Aldy Hernandez  <aldyh@redhat.com>
9032         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9033         Change condition to [_SOFT_FLOAT].
9034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9037         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9046         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9049         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9050         declaration.
9052 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9054         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9055         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9056         (__longjmp): Use LOAD_GP to load saved GPRs.
9057         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9058         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9059         (__sigsetjmp): Use SAVE_GP to save GPRs.
9061         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9062         Do not append -msoft-float.
9063         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9065 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9067         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9069 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9071         [BZ #15966]
9072         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9073         (_FPU_GETCW): Use initial "__" on variable and field names but not
9074         on macro parameter name.
9075         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9076         parentheses around reference to macro parameter.
9078 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9080         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9081         prototype.
9082         (ctype_startup): Use uint32_t in cast and sizeof for
9083         ctype->charnames.
9085 2013-09-11  Jia Liu  <proljc@gmail.com>
9087         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9088         __daddr_t_defined.
9089         [__FreeBSD__]: Likewise.
9091 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9094         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9095         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9096         (strchr): Remove __strchr_sse42 ifunc selection.
9097         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9098         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9100 2013-09-11  Will Newton  <will.newton@linaro.org>
9102         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9103         parameter to RES. Remove hardcoded 1000 value.
9104         * benchtests/bench-skeleton.c (main): Pass RES parameter
9105         to TIMING_INIT and multiply result by 1000.
9107 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9111 2013-09-11  Andreas Schwab  <schwab@suse.de>
9113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9114         if not defined.
9115         (O_TMPFILE) [__USE_GNU]: Define.
9116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9117         Define.
9119 2013-09-11  Will Newton  <will.newton@linaro.org>
9121         [BZ #15857]
9122         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9123         does not overflow.
9125 2013-09-11  Will Newton  <will.newton@linaro.org>
9127         [BZ #15856]
9128         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9129         does not overflow.
9131 2013-09-11  Will Newton  <will.newton@linaro.org>
9133         [BZ #15855]
9134         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9135         does not overflow.
9137 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9139         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9140         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9141         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9142         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9143         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9145 2013-09-10  Allan McRae  <allan@archlinux.org>
9147         [BZ #15748]
9148         * manual/arith.texi (Parsing of Floats): Clarify
9149         cross-reference.
9151         [BZ #15849]
9152         * manual/install.texi (Running make install): Mention
9153         --enable-pt-chown.
9154         * INSTALL: Regenerated.
9156 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9158         * csu/init-first.c (_init): Remove the !SHARED condition around
9159         FPU control word initialization.
9160         * elf/dl-support.c (_dl_fpu_control): New variable.
9161         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9162         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9163         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9164         * math/test-fpucw-static.c: New file.
9165         * math/test-fpucw-ieee.c: New file.
9166         * math/test-fpucw-ieee-static.c: New file.
9167         * math/Makefile (tests): Add `test-fpucw-ieee' and
9168         `$(tests-static)'.
9169         (tests-static): New variable.
9170         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9171         dependency to...
9172         [($(build-shared),yes)]
9173         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9174         ... this.
9175         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9176         New dependency.
9178 2013-09-09  Allan McRae  <allan@archlinux.org>
9180         [BZ #15939]
9181         * manual/string.texi (Collation Functions): Fix typo in
9182         strcoll example.
9183         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9185         [BZ #15893]
9186         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9188         [BZ #15892]
9189         * libio/memstream.c (open_memstream): Fix memory leak.
9190         * libio/wmemstream.c (open_wmemstream): Likewise.
9192         [BZ #15895]
9193         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9195 2013-09-09  Will Newton  <will.newton@linaro.org>
9197         * malloc/Makefile: Add tst-realloc to tests.
9198         * malloc/tst-realloc.c: New file.
9200 2013-09-09  Allan McRae  <allan@archlinux.org>
9202         [BZ #15844]
9203         * COPYING: Update from GNU website to fix FSF address.
9204         * COPYING.LIB: Likewise.
9206 2013-09-06  David S. Miller  <davem@davemloft.net>
9208         * po/zh_TW.po: Update Chinese (traditional) translation from
9209         translation project.
9211 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9212             Joseph Myers  <joseph@codesourcery.com>
9214         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9215         "localeinfo.h".
9216         (obstack_chunk_alloc): New macro.
9217         (obstack_chunk_free): Likewise.
9218         (record_offset): New function.
9219         (init_locale_data): Likewise.
9220         (align_locale_data): Likewise.
9221         (add_locale_empty): Likewise.
9222         (add_locale_raw_data): Likewise.
9223         (add_locale_raw_obstack): Likewise.
9224         (add_locale_string): Likewise.
9225         (add_locale_wstring): Likewise.
9226         (add_locale_uint32): Likewise.
9227         (add_locale_uint32_array): Likewise.
9228         (add_locale_char): Likewise.
9229         (start_locale_structure): Likewise.
9230         (end_locale_structure): Likewise.
9231         (start_locale_prelude): Likewise.
9232         (end_locale_prelude): Likewise.
9233         (write_locale_data): Take locale_file structure rather than an
9234         iovec.
9235         * locale/programs/locfile.h: Include "obstack.h".
9236         (struct locale_file): Change to store locale file contents instead
9237         of header.
9238         (init_locale_data): New prototype.
9239         (align_locale_data): Likewise.
9240         (add_locale_empty): Likewise.
9241         (add_locale_raw_data): Likewise.
9242         (add_locale_raw_obstack): Likewise.
9243         (add_locale_string): Likewise.
9244         (add_locale_wstring): Likewise.
9245         (add_locale_uint32): Likewise.
9246         (add_locale_uint32_array): Likewise.
9247         (add_locale_char): Likewise.
9248         (start_locale_structure): Likewise.
9249         (end_locale_structure): Likewise.
9250         (start_locale_prelude): Likewise.
9251         (end_locale_prelude): Likewise.
9252         (write_locale_data): Update prototype.
9253         * locale/programs/3level.h (struct TABLE): Remove result field.
9254         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9255         Use new locale_file interface.
9256         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9257         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9258         * locale/programs/ld-address.c (address_output): Use new
9259         locale_file interface.
9260         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9261         NO_ADD_LOCALE.
9262         (collate_finish): Don't call collseq_table_finalize.
9263         (collate_output): Use new locale_file interface.
9264         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9265         in file.
9266         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9267         (TABLE): Move defines earlier in file.
9268         (ELEMENT): Likewise.
9269         (DEFAULT): Likewise.
9270         (wctrans_table_add): Move macro and inline function earlier in
9271         file.
9272         (struct wctype_table): Move type earlier in file.
9273         (add_locale_wctype_table): New static prototype.
9274         (struct locale_ctype_t): Use logical types instead of struct iovec
9275         pointers for members.
9276         (ctype_output): Use new locale_file interface.
9277         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9278         new locale_file interface.
9279         (allocate_arrays): Update for use of new locale_file interface.
9280         * locale/programs/ld-identification.c (identification_output): Use
9281         new locale_file interface.
9282         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9283         * locale/programs/ld-messages.c (messages_output): Likewise.
9284         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9285         * locale/programs/ld-name.c (name_output): Likewise.
9286         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9287         * locale/programs/ld-paper.c (paper_output): Likewise.
9288         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9289         * locale/programs/ld-time.c (time_output): Likewise.
9291 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9293         * benchtests/Makefile: Add memrchr benchmark.
9294         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9295         benchmark as memrchr.
9296         * benchtests/bench-memrchr-ifunc.c: New file.
9297         * benchtests/bench-memrchr.c: New file.
9299 2013-09-06   Will Newton  <will.newton@linaro.org>
9301         * benchtests/Makefile (string-bench): Add memcpy.
9303 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
9304             Cong Wang  <amwang@redhat.com>
9306         [BZ #15850]
9307         * sysdeps/unix/sysv/linux/bits/in.h
9308         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9309         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9310         before __USE_KERNEL_IPV6_DEFS uses.
9311         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9312         IPPROTO_BEETPH.
9313         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9314         sockaddr_in6, or ipv6_mreq.
9316 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9318         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9319         memory access for final bytes in some large inputs.
9320         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9322 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9324         * string/test-memrchr.c: New file.
9325         * string/test-memrchr-ifunc.c: New file.
9326         * string/Makefile: Add new memrchr testcase.
9328 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
9330         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9331         fanotify_init returns EPERM.
9333 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9335         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9336         errors.
9337         (top level): Treat second token from macro or constant entries for
9338         allowed headers as allowed.
9339         * include/complex.h: Condition internal declarations on
9340         [!_ISOMAC].
9341         * include/fenv.h: Condition include of <stdbool.h> and internal
9342         declarations on [!_ISOMAC].
9344 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
9346         [BZ #15923]
9347         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9349 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9351         * configure.in (--enable-versioning): Remove configure option.
9352         (libc_cv_asm_symver_directive): Remove configure test.
9353         (libc_cv_ld_version_script_option): Likewise.
9354         (VERSIONING): Remove variable and AC_SUBST.
9355         (DO_VERSIONING): Remove AC_DEFINE.
9356         * configure: Regenerated.
9357         * config.h.in (DO_VERSIONING): Remove macro.
9358         * Makerules [$(versioning) = yes]: Change conditionals to
9359         [$(build-shared) = yes].
9360         * config.make.in (versioning): Remove variable.
9361         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9362         [$(build-shared) = yes].
9363         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9364         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9365         * elf/Makefile [$(versioning) = yes]: Change conditionals to
9366         [$(build-shared) = yes].
9367         * extra-lib.mk [$(versioning) = yes]: Likewise.
9368         * hurd/Makefile [$(versioning) = yes]: Likewise.
9369         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9370         [SHARED].
9371         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9372         [SHARED].
9373         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9374         [SHARED && !NO_HIDDEN].
9375         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9376         [SHARED].
9377         [SHARED && DO_VERSIONING]: Likewise..
9378         * libio/Makefile [$(versioning) = yes]: Change conditionals to
9379         [$(build-shared) = yes].
9380         * manual/install.texi (--disable-versioning): Remove
9381         documentation.
9382         * INSTALL: Regenerated.
9383         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9384         to [SHARED].
9385         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9386         [$(build-shared) = yes].
9387         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9388         * sysdeps/i386/i686/multiarch/strstr-c.c
9389         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9390         [SHARED && !NO_HIDDEN].
9391         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9392         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9393         * sysdeps/powerpc/powerpc32/dl-machine.c
9394         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9395         * sysdeps/powerpc/powerpc32/sysdep.h
9396         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9397         to [SHARED && PIC && !NO_HIDDEN].
9398         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9399         conditional to [SHARED].
9401 2013-09-04   Will Newton  <will.newton@linaro.org>
9403         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9404         * benchtests/bench-string.h: Include bench-timing.h instead
9405         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9406         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9407         call to HP_TIMING_DIFF_INIT.
9408         * benchtests/bench-memccpy.c: Use bench-timing.h macros
9409         instead of hp-timing.h macros.
9410         * benchtests/bench-memchr.c: Likewise.
9411         * benchtests/bench-memcmp.c: Likewise.
9412         * benchtests/bench-memcpy.c: Likewise.
9413         * benchtests/bench-memmem.c: Likewise.
9414         * benchtests/bench-memmove.c: Likewise.
9415         * benchtests/bench-memset.c: Likewise.
9416         * benchtests/bench-rawmemchr.c: Likewise.
9417         * benchtests/bench-strcasecmp.c: Likewise.
9418         * benchtests/bench-strcasestr.c: Likewise.
9419         * benchtests/bench-strcat.c: Likewise.
9420         * benchtests/bench-strchr.c: Likewise.
9421         * benchtests/bench-strcmp.c: Likewise.
9422         * benchtests/bench-strcpy.c: Likewise.
9423         * benchtests/bench-strcpy_chk.c: Likewise.
9424         * benchtests/bench-strlen.c: Likewise.
9425         * benchtests/bench-strncasecmp.c: Likewise.
9426         * benchtests/bench-strncat.c: Likewise.
9427         * benchtests/bench-strncmp.c: Likewise.
9428         * benchtests/bench-strncpy.c: Likewise.
9429         * benchtests/bench-strnlen.c: Likewise.
9430         * benchtests/bench-strpbrk.c: Likewise.
9431         * benchtests/bench-strrchr.c: Likewise.
9432         * benchtests/bench-strspn.c: Likewise.
9433         * benchtests/bench-strstr.c: Likewise.
9435 2013-09-04  Will Newton  <will.newton@linaro.org>
9437         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9439 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
9441         [BZ #15427]
9442         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9443         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9444         * math/libm-test.inc (lgamma_test_data): Add more tests.
9445         * sysdeps/i386/fpu/libm-test-ulps: Update.
9446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9448 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
9450         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9452         Add ifunc.
9453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9454         Add strcmp-sse2-unaligned
9455         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9457 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9459         * Versions.def (libc): Add GLIBC_2.19.
9461 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9463         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9464         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9466 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
9468         [BZ #14155]
9469         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9470         intermediate calculations in recurrence.
9471         (__ieee754_ynf): Likewise.
9472         * math/libm-test.inc (jn_test_data): Do not allow spurious
9473         underflow exception.  Add more tests.
9474         (yn_test_data): Add more tests.
9475         * sysdeps/i386/fpu/libm-test-ulps: Update.
9476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9478 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
9480         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9482 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9484         * csu/init-first.c: Fix then/than typos.
9485         * locale/programs/ld-collate.c: Likewise.
9486         * locale/programs/linereader.h: Likewise.
9487         * manual/charset.texi: Likewise.
9488         * manual/filesys.texi: Likewise.
9489         * manual/stdio.texi: Likewise.
9490         * manual/string.texi: Likewise.
9491         * stdlib/fmtmsg.c: Likewise.
9492         * sysdeps/i386/stpncpy.S: Likewise.
9493         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9494         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9496         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9498 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9500         * elf/dl-open.c: Fix typos.
9501         * iconvdata/gbbig5.c: Likewise.
9502         * iconvdata/iso-2022-jp.c: Likewise.
9503         * iconv/gconv_int.h: Likewise.
9504         * iconv/loop.c: Likewise.
9505         * nis/rpcsvc/nis.h: Likewise.
9506         * resolv/ns_name.c: Likewise.
9507         * stdio-common/vfscanf.c: Likewise.
9508         * streams/stropts.h: Likewise.
9509         * sunrpc/rpc_thread.c: Likewise.
9510         * sysdeps/i386/strpbrk.S: Likewise.
9511         * sysdeps/ieee754/k_standard.c: Likewise.
9512         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9513         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9514         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9515         * sysdeps/mach/hurd/profil.c: Likewise.
9516         * sysdeps/s390/dl-procinfo.h: Likewise.
9517         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9518         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9519         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9520         * sysdeps/x86_64/dl-trampoline.S: Likewise.
9521         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9523 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
9525         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9528 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
9530         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9531         aix specific files.
9532         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9533         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9534         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9535         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9536         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9537         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9538         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9539         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9541 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9542             Roland McGrath  <roland@hack.frob.com>
9544         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9545         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9547 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9549         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9550         __executable_start symbol instead of _start.
9552 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9554         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9555         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9556         Move macros to...
9557         * sysdeps/gnu/ldsodefs.h: ... this new file.
9559         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9560         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9561         instead of ELFOSABI_LINUX.
9563         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9564         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9565         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9566         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9567         Likewise.
9568         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9569         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9570         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9571         Likewise.
9572         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9573         (ibm_extended_long_double): Add ieee_nan member.
9574         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9575         (do_test): New function.
9577         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9578         TEST_TRUNC.
9579         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9580         functions, renamed from truncdfsf_test, trunctfsf_test,
9581         trunctfdf_test.
9582         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9583         functions.
9584         (do_test): Run all these.
9586 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
9588         * argp/argp-help.c: Fix typos.
9589         * argp/argp-parse.c: Likewise.
9590         * debug/backtracesyms.c: Likewise.
9591         * elf/elf.h: Likewise.
9592         * malloc/malloc.c: Likewise.
9593         * nis/nis_print.c: Likewise.
9594         * resolv/res_comp.c: Likewise.
9595         * stdlib/stdlib.h: Likewise.
9596         * sunrpc/clnt_tcp.c: Likewise.
9597         * sunrpc/clnt_udp.c: Likewise.
9598         * sunrpc/clnt_unix.c: Likewise.
9599         * sysdeps/unix/bsd/ptsname.c: Likewise.
9600         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9601         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9603         Likewise.
9604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9605         Likewise.
9606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9607         Likewise.
9608         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9610 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9612         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9615 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
9617         [BZ #15897]
9618         * dlfcn/Makefile (tests): Add bug-dl-leaf.
9619         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9620         ($(objpfx)bug-dl-leaf): New rule.
9621         ($(objpfx)bug-dl-leaf.so): Likewise.
9622         ($(objpfx)bug-dl-leaf.out): Likewise.
9623         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9624         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9625         * dlfcn/bug-dl-leaf.c: New test.
9626         * dlfcn/bug-dl-leaf-lib.c: Likewise.
9627         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9628         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9629         (dlclose): Likewise.
9630         (dlmopen): Likewise.
9632 2013-08-27  Roland McGrath  <roland@hack.frob.com>
9634         * include/netdb.h [!_ISOMAC]:
9635         Don't include <tls.h>.
9636         (h_errno, __libc_h_errno): Move declaration and macros out of
9637         [_LIBC_REENTRANT].
9639         * include/resolv.h [_RESOLV_H_]:
9640         Don't include <tls.h>.
9641         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9642         * resolv/res_libc.c: Don't include <tls.h>.
9643         (_res): Use __attribute__ ((nocommon)) in place of
9644         __attribute__ ((section (".bss"))).
9646         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9647         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9649         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9651         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9652         only under [SIOCGIFCONF && SIOCGIFNETMASK].
9654         * resolv/res_mkquery.c: Include <sys/time.h>.
9656         * inet/ifreq.c: Moved to ...
9657         * sysdeps/unix/ifreq.c: ... here.
9658         * inet/ifreq.c: New file, true stub version.
9660         * socket/sa_len.c: New file.
9661         * socket/Makefile (aux): Add it.
9662         * sysdeps/unix/sysv/linux/Makefile
9663         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9664         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9665         and #include <socket/sa_len.c>.
9666         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9667         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9669         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9670         * bits/socket.h: ... here.
9672         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9673         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9674         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9676 2013-08-27  Andreas Schwab  <schwab@suse.de>
9678         [BZ #15736]
9679         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9680         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9681         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9682         * string/test-strcasecmp.c (test_main): Run tests in several
9683         locales.
9684         * string/test-strncasecmp.c (test_main): Likewise.
9686         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9687         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9688         to __strcasecmp_nonascii and __strncasecmp_nonascii.
9689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9690         (__strncasecmp_ssse3) [PIC]: Likewise.
9692 2013-08-26  Roland McGrath  <roland@hack.frob.com>
9694         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9696         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9697         instead of explicitly declaring xdecrypt.
9698         * nis/nss_nis/nis-publickey.c: Likewise.
9700 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9702         [BZ #15890]
9703         * nscd/aicache.c: Include res_hconf.h.
9704         (addhstaiX): Initialize res_hconf.
9706 2013-08-26  Andreas Schwab  <schwab@suse.de>
9708         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9709         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9711 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9713         * nscd/aicache.c (addhstaiX): Fix indentation.
9715 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
9717         * configure.ac: Quote $build_pt_chown test.
9718         * configure: Regenerated.
9720 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
9722         [BZ #15532]
9723         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9724         * math/s_cexpf.c (__cexpf): Likewise.
9725         * math/s_cexpl.c (__cexpl): Likewise.
9726         * math/libm-test.inc (cexp_test_data): Correct expected return
9727         value for NaN + i0.  Add another test.
9729 2013-08-22  David S. Miller  <davem@davemloft.net>
9731         * po/ca.po: Update Catalan translation from translation project.
9732         * po/uk.po: Add Ukrainian translations from translation project.
9734 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
9736         [BZ #15797]
9737         * math/s_fdim.c (__fdim): Check for infinite arguments if result
9738         is infinite, not alongside NaN test.
9739         * math/s_fdimf.c (__fdimf): Likewise.
9740         * math/s_fdiml.c (__fdiml): Likewise.
9741         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
9742         errno is unchanged.
9744 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
9746         * argp/argp-help.c: Fix typos.
9747         * crypt/speeds.c: Likewise.
9748         * csu/check_fds.c: Likewise.
9749         * elf/dl-load.c: Likewise.
9750         * elf/dl-open.c: Likewise.
9751         * elf/reldep3.c: Likewise.
9752         * elf/reldep.c: Likewise.
9753         * elf/sprof.c: Likewise.
9754         * iconv/iconv_charmap.c: Likewise.
9755         * iconv/skeleton.c: Likewise.
9756         * iconv/strtab.c: Likewise.
9757         * io/lockf64.c: Likewise.
9758         * libio/libioP.h: Likewise.
9759         * resolv/gai_notify.c: Likewise.
9760         * resolv/ns_name.c: Likewise.
9761         * resolv/ns_samedomain.c: Likewise.
9762         * resolv/res_send.c: Likewise.
9763         * stdlib/random.c: Likewise.
9764         * sunrpc/rpc/xdr.h: Likewise.
9765         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9766         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9767         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9768         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9769         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9770         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9771         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9772         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9773         * sysdeps/mach/hurd/check_fds.c: Likewise.
9774         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9775         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9776         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9777         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9778         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9779         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9780         * sysdeps/pthread/aio_notify.c: Likewise.
9781         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9782         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9783         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9784         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9785         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9787 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9789         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9790         version if bit_Slow_SSE4_2 is set.
9791         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9792         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9794 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9796         [BZ #15867]
9797         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9798         trampoline stack frame information.
9799         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9800         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9801         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9802         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9803         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9804         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9805         (_libc_vdso_platform_setup): Initialize the signal trampolines.
9806         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9807         sa_flags value.
9808         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9809         interrupting a syscall and set with option SA_SIGINFO.
9811 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9813         [BZ #15531]
9814         * math/s_cproj.c (__cproj): Only return an infinity if one part of
9815         argument is infinite.
9816         * math/s_cprojf.c (__cprojf): Likewise.
9817         * math/s_cprojl.c (__cprojl): Likewise.
9818         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9819         * math/libm-test.inc (cproj_test_data): Add more tests.
9821         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9823         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9824         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9825         size.  Use __ffs to determine corresponding shift.
9827 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9828             Roland McGrath  <roland@hack.frob.com>
9830         * Makefile (INSTALL): Remove trailing blank lines from output of
9831         makeinfo.
9833 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9835         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9836         Align 32 bit compat elf_greg to 8 bytes.
9838 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9840         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9842 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9844         * string/strcoll_l.c (coll_seq): New structure.
9845         (get_next_seq_cached): New function.
9846         (get_next_seq): New function.
9847         (do_compare): New function.
9848         (STRCOLL): Use GNU style definition.  Simplify implementation
9849         by using get_next_seq, get_next_seq_cached and do_compare.
9851 2013-08-16  Florian Weimer  <fweimer@redhat.com>
9853         [BZ #14699]
9854         CVE-2013-4237
9855         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9856         member.
9857         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9858         member.
9859         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9860         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9861         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
9862         conditional.
9863         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9864         GETDENTS_64BIT_ALIGNED.
9865         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9866         * manual/filesys.texi (Reading/Closing Directory): Document
9867         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
9868         strongly.
9869         * manual/conf.texi (Limits for Files): Add portability note to
9870         NAME_MAX, PATH_MAX.
9871         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9873 2013-08-13  Andreas Schwab  <schwab@suse.de>
9875         [BZ #15749]
9876         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9877         of fabs.
9878         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9879         LDBL_MAX_EXP >= 16384]: Add tests for it.
9881 2013-08-12  David S. Miller  <davem@davemloft.net>
9883         * version.h (RELEASE): Set to "development".
9884         (VERSION): Set to "2.18.90".
9885         * NEWS: Add 2.19 section.
9887 2013-08-03  David S. Miller  <davem@davemloft.net>
9889         * po/ko.po: Update Korean translation from translation project.
9891 2013-08-01  David S. Miller  <davem@davemloft.net>
9893         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
9894         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9895         Bilka.
9897 2013-07-30  David S. Miller  <davem@davemloft.net>
9899         * po/fr.po: Update French translation from translation project.
9901 2013-07-28  David S. Miller  <davem@davemloft.net>
9903         * po/cs.po: Update Czech translation from translation project.
9905         * po/sv.po: Update Swedish translation from translation project.
9907 2013-07-27  David S. Miller  <davem@davemloft.net>
9909         * po/eo.po: Update Esperanto translation from translation project.
9911         * po/vi.po: Update Vietnamese translation from translation project.
9913         * po/de.po: Update German translation from translation project.
9915 2013-07-26  David S. Miller  <davem@davemloft.net>
9917         * po/bg.po: Update Bulgarian translation from translation project.
9919         * po/nl.po: Update Dutch translation from translation project.
9920         * po/pl.po: Update Polish translation from translation project.
9921         * po/ru.po: Update Russian translation from translation project.
9923 2013-07-24  David S. Miller  <davem@davemloft.net>
9925         * po/libc.pot: Update.
9927 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9929         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9930         variable page size.
9931         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9932         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9933         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9935 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9937         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9939 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9940             Andreas Schwab  <schwab@suse.de>
9941             Roland McGrath  <roland@hack.frob.com>
9942             Joseph Myers  <joseph@codesourcery.com>
9943             Carlos O'Donell  <carlos@redhat.com>
9945         [BZ #15755]
9946         * config.h.in: Define HAVE_PT_CHOWN.
9947         * config.make.in (build-pt-chown): New variable.
9948         * configure.in (--enable-pt_chown): New configure option.
9949         * configure: Regenerate.
9950         * login/Makefile: Include Makeconfig.  Build pt_chown only if
9951         build-pt-chown is enabled.
9952         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9953         pt_chown to fix pty ownership.
9954         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9955         CLOSE_ALL_FDS.
9956         * manual/install.texi (Configuring and compiling): Mention
9957         --enable-pt_chown. Add @findex for grantpt.
9958         * INSTALL: Regenerate.
9960 2013-07-20  David S. Miller  <davem@davemloft.net>
9962         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9963         difference between 32-bit and 64-bit.
9965 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
9967         [BZ #15711]
9968         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9969         Avoid system header dependency with -ffreestanding.
9970         ($(objpfx)bits/syscall%d): Likewise.
9972 2013-07-13  David S. Miller  <davem@davemloft.net>
9974         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9975         underflows from atanl/atan2l due to bug 15319.
9976         (casinh_test_data): Likewise.
9978 2013-07-07  David S. Miller  <davem@davemloft.net>
9980         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9982 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
9984         * sysdeps/i386/fpu/libm-test-ulps: Update.
9985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9987 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9989         * configure.in (--enable-lock-elision): Fix message text.
9990         * INSTALL: Regenerate.
9991         * configure: Regenerate.
9993 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9997 2013-07-03  Andreas Jaeger  <aj@suse.de>
9999         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10000         define.
10001         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10002         (ptrace_peeksiginfo_args): Add.
10003         (__ptrace_peeksiginfo_flags): Add.
10004         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10006         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10008 2013-07-03  Allan McRae  <allan@archlinux.org>
10010         * sysdeps/i386/fpu/libm-test-ulps: Update.
10012 2013-07-02  David S. Miller  <davem@davemloft.net>
10014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10016 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10020 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10022         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10025 2013-07-02  Andi Kleen <ak@linux.intel.com>
10027         * config.h.in (ENABLE_LOCK_ELISION): Add.
10028         * configure.in (--enable-lock-elision): Add option.
10029         * manual/install.texi: Document --enable lock elision.
10030         * configure: Regenerate
10031         * INSTALL: Regenerate.
10033 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10035         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10036         SSE4.2 strcasecmp for libc.a.
10037         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10039 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10041         [BZ #13304]
10042         * soft-fp/op-common.h (_FP_FMA): New macro.
10043         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10044         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10045         (_FP_MUL_MEAT_1_imm): ... here.
10046         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10047         (_FP_MUL_MEAT_1_wide): ... here.
10048         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10049         (_FP_MUL_MEAT_1_hard): ... here.
10050         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10051         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10052         (_FP_MUL_MEAT_2_wide): ... here.
10053         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10054         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10055         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10056         (_FP_MUL_MEAT_2_gmp): ... here.
10057         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10058         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10059         (_FP_MUL_MEAT_4_wide): ... here.
10060         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10061         (_FP_MUL_MEAT_4_gmp): ... here.
10062         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10063         (_FP_WFRACBITS_DW_S): Likewise.
10064         (_FP_WFRACXBITS_DW_S): Likewise.
10065         (_FP_HIGHBIT_DW_S): Likewise.
10066         (FP_FMA_S): Likewise.
10067         (_FP_FRAC_HIGH_DW_S): Likewise.
10068         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10069         (_FP_WFRACBITS_DW_D): Likewise.
10070         (_FP_WFRACXBITS_DW_D): Likewise.
10071         (_FP_HIGHBIT_DW_D): Likewise.
10072         (FP_FMA_D): Likewise.
10073         (_FP_FRAC_HIGH_DW_D): Likewise.
10074         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10075         (_FP_WFRACBITS_DW_E): Likewise.
10076         (_FP_WFRACXBITS_DW_E): Likewise.
10077         (_FP_HIGHBIT_DW_E): Likewise.
10078         (FP_FMA_E): Likewise.
10079         (_FP_FRAC_HIGH_DW_E): Likewise.
10080         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10081         (_FP_WFRACBITS_DW_Q): Likewise.
10082         (_FP_WFRACXBITS_DW_Q): Likewise.
10083         (_FP_HIGHBIT_DW_Q): Likewise.
10084         (FP_FMA_Q): Likewise.
10085         (_FP_FRAC_HIGH_DW_Q): Likewise.
10086         * soft-fp/fmasf4.c: New file.
10087         * soft-fp/fmadf4.c: Likewise.
10088         * soft-fp/fmatf4.c: Likewise.
10090 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10093         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10094         Silvermont.
10095         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10096         macro.
10097         (index_Slow_SSE4_2): Likewise.
10098         (index_Prefer_PMINUB_for_stringop): Likewise.
10099         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10100         bit_Slow_SSE4_2 is set.
10101         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10102         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10104 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10106         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10107         rtld_global._dl_hwcap2.
10108         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10109         POWER8.
10110         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10111         POWER8 feature descriptions defined in _dl_hwcap2.
10112         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10113         string handling for POWER8 feature bits.
10114         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10115         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10116         _dl_powerpc_cap_flags.
10117         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10118         * sysdeps/powerpc/rtld-global-offsets.sym
10119         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10120         _dl_hwcap2 in the rtld_global_ro structure.
10122 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10124         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10125         hardware capabilities in support of AT_HWCAP2.
10126         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10127         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10128         GLRO(dl_hwcap2).
10129         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10130         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10131         explicitly the unknown a_type display mechanism is used.
10132         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10133         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10134         struct member.
10135         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10136         to macro prototype for AT_HWCAP2 support.
10137         * sysdeps/i386/dl-procinfo.h: Likewise.
10138         * sysdeps/s390/dl-procinfo.h: Likewise.
10139         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10140         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10141         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10142         return -1 for unknown a_type display fallback.
10143         * sysdeps/sparc/dl-procinfo.h: Likewise.
10144         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10145         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10147 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10149         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10150         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10152 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10154         [BZ #12492]
10155         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10156         mprotect making __stack_prot writable.
10158 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10159             Joseph Myers  <joseph@codesourcery.com>
10161         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10162         as being properly aligned.
10164 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10166         * dlfcn/modstatic5.c: New file.
10167         * dlfcn/tststatic5.c: New file.
10168         * dlfcn/Makefile (tests): Add tststatic5.
10169         (tests-static): Likewise.
10170         (modules-names): Add modstatic5.
10171         (tststatic5-ENV): New variable.
10172         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10174         [BZ #15022]
10175         * elf/dl-support.c (_dl_main_map): New variable.
10176         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10177         (_dl_nns, _dl_load_adds): Set to 1.
10178         (_dl_initial_searchlist): Refer to _dl_main_map.
10179         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10180         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10181         call to _dl_get_origin.
10182         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10183         around call_map.
10184         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10185         * dlfcn/modstatic3.c: New file.
10186         * dlfcn/tststatic3.c: New file.
10187         * dlfcn/tststatic4.c: New file.
10188         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10189         (tests-static): Likewise.
10190         (modules-names): Add modstatic3.
10191         (tststatic3-ENV, tststatic4-ENV): New variables.
10192         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10193         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10195 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10197         * configure.in (CC): Require GCC version 4.4 or later.
10198         * configure: Regenerated.
10199         * manual/install.texi (Tools for Compilation): Update GCC version
10200         requirement.
10201         * INSTALL: Regenerated.
10203 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10205         [BZ #15674]
10206         * string/test-memcmp.c (check2): New.
10207         (main): Call check2.
10209         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10211 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10213         [BZ #15022]
10214         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10215         over to...
10216         (dl_open_worker) [!SHARED]: ... here.
10218 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10220         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10222 2013-06-25  Richard Henderson  <rth@redhat.com>
10224         * locale/programs/locarchive.c: Include <libc-internal.h>
10226 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10228         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10229         trailing whitespace removed.
10231 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10233         [BZ #10283]
10234         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10235         * locale/programs/locarchive.c: Include libc-mmap.h.
10236         (prepare_address_space): Take two new outputs (the mmap base and len).
10237         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10238         values.
10239         (create_archive): Declare new mmap base and len values for
10240         prepare_address_space, and store the result in ah.
10241         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10242         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10243         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10244         Declare new mmap base and len values for
10245         prepare_address_space, and store the result in new_ah.
10246         (open_archive): Declare new mmap base and len values for
10247         prepare_address_space, and store the result in ah.
10248         (close_archive): If ah->mmap_base is not NULL, use that and
10249         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10250         * sysdeps/generic/libc-mmap.h: New file.
10252 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10254         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10255         (ALIGN_UP): Likewise.
10256         (PTR_ALIGN_DOWN): Likewise.
10257         (PTR_ALIGN_UP): Likewise.
10259 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10261         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10262         entry mapped to PPC_PLATFORM_POWER8.
10263         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10264         POWER8.
10265         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10266         (_dl_string_platform): Add case for exporting platform position for
10267         POWER8.
10268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10269         search path to sysdeps/powerpc/powerpc32/power8 directory.
10270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10271         search path to sysdeps/powerpc/powerpc64/power8 directory.
10272         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10273         power7 directories.
10274         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10275         power7 directories.
10277 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10279         * INSTALL: Regenerate.
10281         * nscd/connections.c (nscd_init): Fix comment.
10283 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10285         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10287         [BZ #15667]
10288         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10289         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10291 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10293         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10294         DL_DST_REQ_STATIC.
10295         (DL_DST_REQ_STATIC): Remove macro.
10297 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10299         [BZ #7006]
10300         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10301         with a shift of 0 bits.
10303 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10305         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10306         $(tststatic-ENV).
10308 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10310         [BZ #15655]
10311         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10313 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10315         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10316         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10317         accepts -fno-tree-loop-distribute-patterns.
10318         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10319         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10320         recursive call.
10321         * string/memset.c (memset): Likewise.
10322         * string/test-memmove.c (simple_memmove): Disable loop transformation
10323         to library calls.
10324         * string/test-memset.c (simple_memset): Likewise.
10325         * benchtests/bench-memmove.c (simple_memmove): Likewise.
10326         * benchtests/bench-memset.c (simple_memset): Likewise.
10327         * configure: Regenerated.
10329 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
10331         * math/test-misc.c (main): Ignore fesetround failure when failures
10332         of subsequent rounding tests would be ignored.
10334         [BZ #15654]
10335         * math/fedisblxcpt.c (fedisableexcept): Return 0.
10336         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10337         * math/fegetenv.c (__fegetenv): Return 0.
10338         * math/fegetexcept.c (fegetexcept): Return 0.
10339         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10340         FE_TONEAREST.
10341         * math/feholdexcpt.c (feholdexcept): Return 0.
10342         * math/fesetenv.c (__fesetenv): Return 0.
10343         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10344         argument FE_TONEAREST.
10345         * math/feupdateenv.c (__feupdateenv): Return 0.
10346         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10348 2013-06-18  Roland McGrath  <roland@hack.frob.com>
10350         * elf/rtld-Rules (rtld-compile-command.S): New variable.
10351         (rtld-compile-command.s, rtld-compile-command.c): New variables.
10352         ($(objpfx)rtld-%.os rules): Use them.
10354 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10356         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10357         fields.
10359 2013-06-17  Roland McGrath  <roland@hack.frob.com>
10361         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10362         length of target pattern, then descending length of dependency pattern.
10363         * configure.in (AWK): Require gawk 3.1.2 or newer.
10364         * manual/install.texi (Tools for Compilation): Say that we do.
10365         * configure: Regenerated.
10367         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10368         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10369         * scripts/sysd-rules.awk: ... this new script.
10370         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10371         than a glob-style pattern.
10373 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
10375         * math/test-misc.c (main): Do not treat incorrectly rounded
10376         conversions as failure unless ROUNDING_TESTS passes.
10378 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
10380         [BZ #15631]
10381         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10382         restore exception state around main square root computation, then
10383         check for inexactness explicitly.
10385         * math/libm-test.inc (fma_test_data): Add another test.
10387 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10389         * manual/threads.texi (Non-POSIX Extensions): New document
10390         node.  Document pthread_getattr_default_np and
10391         pthread_setattr_default_np.
10393         * Versions.def (libpthread): Add GLIBC_2.18.
10394         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10400         Likewise.
10401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10402         Likewise.
10403         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10404         Likewise.
10405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10406         Likewise.
10407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10408         Likewise.
10409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10410         Likewise.
10411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10412         Likewise.
10414 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10417         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10419 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10420             H.J. Lu  <hjl.tools@gmail.com>
10422         [BZ #15627]
10423         * sysdeps/x86_64/rtld-memset.c: Remove file.
10424         * sysdeps/x86_64/rtld-memset.S: New file.
10426 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
10428         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10429         (test_in_one_mode): Take arguments for whether the rounding mode
10430         is supported for each floating-point type.
10431         (do_test): Pass new arguments to test_in_one_mode using
10432         ROUNDING_TESTS.
10434 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10436         * posix/tst-waitid.c (do_test): Distinguish different instances of
10437         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
10438         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10439         before entering the kernel for waitpid.
10441 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10443         * NEWS: Fix note on clock function precision.  Text by Roland
10444         McGrath.
10446 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10448         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10449         it into place only when and if the sanity check passes.
10451 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
10453         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10454         output for whether conversion result is exact.  Take argument
10455         indicating whether type is IBM long double.
10456         (round_for_all): Change need_exact field to ibm_ld.
10457         * stdlib/tst-strtod-round.c (struct exactness): New type.
10458         (struct test): Change bool ld_ok field to struct exactness exact.
10459         (TEST): Update all definitions for change to field.
10460         (tests): Regenerate array contents.
10461         (test_in_one_mode): Take pointer to new field instead of old ld_ok
10462         field value.  Check for IBM long double here.
10463         (do_test): Update calls to test_in_one_mode.
10465 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10467         [BZ #12515]
10468         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10469         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10471 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10473         [BZ #15605]
10474         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10475         generated by the compiler on loop optimizations.
10476         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10477         general definitions.
10479 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
10481         * math/bug-nextafter.c: Include <math-tests.h>.
10482         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10483         the relevant type.
10484         * math/bug-nexttoward.c: Include <math-tests.h>.
10485         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10486         the relevant type.
10487         * math/test-misc.c: Include <math-tests.h>.
10488         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10489         the relevant type.
10491 2013-06-12  Andreas Jaeger  <aj@suse.de>
10493         * po/ia.po: Update Interlingua translation from translation
10494         project.
10496 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10498         * include/fenv.h: Include stdbool.h.
10499         (struct rm_ctx): New structure.
10500         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10501         Define macro.
10502         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10503         (SET_RESTORE_ROUNDF): Likewise.
10504         (SET_RESTORE_ROUNDL): Likewise.
10505         (SET_RESTORE_ROUND_NOEX): Likewise.
10506         (SET_RESTORE_ROUND_NOEXF): Likewise.
10507         (SET_RESTORE_ROUND_NOEXL): Likewise.
10508         (SET_RESTORE_ROUND_53BIT): Likewise.
10509         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10510         (libc_feresetround_noexf_ctx): Likewise.
10511         (libc_feresetround_noexl_ctx): Likewise.
10512         (libc_feholdsetround_53bit_ctx): Likewise.
10513         (libc_feresetround_53bit_ctx): Likewise.
10514         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10515         (libc_feholdexcept_setround_sse_ctx): New function.
10516         (libc_fesetenv_sse_ctx): Likewise.
10517         (libc_feupdateenv_sse_ctx): Likewise.
10518         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10519         (libc_feholdexcept_setround_387_ctx): Likewise.
10520         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10521         (libc_feholdsetround_387_prec_ctx): Likewise.
10522         (libc_feholdsetround_387_ctx): Likewise.
10523         (libc_feholdsetround_387_53bit_ctx): Likewise.
10524         (libc_feholdsetround_sse_ctx): Likewise.
10525         (libc_feresetround_sse_ctx): Likewise.
10526         (libc_feresetround_387_ctx): Likewise.
10527         (libc_feupdateenv_387_ctx): Likewise.
10528         (libc_feholdexcept_setroundf_ctx): Define macro.
10529         (libc_fesetenvf_ctx): Likewise.
10530         (libc_feupdateenvf_ctx): Likewise.
10531         (libc_feholdsetroundf_ctx): Likewise.
10532         (libc_feresetroundf_ctx): Likewise.
10533         (libc_feholdexcept_setround_ctx): Likewise.
10534         (libc_fesetenv_ctx): Likewise.
10535         (libc_feupdateenv_ctx): Likewise.
10536         (libc_feholdsetround_ctx): Likewise.
10537         (libc_feresetround_ctx): Likewise.
10538         (libc_feholdexcept_setroundl_ctx): Likewise.
10539         (libc_feupdateenvl_ctx): Likewise.
10540         (libc_feholdsetroundl_ctx): Likewise.
10541         (libc_feresetroundl_ctx): Likewise.
10542         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10543         (libc_feresetround_53bit_ctx): Likewise.
10545 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10547         * locale/iso-639.def: Convert to UTF-8.
10549 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
10551         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10552         (EXCEPTION_TESTS_double): Likewise.
10553         (EXCEPTION_TESTS_long_double): Likewise.
10554         (EXCEPTION_TESTS): Likewise.
10555         * math/libm-test.inc (test_exceptions): Only test exceptions if
10556         EXCEPTION_TESTS (FLOAT).
10558 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10560         * benchtests/Makefile (string-bench): Add strcpy_chk and
10561         stpcpy_chk.
10562         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10563         * benchtests/bench-stpcpy_chk.c: New file.
10564         * benchtests/bench-strcpy_chk-ifunc.c: New file.
10565         * benchtests/bench-strcpy_chk.c: New file.
10566         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10567         code.
10568         (do_test): Likewise.
10570 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10572         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10573         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10574         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10575         with tabs where appropriate.
10576         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10577         dl-procinfo.h.
10578         [PPC_PLATFORM_PPC440]: Likewise.
10579         [PPC_PLATFORM_PPC464]: Likewise.
10580         [PPC_PLATFORM_PPC476]: Likewise.
10581         (_dl_string_platform): Add support for detecting ppc405, ppc440,
10582         ppc464, and ppc476 platform strings merging from ports/
10583         dl-procinfo.h.
10585 2013-06-11  Andreas Schwab  <schwab@suse.de>
10587         [BZ #14991]
10588         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10589         (from_ucs4_idx): Regenerate.
10590         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10591         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10592         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10593         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10594         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10595         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10596         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10597         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10598         from FROM_LOOP and TO_LOOP specific macros.
10599         (BODY): Handle combining characters.
10600         * iconvdata/BIG5HKSCS.irreversible: Update.
10601         * iconvdata/BIG5HKSCS.precomposed: New file.
10602         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10603         characters.
10604         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10606 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10608         * include/sys/time.h: Fix indentation and add copyright header.
10610         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10611         (do_test): Likewise.
10612         * string/test-memchr.c (do_one_test): Likewise.
10613         (do_test): Likewise.
10614         * string/test-memcmp.c (do_one_test): Likewise.
10615         (do_test): Likewise.
10616         * string/test-memcpy.c (do_one_test): Likewise.
10617         (do_test): Likewise.
10618         * string/test-memmem.c (do_one_test): Likewise.
10619         (do_test): Likewise.
10620         (do_random_tests): Likewise.
10621         * string/test-memmove.c (do_one_test): Likewise.
10622         (do_test): Likewise.
10623         * string/test-memset.c (do_one_test): Likewise.
10624         (do_test): Likewise.
10625         * string/test-rawmemchr.c (do_one_test): Likewise.
10626         (do_test): Likewise.
10627         * string/test-strcasecmp.c (do_one_test): Likewise.
10628         (do_test): Likewise.
10629         * string/test-strcasestr.c (do_one_test): Likewise.
10630         (do_test): Likewise.
10631         * string/test-strcat.c (do_one_test): Likewise.
10632         (do_test): Likewise.
10633         * string/test-strchr.c (do_one_test): Likewise.
10634         (do_test): Likewise.
10635         * string/test-strcmp.c (do_one_test): Likewise.
10636         (do_test): Likewise.
10637         * string/test-strcpy.c (do_one_test): Likewise.
10638         (do_test): Likewise.
10639         * string/test-string.h: Likewise.
10640         (test_init): Likewise.
10641         * string/test-strlen.c (do_one_test): Likewise.
10642         (do_test): Likewise.
10643         * string/test-strncasecmp.c (do_one_test): Likewise.
10644         (do_test): Likewise.
10645         * string/test-strncat.c (do_one_test): Likewise.
10646         (do_test): Likewise.
10647         * string/test-strncmp.c (do_one_test): Likewise.
10648         (do_test_limit): Likewise.
10649         (do_test): Likewise.
10650         * string/test-strncpy.c (do_one_test): Likewise.
10651         (do_test): Likewise.
10652         * string/test-strnlen.c (do_one_test): Likewise.
10653         (do_test): Likewise.
10654         * string/test-strpbrk.c (do_one_test): Likewise.
10655         (do_test): Likewise.
10656         * string/test-strrchr.c (do_one_test): Likewise.
10657         (do_test): Likewise.
10658         * string/test-strspn.c (do_one_test): Likewise.
10659         (do_test): Likewise.
10660         * string/test-strstr.c (do_one_test): Likewise.
10661         (do_test): Likewise.
10663         * benchtests/Makefile (string-bench): Add string benchmarks.
10664         * benchtests/bench-bcopy-ifunc.c: New file.
10665         * benchtests/bench-bcopy.c: New file.
10666         * benchtests/bench-bzero-ifunc.c: New file.
10667         * benchtests/bench-bzero.c: New file.
10668         * benchtests/bench-memccpy-ifunc.c: New file.
10669         * benchtests/bench-memccpy.c: New file.
10670         * benchtests/bench-memchr-ifunc.c: New file.
10671         * benchtests/bench-memchr.c: New file.
10672         * benchtests/bench-memcmp-ifunc.c: New file.
10673         * benchtests/bench-memcmp.c: New file.
10674         * benchtests/bench-memmem-ifunc.c: New file.
10675         * benchtests/bench-memmem.c: New file.
10676         * benchtests/bench-memmove-ifunc.c: New file.
10677         * benchtests/bench-memmove.c: New file.
10678         * benchtests/bench-mempcpy-ifunc.c: New file.
10679         * benchtests/bench-mempcpy.c: New file.
10680         * benchtests/bench-memset-ifunc.c: New file.
10681         * benchtests/bench-memset.c: New file.
10682         * benchtests/bench-rawmemchr-ifunc.c: New file.
10683         * benchtests/bench-rawmemchr.c: New file.
10684         * benchtests/bench-stpcpy-ifunc.c: New file.
10685         * benchtests/bench-stpcpy.c: New file.
10686         * benchtests/bench-stpncpy-ifunc.c: New file.
10687         * benchtests/bench-stpncpy.c: New file.
10688         * benchtests/bench-strcasecmp-ifunc.c: New file.
10689         * benchtests/bench-strcasecmp.c: New file.
10690         * benchtests/bench-strcasestr-ifunc.c: New file.
10691         * benchtests/bench-strcasestr.c: New file.
10692         * benchtests/bench-strcat-ifunc.c: New file.
10693         * benchtests/bench-strcat.c: New file.
10694         * benchtests/bench-strchr-ifunc.c: New file.
10695         * benchtests/bench-strchr.c: New file.
10696         * benchtests/bench-strchrnul-ifunc.c: New file.
10697         * benchtests/bench-strchrnul.c: New file.
10698         * benchtests/bench-strcmp-ifunc.c: New file.
10699         * benchtests/bench-strcmp.c: New file.
10700         * benchtests/bench-strcpy-ifunc.c: New file.
10701         * benchtests/bench-strcpy.c: New file.
10702         * benchtests/bench-strcspn-ifunc.c: New file.
10703         * benchtests/bench-strcspn.c: New file.
10704         * benchtests/bench-strlen-ifunc.c: New file.
10705         * benchtests/bench-strlen.c: New file.
10706         * benchtests/bench-strncasecmp-ifunc.c: New file.
10707         * benchtests/bench-strncasecmp.c: New file.
10708         * benchtests/bench-strncat-ifunc.c: New file.
10709         * benchtests/bench-strncat.c: New file.
10710         * benchtests/bench-strncmp-ifunc.c: New file.
10711         * benchtests/bench-strncmp.c: New file.
10712         * benchtests/bench-strncpy-ifunc.c: New file.
10713         * benchtests/bench-strncpy.c: New file.
10714         * benchtests/bench-strnlen-ifunc.c: New file.
10715         * benchtests/bench-strnlen.c: New file.
10716         * benchtests/bench-strpbrk-ifunc.c: New file.
10717         * benchtests/bench-strpbrk.c: New file.
10718         * benchtests/bench-strrchr-ifunc.c: New file.
10719         * benchtests/bench-strrchr.c: New file.
10720         * benchtests/bench-strspn-ifunc.c: New file.
10721         * benchtests/bench-strspn.c: New file.
10722         * benchtests/bench-strstr-ifunc.c: New file.
10723         * benchtests/bench-strstr.c: New file.
10725         * benchtests/Makefile: Disable parallel execution of targets.
10726         (string-bench): Add memcpy.
10727         (benchset): New variable to store a list of benchmark sets.
10728         (bench-func): Renamed from bench.
10729         (bench-set): New target.
10730         (bench): Depend on bench-func and bench-set.
10731         * benchtests/README: Add section on benchmark sets.
10732         * benchtests/bench-memcpy-ifunc.c: New file.
10733         * benchtests/bench-memcpy.c: New file.
10734         * benchtests/bench-string.h: New file.
10736 2013-06-11  Andreas Schwab  <schwab@suse.de>
10738         [BZ #15577]
10739         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10740         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10741         values in the triple.
10742         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10743         terminator in the group key.
10745 2013-06-11  Andreas Jaeger  <aj@suse.de>
10747         * po/zh_TW.po: Update Chinese (traditional) translation from
10748         translation project.
10750 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10752         * include/time.h (__clock_gettime): Add libc_hidden_proto.
10753         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10754         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
10755         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10756         (clock_getcpuclockid): Likewise.
10757         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10758         Add weak_alias and libc_hidden_def.
10759         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10760         * rt/clock_gettime.c (clock_gettime): Rename to
10761         __clock_gettime.  Add weak_alias and libc_hidden_def.
10762         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10763         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10764         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
10765         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10766         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10767         Likewise.
10768         * rt/clock_settime.c (clock_settime): Rename to
10769         __clock_settime.  Add weak_alias and libc_hidden_def.
10770         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10772 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
10774         * mach/err_boot.sub: Remove trailing whitespace.
10775         * mach/err_ipc.sub: Likewise.
10776         * mach/err_mach.sub: Likewise.
10778         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10779         (ROUNDING_TESTS_double): Likewise.
10780         (ROUNDING_TESTS_long_double): Likewise.
10781         (ROUNDING_TESTS): Likewise.
10782         * math/libm-test.inc: Include <math-tests.h>.
10783         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10784         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10785         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10786         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10788 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10790         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10791         of assigning.
10793 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
10795         * sysdeps/gnu/errlist.awk: Do not generate space at end of
10796         otherwise empty TRANS lines.
10797         * sysdeps/gnu/errlist.c: Regenerated.
10799         * catgets/gencat.c (error_print): Use (void) in function
10800         definition.
10801         * crypt/crypt_util.c (__init_des): Likewise.
10802         * crypt/speeds.c (Stop): Likewise.
10803         (main): Likewise.
10804         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10805         * inet/ruserpass.c (token): Likewise.
10806         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10807         * intl/localealias.c (extend_alias_table): Likewise.
10808         * intl/plural-exp.c (init_germanic_plural): Likewise.
10809         * libio/fcloseall.c (__fcloseall): Likewise.
10810         * libio/genops.c (_IO_flush_all): Likewise.
10811         (_IO_flush_all_linebuffered): Likewise.
10812         (_IO_cleanup): Likewise.
10813         (_IO_iter_begin): Likewise.
10814         (_IO_iter_end): Likewise.
10815         (_IO_list_lock): Likewise.
10816         (_IO_list_unlock): Likewise.
10817         (_IO_list_resetlock): Likewise.
10818         * libio/getchar.c (getchar): Likewise.
10819         * libio/getchar_u.c (getchar_unlocked): Likewise.
10820         * libio/getwchar.c (getwchar): Likewise.
10821         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10822         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10823         * login/getpt.c (__getpt): Likewise.
10824         * login/tst-utmp.c (main): Likewise.
10825         * malloc/hooks.c (__malloc_check_init): Likewise.
10826         * malloc/malloc.c (__malloc_stats): Likewise.
10827         * malloc/mtrace.c (tr_break): Likewise.
10828         (mtrace): Likewise.
10829         (muntrace): Likewise.
10830         * misc/fstab.c (endfsent): Likewise.
10831         * misc/getclktck.c (__getclktck): Likewise.
10832         * misc/getdtsz.c (__getdtablesize): Likewise.
10833         * misc/gethostid.c (gethostid): Likewise.
10834         * misc/getpagesize.c (__getpagesize): Likewise.
10835         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10836         (__get_nprocs): Likewise.
10837         (__get_phys_pages): Likewise.
10838         (__get_avphys_pages): Likewise.
10839         * misc/getttyent.c (getttyent): Likewise.
10840         (setttyent): Likewise.
10841         (endttyent): Likewise.
10842         * misc/getusershell.c (getusershell): Likewise.
10843         (endusershell): Likewise.
10844         (setusershell): Likewise.
10845         (initshells): Likewise.
10846         * misc/hsearch.c (__hdestroy): Likewise.
10847         * misc/sync.c (sync): Likewise.
10848         * misc/syslog.c (closelog_internal): Likewise.
10849         (closelog): Likewise.
10850         * misc/ttyslot.c (ttyslot): Likewise.
10851         * misc/vhangup.c (vhangup): Likewise.
10852         * posix/fork.c (__fork): Likewise.
10853         * posix/getegid.c (__getegid): Likewise.
10854         * posix/geteuid.c (__geteuid): Likewise.
10855         * posix/getgid.c (__getgid): Likewise.
10856         * posix/getpid.c (__getpid): Likewise.
10857         * posix/getppid.c (__getppid): Likewise.
10858         * posix/getuid.c (__getuid): Likewise.
10859         * posix/pause.c (pause): Likewise.
10860         * posix/setpgrp.c (setpgrp): Likewise.
10861         * posix/setsid.c (__setsid): Likewise.
10862         * posix/test-vfork.c (noop): Likewise.
10863         * resolv/gethnamaddr.c (_endhtent): Likewise.
10864         (_gethtent): Likewise.
10865         (ht_endhostent): Likewise.
10866         (gethostent): Likewise.
10867         (dns_service): Likewise.
10868         * stdlib/drand48.c (drand48): Likewise.
10869         * stdlib/lrand48.c (lrand48): Likewise.
10870         * stdlib/mrand48.c (mrand48): Likewise.
10871         * stdlib/rand.c (rand): Likewise.
10872         * stdlib/random.c (__random): Likewise.
10873         * stdlib/setenv.c (clearenv): Likewise.
10874         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10875         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10876         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10877         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10878         (__get_nprocs): Likewise.
10879         (__get_phys_pages): Likewise.
10880         (__get_avphys_pages): Likewise.
10881         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10882         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10883         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10884         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10885         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10886         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10887         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10888         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10889         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10890         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10891         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10892         * sysdeps/mach/hurd/sync.c (sync): Likewise.
10893         * sysdeps/posix/clock.c (clock): Likewise.
10894         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10895         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10896         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10897         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10898         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10899         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10900         (__get_nprocs_conf): Likewise.
10901         (__get_phys_pages): Likewise.
10902         (__get_avphys_pages): Likewise.
10903         * time/clock.c (clock): Likewise.
10904         * time/tzset.c (__tzname_max): Likewise.
10906 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
10908         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10909         (__bswap_32): Do not use "register".
10910         * crypt/crypt.c (_ufc_doit_r): Likewise.
10911         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10912         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10913         * gmon/gmon.c (__monstartup): Likewise.
10914         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10915         * hurd/hurdmalloc.c (more_memory): Likewise.
10916         (malloc): Likewise.
10917         (free): Likewise.
10918         (realloc): Likewise.
10919         (malloc_fork_prepare): Likewise.
10920         (malloc_fork_parent): Likewise.
10921         (malloc_fork_child): Likewise.
10922         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10923         (_svcauth_des): Likewise.
10924         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10925         * inet/inet_net.c (inet_network): Likewise.
10926         * inet/inet_netof.c (inet_netof): Likewise.
10927         * inet/rcmd.c (__validuser2_sa): Likewise.
10928         * io/fts.c (fts_open): Likewise.
10929         (fts_load): Likewise.
10930         (fts_close): Likewise.
10931         (fts_read): Likewise.
10932         (fts_children): Likewise.
10933         (fts_build): Likewise.
10934         (fts_stat): Likewise.
10935         (fts_sort): Likewise.
10936         (fts_alloc): Likewise.
10937         (fts_lfree): Likewise.
10938         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10939         (_IO_file_xsgetn): Likewise.
10940         (_IO_file_xsgetn_mmap): Likewise.
10941         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10942         (_IO_cookie_write): Likewise.
10943         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10944         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10945         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10946         * malloc/obstack.c (_obstack_begin): Likewise.
10947         (_obstack_begin_1): Likewise.
10948         (_obstack_newchunk): Likewise.
10949         (_obstack_allocated_p): Likewise.
10950         (obstack_free): Likewise.
10951         (_obstack_memory_used): Likewise.
10952         * misc/getttyent.c (getttynam): Likewise.
10953         (getttyent): Likewise.
10954         (skip): Likewise.
10955         (value): Likewise.
10956         * misc/getusershell.c (initshells): Likewise.
10957         * misc/syslog.c (__vsyslog_chk): Likewise.
10958         * misc/ttyslot.c (ttyslot): Likewise.
10959         * nis/nis_hash.c (__nis_hash): Likewise.
10960         * posix/fnmatch_loop.c (FCT): Likewise.
10961         * posix/getconf.c (print_all): Likewise.
10962         (main): Likewise.
10963         * posix/getopt.c (exchange): Likewise.
10964         * posix/glob.c (globfree): Likewise.
10965         (prefix_array): Likewise.
10966         (__glob_pattern_type): Likewise.
10967         * resolv/arpa/nameser.h (NS_GET16): Likewise.
10968         (NS_GET32): Likewise.
10969         (NS_PUT16): Likewise.
10970         (NS_PUT32): Likewise.
10971         * resolv/gethnamaddr.c (getanswer): Likewise.
10972         (gethostbyname2): Likewise.
10973         (gethostbyaddr): Likewise.
10974         (_gethtent): Likewise.
10975         (_gethtbyname2): Likewise.
10976         (_gethtbyaddr): Likewise.
10977         * resolv/ns_print.c (dst_s_get_int16): Likewise.
10978         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10979         * resolv/res_init.c (__res_vinit): Likewise.
10980         (net_mask): Likewise.
10981         * resolv/res_mkquery.c (outchar): Likewise.
10982         (PRINT): Likewise.
10983         * stdio-common/printf_fp.c (outchar): Likewise.
10984         (PRINT): Likewise.
10985         * stdio-common/printf_fphex.c (outchar): Likewise.
10986         (PRINT): Likewise.
10987         * stdio-common/printf_size.c (outchar): Likewise.
10988         (PRINT): Likewise.
10989         * stdio-common/test_rdwr.c (main): Likewise.
10990         * stdio-common/tfformat.c (matches): Likewise.
10991         * stdio-common/vfprintf.c (outchar): Likewise.
10992         (printf_unknown): Likewise.
10993         (buffered_vfprintf): Likewise.
10994         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10995         * stdio-common/xbug.c (AppendToBuffer): Likewise.
10996         (ReadFile): Likewise.
10997         * stdlib/qsort.c (SWAP): Likewise.
10998         (_quicksort): Likewise.
10999         * stdlib/setenv.c (__add_to_environ): Likewise.
11000         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11001         * stdlib/strtol_l.c (__strtol_l): Likewise.
11002         * stdlib/tst-strtod.c (main): Likewise.
11003         * stdlib/tst-strtol.c (main): Likewise.
11004         * stdlib/tst-strtoll.c (main): Likewise.
11005         * string/bits/string2.h (__strcmp_cc): Likewise.
11006         (__strcmp_cg): Likewise.
11007         (__strcspn_c1): Likewise.
11008         (__strcspn_c2): Likewise.
11009         (__strcspn_c3): Likewise.
11010         (__strspn_c1): Likewise.
11011         (__strspn_c2): Likewise.
11012         (__strspn_c3): Likewise.
11013         (__strsep_1c): Likewise.
11014         (__strsep_2c): Likewise.
11015         (__strsep_3c): Likewise.
11016         * string/memccpy.c (__memccpy): Likewise.
11017         * string/stpcpy.c (__stpcpy): Likewise.
11018         * string/strcmp.c (strcmp): Likewise.
11019         * string/strrchr.c (strrchr): Likewise.
11020         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11021         Likewise.
11022         * sysdeps/mach/hurd/getcwd.c
11023         (_hurd_canonicalize_directory_name_internal): Likewise.
11024         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11025         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11026         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11027         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11028         Likewise, in both definitions.
11029         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11030         definitions.
11031         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11032         64] (__bswap_64): Likewise.
11033         * time/test_time.c (main): Likewise.
11034         * time/tzfile.c (__tzfile_read): Likewise.
11035         (__tzfile_compute): Likewise.
11036         * time/tzset.c (__tzset_parse_tz): Likewise.
11037         (tzset_internal): Likewise.
11038         (compute_change): Likewise.
11039         * wcsmbs/wcscat.c (__wcscat): Likewise.
11040         * wcsmbs/wcschr.c (wcschr): Likewise.
11041         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11042         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11043         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11044         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11045         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11046         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11047         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11048         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11049         * wcsmbs/wmemset.c (wmemset): Likewise.
11051 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11053         * scripts/config.guess: Update to version 2013-05-16.
11054         * scripts/config.sub: Update to version 2013-04-24.
11055         * scripts/install-sh: Update to version 2011-11-20.07.
11056         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11057         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11059 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11061         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11062         * elf/sln.c: Likewise.
11063         * hurd/hurd/ioctl.h: Likewise.
11064         * hurd/hurdmalloc.c: Likewise.
11065         * hurd/xattr.c: Likewise.
11066         * include/shlib-compat.h: Likewise.
11067         * inet/ruserpass.c: Likewise.
11068         * libio/iofgets_u.c: Likewise.
11069         * libio/iofgetws_u.c: Likewise.
11070         * locale/programs/ld-identification.c: Likewise.
11071         * locale/programs/ld-time.c: Likewise.
11072         * mach/msg-destroy.c: Likewise.
11073         * nss/nss_files/files-netgrp.c: Likewise.
11074         * resolv/res_data.c: Likewise.
11075         * soft-fp/op-1.h: Likewise.
11076         * soft-fp/op-2.h: Likewise.
11077         * soft-fp/op-4.h: Likewise.
11078         * soft-fp/op-common.h: Likewise.
11079         * stdio-common/printf_fphex.c: Likewise.
11080         * stdlib/strtod_l.c: Likewise.
11081         * sunrpc/rpc/clnt.h: Likewise.
11082         * sysdeps/generic/framestate.c: Likewise.
11083         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11084         * sysdeps/i386/bsd-setjmp.S: Likewise.
11085         * sysdeps/i386/__longjmp.S: Likewise.
11086         * sysdeps/i386/setjmp.S: Likewise.
11087         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11088         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11089         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11090         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11091         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11092         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11093         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11094         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11095         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11096         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11097         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11098         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11099         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11100         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11101         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11102         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11103         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11104         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11105         * sysdeps/ieee754/support.c: Likewise.
11106         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11107         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11108         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11109         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11110         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11111         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11112         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11113         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11114         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11115         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11116         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11117         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11118         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11119         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11120         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11121         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11122         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11125 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11127         * posix/transbug.c: Remove executable mode.
11129 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11131         * crypt/speeds.c: Remove trailing whitespace.
11132         * dlfcn/default.c: Likewise.
11133         * elf/ifuncdep2.c: Likewise.
11134         * elf/ifuncmain1.c: Likewise.
11135         * elf/ifuncmain1vis.c: Likewise.
11136         * elf/testobj.h: Likewise.
11137         * elf/tst-stackguard1.c: Likewise.
11138         * gmon/sys/gmon.h: Likewise.
11139         * hurd/hurdmsg.c: Likewise.
11140         * hurd/new-fd.c: Likewise.
11141         * hurd/ports-get.c: Likewise.
11142         * iconvdata/ibm1008_420.c: Likewise.
11143         * inet/tst-getni1.c: Likewise.
11144         * inet/tst-getni2.c: Likewise.
11145         * libio/ioungetc.c: Likewise.
11146         * libio/wfiledoalloc.c: Likewise.
11147         * manual/libm-err-tab.pl: Likewise.
11148         * math/w_dremf.c: Likewise.
11149         * misc/ftruncate.c: Likewise.
11150         * posix/bug-glob2.c: Likewise.
11151         * posix/tst-pcre.c: Likewise.
11152         * posix/wait4.c: Likewise.
11153         * resolv/README: Likewise.
11154         * resolv/res_debug.h: Likewise.
11155         * resolv/tst-inet_ntop.c: Likewise.
11156         * setjmp/bug269-setjmp.c: Likewise.
11157         * soft-fp/extended.h: Likewise.
11158         * soft-fp/op-1.h: Likewise.
11159         * soft-fp/op-2.h: Likewise.
11160         * soft-fp/op-4.h: Likewise.
11161         * soft-fp/op-8.h: Likewise.
11162         * soft-fp/testit.c: Likewise.
11163         * stdio-common/bug16.c: Likewise.
11164         * stdlib/random.c: Likewise.
11165         * sunrpc/rpcsvc/rquota.x: Likewise.
11166         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11167         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11168         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11169         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11170         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11171         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11172         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11173         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11174         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11175         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11176         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11177         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11178         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11179         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11180         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11181         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11182         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11183         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11184         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11187         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11188         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11189         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11190         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11191         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11192         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11193         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11194         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11195         * sysdeps/ieee754/s_lib_version.c: Likewise.
11196         * sysdeps/mach/hurd/check_fds.c: Likewise.
11197         * sysdeps/mach/hurd/getsockname.c: Likewise.
11198         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11199         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11200         * sysdeps/powerpc/bits/link.h: Likewise.
11201         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11202         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11203         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11204         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11205         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11206         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11207         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11208         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11209         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11210         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11211         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11212         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11213         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11214         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11215         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11216         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11218         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11219         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11220         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11221         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11222         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11223         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11224         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11225         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11226         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11227         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11228         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11229         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11230         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11231         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11232         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11233         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11234         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11235         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11236         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11237         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11238         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11239         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11240         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11241         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11242         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11243         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11244         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11245         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11246         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11247         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11248         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11249         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11250         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11253         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11254         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11255         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11256         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11257         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11258         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11259         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11260         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11261         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11262         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11263         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11264         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11265         * sysdeps/powerpc/sysdep.h: Likewise.
11266         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11267         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11268         * sysdeps/sh/dl-trampoline.S: Likewise.
11269         * sysdeps/sh/memset.S: Likewise.
11270         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11271         * sysdeps/sh/strlen.S: Likewise.
11272         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11273         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11274         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11275         * sysdeps/sparc/sparc32/rem.S: Likewise.
11276         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11277         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11278         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11279         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11280         * sysdeps/sparc/sparc32/urem.S: Likewise.
11281         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11282         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11283         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11284         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11285         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11286         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11287         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11288         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11289         * sysdeps/unix/bsd/times.c: Likewise.
11290         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11291         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11295         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11296         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11297         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11298         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11299         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11300         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11301         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11302         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11303         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11304         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11305         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11306         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11307         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11308         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11309         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11310         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11311         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11312         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11313         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11314         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11315         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11316         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11317         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11318         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11319         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11320         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11321         * sysdeps/x86_64/strcspn.S: Likewise.
11323 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11325         * locale/C-translit.h: Revert #include <stdint.h> because this is a
11326         generated file.  Regenerate properly from gen-translit.pl.
11327         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
11328         locale/C-translit.h.
11330 2013-06-05  Andreas Schwab  <schwab@suse.de>
11332         [BZ #15100]
11333         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11334         week as 6 instead of -1.
11335         * time/tst-strptime.c (day_tests): Add test case.
11337 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11339         * sysdeps/generic/math_private.h
11340         (libc_feholdexcept_setround_53bit): Replace with
11341         libc_feholdsetround_53bit.
11342         (libc_feupdateenv_53bit): Replace with
11343         libc_feresetround_53bit.
11344         (SET_RESTORE_ROUND_53BIT): Adjust.
11346 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11348         * string/test-strchrnul.c: Add copyright header.
11350         * posix/tst-getaddrinfo4.c: Increase test timeout.
11352 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
11354         [BZ #15536]
11355         * math/libm-test.inc (MAX_EXP): Remove
11356         (MIN_EXP): Define.
11357         (ulp): Use MIN_EXP - MANT_DIG.
11358         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11360 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
11362         * po/be.po: Revert last change.
11363         * po/zh_CN.po: Likewise.
11364         * po/header.pot: Likewise.
11366 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
11368         * Makefile ($(common-objpfx)linkobj/libc.so): Define
11369         link-libc-deps to empty as target-specific variable.
11370         * Makerules (link-libc-args): New variable.
11371         (libc-for-link): Likewise.
11372         (link-libc-deps): Likewise.
11373         (lib%.so): Depend on $(link-libc-deps).  Link with
11374         $(link-libc-args).
11375         (build-module): Link with $(link-libc-args).
11376         (build-module-asneeded): Likewise.
11377         (build-module-helper-objlist): Filter out $(link-libc-deps) from
11378         list of objects.
11379         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11380         target-specific variable.
11381         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11382         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11383         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11384         libc.
11385         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11386         libc and ld.so.
11387         ($(objpfx)libpcprofile.so): Likewise.
11388         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11389         libc_nonshared.a.
11390         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11391         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11392         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11393         $(link-libc-deps).
11394         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11395         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11396         * login/Makefile ($(objpfx)libutil.so): Likewise.
11397         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11398         * math/Makefile ($(objpfx)libm.so): Likewise.
11399         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11400         $(objpfx)libnsl.so): Define libc-for-link as target-specific
11401         variable instead of depending directly on libc.
11402         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11403         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11404         $(link-libc-deps).
11405         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11406         libc.
11407         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11408         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11409         ($(objpfx)libanl.so): Likewise.
11410         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11411         ld.so.
11412         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11413         $(link-libc-deps).
11414         * sysdeps/i386/fpu/Makefile: Remove file.
11415         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11416         ($(objpfx)libm.so): Remove dependency on ld.so.
11418 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
11420         [BZ # 15553]
11421         * nis/yp_xdr.c (XDRMAXNAME): Define.
11422         (XDRMAXRECORD): Define.
11423         (xdr_domainname): Use XDRMAXNAME.
11424         (xdr_mapname): Likewise.
11425         (xdr_peername): Likewise.
11426         (xdr_keydat): Use XDRMAXRECORD.
11427         (xdr_valdat): Likewise.
11429 2013-05-30  Jeff Law  <law@redhat.com>
11431         [BZ #14256]
11432         * manual/errno.texi (ESTALE): Update to account for more than
11433         just NFS file systems.
11434         * sysdeps/gnu/errlist.c: Regenerated.
11436 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11438         [BZ #15465]
11439         * elf/Makefile (tests): Add tst-null-argv.
11440         (modules-names):  Add tst-null-argv-lib.
11441         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11442         (tst-null-argv-ENV): Set environment for tst-null-argv.
11443         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11444         (RTLD_PROGNAME): New macro.
11445         * elf/tst-null-argv.c: New test case.
11446         * elf/tst-null-argv-lib.c: Library for test case.
11447         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11448         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11449         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11450         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11451         * elf/dl-init.c (call_init): Likewise.
11452         (_dl_init): Likewise.
11453         * elf/dl-load.c (print_search_path): Likewise.
11454         (_dl_map_object): Likewise.
11455         * elf/dl-lookup.c (do_lookup_x): Likewise.
11456         (add_dependency): Likewise.
11457         (_dl_lookup_symbol_x): Likewise.
11458         (_dl_debug_bindings): Likewise.
11459         * elf/dl-open.c (_dl_show_scope): Likewise.
11460         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11461         * elf/dl-version.c (match_symbol): Likewise.
11462         (_dl_check_map_versions): Likewise.
11463         * elf/rtld.c (dl_main): Likewise.
11464         (print_unresolved): Use RTLD_PROGNAME.
11465         (print_missing_version): Likewise.
11466         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11467         (elf_machine_rela): Likewise.
11468         * sysdeps/powerpc/powerpc32/dl-machine.c
11469         (__process_machine_rela): Likewise.
11470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11471         Likewise.
11472         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11473         Likewise.
11474         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11475         Likewise.
11476         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11477         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11478         Likewise.
11479         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11480         Likewise.
11481         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11483 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
11485         * po/be.po: Add descriptive title.
11486         * po/zh_CN.po: Likewise.
11487         * po/header.pot: Likewise.
11489 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
11491         * locale/programs/locarchive.c (create_archive): Inlucde fname in
11492         error message.
11493         (enlarge_archive): Likewise.
11495 2013-05-28  Ben North  <ben@redfrontdoor.org>
11497         * manual/arith.texi (frexp): It is the magnitude of the return
11498         value which lies in [0.5, 1), not the return value itself.
11500 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11504 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
11506         * stdio-common/bug26.c (main): Correct fscanf template.
11508         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11509         declare _dl_skip_args.
11511         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11512         Don't declare.
11514         * manual/platform.texi: Add missing @end deftypefun.
11516 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11518         [BZ #15529]
11519         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11520         bit of mantissa of 2^16382.
11521         * math/libm-test.inc (hypot_test_data): Add more tests.
11523         * math/libm-test.inc: Add drem and pow10 to list of tested
11524         functions.
11525         (pow10_test): New function.
11526         (drem_test): Likewise.
11527         (drem_test_tonearest): Likewise.
11528         (drem_test_towardzero): Likewise.
11529         (drem_test_downward): Likewise.
11530         (drem_test_upward): Likewise.
11531         (main): Call the new functions.
11533         * math/libm-test.inc (finite_test_data): Remove.
11534         (finite_test): Run tests from isfinite_test_data.
11535         (gamma_test_data): Remove.
11536         (gamma_test): Run tests from lgamma_test_data.
11537         * sysdeps/i386/fpu/libm-test-ulps: Update.
11538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11540 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11542         * manual/platform.texi: Add PowerPC PPR function set documentation.
11543         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11544         implementation.
11546 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
11548         * math/libm-test.inc (MAX_EXP): Define.
11549         (ULPDIFF): Define.
11550         (ulp): New function.
11551         (check_float_internal): Use ULPDIFF.
11552         (cpow_test): Disable failing test.
11553         (check_ulp): Test ulp() implemetnation.
11554         (main): Call check_ulp before starting tests.
11556 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11558         * math/gen-libm-test.pl (generate_testfile): Do not handle
11559         START_DATA and END_DATA.
11560         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11561         END_DATA.
11562         (acos_tonearest_test_data): Likewise.
11563         (acos_towardzero_test_data): Likewise.
11564         (acos_downward_test_data): Likewise.
11565         (acos_upward_test_data): Likewise.
11566         (acosh_test_data): Likewise.
11567         (asin_test_data): Likewise.
11568         (asin_tonearest_test_data): Likewise.
11569         (asin_towardzero_test_data): Likewise.
11570         (asin_downward_test_data): Likewise.
11571         (asin_upward_test_data): Likewise.
11572         (asinh_test_data): Likewise.
11573         (atan_test_data): Likewise.
11574         (atanh_test_data): Likewise.
11575         (atan2_test_data): Likewise.
11576         (cabs_test_data): Likewise.
11577         (cacos_test_data): Likewise.
11578         (cacosh_test_data): Likewise.
11579         (carg_test_data): Likewise.
11580         (casin_test_data): Likewise.
11581         (casinh_test_data): Likewise.
11582         (catan_test_data): Likewise.
11583         (catanh_test_data): Likewise.
11584         (cbrt_test_data): Likewise.
11585         (ccos_test_data): Likewise.
11586         (ccosh_test_data): Likewise.
11587         (ceil_test_data): Likewise.
11588         (cexp_test_data): Likewise.
11589         (cimag_test_data): Likewise.
11590         (clog_test_data): Likewise.
11591         (clog10_test_data): Likewise.
11592         (conj_test_data): Likewise.
11593         (copysign_test_data): Likewise.
11594         (cos_test_data): Likewise.
11595         (cos_tonearest_test_data): Likewise.
11596         (cos_towardzero_test_data): Likewise.
11597         (cos_downward_test_data): Likewise.
11598         (cos_upward_test_data): Likewise.
11599         (cosh_test_data): Likewise.
11600         (cosh_tonearest_test_data): Likewise.
11601         (cosh_towardzero_test_data): Likewise.
11602         (cosh_downward_test_data): Likewise.
11603         (cosh_upward_test_data): Likewise.
11604         (cpow_test_data): Likewise.
11605         (cproj_test_data): Likewise.
11606         (creal_test_data): Likewise.
11607         (csin_test_data): Likewise.
11608         (csinh_test_data): Likewise.
11609         (csqrt_test_data): Likewise.
11610         (ctan_test_data): Likewise.
11611         (ctan_tonearest_test_data): Likewise.
11612         (ctan_towardzero_test_data): Likewise.
11613         (ctan_downward_test_data): Likewise.
11614         (ctan_upward_test_data): Likewise.
11615         (ctanh_test_data): Likewise.
11616         (ctanh_tonearest_test_data): Likewise.
11617         (ctanh_towardzero_test_data): Likewise.
11618         (ctanh_downward_test_data): Likewise.
11619         (ctanh_upward_test_data): Likewise.
11620         (erf_test_data): Likewise.
11621         (erfc_test_data): Likewise.
11622         (exp_test_data): Likewise.
11623         (exp_tonearest_test_data): Likewise.
11624         (exp_towardzero_test_data): Likewise.
11625         (exp_downward_test_data): Likewise.
11626         (exp_upward_test_data): Likewise.
11627         (exp10_test_data): Likewise.
11628         (exp2_test_data): Likewise.
11629         (expm1_test_data): Likewise.
11630         (fabs_test_data): Likewise.
11631         (fdim_test_data): Likewise.
11632         (finite_test_data): Likewise.
11633         (floor_test_data): Likewise.
11634         (fma_test_data): Likewise.
11635         (fma_towardzero_test_data): Likewise.
11636         (fma_downward_test_data): Likewise.
11637         (fma_upward_test_data): Likewise.
11638         (fmax_test_data): Likewise.
11639         (fmin_test_data): Likewise.
11640         (fmod_test_data): Likewise.
11641         (fpclassify_test_data): Likewise.
11642         (frexp_test_data): Likewise.
11643         (gamma_test_data): Likewise.
11644         (hypot_test_data): Likewise.
11645         (ilogb_test_data): Likewise.
11646         (isfinite_test_data): Likewise.
11647         (isgreater_test_data): Likewise.
11648         (isgreaterequal_test_data): Likewise.
11649         (isinf_test_data): Likewise.
11650         (isless_test_data): Likewise.
11651         (islessequal_test_data): Likewise.
11652         (islessgreater_test_data): Likewise.
11653         (isnan_test_data): Likewise.
11654         (isnormal_test_data): Likewise.
11655         (issignaling_test_data): Likewise.
11656         (isunordered_test_data): Likewise.
11657         (j0_test_data): Likewise.
11658         (j1_test_data): Likewise.
11659         (jn_test_data): Likewise.
11660         (ldexp_test_data): Likewise.
11661         (lgamma_test_data): Likewise.
11662         (lrint_test_data): Likewise.
11663         (lrint_tonearest_test_data): Likewise.
11664         (lrint_towardzero_test_data): Likewise.
11665         (lrint_downward_test_data): Likewise.
11666         (lrint_upward_test_data): Likewise.
11667         (llrint_test_data): Likewise.
11668         (llrint_tonearest_test_data): Likewise.
11669         (llrint_towardzero_test_data): Likewise.
11670         (llrint_downward_test_data): Likewise.
11671         (llrint_upward_test_data): Likewise.
11672         (log_test_data): Likewise.
11673         (log10_test_data): Likewise.
11674         (log1p_test_data): Likewise.
11675         (log2_test_data): Likewise.
11676         (logb_test_data): Likewise.
11677         (logb_downward_test_data): Likewise.
11678         (lround_test_data): Likewise.
11679         (llround_test_data): Likewise.
11680         (modf_test_data): Likewise.
11681         (nearbyint_test_data): Likewise.
11682         (nextafter_test_data): Likewise.
11683         (nexttoward_test_data): Likewise.
11684         (pow_test_data): Likewise.
11685         (pow_tonearest_test_data): Likewise.
11686         (pow_towardzero_test_data): Likewise.
11687         (pow_downward_test_data): Likewise.
11688         (pow_upward_test_data): Likewise.
11689         (remainder_test_data): Likewise.
11690         (remainder_tonearest_test_data): Likewise.
11691         (remainder_towardzero_test_data): Likewise.
11692         (remainder_downward_test_data): Likewise.
11693         (remainder_upward_test_data): Likewise.
11694         (remquo_test_data): Likewise.
11695         (rint_test_data): Likewise.
11696         (rint_tonearest_test_data): Likewise.
11697         (rint_towardzero_test_data): Likewise.
11698         (rint_downward_test_data): Likewise.
11699         (rint_upward_test_data): Likewise.
11700         (round_test_data): Likewise.
11701         (scalb_test_data): Likewise.
11702         (scalbn_test_data): Likewise.
11703         (scalbln_test_data): Likewise.
11704         (signbit_test_data): Likewise.
11705         (sin_test_data): Likewise.
11706         (sin_tonearest_test_data): Likewise.
11707         (sin_towardzero_test_data): Likewise.
11708         (sin_downward_test_data): Likewise.
11709         (sin_upward_test_data): Likewise.
11710         (sincos_test_data): Likewise.
11711         (sinh_test_data): Likewise.
11712         (sinh_tonearest_test_data): Likewise.
11713         (sinh_towardzero_test_data): Likewise.
11714         (sinh_downward_test_data): Likewise.
11715         (sinh_upward_test_data): Likewise.
11716         (sqrt_test_data): Likewise.
11717         (tan_test_data): Likewise.
11718         (tan_tonearest_test_data): Likewise.
11719         (tan_towardzero_test_data): Likewise.
11720         (tan_downward_test_data): Likewise.
11721         (tan_upward_test_data): Likewise.
11722         (tanh_test_data): Likewise.
11723         (tgamma_test_data): Likewise.
11724         (trunc_test_data): Likewise.
11725         (y0_test_data): Likewise.
11726         (y1_test_data): Likewise.
11727         (yn_test_data): Likewise.
11728         (significand_test_data): Likewise.
11730         * math/gen-libm-test.pl (@functions): Remove variable.
11731         (generate_testfile): Don't handle START and END lines.
11732         * math/libm-test.inc (START): New macro.
11733         (END): Likewise.
11734         (END_COMPLEX): Likewise.
11735         (acos_test): Use END macro without arguments.
11736         (acos_test_tonearest): Likewise.
11737         (acos_test_towardzero): Likewise.
11738         (acos_test_downward): Likewise.
11739         (acos_test_upward): Likewise.
11740         (acosh_test): Likewise.
11741         (asin_test): Likewise.
11742         (asin_test_tonearest): Likewise.
11743         (asin_test_towardzero): Likewise.
11744         (asin_test_downward): Likewise.
11745         (asin_test_upward): Likewise.
11746         (asinh_test): Likewise.
11747         (atan_test): Likewise.
11748         (atanh_test): Likewise.
11749         (atan2_test): Likewise.
11750         (cabs_test): Likewise.
11751         (cacos_test): Use END_COMPLEX macro without arguments.
11752         (cacosh_test): Likewise.
11753         (carg_test): Use END macro without arguments.
11754         (casin_test): Use END_COMPLEX macro without arguments.
11755         (casinh_test): Likewise.
11756         (catan_test): Likewise.
11757         (catanh_test): Likewise.
11758         (cbrt_test): Use END macro without arguments.
11759         (ccos_test): Use END_COMPLEX macro without arguments.
11760         (ccosh_test): Likewise.
11761         (ceil_test): Use END macro without arguments.
11762         (cexp_test): Use END_COMPLEX macro without arguments.
11763         (cimag_test): Use END macro without arguments.
11764         (clog_test): Use END_COMPLEX macro without arguments.
11765         (clog10_test): Likewise.
11766         (conj_test): Likewise.
11767         (copysign_test): Use END macro without arguments.
11768         (cos_test): Likewise.
11769         (cos_test_tonearest): Likewise.
11770         (cos_test_towardzero): Likewise.
11771         (cos_test_downward): Likewise.
11772         (cos_test_upward): Likewise.
11773         (cosh_test): Likewise.
11774         (cosh_test_tonearest): Likewise.
11775         (cosh_test_towardzero): Likewise.
11776         (cosh_test_downward): Likewise.
11777         (cosh_test_upward): Likewise.
11778         (cpow_test): Use END_COMPLEX macro without arguments.
11779         (cproj_test): Likewise.
11780         (creal_test): Use END macro without arguments.
11781         (csin_test): Use END_COMPLEX macro without arguments.
11782         (csinh_test): Likewise.
11783         (csqrt_test): Likewise.
11784         (ctan_test): Likewise.
11785         (ctan_test_tonearest): Likewise.
11786         (ctan_test_towardzero): Likewise.
11787         (ctan_test_downward): Likewise.
11788         (ctan_test_upward): Likewise.
11789         (ctanh_test): Likewise.
11790         (ctanh_test_tonearest): Likewise.
11791         (ctanh_test_towardzero): Likewise.
11792         (ctanh_test_downward): Likewise.
11793         (ctanh_test_upward): Likewise.
11794         (erf_test): Use END macro without arguments.
11795         (erfc_test): Likewise.
11796         (exp_test): Likewise.
11797         (exp_test_tonearest): Likewise.
11798         (exp_test_towardzero): Likewise.
11799         (exp_test_downward): Likewise.
11800         (exp_test_upward): Likewise.
11801         (exp10_test): Likewise.
11802         (exp2_test): Likewise.
11803         (expm1_test): Likewise.
11804         (fabs_test): Likewise.
11805         (fdim_test): Likewise.
11806         (finite_test): Likewise.
11807         (floor_test): Likewise.
11808         (fma_test): Likewise.
11809         (fma_test_towardzero): Likewise.
11810         (fma_test_downward): Likewise.
11811         (fma_test_upward): Likewise.
11812         (fmax_test): Likewise.
11813         (fmin_test): Likewise.
11814         (fmod_test): Likewise.
11815         (fpclassify_test): Likewise.
11816         (frexp_test): Likewise.
11817         (gamma_test): Likewise.
11818         (hypot_test): Likewise.
11819         (ilogb_test): Likewise.
11820         (isfinite_test): Likewise.
11821         (isgreater_test): Likewise.
11822         (isgreaterequal_test): Likewise.
11823         (isinf_test): Likewise.
11824         (isless_test): Likewise.
11825         (islessequal_test): Likewise.
11826         (islessgreater_test): Likewise.
11827         (isnan_test): Likewise.
11828         (isnormal_test): Likewise.
11829         (issignaling_test): Likewise.
11830         (isunordered_test): Likewise.
11831         (j0_test): Likewise.
11832         (j1_test): Likewise.
11833         (jn_test): Likewise.
11834         (ldexp_test): Likewise.
11835         (lgamma_test): Likewise.
11836         (lrint_test): Likewise.
11837         (lrint_test_tonearest): Likewise.
11838         (lrint_test_towardzero): Likewise.
11839         (lrint_test_downward): Likewise.
11840         (lrint_test_upward): Likewise.
11841         (llrint_test): Likewise.
11842         (llrint_test_tonearest): Likewise.
11843         (llrint_test_towardzero): Likewise.
11844         (llrint_test_downward): Likewise.
11845         (llrint_test_upward): Likewise.
11846         (log_test): Likewise.
11847         (log10_test): Likewise.
11848         (log1p_test): Likewise.
11849         (log2_test): Likewise.
11850         (logb_test): Likewise.
11851         (logb_test_downward): Likewise.
11852         (lround_test): Likewise.
11853         (llround_test): Likewise.
11854         (modf_test): Likewise.
11855         (nearbyint_test): Likewise.
11856         (nextafter_test): Likewise.
11857         (nexttoward_test): Likewise.
11858         (pow_test): Likewise.
11859         (pow_test_tonearest): Likewise.
11860         (pow_test_towardzero): Likewise.
11861         (pow_test_downward): Likewise.
11862         (pow_test_upward): Likewise.
11863         (remainder_test): Likewise.
11864         (remainder_test_tonearest): Likewise.
11865         (remainder_test_towardzero): Likewise.
11866         (remainder_test_downward): Likewise.
11867         (remainder_test_upward): Likewise.
11868         (remquo_test): Likewise.
11869         (rint_test): Likewise.
11870         (rint_test_tonearest): Likewise.
11871         (rint_test_towardzero): Likewise.
11872         (rint_test_downward): Likewise.
11873         (rint_test_upward): Likewise.
11874         (round_test): Likewise.
11875         (scalb_test): Likewise.
11876         (scalbn_test): Likewise.
11877         (scalbln_test): Likewise.
11878         (signbit_test): Likewise.
11879         (sin_test): Likewise.
11880         (sin_test_tonearest): Likewise.
11881         (sin_test_towardzero): Likewise.
11882         (sin_test_downward): Likewise.
11883         (sin_test_upward): Likewise.
11884         (sincos_test): Likewise.
11885         (sinh_test): Likewise.
11886         (sinh_test_tonearest): Likewise.
11887         (sinh_test_towardzero): Likewise.
11888         (sinh_test_downward): Likewise.
11889         (sinh_test_upward): Likewise.
11890         (sqrt_test): Likewise.
11891         (tan_test): Likewise.
11892         (tan_test_tonearest): Likewise.
11893         (tan_test_towardzero): Likewise.
11894         (tan_test_downward): Likewise.
11895         (tan_test_upward): Likewise.
11896         (tanh_test): Likewise.
11897         (tgamma_test): Likewise.
11898         (trunc_test): Likewise.
11899         (y0_test): Likewise.
11900         (y1_test): Likewise.
11901         (yn_test): Likewise.
11902         (significand_test): Likewise.
11904 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
11906         [BZ #15381]
11907         * libio/genops.c (_IO_no_init): Initialize wide struct info.
11909 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11911         [BZ #14894]
11912         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11913         __ppc_mdoio and __ppc_mdoom.
11914         * manual/platform.texi: Document new functions __ppc_yield,
11915         __ppc_mdoio and __ppc_mdoom.
11917 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
11919         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11920         (main): Mention "tls" pseudo-hwcap is legacy.
11921         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11923 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11925         * math/gen-libm-test.pl (parse_args): Output only string of
11926         arguments as text for test name, not full call or descriptions of
11927         tests for extra outputs.
11928         (generate_testfile): Do not pass function name to parse_args.
11929         Generate this_func variable from START.
11930         * math/libm-test.inc (struct test_f_f_data): Rename test_name
11931         field to arg_str.
11932         (struct test_ff_f_data): Likewise.
11933         (test_ff_f_data_nexttoward): Likewise.
11934         (struct test_fi_f_data): Likewise.
11935         (struct test_fl_f_data): Likewise.
11936         (struct test_if_f_data): Likewise.
11937         (struct test_fff_f_data): Likewise.
11938         (struct test_c_f_data): Likewise.
11939         (struct test_f_f1_data): Likewise.  Remove field extra_name.
11940         (struct test_fF_f1_data): Likewise.
11941         (struct test_ffI_f1_data): Likewise.
11942         (struct test_c_c_data): Rename test_name field to arg_str.
11943         (struct test_cc_c_data): Likewise.
11944         (struct test_f_i_data): Likewise.
11945         (struct test_ff_i_data): Likewise.
11946         (struct test_f_l_data): Likewise.
11947         (struct test_f_L_data): Likewise.
11948         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
11949         and extra2_name.
11950         (COMMON_TEST_SETUP): New macro.
11951         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11952         (COMMON_TEST_CLEANUP): Likewise.
11953         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11954         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
11955         macros.
11956         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11957         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
11958         macros.
11959         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11960         (RUN_TEST_fff_f): Take argument string.  Call new setup and
11961         cleanup macros.
11962         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11963         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
11964         macros.
11965         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11966         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
11967         macros.
11968         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11969         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
11970         cleanup macros.
11971         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11972         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
11973         cleanup macros.
11974         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11975         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
11976         cleanup macros.
11977         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11978         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
11979         macros.
11980         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11981         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
11982         macros.
11983         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11984         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
11985         macros.
11986         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11987         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
11988         cleanup macros.
11989         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11990         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
11991         cleanup macros.
11992         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11993         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
11994         macros.
11995         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11996         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
11997         cleanup macros.
11998         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11999         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
12000         macros.
12001         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12002         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
12003         macros.
12004         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12005         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
12006         cleanup macros.
12007         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12009 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12011         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12012         to _sifields.sigfault.
12013         (si_addr_lsb): Define new macro.
12014         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12015         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12016         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12018 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12020         [BZ #15441]
12021         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12022         returns -1.
12023         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12024         null return -1.
12025         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12026         loading the domain.
12028 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12030         * math/gen-libm-test.pl (parse_args): Do not include expected
12031         result in test name.
12032         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12033         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12034         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12035         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12036         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12039 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12041         * benchtests/Makefile: Sort function entries.
12043         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12044         tanh, asinh, acosh, atanh.
12045         * benchtests/acos-inputs: New file.
12046         * benchtests/acosh-inputs: New file.
12047         * benchtests/asin-inputs: New file.
12048         * benchtests/asinh-inputs: New file.
12049         * benchtests/atanh-inputs: New file.
12050         * benchtests/cosh-inputs: New file.
12051         * benchtests/log-inputs: New file.
12052         * benchtests/sinh-inputs: New file.
12053         * benchtests/tanh-inputs: New file.
12055 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12057         [BZ #15339]
12058         * posix/tst-getaddrinfo4.c: New test.
12059         * posix/Makefile (tests): Add it.
12061 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12063         [BZ #15339]
12064         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12065         when no services were used.
12066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12067         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12069 2013-05-21  Andreas Schwab  <schwab@suse.de>
12071         [BZ #15014]
12072         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12073         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12074         successful.
12075         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12076         redundant variable declarations and reallocation of buffer when
12077         parsing as IPv6 address.  Always set NSS status when called from
12078         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12079         buffer too small.  Correct computation of needed size.
12080         * nss/Makefile (tests): Add test-digits-dots.
12081         * nss/test-digits-dots.c: New test.
12083 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12085         * benchtests/Makefile: Remove instructions for adding
12086         benchmark tests.
12087         * benchtests/README: New file to explain how to execute and
12088         enhance the benchmark tests.
12090 2013-05-21  Andreas Schwab  <schwab@suse.de>
12092         [BZ #15493]
12093         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12094         * setjmp/tst-sigsetjmp.c: New test.
12096 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12098         * sysdeps/x86_64/memset.S (memset): New implementation.
12099         (__bzero): Likewise.
12100         (__memset_tail): New function.
12102 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12104         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12105         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12106         __memcpy_sse2_unaligned ifunc selection.
12107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12108         Add memcpy-sse2-unaligned.S.
12109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12110         Add: __memcpy_sse2_unaligned.
12112 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12114         [BZ #15490]
12115         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12116         math_force_eval before restoring floating-point envrionment.
12117         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12118         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12119         Likewise.
12120         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12121         <math_private.h>.
12122         (__nearbyintl): Use math_force_eval before restoring
12123         floating-point environment.
12124         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12126         * math/gen-libm-test.pl (special_functions): Remove.
12127         (parse_args): Don't handle TEST_extra.  Handle functions with no
12128         return value.
12129         * math/libm-test.inc (struct test_sincos_data): Replace with
12130         struct test_fFF_11_data.
12131         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12132         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12133         (sincos_test_data): Change element type to struct
12134         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12135         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12136         RUN_TEST_LOOP_sincos.
12137         * math/README.libm-test: Don't mention special handling of
12138         individual functions.
12139         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12140         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12141         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12142         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12143         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12146         * math/gen-libm-test.pl (get_variable): Remove function.
12147         (parse_args): Don't show pointer parameters to call in test
12148         names.  Use "extra output N" in test names for extra outputs
12149         rather than naming variables.
12151 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12153         [BZ #15488]
12154         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12155         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12156         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12157         double tests.
12158         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12159         disable.
12160         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12161         check_long_double.
12163         * math/gen-libm-test.pl (@tests): Remove variable.
12164         ($count): Likewise.
12165         (new_test): Remove function.
12166         (show_exceptions): New function.
12167         (special_functions): Use show_exceptions instead of new_test.
12168         (parse_args): Likewise.
12169         (generate_testfile): Pass only function name in generated call to
12170         print_max_error or print_complex_max_error.
12171         (get_ulps): Do not handle complex tests specially.
12172         (output_test): Rename to ...
12173         (get_all_ulps_for_test): ... this.  Return a string rather than
12174         printing to a file.  Require ulps to be present.
12175         (output_ulps): Generate arrays rather than #defines.
12176         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12177         (struct ulp_data): New type.
12178         (BUILD_COMPLEX_ULP): Remove macro.
12179         (compare_ulp_data): New function.
12180         (find_ulps): Likewise.
12181         (find_test_ulps): Likewise.
12182         (find_function_ulps): Likewise.
12183         (find_complex_function_ulps): Likewise.
12184         (print_max_error): Determine allowed ulps using
12185         find_function_ulps.
12186         (print_complex_max_error): Determine allowed ulps using
12187         find_complex_function_ulps.
12188         (check_float_internal): Determine max ulps using find_test_ulps.
12189         (check_float): Do not take max_ulp parameter.  Update call to
12190         check_float_internal.
12191         (check_complex): Likewise.
12192         (check_int): Do not take max_ulp parameter.
12193         (check_long): Likewise.
12194         (check_bool): Likewise.
12195         (check_longlong): Likewise.
12196         (struct test_f_f_data): Remove max_ulp field.
12197         (struct test_ff_f_data): Likewise.
12198         (struct test_ff_f_data_nexttoward): Likewise.
12199         (struct test_fi_f_data): Likewise.
12200         (struct test_fl_f_data): Likewise.
12201         (struct test_if_f_data): Likewise.
12202         (struct test_fff_f_data): Likewise.
12203         (struct test_c_f_data): Likewise.
12204         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12205         (struct test_fF_f1_data): Likewise.
12206         (struct test_ffI_f1_data): Likewise.
12207         (struct test_c_c_data): Remove max_ulp field.
12208         (struct test_cc_c_data): Likewise.
12209         (struct test_f_i_data): Likewise.
12210         (struct test_ff_i_data): Likewise.
12211         (struct test_f_l_data): Likewise.
12212         (struct test_f_L_data): Likewise.
12213         (struct test_sincos_data): Likewise.
12214         (RUN_TEST_f_f): Do not handle ulps.
12215         (RUN_TEST_LOOP_f_f): Likewise.
12216         (RUN_TEST_2_f): Likewise.
12217         (RUN_TEST_LOOP_2_f): Likewise.
12218         (RUN_TEST_fff_f): Likewise.
12219         (RUN_TEST_LOOP_fff_f): Likewise.
12220         (RUN_TEST_c_f): Likewise.
12221         (RUN_TEST_LOOP_c_f): Likewise.
12222         (RUN_TEST_f_f1): Likewise.
12223         (RUN_TEST_LOOP_f_f1): Likewise.
12224         (RUN_TEST_fF_f1): Likewise.
12225         (RUN_TEST_LOOP_fF_f1): Likewise.
12226         (RUN_TEST_fI_f1): Likewise.
12227         (RUN_TEST_LOOP_fI_f1): Likewise.
12228         (RUN_TEST_ffI_f1): Likewise.
12229         (RUN_TEST_LOOP_ffI_f1): Likewise.
12230         (RUN_TEST_c_c): Likewise.
12231         (RUN_TEST_LOOP_c_c): Likewise.
12232         (RUN_TEST_cc_c): Likewise.
12233         (RUN_TEST_LOOP_cc_c): Likewise.
12234         (RUN_TEST_f_i): Likewise.
12235         (RUN_TEST_LOOP_f_i): Likewise.
12236         (RUN_TEST_f_i_tg): Likewise.
12237         (RUN_TEST_LOOP_f_i_tg): Likewise.
12238         (RUN_TEST_ff_i_tg): Likewise.
12239         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12240         (RUN_TEST_f_b): Likewise.
12241         (RUN_TEST_LOOP_f_b): Likewise.
12242         (RUN_TEST_f_b_tg): Likewise.
12243         (RUN_TEST_LOOP_f_b_tg): Likewise.
12244         (RUN_TEST_f_l): Likewise.
12245         (RUN_TEST_LOOP_f_l): Likewise.
12246         (RUN_TEST_f_L): Likewise.
12247         (RUN_TEST_LOOP_f_L): Likewise.
12248         (RUN_TEST_sincos): Likewise.
12249         (RUN_TEST_LOOP_sincos): Likewise.
12251 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12253         [BZ #15480]
12254         [BZ #15485]
12255         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12256         main case of finite arguments, set rounding mode to FE_TONEAREST
12257         and discard exceptions.
12258         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12259         exceptions.
12260         (remainder_tonearest_test_data): New variable.
12261         (remainder_test_tonearest): New function.
12262         (remainder_towardzero_test_data): New variable.
12263         (remainder_test_towardzero): New function.
12264         (remainder_downward_test_data): New variable.
12265         (remainder_test_downward): New function.
12266         (remainder_upward_test_data): New variable.
12267         (remainder_test_upward): New function.
12268         (main): Call the new test functions.
12270         * math/libm-test.inc (struct test_f_f1_data): Remove field
12271         extra_init.
12272         (struct test_fF_f1_data): Likewise.
12273         (struct test_ffI_f1_data): Likewise.
12274         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12275         based on value of EXTRA_EXPECTED.
12276         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12277         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12278         EXTRA_VAR based on value of EXTRA_EXPECTED.
12279         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12280         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12281         EXTRA_VAR based on value of EXTRA_EXPECTED.
12282         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12283         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12284         EXTRA_VAR based on value of EXTRA_EXPECTED.
12285         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12286         * math/gen-libm-test.pl (parse_args): Don't output initializers
12287         for extra output values.
12289         * math/libm-test.inc (check_int): Expect result to be exactly
12290         equal to expected value and do not handle ulps.
12291         (check_long): Likewise.
12292         (check_longlong): Likewise.
12294         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12295         exceptions.
12296         (cimag_test_data): Likewise.
12297         (conj_test_data): Likewise.
12298         (copysign_test_data): Likewise.
12299         (cproj_test_data): Likewise.
12300         (creal_test_data): Likewise.
12301         (fabs_test_data): Likewise.
12302         (fdim_test_data): Likewise.
12303         (finite_test_data): Likewise.
12304         (floor_test_data): Likewise.
12305         (fmax_test_data): Likewise.
12306         (fmin_test_data): Likewise.
12307         (fmod_test_data): Likewise.
12308         (fpclassify_test_data): Likewise.
12309         (frexp_test_data): Likewise.
12310         (ilogb_test_data): Likewise.
12311         (isfinite_test_data): Likewise.
12312         (isgreater_test_data): Likewise.
12313         (isgreaterequal_test_data): Likewise.
12314         (isinf_test_data): Likewise.
12315         (isless_test_data): Likewise.
12316         (islessequal_test_data): Likewise.
12317         (islessgreater_test_data): Likewise.
12318         (isnan_test_data): Likewise.
12319         (isnormal_test_data): Likewise.
12320         (issignaling_test_data): Likewise.
12321         (isunordered_test_data): Likewise.
12322         (ldexp_test_data): Likewise.
12323         (lrint_test_data): Likewise.
12324         (lrint_test_data) [TEST_FLOAT]: Disable one test.
12325         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12326         (lrint_tonearest_test_data): Test for "inexact" exceptions.
12327         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12328         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12329         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12330         test input.
12331         (lrint_towardzero_test_data): Test for "inexact" exceptions.
12332         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12333         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12334         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12335         that test input.
12336         (lrint_downward_test_data): Test for "inexact" exceptions.
12337         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12338         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12339         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12340         test input.
12341         (lrint_upward_test_data): Test for "inexact" exceptions.
12342         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12343         test input.
12344         (llrint_test_data): Test for "inexact" exceptions.
12345         (llrint_test_data) [TEST_FLOAT]: Disable one test.
12346         (llrint_tonearest_test_data): Test for "inexact" exceptions.
12347         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12348         (llrint_towardzero_test_data): Test for "inexact" exceptions.
12349         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12350         (llrint_downward_test_data): Test for "inexact" exceptions.
12351         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12352         (llrint_upward_test_data): Test for "inexact" exceptions.
12353         (logb_test_data): Likewise.
12354         (logb_downward_test_data): Likewise.
12355         (nextafter_test_data): Likewise.
12356         (nexttoward_test_data): Likewise.
12357         (remainder_test_data): Likewise.
12358         (remquo_test_data): Likewise.
12359         (scalbn_test_data): Likewise.
12360         (scalbln_test_data): Likewise.
12361         (signbit_test_data): Likewise.
12362         (sqrt_test_data): Likewise.
12363         (significand_test_data): Likewise.
12365 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12367         [BZ #15424]
12368         * benchtests/bench-modf.c (struct args): Mark arg0 as
12369         volatile.
12370         * scripts/bench.pl: Mark members of struct args as volatile.
12372 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12374         [BZ # 15497]
12375         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12376         negative infinity on POWER6 or lower.
12377         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12379 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12381         [BZ #15442]
12382         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12383         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12384         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12385         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12386         (_FP_SETQNAN): New macro.
12387         (_FP_SETQNAN_SEMIRAW): Likewise.
12388         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12389         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12390         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12391         (FP_EXTEND): Use _FP_FRAC_SNANP.
12392         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12393         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12394         into account.
12395         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12396         New macro.
12397         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12398         Likewise.
12400 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12402         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12403         with DIVIDE_BY_ZERO_EXCEPTION.
12404         (gamma_test_data): Likewise.
12405         (lgamma_test_data): Likewise.
12406         (log_test_data): Likewise.
12407         (log10_test_data): Likewise.
12408         (log2_test_data): Likewise.
12409         (tgamma_test_data): Likewise.
12411         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12412         (acos_test_tonearest): Likewise.
12413         (acos_test_towardzero): Likewise.
12414         (acos_test_downward): Likewise.
12415         (acos_test_upward): Likewise.
12416         (acosh_test): Likewise.
12417         (asin_test): Likewise.
12418         (asin_test_tonearest): Likewise.
12419         (asin_test_towardzero): Likewise.
12420         (asin_test_downward): Likewise.
12421         (asin_test_upward): Likewise.
12422         (asinh_test): Likewise.
12423         (atan_test): Likewise.
12424         (atanh_test): Likewise.
12425         (atan2_test): Likewise.
12426         (cabs_test): Likewise.
12427         (cacos_test): Likewise.
12428         (cacosh_test): Likewise.
12429         (casin_test): Likewise.
12430         (casinh_test): Likewise.
12431         (catan_test): Likewise.
12432         (catanh_test): Likewise.
12433         (cbrt_test): Likewise.
12434         (ccos_test): Likewise.
12435         (ccosh_test): Likewise.
12436         (cexp_test): Likewise.
12437         (clog_test): Likewise.
12438         (clog10_test): Likewise.
12439         (cos_test): Likewise.
12440         (cos_test_tonearest): Likewise.
12441         (cos_test_towardzero): Likewise.
12442         (cos_test_downward): Likewise.
12443         (cos_test_upward): Likewise.
12444         (cosh_test): Likewise.
12445         (cosh_test_tonearest): Likewise.
12446         (cosh_test_towardzero): Likewise.
12447         (cosh_test_downward): Likewise.
12448         (cosh_test_upward): Likewise.
12449         (cpow_test): Likewise.
12450         (csin_test): Likewise.
12451         (csinh_test): Likewise.
12452         (csqrt_test): Likewise.
12453         (ctan_test): Likewise.
12454         (ctan_test_tonearest): Likewise.
12455         (ctan_test_towardzero): Likewise.
12456         (ctan_test_downward): Likewise.
12457         (ctan_test_upward): Likewise.
12458         (ctanh_test): Likewise.
12459         (ctanh_test_tonearest): Likewise.
12460         (ctanh_test_towardzero): Likewise.
12461         (ctanh_test_downward): Likewise.
12462         (ctanh_test_upward): Likewise.
12463         (erf_test): Likewise.
12464         (erfc_test): Likewise.
12465         (exp_test): Likewise.
12466         (exp_test_tonearest): Likewise.
12467         (exp_test_towardzero): Likewise.
12468         (exp_test_downward): Likewise.
12469         (exp_test_upward): Likewise.
12470         (exp10_test): Likewise.
12471         (exp2_test): Likewise.
12472         (expm1_test): Likewise.
12473         (fmod_test): Likewise.
12474         (gamma_test): Likewise.
12475         (hypot_test): Likewise.
12476         (j0_test): Likewise.
12477         (j1_test): Likewise.
12478         (jn_test): Likewise.
12479         (lgamma_test): Likewise.
12480         (log_test): Likewise.
12481         (log10_test): Likewise.
12482         (log1p_test): Likewise.
12483         (log2_test): Likewise.
12484         (logb_test_downward): Likewise.
12485         (pow_test): Likewise.
12486         (pow_test_tonearest): Likewise.
12487         (pow_test_towardzero): Likewise.
12488         (pow_test_downward): Likewise.
12489         (pow_test_upward): Likewise.
12490         (remainder_test): Likewise.
12491         (remquo_test): Likewise.
12492         (sin_test): Likewise.
12493         (sin_test_tonearest): Likewise.
12494         (sin_test_towardzero): Likewise.
12495         (sin_test_downward): Likewise.
12496         (sin_test_upward): Likewise.
12497         (sincos_test): Likewise.
12498         (sinh_test): Likewise.
12499         (sinh_test_tonearest): Likewise.
12500         (sinh_test_towardzero): Likewise.
12501         (sinh_test_downward): Likewise.
12502         (sinh_test_upward): Likewise.
12503         (sqrt_test): Likewise.
12504         (tan_test): Likewise.
12505         (tan_test_tonearest): Likewise.
12506         (tan_test_towardzero): Likewise.
12507         (tan_test_downward): Likewise.
12508         (tan_test_upward): Likewise.
12509         (tanh_test): Likewise.
12510         (tgamma_test): Likewise.
12511         (y0_test): Likewise.
12512         (y1_test): Likewise.
12513         (yn_test): Likewise.
12515         * math/gen-libm-test.pl (adjust_arg): Remove function.
12516         (special_function): Remove argument $in_func.  Only handle
12517         generating output for tables of tests, not inside functions.
12518         (parse_args): Likewise.
12519         (generate_testfile): Remove variable $in_func.  Update call to
12520         parse_args.
12521         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12522         (MINUS_ZERO_INIT): Rename macro to minus_zero.
12523         (PLUS_INFTY_INIT): Rename macro to plus_infty.
12524         (MINUS_INFTY_INIT): Rename macro to minus_infty.
12525         (QNAN_VALUE_INIT): Rename macro to qnan_value.
12526         (MAX_VALUE_INIT): Rename macro to max_value.
12527         (MIN_VALUE_INIT): Rename macro to min_value.
12528         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12529         (plus_zero): Remove variable.
12530         (minus_zero): Likewise.
12531         (plus_infty): Likewise.
12532         (minus_infty): Likewise.
12533         (qnan_value): Likewise.
12534         (max_value): Likewise.
12535         (min_value): Likewise.
12536         (min_subnorm_value): Likewise.
12538 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12540         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12541         uint64_t or uint32_t usage.
12542         * crypt/sha256-block.c: Likewise.
12543         * crypt/sha256-crypt.c: Likewise.
12544         * crypt/sha256.c: Likewise.
12545         * crypt/sha512-block.c: Likewise.
12546         * crypt/sha512-crypt.c: Likewise.
12547         * crypt/sha512.c: Likewise.
12548         * debug/backtrace-tst.c: Likewise.
12549         * debug/pcprofiledump.c: Likewise.
12550         * elf/cache.c: Likewise.
12551         * elf/dl-cache.c: Likewise.
12552         * elf/dl-misc.c: Likewise.
12553         * elf/dl-profile.c: Likewise.
12554         * elf/dl-support.c: Likewise.
12555         * elf/ldconfig.c: Likewise.
12556         * elf/sprof.c: Likewise.
12557         * iconv/dummy-repertoire.c: Likewise.
12558         * iconv/iconv_charmap.c: Likewise.
12559         * iconv/skeleton.c: Likewise.
12560         * iconvdata/8bit-generic.c: Likewise.
12561         * iconvdata/cp737.h: Likewise.
12562         * iconvdata/cp775.h: Likewise.
12563         * iconvdata/ibm1008.h: Likewise.
12564         * iconvdata/ibm1025.h: Likewise.
12565         * iconvdata/ibm1046.h: Likewise.
12566         * iconvdata/ibm1097.h: Likewise.
12567         * iconvdata/ibm1112.h: Likewise.
12568         * iconvdata/ibm1122.h: Likewise.
12569         * iconvdata/ibm1123.h: Likewise.
12570         * iconvdata/ibm1124.h: Likewise.
12571         * iconvdata/ibm1129.h: Likewise.
12572         * iconvdata/ibm1130.h: Likewise.
12573         * iconvdata/ibm1132.h: Likewise.
12574         * iconvdata/ibm1133.h: Likewise.
12575         * iconvdata/ibm1137.h: Likewise.
12576         * iconvdata/ibm1140.h: Likewise.
12577         * iconvdata/ibm1141.h: Likewise.
12578         * iconvdata/ibm1142.h: Likewise.
12579         * iconvdata/ibm1143.h: Likewise.
12580         * iconvdata/ibm1144.h: Likewise.
12581         * iconvdata/ibm1145.h: Likewise.
12582         * iconvdata/ibm1146.h: Likewise.
12583         * iconvdata/ibm1147.h: Likewise.
12584         * iconvdata/ibm1148.h: Likewise.
12585         * iconvdata/ibm1149.h: Likewise.
12586         * iconvdata/ibm1153.h: Likewise.
12587         * iconvdata/ibm1154.h: Likewise.
12588         * iconvdata/ibm1155.h: Likewise.
12589         * iconvdata/ibm1156.h: Likewise.
12590         * iconvdata/ibm1157.h: Likewise.
12591         * iconvdata/ibm1158.h: Likewise.
12592         * iconvdata/ibm1160.h: Likewise.
12593         * iconvdata/ibm1161.h: Likewise.
12594         * iconvdata/ibm1162.h: Likewise.
12595         * iconvdata/ibm1163.h: Likewise.
12596         * iconvdata/ibm1164.h: Likewise.
12597         * iconvdata/ibm1166.h: Likewise.
12598         * iconvdata/ibm1167.h: Likewise.
12599         * iconvdata/ibm12712.h: Likewise.
12600         * iconvdata/ibm1390.h: Likewise.
12601         * iconvdata/ibm1399.h: Likewise.
12602         * iconvdata/ibm16804.h: Likewise.
12603         * iconvdata/ibm4517.h: Likewise.
12604         * iconvdata/ibm4899.h: Likewise.
12605         * iconvdata/ibm4909.h: Likewise.
12606         * iconvdata/ibm4971.h: Likewise.
12607         * iconvdata/ibm5347.h: Likewise.
12608         * iconvdata/ibm803.h: Likewise.
12609         * iconvdata/ibm856.h: Likewise.
12610         * iconvdata/ibm901.h: Likewise.
12611         * iconvdata/ibm902.h: Likewise.
12612         * iconvdata/ibm9030.h: Likewise.
12613         * iconvdata/ibm9066.h: Likewise.
12614         * iconvdata/ibm921.h: Likewise.
12615         * iconvdata/ibm922.h: Likewise.
12616         * iconvdata/ibm9448.h: Likewise.
12617         * iconvdata/isiri-3342.h: Likewise.
12618         * iconvdata/jis0201.h: Likewise.
12619         * include/link.h: Likewise.
12620         * include/netdb.h: Likewise.
12621         * inet/check_native.c: Likewise.
12622         * inet/check_pf.c: Likewise.
12623         * inet/getipv4sourcefilter.c: Likewise.
12624         * inet/getnameinfo.c: Likewise.
12625         * inet/getsourcefilter.c: Likewise.
12626         * inet/htonl.c: Likewise.
12627         * inet/setipv4sourcefilter.c: Likewise.
12628         * inet/setsourcefilter.c: Likewise.
12629         * inet/test-inet6_opt.c: Likewise.
12630         * inet/tst-network.c: Likewise.
12631         * locale/C-collate.c: Likewise.
12632         * locale/C-ctype.c: Likewise.
12633         * locale/C-time.c: Likewise.
12634         * locale/C-translit.h: Likewise.
12635         * locale/loadarchive.c: Likewise.
12636         * locale/programs/3level.h: Likewise.
12637         * locale/programs/charmap.c: Likewise.
12638         * locale/programs/charmap.h: Likewise.
12639         * locale/programs/ld-address.c: Likewise.
12640         * locale/programs/ld-collate.c: Likewise.
12641         * locale/programs/ld-ctype.c: Likewise.
12642         * locale/programs/ld-identification.c: Likewise.
12643         * locale/programs/ld-measurement.c: Likewise.
12644         * locale/programs/ld-messages.c: Likewise.
12645         * locale/programs/ld-monetary.c: Likewise.
12646         * locale/programs/ld-name.c: Likewise.
12647         * locale/programs/ld-numeric.c: Likewise.
12648         * locale/programs/ld-paper.c: Likewise.
12649         * locale/programs/ld-telephone.c: Likewise.
12650         * locale/programs/ld-time.c: Likewise.
12651         * locale/programs/linereader.c: Likewise.
12652         * locale/programs/locale.c: Likewise.
12653         * locale/programs/locarchive.c: Likewise.
12654         * locale/programs/locfile.h: Likewise.
12655         * locale/programs/repertoire.c: Likewise.
12656         * locale/programs/simple-hash.c: Likewise.
12657         * locale/programs/simple-hash.h: Likewise.
12658         * malloc/memusage.c: Likewise.
12659         * malloc/memusagestat.c: Likewise.
12660         * nis/nis_defaults.c: Likewise.
12661         * nis/nis_hash.c: Likewise.
12662         * nis/nis_print.c: Likewise.
12663         * nis/nis_xdr.c: Likewise.
12664         * nscd/connections.c: Likewise.
12665         * nscd/hstcache.c: Likewise.
12666         * nscd/nscd_gethst_r.c: Likewise.
12667         * nscd/nscd_getserv_r.c: Likewise.
12668         * nscd/nscd_helper.c: Likewise.
12669         * nscd/servicescache.c: Likewise.
12670         * nss/makedb.c: Likewise.
12671         * nss/nss_db/db-XXX.c: Likewise.
12672         * nss/nss_db/db-initgroups.c: Likewise.
12673         * nss/nss_db/db-netgrp.c: Likewise.
12674         * nss/nss_files/files-network.c: Likewise.
12675         * nss/nss_files/files-parse.c: Likewise.
12676         * posix/bug-regex5.c: Likewise.
12677         * posix/fnmatch_loop.c: Likewise.
12678         * posix/regcomp.c: Likewise.
12679         * posix/regexec.c: Likewise.
12680         * posix/tst-rfc3484-2.c: Likewise.
12681         * posix/tst-rfc3484-3.c: Likewise.
12682         * posix/tst-rfc3484.c: Likewise.
12683         * resolv/nss_dns/dns-canon.c: Likewise.
12684         * resolv/nss_dns/dns-network.c: Likewise.
12685         * resolv/res_init.c: Likewise.
12686         * resolv/res_mkquery.c: Likewise.
12687         * resolv/tst-aton.c: Likewise.
12688         * stdlib/cxa_atexit.c: Likewise.
12689         * stdlib/cxa_finalize.c: Likewise.
12690         * stdlib/gen-fpioconst.c: Likewise.
12691         * stdlib/strtol_l.c: Likewise.
12692         * string/tst-endian.c: Likewise.
12693         * sunrpc/auth_des.c: Likewise.
12694         * sunrpc/clnt_udp.c: Likewise.
12695         * sunrpc/rtime.c: Likewise.
12696         * sunrpc/svcauth_des.c: Likewise.
12697         * sunrpc/xdr.c: Likewise.
12698         * sunrpc/xdr_intXX_t.c: Likewise.
12699         * sunrpc/xdr_rec.c: Likewise.
12700         * sysdeps/generic/ldconfig.h: Likewise.
12701         * sysdeps/generic/ldsodefs.h: Likewise.
12702         * sysdeps/generic/memusage.h: Likewise.
12703         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12704         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12705         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12706         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12707         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12709         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12710         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12711         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12713         * sysdeps/posix/getaddrinfo.c: Likewise.
12714         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12716         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12717         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12718         * sysdeps/powerpc/test-gettimebase.c: Likewise.
12719         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12720         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12721         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12722         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12723         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12724         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12725         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12726         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12727         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12728         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12729         * sysdeps/x86_64/dl-tls.h: Likewise.
12730         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12731         * time/alt_digit.c: Likewise.
12732         * time/era.c: Likewise.
12733         * wcsmbs/tst-c16c32-1.c: Likewise.
12735 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12737         * math/libm-test.inc (struct test_sincos_data): New type.
12738         (RUN_TEST_LOOP_sincos): New macro.
12739         (sincos_test_data): New variable.
12740         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12742 2013-05-16  Richard Henderson  <rth@redhat.com>
12744         * math/atest-exp2.c (LIMB64): New macro.
12745         (CONSTSZ): New macro.
12746         (mp_exp1, mp_exp_m1, mp_log2): New variables.
12747         (hexdig): Move ...
12748         (print_mpn_fp): ... to function scope.
12749         (read_mpn_hex): Remove.
12750         (get_log2): Remove.
12751         (exp2_mpn): Use mp_log2.
12752         (main): Use mp_exp1.
12754 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12756         * math/libm-test.inc: Remove comment about not testing "inexact"
12757         exceptions.
12758         (INEXACT_EXCEPTION): New macro.
12759         (NO_INEXACT_EXCEPTION): Likewise.
12760         (INVALID_EXCEPTION_OK): Update value.
12761         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12762         (OVERFLOW_EXCEPTION_OK): Likewise.
12763         (UNDERFLOW_EXCEPTION_OK): Likewise.
12764         (IGNORE_ZERO_INF_SIGN): Likewise.
12765         (ERRNO_UNCHANGED): Likewise.
12766         (ERRNO_EDOM): Likewise.
12767         (ERRNO_ERANGE): Likewise.
12768         (test_exceptions): Handle testing "inexact" exceptions.
12769         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12770         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12771         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12772         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12773         INEXACT_EXCEPTION.
12774         (rint_towardzero_test_data): Likewise.
12775         (rint_downward_test_data): Likewise.
12776         (rint_upward_test_data): Likewise.
12778         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12779         with OVERFLOW_EXCEPTION.
12780         (exp10_test_data): Likewise.
12781         (exp2_test_data): Likewise.
12782         (expm1_test_data): Likewise.
12783         (lgamma_test_data): Likewise.
12784         (pow_test_data): Likewise.
12785         (tgamma_test_data): Likewise.
12786         (yn_test_data): Remove duplicate test of overflow.
12788         * math/libm-test.inc (struct test_cc_c_data): New type.
12789         (RUN_TEST_LOOP_cc_c): New macro.
12790         (cpow_test_data): New variable.
12791         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12793         * math/libm-test.inc (struct test_f_L_data): New type.
12794         (RUN_TEST_LOOP_f_L): New macro.
12795         (llrint_test_data): New variable.
12796         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12797         (llrint_tonearest_test_data): New variable.
12798         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12799         (llrint_towardzero_test_data): New variable.
12800         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12801         (llrint_downward_test_data): New variable.
12802         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12803         (llrint_upward_test_data): New variable.
12804         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12805         (llround_test_data): New variable.
12806         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12808 2013-05-13  Peter Collingbourne  <pcc@google.com>
12810         * math/atest-exp2.c (get_log2): Remove const attribute.
12812 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12814         * math/libm-test.inc (struct test_f_l_data): New type.
12815         (RUN_TEST_LOOP_f_l): New macro.
12816         (lrint_test_data): New variable.
12817         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12818         (lrint_tonearest_test_data): New variable.
12819         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12820         (lrint_towardzero_test_data): New variable.
12821         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12822         (lrint_downward_test_data): New variable.
12823         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12824         (lrint_upward_test_data): New variable.
12825         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12826         (lround_test_data): New variable.
12827         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12829 2013-05-15  Peter Collingbourne  <pcc@google.com>
12831         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12832         (EXTRACT_WORDS64) Use where appropriate.
12833         (INSERT_WORDS64) Likewise.
12835         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12836         constraints with x constraints.
12837         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12839         * malloc/obstack.c (_obstack_compat): Add initializer.
12841 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12843         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12844         si_trapno and add si_addr_lsb to _sifields.sigfault.
12845         (si_trapno): Remove macro.
12846         (si_addr_lsb): Define new macro.
12847         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12849 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12851         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12852         instead of TEST_f_l.
12853         (llrint_test_tonearest): Likewise.
12854         (llrint_test_towardzero): Likewise.
12855         (llrint_test_downward): Likewise.
12856         (llrint_test_upward): Likewise.
12857         (llround_test): Likewise.
12859         * math/libm-test.inc (struct test_f_i_data): Add comment.
12860         (RUN_TEST_LOOP_f_b): New macro.
12861         (RUN_TEST_LOOP_f_b_tg): Likewise.
12862         (finite_test_data): New variable.
12863         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12864         (isfinite_test_data): New variable.
12865         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12866         (isinf_test_data): New variable.
12867         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12868         (isnan_test_data): New variable.
12869         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12870         (isnormal_test_data): New variable.
12871         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12872         (issignaling_test_data): New variable.
12873         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12874         (signbit_test_data): New variable.
12875         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12877         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12878         with INVALID_EXCEPTION.
12879         (acosh_test_data): Likewise.
12880         (asin_test_data): Likewise.
12881         (atanh_test_data): Likewise.
12882         (fmod_test_data): Likewise.
12883         (log_test_data): Likewise.
12884         (log10_test_data): Likewise.
12885         (log2_test_data): Likewise.
12886         (pow_test_data): Likewise.
12887         (sqrt_test_data): Likewise.
12888         (y0_test_data): Likewise.
12889         (y1_test_data): Likewise.
12890         (yn_test_data): Likewise.
12892         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12893         function contents.
12895         * math/libm-test.inc (struct test_ff_i_data): New type.
12896         (RUN_TEST_LOOP_ff_i_tg): New macro.
12897         (isgreater_test_data): New variable.
12898         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12899         (isgreaterequal_test_data): New variable.
12900         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12901         (isless_test_data): New variable.
12902         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12903         (islessequal_test_data): New variable.
12904         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12905         (islessgreater_test_data): New variable.
12906         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12907         (isunordered_test_data): New variable.
12908         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12910 2013-05-14  David S. Miller  <davem@davemloft.net>
12912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12914 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
12916         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12918         * math/libm-test.inc (struct test_fF_f1_data): Change type of
12919         extra_test to int.
12920         (struct test_f_i_data): Change type of max_ulp to int.
12922         * math/libm-test.inc (test_ffI_f1_data): New type.
12923         (RUN_TEST_LOOP_ffI_f1): New macro.
12924         (remquo_test_data): New variable.
12925         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12927         * setjmp/tst-setjmp-fp.c: New file.
12928         * setjmp/Makefile (tests): Add tst-setjmp-fp.
12929         (link-libm): New variable.
12930         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12932         * math/libm-test.inc (struct test_f_i_data): New type.
12933         (RUN_TEST_LOOP_f_i): New macro.
12934         (RUN_TEST_LOOP_f_i_tg): Likewise.
12935         (fpclassify_test_data): New variable.
12936         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12937         (ilogb_test_data): New variable.
12938         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12940         * math/libm-test.inc (scalbln_test): Correct function name in END
12941         call.
12943         * math/libm-test.inc (struct test_f_f1_data): Add comment.
12944         (RUN_TEST_LOOP_fI_f1): New macro.
12945         (frexp_test_data): New variable.
12946         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12948         * math/libm-test.inc (struct test_fF_f1_data): New type.
12949         (RUN_TEST_LOOP_fF_f1): New macro.
12950         (modf_test_data): New variable.
12951         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12953         * math/libm-test.inc (struct test_f_f1_data): New type.
12954         (RUN_TEST_LOOP_f_f1): New macro.
12955         (gamma_test_data): New variable.
12956         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12957         (lgamma_test_data): New variable.
12958         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12960 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
12962         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12963         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12964         (main): Comment "tls" pseudo-hwcap.
12966 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
12968         * math/libm-test.inc (struct test_fl_f_data): New type.
12969         (RUN_TEST_LOOP_fl_f): New variable.
12970         (scalbln_test_data): New variable.
12971         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12973         * math/libm-test.inc (struct test_fi_f_data): New type.
12974         (RUN_TEST_LOOP_fi_f): New macro.
12975         (ldexp_test_data): New variable.
12976         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12977         (scalbn_test_data): New variable.
12978         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12980         * math/libm-test.inc (struct test_c_f_data): New type.
12981         (RUN_TEST_LOOP_c_f): New macro.
12982         (cabs_test_data): New variable.
12983         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12984         (carg_test_data): New variable.
12985         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12986         (cimag_test_data): New variable.
12987         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12988         (creal_test_data): New variable.
12989         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12991         * math/libm-test.inc (struct test_if_f_data): New type.
12992         (RUN_TEST_LOOP_if_f): New macro.
12993         (jn_test_data): New variable.
12994         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12995         (yn_test_data): New variable.
12996         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12998         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13000 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13002         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13003         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13005 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13007         * benchtests/Makefile (CPPFLAGS-nonlib): Add
13008         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13009         (bench-deps): Add bench-timing.h.
13010         * benchtests-bench-skeleton.c: Include bench-timing.h.
13011         (main): Use TIMING_* macros instead of clock_gettime.
13012         * benchtests/bench-timing.h: New file.
13014         [BZ #14582]
13015         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13016         Renamed from _LIB_VERSION.
13017         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13019 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13021         * math/libm-test.inc (struct test_fff_f_data): New type.
13022         (RUN_TEST_LOOP_fff_f): New macro.
13023         (fma_test_data): New variable.
13024         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13025         (fma_towardzero_test_data): New variable.
13026         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13027         (fma_downward_test_data): New variable.
13028         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13029         (fma_upward_test_data): New variable.
13030         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13032         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13033         (struct test_c_c_data): New type.
13034         (RUN_TEST_LOOP_c_c): New macro.
13035         (cacos_test_data): New variable.
13036         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13037         (cacosh_test_data): New variable.
13038         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13039         (casin_test_data): New variable.
13040         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13041         (casinh_test_data): New variable.
13042         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13043         (catan_test_data): New variable.
13044         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13045         (catanh_test_data): New variable.
13046         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13047         (ccos_test_data): New variable.
13048         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13049         (ccosh_test_data): New variable.
13050         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13051         (cexp_test_data): New variable.
13052         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13053         (clog_test_data): New variable.
13054         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13055         (clog10_test_data): New variable.
13056         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13057         (conj_test_data): New variable.
13058         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13059         (cproj_test_data): New variable.
13060         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13061         (csin_test_data): New variable.
13062         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13063         (csinh_test_data): New variable.
13064         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13065         (csqrt_test_data): New variable.
13066         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13067         (ctan_test_data): New variable.
13068         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13069         (ctan_tonearest_test_data): New variable.
13070         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13071         (ctan_towardzero_test_data): New variable.
13072         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13073         (ctan_downward_test_data): New variable.
13074         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13075         (ctan_upward_test_data): New variable.
13076         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13077         (ctanh_test_data): New variable.
13078         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13079         (ctanh_tonearest_test_data): New variable.
13080         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13081         (ctanh_towardzero_test_data): New variable.
13082         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13083         (ctanh_downward_test_data): New variable.
13084         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13085         (ctanh_upward_test_data): New variable.
13086         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13087         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13088         of BUILD_COMPLEX.
13090         * math/libm-test.inc (struct test_ff_f_data): New type.
13091         (struct test_ff_f_data_nexttoward): Likewise.
13092         (RUN_TEST_LOOP_2_f): New macro.
13093         (RUN_TEST_LOOP_ff_f): Likewise.
13094         (atan2_test_data): New variable.
13095         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13096         (copysign_test_data): New variable.
13097         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13098         (fdim_test_data): New variable.
13099         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13100         (fmax_test_data): New variable.
13101         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13102         (fmin_test_data): New variable.
13103         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13104         (fmod_test_data): New variable.
13105         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13106         (hypot_test_data): New variable.
13107         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13108         (nextafter_test_data): New variable.
13109         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13110         (nexttoward_test_data): New variable.
13111         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13112         (pow_test_data): New variable.
13113         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13114         (pow_tonearest_test_data): New variable.
13115         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13116         (pow_towardzero_test_data): New variable.
13117         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13118         (pow_downward_test_data): New variable.
13119         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13120         (pow_upward_test_data): New variable.
13121         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13122         (remainder_test_data): New variable.
13123         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13124         (scalb_test_data): New variable.
13125         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13126         * sysdeps/i386/fpu/libm-test-ulps: Update.
13128 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13130         * math/libm-test.inc (fma_test): Use max_value instead of local
13131         variable fltmax.
13132         (nextafter_test): Likewise.
13134         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13135         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13136         (acos_downward_test_data): New variable.
13137         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13138         (acos_upward_test_data): New variable.
13139         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13140         (acosh_test_data): New variable.
13141         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13142         (asin_test_data): New variable.
13143         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13144         (asin_tonearest_test_data): New variable.
13145         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13146         (asin_towardzero_test_data): New variable.
13147         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13148         (asin_downward_test_data): New variable.
13149         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13150         (asin_upward_test_data): New variable.
13151         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13152         (asinh_test_data): New variable.
13153         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13154         (atan_test_data): New variable.
13155         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13156         (atanh_test_data): New variable.
13157         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13158         (cbrt_test_data): New variable.
13159         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13160         (ceil_test_data): New variable.
13161         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13162         (cos_test_data): New variable.
13163         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13164         (cos_tonearest_test_data): New variable.
13165         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13166         (cos_towardzero_test_data): New variable.
13167         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13168         (cos_downward_test_data): New variable.
13169         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13170         (cos_upward_test_data): New variable.
13171         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13172         (cosh_test_data): New variable.
13173         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13174         (cosh_tonearest_test_data): New variable.
13175         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13176         (cosh_towardzero_test_data): New variable.
13177         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13178         (cosh_downward_test_data): New variable.
13179         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13180         (cosh_upward_test_data): New variable.
13181         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13182         (erf_test_data): New variable.
13183         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13184         (erfc_test_data): New variable.
13185         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13186         (exp_test_data): New variable.
13187         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13188         (exp_tonearest_test_data): New variable.
13189         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13190         (exp_towardzero_test_data): New variable.
13191         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13192         (exp_downward_test_data): New variable.
13193         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13194         (exp_upward_test_data): New variable.
13195         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13196         (exp10_test_data): New variable.
13197         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13198         (exp2_test_data): New variable.
13199         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13200         (expm1_test_data): New variable.
13201         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13202         (fabs_test_data): New variable.
13203         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13204         (floor_test_data): New variable.
13205         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13206         (j0_test_data): New variable.
13207         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13208         (j1_test_data): New variable.
13209         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13210         (log_test_data): New variable.
13211         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13212         (log10_test_data): New variable.
13213         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13214         (log1p_test_data): New variable.
13215         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13216         (log2_test_data): New variable.
13217         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13218         (logb_test_data): New variable.
13219         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13220         (logb_downward_test_data): New variable.
13221         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13222         (nearbyint_test_data): New variable.
13223         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13224         (rint_test_data): New variable.
13225         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13226         (rint_tonearest_test_data): New variable.
13227         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13228         (rint_towardzero_test_data): New variable.
13229         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13230         (rint_downward_test_data): New variable.
13231         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13232         (rint_upward_test_data): New variable.
13233         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13234         (round_test_data): New variable.
13235         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13236         (sin_test_data): New variable.
13237         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13238         (sin_tonearest_test_data): New variable.
13239         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13240         (sin_towardzero_test_data): New variable.
13241         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13242         (sin_downward_test_data): New variable.
13243         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13244         (sin_upward_test_data): New variable.
13245         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13246         (sinh_test_data): New variable.
13247         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13248         (sinh_tonearest_test_data): New variable.
13249         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13250         (sinh_towardzero_test_data): New variable.
13251         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13252         (sinh_downward_test_data): New variable.
13253         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13254         (sinh_upward_test_data): New variable.
13255         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13256         (sqrt_test_data): New variable.
13257         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13258         (tan_test_data): New variable.
13259         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13260         (tan_tonearest_test_data): New variable.
13261         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13262         (tan_towardzero_test_data): New variable.
13263         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13264         (tan_downward_test_data): New variable.
13265         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13266         (tan_upward_test_data): New variable.
13267         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13268         (tanh_test_data): New variable.
13269         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13270         (tgamma_test_data): New variable.
13271         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13272         (trunc_test_data): New variable.
13273         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13274         (y0_test_data): New variable.
13275         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13276         (y1_test_data): New variable.
13277         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13278         (significand_test_data): New variable.
13279         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13281 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13283         [BZ #12387]
13284         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13286 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13288         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13290 2013-05-10  Andreas Jaeger  <aj@suse.de>
13292         [BZ #15448]
13293         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13294         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13296 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13298         * math/gen-libm-test.pl (adjust_arg): New function.
13299         (special_functions): Handle generating output in both functions
13300         and arrays.
13301         (parse_args): Likewise.
13302         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
13303         $in_func argument to parse_args.
13304         * math/libm-test.inc (struct test_f_f_data): New type.
13305         (IF_ROUND_INIT_): New macro.
13306         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13307         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13308         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13309         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13310         (ROUND_RESTORE_): Likewise.
13311         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13312         (ROUND_RESTORE_FE_TONEAREST): Likewise.
13313         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13314         (ROUND_RESTORE_FE_UPWARD): Likewise.
13315         (RUN_TEST_LOOP_f_f): New macro.
13316         (acos_test_data): New variable.
13317         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13318         (acos_tonearest_test_data): New variable.
13319         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13321 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13323         * benchtests/bench-skeleton.c (startup): Fix coding style.
13325 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13327         [BZ #6809]
13328         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13329         negative infinity argument.
13330         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13331         negative infinity argument.
13332         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13333         negative infinity argument.
13334         * math/libm-test.inc (tgamma_test): Expect errno to be set for
13335         domain errors.
13337 2013-05-10  Florian Weimer  <fweimer@redhat.com>
13339         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13340         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13341         * iconv/iconv_prog.c (main): Likewise.
13342         * locale/programs/charmap-dir.c (charmap_readdir)
13343         (fopen_uncompressed): Likewise.
13344         * locale/programs/locfile.c (siblings_uncached)
13345         (write_locale_data): Use lstat64 instead of lstat.
13346         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13347         stat.
13349 2013-05-10  Andreas Jaeger  <aj@suse.de>
13351         [BZ #15395]
13352         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13353         localization.
13354         Include <locale.h>.
13356 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
13358         * elf/dl-close.c (_dl_close_worker): Add comments.
13360 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
13362         [BZ #15359]
13363         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13364         high part of pi/2.
13365         (__ieee754_rem_pio2l): Update comments.
13367         [BZ #15429]
13368         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13369         high part of pi/2.
13370         (__ieee754_rem_pio2l): Update comments.
13372         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13373         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13375         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13376         M_PI_4l.
13378         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13379         (M_PI_34_LOG10El): Likewise.
13380         (M_PI2_LOG10El): Likewise.
13381         (M_PI4_LOG10El): Likewise.
13382         (M_PI_LOG10El): Likewise.
13384 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13388 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
13390         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13391         (MINUS_ZERO_INIT): Likewise.
13392         (PLUS_INFTY_INIT): Likewise.
13393         (MINUS_INFTY_INIT): Likewise.
13394         (QNAN_VALUE_INIT): Likewise.
13395         (MAX_VALUE_INIT): Likewise.
13396         (MIN_VALUE_INIT): Likewise.
13397         (MIN_SUBNORM_VALUE_INIT): Likewise.
13398         (plus_zero): Initialize with PLUS_ZERO_INIT.
13399         (minus_zero): Initialize with MINUS_ZERO_INIT.
13400         (plus_infty): Initialize with PLUS_INFTY_INIT.
13401         (minus_infty): Initialize with MINUS_INFTY_INIT.
13402         (qnan_value): Initialize with QNAN_VALUE_INIT.
13403         (max_value): Initialize with MAX_VALUE_INIT.
13404         (min_value): Initialize with MIN_VALUE_INIT.
13405         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13407         * math/libm-test.inc (RUN_TEST_if_f): New macro.
13408         (jn_test): Use TEST_if_f instead of TEST_ff_f.
13409         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13410         (yn_test): Use TEST_if_f instead of TEST_ff_f.
13412         * math/libm-test.inc (RUN_TEST_f_f): New macro.
13413         (RUN_TEST_2_f): Likewise.
13414         (RUN_TEST_ff_f): Likewise.
13415         (RUN_TEST_fi_f): Likewise.
13416         (RUN_TEST_fl_f): Likewise.
13417         (RUN_TEST_fff_f): Likewise.
13418         (RUN_TEST_c_f): Likewise.
13419         (RUN_TEST_f_f1): Likewise.
13420         (RUN_TEST_fF_f1): Likewise.
13421         (RUN_TEST_fI_f1): Likewise.
13422         (RUN_TEST_ffI_f1): Likewise.
13423         (RUN_TEST_c_c): Likewise.
13424         (RUN_TEST_cc_c): Likewise.
13425         (RUN_TEST_f_i): Likewise.
13426         (RUN_TEST_f_i_tg): Likewise.
13427         (RUN_TEST_ff_i_tg): Likewise.
13428         (RUN_TEST_f_b): Likewise.
13429         (RUN_TEST_f_b_tg): Likewise.
13430         (RUN_TEST_f_l): Likewise.
13431         (RUN_TEST_f_L): Likewise.
13432         (RUN_TEST_sincos): Likewise.
13433         * math/gen-libm-test.pl (new_test): Take new argument to indicate
13434         whether to show exceptions.  Do not include ");\n" in return
13435         value.
13436         (special_functions): Output call to RUN_TEST_sincos instead of
13437         check_float calls.  Update calls to new_test.
13438         (parse_args): Output call to single RUN_TEST_* macro instead of
13439         check_* calls and other assignments.  Update calls to new_test.
13441         [BZ #2546]
13442         [BZ #2560]
13443         [BZ #5159]
13444         [BZ #15426]
13445         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13446         input to result for tgamma overflow.
13447         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13448         (gamma_coeff): New variable.
13449         (NCOEFF): New macro.
13450         (gamma_positive): New function.
13451         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13452         underflow here.  Use gamma_positive instead of exp (lgamma) for
13453         other arguments.
13454         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13455         (gamma_coeff): New variable.
13456         (NCOEFF): New macro.
13457         (gammaf_positive): New function.
13458         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13459         underflow here.  Use gamma_positive instead of exp (lgamma) for
13460         other arguments.
13461         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13462         (gamma_coeff): New variable.
13463         (NCOEFF): New macro.
13464         (gammal_positive): New function.
13465         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13466         underflow here.  Use gamma_positive instead of exp (lgamma) for
13467         other arguments.
13468         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13469         (gamma_coeff): New variable.
13470         (NCOEFF): New macro.
13471         (gammal_positive): New function.
13472         (__ieee754_gammal_r): Handle positive infinity, overflow and
13473         underflow here.  Handle NaN the same as positive infinity.  Remove
13474         check x < 0xffffffff for negative integers.  Use gamma_positive
13475         instead of exp (lgamma) for other arguments.
13476         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13477         (gamma_coeff): New variable.
13478         (NCOEFF): New macro.
13479         (gammal_positive): New function.
13480         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13481         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13482         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13483         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13484         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13485         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13486         * sysdeps/generic/math_private.h (__gamma_productf): New
13487         prototype.
13488         (__gamma_product): Likewise.
13489         (__gamma_productl): Likewise.
13490         * math/Makefile (libm-calls): Add gamma_product.
13491         * math/libm-test.inc (tgamma_test): Add more tests.
13492         * sysdeps/i386/fpu/libm-test-ulps: Update.
13493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13495 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
13497         * benchtests/bench-skeleton.c (main): Preheat CPU.
13499 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
13501         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13503 2013-05-07  Roland McGrath  <roland@hack.frob.com>
13505         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13506         and _dl_skip_args_internal.
13508 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
13510         * manual/message.texi (Message Translation): Talk about users.
13511         Message to key mapping impacts design.
13513 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13515         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13517         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13519         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13520         * sysdeps/wordsize-64/glob64.c: ... here.
13522         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13523         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13524         New macros.
13526         * debug/getlogin_r_chk.c: Moved to ...
13527         * login/getlogin_r_chk.c: ... here.
13528         * debug/Makefile (routines): Move getlogin_r_chk to ...
13529         * login/Makefile (routines): ... here.
13530         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13531         * login/Versions (libc: GLIBC_2.4): ... here.
13533         * io/poll.c (__poll): Renamed from poll.
13534         Add libc_hidden_def.
13535         (poll): Define as weak alias.
13537         * debug/ptsname_r_chk.c: Moved to ...
13538         * login/ptsname_r_chk.c: ... here.
13539         * debug/Makefile (routines): Move ptsname_r_chk to ...
13540         * login/Makefile (routines): ... here.
13541         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13542         * login/Versions (libc: GLIBC_2.4): ... here.
13544         * posix/getlogin.c: Moved to ...
13545         * login/getlogin.c: ... here.
13546         * posix/getlogin_r.c: Moved to ...
13547         * login/getlogin_r.c: ... here.
13548         * posix/getlogin_r.c: Moved to ...
13549         * login/getlogin_r.c: ... here.
13550         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13551         * login/Makefile (routines): ... here.
13552         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13553         * login/Versions (libc: GLIBC_2.0): ... here.
13555         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13556         (setrlimit): Define as weak alias.
13558         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13559         Call __ names for open, ftruncate, and close.
13560         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13561         (truncate): Define as weak alias.
13563 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
13565         * math/gen-libm-test.pl (parse_args): Initialize x before each
13566         test of frexp, modf and remquo.
13568         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13569         test signgam value.
13571 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13573         [BZ #15418]
13574         [BZ #15419]
13575         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13576         internal tests.
13577         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13579 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13581         * elf/dl-writev.h: New file.
13582         * elf/dl-misc.c: Include it.
13583         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13584         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13586 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
13588         * math/libm-test.inc (noXFails): Remove variable.
13589         (noXPasses): Likewise.
13590         (BUILD_COMPLEX_INT): Remove macro.
13591         (print_screen): Remove xfail argument.
13592         (print_screen_max_error): Likewise.
13593         (update_stats): Likewise.
13594         (print_max_error): Likewise.  Update calls to other affected
13595         functions.
13596         (print_complex_max_error): Likewise.
13597         (test_single_exception): Update calls to print_screen.
13598         (test_single_errno): Likewise.
13599         (check_float_internal): Remove xfail argument.  Update calls to
13600         other affected functions.
13601         (check_float): Likewise.
13602         (check_complex): Likewise.
13603         (check_int): Likewise.
13604         (check_long): Likewise.
13605         (check_bool): Likewise.
13606         (check_longlong): Likewise.
13607         (main): Don't print noXFails and noXPasses.
13608         * math/gen-libm-test.pl (top level): Don't mention expected
13609         failure handling in comment.
13610         (new_test): Don't handle expected failures.
13611         (parse_args): Don't mention expected failure handling in comment.
13612         (generate_testfile): Don't handle expected failures.
13613         (parse_ulps): Likewise.
13614         (print_ulps_file): Likewise.
13615         (get_failure): Remove function.
13616         (output_test): Don't handle expected failures.
13617         * make/README.libm-test: Don't mention expected failure handling.
13619         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
13620         (minus_zero): Likewise.
13621         (plus_infty): Likewise.
13622         (minus_infty): Likewise.
13623         (qnan_value): Likewise.
13624         (max_value): Likewise.
13625         (min_value): Likewise.
13626         (min_subnorm_value): Likewise.
13627         (initialize): Do not initialize those variables dynamically.
13629 2013-05-03  Roland McGrath  <roland@hack.frob.com>
13631         * io/open.c (__open_2): Moved to ...
13632         * io/open_2.c: ... this new file.
13633         * io/open64.c (__open64_2): Moved to ...
13634         * io/open64_2.c: ... this new file.
13635         * io/openat.c (__openat_2): Moved to ...
13636         * io/openat_2.c: ... this new file.
13637         * io/openat64.c (__openat64_2): Moved to ...
13638         * io/openat64_2.c: ... this new file.
13639         * io/Makefile (routines): Add them.
13640         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13641         * sysdeps/unix/sysv/linux/open_2.c: File removed.
13642         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13643         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13644         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13645         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13646         (__openat64): Add hidden_ver.
13647         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13648         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13650         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13651         Separately conditionalize setting of GLRO(dl_sysinfo) so
13652         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13653         as well, but the actual setting is only under [NEED_DL_SYSINFO].
13655 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13657         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13658         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13659         definition.
13660         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13661         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13662         (_libc_vdso_platform_setup): Add __vdso_time initialization.
13663         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13664         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13666 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
13668         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13669         test signgam value.
13671         * math/libm-test.inc (hypot_test): Do not use
13672         IGNORE_ZERO_INF_SIGN.
13674 2013-05-03  Andreas Jaeger  <aj@suse.de>
13676         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13677         Linux 3.9.
13678         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13679         (PF_MAX): Adjust for VSOCK change.
13681 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13685 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
13687         [BZ #15264]
13688         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13689         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13690         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13692 2013-05-02  David S. Miller  <davem@davemloft.net>
13694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13696 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
13698         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13700 2013-05-01  Roland McGrath  <roland@hack.frob.com>
13702         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13704 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
13706         [BZ #14952]
13707         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13708         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13709         Use __attribute__ ((__gnu_inline__)).
13710         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13711         Don't use __attribute__ ((__gnu_inline__)).
13713 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
13715         [BZ #15423]
13716         * math/s_catan.c (__catan): Handle small real or imaginary part of
13717         input specially to avoid spurious underflow.
13718         * math/s_catanf.c (__catanf): Likewise.
13719         * math/s_catanh.c (__catanh): Likewise.
13720         * math/s_catanhf.c (__catanhf): Likewise.
13721         * math/s_catanhl.c (__catanhl): Likewise.
13722         * math/s_catanl.c (__catanl): Likewise.
13723         * math/libm-test.inc (catan_test): Add more tests.
13724         (catanh_test): Likewise.
13725         * sysdeps/i386/fpu/libm-test-ulps: Update.
13726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13728 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13732 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
13734         [BZ #15416]
13735         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13736         accurately for denominator in atan2.
13737         * math/s_catanf.c (__catanf): Likewise.
13738         * math/s_catanh.c (__catanh): Likewise.
13739         * math/s_catanhf.c (__catanhf): Likewise.
13740         * math/s_catanhl.c (__catanhl): Likewise.
13741         * math/s_catanl.c (__catanl): Likewise.
13742         * math/libm-test.inc (catan_test): Add more tests.
13743         (catanh_test): Likewise.
13744         * sysdeps/i386/fpu/libm-test-ulps: Update.
13745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13747 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13749         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13751         * benchtests/Makefile (bench): Remove slow benchmarks.
13752         * benchtests/atan-inputs: Add slow benchmark inputs.
13753         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13754         (BENCH_FUNC): Accept variant offset.
13755         (VARIANT): Define.
13756         * benchtests/bench-skeleton.c (main): Run benchmark for each
13757         variant.
13758         * benchtests/cos-inputs: Add slow benchmark inputs.
13759         * benchtests/exp-inputs: Likewise.
13760         * benchtests/pow-inputs: Likewise.
13761         * benchtests/sin-inputs: Likewise.
13762         * benchtests/slowatan-inputs: Remove.
13763         * benchtests/slowatan.c: Remove.
13764         * benchtests/slowcos-inputs: Remove.
13765         * benchtests/slowcos.c: Remove.
13766         * benchtests/slowexp-inputs: Remove.
13767         * benchtests/slowexp.c: Remove.
13768         * benchtests/slowpow-inputs: Remove.
13769         * benchtests/slowpow.c: Remove.
13770         * benchtests/slowsin-inputs: Remove.
13771         * benchtests/slowsin.c: Remove.
13772         * benchtests/slowtan-inputs: Remove.
13773         * benchtests/slowtan.c: Remove.
13774         * benchtests/tan-inputs: Add slow benchmark inputs.
13775         * scripts/bench.pl: Parse comments and directives.
13777         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
13778         in CPPFLAGS.
13779         ($(objpfx)bench-%.c): Remove *-ITER.
13780         * benchtests/bench-modf.c: Remove definition of ITER.
13781         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13782         (main): Loop for DURATION seconds instead of fixed number of
13783         iterations.
13784         * scripts/bench.pl: Don't expect iterations in parameters.
13786 2013-04-29  Roland McGrath  <roland@hack.frob.com>
13788         * io/fchdir.c (__fchdir): Renamed from fchdir.
13789         (fchdir): Define as weak alias.
13791 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13793         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13794         (ERRNO_EDOM): Likewise.
13795         (ERRNO_ERANGE): Likewise.
13796         (noErrnoTests): New variable.
13797         (init_max_error): Set errno to 0.
13798         (test_single_errno): New function.
13799         (test_errno): Likewise.
13800         (check_float_internal): Call test_errno.  Set errno to 0.
13801         (check_complex): Refer to errno tests in comment.
13802         (check_int): Call test_errno.  Set errno to 0.
13803         (check_long): Likewise.
13804         (check_bool): Likewise.
13805         (check_longlong): Likewise.
13806         (cos_test): Use ERRNO_* flags for errno tests instead of
13807         check_int.
13808         (expm1_test): Likewise.
13809         (fmod_test): Likewise.
13810         (ilogb_test): Likewise.
13811         (lgamma_test): Likewise.
13812         (pow_test): Likewise.
13813         (remainder_test): Likewise.
13814         (sin_test): Likewise.
13815         (tan_test): Likewise.
13816         (yn_test): Likewise.
13817         (initialize): Set errno to 0.
13818         (main): Print number of errno tests.
13819         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13821 2013-04-29  Andreas Jaeger  <aj@suse.de>
13823         [BZ #15084]
13824         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13825         and RES_USEVC.
13827         [BZ #15085]
13828         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13829         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13830         unimplemented.
13832         [BZ #15380]
13833         * stdlib/random.c (__initstate): Return NULL if
13834         __initstate fails.
13836         [BZ #15086]
13837         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13838         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13839         RES_SNGLKUPREOP.
13841 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13845 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13847         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13848         of individual tests.
13849         (casin_test): Likewise.
13850         (casinh_test): Likewise.
13852 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
13854         [BZ #15409]
13855         * math/s_catan.c (__catan): Handle arguments with large real or
13856         imaginary part separately without squaring.
13857         * math/s_catanf.c (__catanf): Likewise.
13858         * math/s_catanh.c (__catanh): Likewise.
13859         * math/s_catanhf.c (__catanhf): Likewise.
13860         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13861         and redefine.
13862         (__catanhl): Handle arguments with large real or imaginary part
13863         separately without squaring.
13864         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13865         and redefine.
13866         (__catanl): Handle arguments with large real or imaginary part
13867         separately without squaring.
13868         * math/libm-test.inc (catan_test): Add more tests.
13869         (catanh_test): Likewise.
13870         * sysdeps/i386/fpu/libm-test-ulps: Update.
13871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13873 2013-04-27  Andreas Jaeger  <aj@suse.de>
13875         [BZ #15007]
13876         * stdlib/stdlib.h: Update guards for qecvt.
13877         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13878         <stdlib.h>.
13880 2013-04-27  Allan McRae  <allan@archlinux.org>
13882         * sysdeps/i386/fpu/libm-test-ulps: Update.
13884 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
13886         [BZ #15406]
13887         * math/s_catan.c: Include <float.h>.
13888         (__catan): Ensure underflow exception occurs for underflowed
13889         result.
13890         * math/s_catanf.c: Include <float.h>.
13891         (__catanf): Ensure underflow exception occurs for underflowed
13892         result.
13893         * math/s_catanh.c: Include <float.h>.
13894         (__catanh): Ensure underflow exception occurs for underflowed
13895         result.
13896         * math/s_catanhf.c: Include <float.h>.
13897         (__catanhf): Ensure underflow exception occurs for underflowed
13898         result.
13899         * math/s_catanhl.c: Include <float.h>.
13900         (__catanhl): Ensure underflow exception occurs for underflowed
13901         result.
13902         * math/s_catanl.c: Include <float.h>.
13903         (__catanl): Ensure underflow exception occurs for underflowed
13904         result.
13905         * math/libm-test.inc (catan_test): Add more tests.
13906         (catanh_test): Likewise.
13908         [BZ #15405]
13909         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13910         underflowed result.
13911         * math/s_ccoshf.c (__ccoshf): Likewise.
13912         * math/s_ccoshl.c (__ccoshl): Likewise.
13913         * math/s_csin.c (__csin): Likewise.
13914         * math/s_csinf.c (__csinf): Likewise.
13915         * math/s_csinh.c (__csinh): Likewise.
13916         * math/s_csinhf.c (__csinhf): Likewise.
13917         * math/s_csinhl.c (__csinhl): Likewise.
13918         * math/s_csinl.c (__csinl): Likewise.
13919         * math/libm-test.inc (ccos_test): Add more tests.
13920         (ccosh_test): Likewise.
13921         (csin_test): Likewise.
13922         (csinh_test): Likewise.
13924 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13926         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13927         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13928         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13929         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13930         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13931         powerpc/power5+/fpu folders.
13932         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13935 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13939 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
13941         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13942         additions to variable.
13943         [$(config-machine) = x86_64] (modules-names): Likewise.
13944         ($(objpfx)tst-audit3): Remove dependency.
13945         ($(objpfx)tst-audit3.out): Likewise.
13946         ($(objpfx)tst-audit4): Likewise.
13947         ($(objpfx)tst-audit4.out): Likewise.
13948         ($(objpfx)tst-audit5): Likewise.
13949         ($(objpfx)tst-audit5.out): Likewise.
13950         ($(objpfx)tst-audit6): Likewise.
13951         ($(objpfx)tst-audit6.out): Likewise.
13952         ($(objpfx)tst-audit7): Likewise.
13953         ($(objpfx)tst-audit7.out): Likewise.
13954         (tst-audit3-ENV): Remove variable.
13955         (tst-audit4-ENV): Likewise.
13956         (tst-audit5-ENV): Likewise.
13957         (tst-audit6-ENV): Likewise.
13958         (tst-audit7-ENV): Likewise.
13959         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13960         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13961         addition to variable.
13962         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13963         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13964         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13965         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13966         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13967         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13968         tst-audit3, tst-audit4 and tst-audit5.
13969         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13970         tst-audit6 and tst-audit7.
13971         [$(subdir) = elf] (modules-names): Add audit modules for those
13972         tests.
13973         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13974         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13975         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13976         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13977         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13978         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13979         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13980         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13981         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13982         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13983         [$(subdir) = elf] (tst-audit3-ENV): New variable.
13984         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13985         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13986         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13987         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13988         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13989         Likewise.
13990         [$(subdir) = elf && $(config-cflags-avx) = yes]
13991         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13992         [$(subdir) = elf && $(config-cflags-avx) = yes]
13993         (CFLAGS-tst-auditmod4a.c): Likewise.
13994         [$(subdir) = elf && $(config-cflags-avx) = yes]
13995         (CFLAGS-tst-auditmod4b.c): Likewise.
13996         [$(subdir) = elf && $(config-cflags-avx) = yes]
13997         (CFLAGS-tst-auditmod6b.c): Likewise.
13998         [$(subdir) = elf && $(config-cflags-avx) = yes]
13999         (CFLAGS-tst-auditmod6c.c): Likewise.
14000         [$(subdir) = elf && $(config-cflags-avx) = yes]
14001         (CFLAGS-tst-auditmod7b.c): Likewise.
14002         * elf/tst-audit3.c: Move to ...
14003         * sysdeps/x86_64/tst-audit3.c: ... here.
14004         * elf/tst-audit4.c: Move to ...
14005         * sysdeps/x86_64/tst-audit4.c: ... here.
14006         * elf/tst-audit5.c: Move to ...
14007         * sysdeps/x86_64/tst-audit5.c: ... here.
14008         * elf/tst-audit6.c: Move to ...
14009         * sysdeps/x86_64/tst-audit6.c: ... here.
14010         * elf/tst-audit7.c: Move to ...
14011         * sysdeps/x86_64/tst-audit7.c: ... here.
14012         * elf/tst-auditmod3a.c: Move to ...
14013         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14014         * elf/tst-auditmod3b.c: Move to ...
14015         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14016         * elf/tst-auditmod4a.c: Move to ...
14017         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14018         * elf/tst-auditmod4b.c: Move to ...
14019         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14020         * elf/tst-auditmod5a.c: Move to ...
14021         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14022         * elf/tst-auditmod5b.c: Move to ...
14023         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14024         * elf/tst-auditmod6a.c: Move to ...
14025         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14026         * elf/tst-auditmod6b.c: Move to ...
14027         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14028         * elf/tst-auditmod6c.c: Move to ...
14029         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14030         * elf/tst-auditmod7a.c: Move to ...
14031         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14032         * elf/tst-auditmod7b.c: Move to ...
14033         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14035 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14037         [BZ #15366]
14038         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14039         define unconditionally.
14040         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14041         define unconditionally.
14042         (INT8_C, INT16_C, etc.): Likewise.
14044 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14046         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14047         __ehdr_start with hidden visibility.
14049         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14051 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14053         * math/libm-test.inc (cos_test): Use accurate hex constants.
14054         (sincost_test): Likewise.
14056 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14058         * math/libm-test.inc (catan_test): Add more tests.
14059         (catanh_test): Likewise.
14061         * math/s_catanf.c (__catanf): Use suffixed floating-point
14062         constants.
14063         * math/s_catanhf.c (__catanhf): Likewise.
14064         * math/s_catanhl.c (__catanhl): Likewise.
14065         * math/s_catanl.c (__catanl): Likewise.
14067         [BZ #15394]
14068         * math/s_catan.c (__catan): Calculate imaginary part of result
14069         with log1p not log unless computing log of number close to 0.
14070         * math/s_catanf.c (__catanf): Likewise.
14071         * math/s_catanl.c (__catanl): Likewise.
14072         * math/s_catanh.c (__catanh): Calculate real part of result with
14073         log1p not log unless computing log of number close to 0.
14074         * math/s_catanhf.c (__catanhf): Likewise.
14075         * math/s_catanhl.c (__catanhl): Likewise.
14076         * math/libm-test.inc (catan_test): Add more tests.
14077         (catanh_test): Likewise.
14078         * sysdeps/i386/fpu/libm-test-ulps: Update.
14079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14081 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14083         * benchtests/Makefile: Mention files in which fast and slow
14084         paths of math functions are implemented.
14086 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14088         * sysdeps/posix/timespec_get.c: New file.
14090 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14092         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14093         POWER.
14094         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14095         for POWER.
14096         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14097         powerpc/power5/fpu folders.
14098         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14099         * benchtests/Makefile: Add modf testcase.
14100         * benchtests/bench-modf.c: New file: Benchmark test for mo
14102 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14104         [BZ #14888]
14105         * time/Makefile (tests): Add tst-strptime-whitespace.
14106         * time/strptime_l.c (get_number): Use ISSPACE.
14107         (__strptime_internal): Likewise.
14108         * time/tst-strptime-whitespace.c: New test case.
14110 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14112         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14113         member.
14114         (_nss_files_init): Set it here.
14116 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14118         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14119         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14120         unsigned.
14122 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14124         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14126 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14128         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14129         size just once.
14131 2013-04-21  David S. Miller  <davem@davemloft.net>
14133         * po/ru.po: Update Russion translation from translation project.
14135 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14137         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14138         and setfsgid.
14140 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14142         * configure.in: Remove i386 configure warning. Remove i386 case.
14143         * configure: Regenerate.
14144         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14145         Add example to error message.
14146         * sysdeps/i386/configure: Regenerate.
14148 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14150         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14151         slowtan.
14152         * benchtests/cos-inputs: New file.
14153         * benchtests/slowcos-inputs: New file.
14154         * benchtests/slowcos.c: New file.
14155         * benchtests/slowtan-inputs: New file.
14156         * benchtests/slowtan.c: New file.
14157         * benchtests/tan-inputs: New file.
14159 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14161         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14162         considered kosher.
14164 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14166         * benchtests/Makefile: Include cppflags-iterator.mk to add
14167         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14169         * Makefile.in (bench-clean): New target.
14170         * benchtests/Makefile (bench-clean): Likewise.
14172 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14174         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14176 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14178         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14180 2013-04-15  Andreas Schwab  <schwab@suse.de>
14182         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14184         * nscd/pwdcache.c (cache_addpw): Likewise.
14185         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14186         more than recsize.
14188 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14190         * benchtests/Makefile (bench): Write all output to
14191         bench-out.tmp together.
14193 2013-04-15  Andreas Schwab  <schwab@suse.de>
14195         * nscd/nscd.c (main): Don't fork again after closing files.
14197 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14199         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14201         * benchtests/Rules (bench-deps): Collect dependencies into a
14202         single variable.  Add Makefile to dependencies.
14203         ($(objpfx)bench-%.c): Depend on bench-deps.
14205 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14206             Xavier Roche  <roche+kml2@exalead.com>
14208         [BZ #15361]
14209         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14210         just that it's a file descriptor.
14211         * manual/llio.texi (Synchronizing AIO Operations): Update description
14212         for EBADF error from aio_fsync.
14214 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14216         * Rules (bench): Move target definition...
14217         * benchtests/Makefile: ... here.
14219 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14221         * math/libm-test.inc (cos_test): Fix PI/2 test.
14222         (sincos_test): Likewise.
14223         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14224         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14226 2013-04-11  Andreas Schwab  <schwab@suse.de>
14228         [BZ #13988]
14229         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14230         accept exponent character only when digits were seen.
14231         * stdio-common/Makefile (tests): Add bug26.
14232         * stdio-common/bug26.c: New file.
14234         [BZ #14293]
14235         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14236         non-freeable.
14238 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14240         * Makeconfig (rtld-prefix): Define built linker prefix.
14241         * Rules (run-bench): Use it.
14242         * math/Makefile (run-regen-ulps): Likewise.
14244         * Rules (bench): Remove eval.
14246 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14247             Roland McGrath  <roland@hack.frob.com>
14248             Ondrej Bilka  <neleai@seznam.cz>
14250         [BZ #15346]
14251         * time/getdate.c: Include ctype.h and alloca.h.
14252         (__getdate_r): Trim leading and trailing spaces of input.
14253         * time/tst-getdate.c (tests): Add tests with leading and
14254         trailing spaces.
14256 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14258         [BZ #14280]
14259         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14260         when computing value.
14262 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14264         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14265         Use testrun.sh to run libm tests.
14267         [BZ #15309]
14268         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14270 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14272         [BZ #15264]
14273         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14275 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14277         * Makefile.in (regen-ulps): New target.
14278         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14279         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14280         [ifneq (no,$(PERL)] (regen-ulps): New target.
14281         [ifeq (no,$(PERL)] (regen-ulps): New target.
14282         * math/libm-test.inc (ulps_file_name): Define.
14283         (output_dir): New variable.
14284         (options): Add "output-dir" option.
14285         (parse_opt): Handle 'o' case.
14286         (main): If output_dir is non-NULL use it as a prefix
14287         otherwise use "".
14288         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14290 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14292         [BZ #10060, #10062]
14293         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14294         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14295         fail configure if __sync_val_compare_and_swap is not inlined.
14296         * sysdeps/i386/configure: Regenerate.
14297         * configure.in: Build for i686 when configured for i386.
14298         * configure: Regenerate.
14299         * README: Remove i386 reference.
14301 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14303         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14304         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14306 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14308         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14309         (lmsnanval): New variables.
14310         (F): Add conversion tests.
14311         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14312         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14314         * stdio-common/tstdiomisc.c (F): Properly collect individual
14315         tests' results.
14317         [BZ #14686, #15336]
14318         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14319         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14320         Instead, use input NaN values or generate a qNaN by arithmetic
14321         operation.  Also fix bugs to comply with the standard.
14322         * math/libm-test.inc (remainder_test): Add more tests.
14324         [BZ #15335, #15342]
14325         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14327         input NaN values or generate a qNaN by arithmetic operation.
14329         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14330         unreachable code.
14332         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14333         definitions.
14335 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
14337         [BZ #14478]
14338         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14339         underflowed result.
14340         * math/s_cexpf.c (__cexpf): Likewise.
14341         * math/s_cexpl.c (__cexpl): Likewise.
14342         * math/libm-test.inc (cexp_test): Add more tests.
14344 2013-04-03  Andreas Schwab  <schwab@suse.de>
14346         [BZ #15330]
14347         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14348         order arrays from heap if bigger than alloca cutoff.
14350 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
14352         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14353         (SNAN_TESTS_double): Refer to GCC PR56831.
14354         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14355         GCC PR56828.
14357 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14359         * Rules (bench): Move bench.out after the run is complete.
14361         * Rules (bench): Echo currently running benchmark.
14363         * benchtests/Makefile (bench): Add atan and slowatan.
14364         * benchtests/atan-inputs: New file.
14365         * benchtests/slowatan-inputs: New file.
14366         * benchtests/slowatan.c: New file.
14368         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14369         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14370         its value.
14372         [BZ #15305]
14373         * sysdeps/unix/sysv/linux/kernel-features.h
14374         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14375         __ASSUME_XFS_RESTRICTED_CHOWN.
14376         * sysdeps/unix/sysv/linux/pathconf.c
14377         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14378         Save and restore errno.
14380 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
14382         [BZ #15327]
14383         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14384         arguments using __kernel_casinh.
14385         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14386         arguments using __kernel_casinhf.
14387         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14388         arguments using __kernel_casinhl.
14389         * math/libm-test.inc (cacosh_test): Add more tests.
14390         * sysdeps/i386/fpu/libm-test-ulps: Update.
14391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14393 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14395         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14396         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14398         * bench/Makefile (bench): Add sin and slowsin.
14399         * benchtests/sin-inputs: New file.
14400         * benchtests/slowsin-inputs: New file.
14401         * benchtests/slowsin.c: New file.
14403         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14404         (bench): Add slowexp and slowpow.
14405         (exp-ITER): Increase iterations.
14406         (pow-ITER): Likewise.
14407         * benchtests/exp-inputs: Change input.
14408         * benchtests/pow-inputs: Likewise.
14409         * benchtests/slowexp-inputs: New file.
14410         * benchtests/slowexp.c: New file.
14411         * benchtests/slowpow-inputs: New file.
14412         * benchtests/slowpow.c: New file.
14414 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14416         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14417         instructions.
14418         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14419         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14420         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14421         * benchtests/Makefile: Add rint benchtest.
14422         * benchtests/rint-inputs: Input for rint benchtest.
14424 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
14426         * Versions.def (libm): Add GLIBC_2.18.
14427         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14428         hidden libm prototypes.
14429         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14430         * math/Makefile (libm-calls): Add s_issignaling.
14431         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14432         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
14433         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14434         declaration.
14435         * math/math.h [__USE_GNU] (issignaling): New macro.
14436         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14437         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14438         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14439         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14440         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14441         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14442         * manual/arith.texi (issignaling): New section.
14443         * manual/libm-err-tab.pl (@all_functions): Update comment.
14444         * math/gen-libm-test.pl (parse_args): Apply special handling for
14445         issignaling.
14446         * math/libm-test.inc (print_float, issignaling_test): New
14447         functions.
14448         (check_float_internal): Add issignaling checks.
14449         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14450         default definition.
14451         * sysdeps/powerpc/math-tests.h: New file.
14452         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14453         tests.
14454         * math/test-snan.c (TEST_FUNC): Likewise.
14456 2013-03-30  David S. Miller  <davem@davemloft.net>
14458         * po/de.po: Update from translation team.
14460 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
14462         [BZ #10357]
14463         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14464         imaginary part less than 1.0 and real part less than 0.5
14465         specially.
14466         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14467         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14468         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14469         (cacos_test): Add more tests.
14470         (casin_test): Likewise.
14471         (casinh_test): Likewise.
14472         * sysdeps/i386/fpu/libm-test-ulps: Update.
14473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14475 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14477         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14478         ONE with its value.
14480         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14481         (__pow_mp): Replace ONE and MONE with their values.
14482         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14484         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14485         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14486         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14487         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14489         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14491         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14492         (__pow_mp): Replace ZERO and MZERO with their values.
14493         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14494         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14495         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14497         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14498         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14499         (__sqr): Likewise.
14501         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14503         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14505 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14507         * include/stdlib.h [!SHARED] (__call_tls_dtors):
14508         Declare with __attribute__ ((weak)).
14509         * stdlib/exit.c (__libc_atexit) [!SHARED]:
14510         Call __call_tls_dtors only if it's not NULL.
14512 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14514         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14515         didn't do it already, then set _dl_phdr and _dl_phnum based on the
14516         magic __ehdr_start linker symbol if it's defined.
14517         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14518         them up here if it was already done.
14520         * elf/dl-support.c (_dl_phdr): Make pointer to const.
14521         (_dl_aux_init): Use const in cast when setting it.
14522         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14523         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14524         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14526         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14527         Declare them here.
14528         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14529         * csu/libc-tls.c: Nor here.
14530         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14532         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14533         (__libc_message): Never call vsyslog.
14535 2013-03-28  Alan Modra  <amodra@gmail.com>
14537         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14538         Define as empty.
14539         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14540         Likewise.
14542 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14544         [BZ #15214]
14545         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14546         underflow.
14547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14549 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14551         [BZ #15304]
14552         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14553         Don't add gid passed as argument.
14555         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14557 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
14559         [BZ #15307]
14560         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14561         imaginary part between 1.0 and 1.5 and real part less than 0.5
14562         specially.
14563         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14564         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14565         * math/libm-test.inc (cacos_test): Add more tests.
14566         (casin_test): Likewise.
14567         (casinh_test): Likewise.
14568         * sysdeps/i386/fpu/libm-test-ulps: Update.
14569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14573         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14574         constants.
14575         (norm): Likewise.
14576         (denorm): Likewise.
14577         (__dbl_mp): Likewise.
14578         (add_magnitudes): Likewise.
14579         (sub_magnitudes): Likewise.
14580         (__add): Likewise.
14581         (__sub): Likewise.
14582         (__mul): Likewise.
14583         (__sqr): Likewise.
14584         (__inv): Likewise.
14585         (__dvd): Likewise.
14587         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14588         commented code.
14589         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14590         (__dubcos): Likewise.
14591         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14592         (__ieee754_acos): Likewise.
14593         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14594         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14595         (__exp1): Likewise.
14596         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14598         (log1): Likewise.
14599         (my_log2): Likewise.
14600         (checkint): Likewise.
14601         * sysdeps/ieee754/dbl-64/e_remainder.c
14602         (__ieee754_remainder): Likewise.
14603         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14604         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14605         (bsloww): Likewise.
14606         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14608         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14609         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14610         MANTISSA_STORE_T to store computations on mantissa.  Use
14611         macros for rounding and division.
14612         (denorm): Likewise.
14613         (__dbl_mp): Likewise.
14614         (add_magnitudes): Likewise.
14615         (sub_magnitudes): Likewise.
14616         (__mul): Likewise.
14617         (__sqr): Likewise.
14618         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14619         powers of two in terms of TWOPOW macro.
14620         (mp_no): Make type of mantissa as MANTISSA_T.
14621         [!RADIXI]: Define RADIXI.
14622         [!TWO52]: Define TWO52.
14623         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14625 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14627         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14628         llroundl symbol when building for PPC32.
14630 2013-03-24  Mark H Weaver  <mhw@netris.org>
14632         * manual/arith.texi (Normalization Functions): Fix prototypes for
14633         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14635 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14637         [BZ #13889]
14638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14639         high value to check if expl overflow.
14640         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14641         to check for underflow and overflow.
14642         * math/libm-test.inc: Add exp test.
14644 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
14646         [BZ #11120]
14647         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14648         with NOT_IN_libc.
14650 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14652         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14653         symbol.
14655 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14657         * math/gen-libm-test.pl (parse_args, special_functions): Properly
14658         wrap blocks consisting of several statements.
14660         * sysdeps/generic/math-tests.h: New file.
14661         * sysdeps/i386/fpu/math-tests.h: Likewise.
14662         * math/test-snan.c: Include it.
14663         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14665 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14667         [BZ #15285]
14668         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14669         (__ieee754_j0l): Do not improve calculations using cos of twice
14670         input for inputs above LDBL_MAX / 2.0L.
14671         (__ieee754_y0l): Likewise.
14672         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14673         (__ieee754_j1l): Do not improve calculations using cos of twice
14674         input for inputs above LDBL_MAX / 2.0L.
14675         (__ieee754_y1l): Likewise.
14676         * math/libm-test.inc (j0_test): Add another test.
14677         (j1_test): Likewise.
14678         (y0_test): Likewise.
14679         (y1_test): Likewise.
14680         * sysdeps/i386/fpu/libm-test-ulps: Update.
14682 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14684         * Rules ($(objpfx)bench-%.c): Include code from a C source
14685         file.
14687 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14689         [BZ #15287]
14690         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14691         imaginary part 1.0 and real part less than 0.5 specially.
14692         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14693         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14694         * math/libm-test.inc (cacos_test): Add more tests.
14695         (casin_test): Likewise.
14696         (casinh_test): Likewise.
14697         * sysdeps/i386/fpu/libm-test-ulps: Update.
14698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14700 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14702         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14703         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14705 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
14707         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14708         * config.make.in (config-cflags-sse4): Remove variable.
14709         (config-cflags-avx): Likewise.
14710         (config-cflags-sse2avx): Likewise.
14711         (config-cflags-novzeroupper): Likewise.
14712         (config-asflags-i686): Likewise.
14713         (have-mfma4): Likewise.
14714         (have-as-vis3): Likewise.
14715         (MIG): Likewise.
14716         * configure.in (MIG): Do not AC_SUBST.
14717         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14718         (libc_cv_cc_sse4): Do not AC_SUBST.
14719         (libc_cv_cc_avx): Likewise.
14720         (libc_cv_cc_sse2avx): Likewise.
14721         (libc_cv_cc_novzeroupper): Likewise.
14722         (libc_cv_cc_fma4): Likewise.
14723         (libc_cv_as_i686): Likewise.
14724         (libc_cv_sparc_as_vis3): Likewise.
14725         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14726         LIBC_CONFIG_VAR.
14727         (config-asflags-i686): Likewise.
14728         (config-cflags-avx): Likewise.
14729         (config-cflags-sse2avx): Likewise.
14730         (have-mfma4): Likewise.
14731         (config-cflags-novzeroupper): Likewise.
14732         * sysdeps/mach/configure.in (MIG): Likewise.
14733         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14734         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14735         LIBC_CONFIG_VAR.
14736         (config-cflags-avx): Likewise.
14737         (config-cflags-sse2avx): Likewise.
14738         (have-mfma4): Likewise.
14739         (config-cflags-novzeroupper): Likewise.
14740         * configure: Regenerated.
14741         * sysdeps/i386/configure: Likewise.
14742         * sysdeps/mach/configure: Likewise.
14743         * sysdeps/sparc/configure: Likewise.
14744         * sysdeps/x86_64/configure: Likewise.
14746 2013-03-20  Roland McGrath  <roland@hack.frob.com>
14748         [BZ #14812]
14749         * locale/programs/localedef.c (options): Put N_ translation marker
14750         on argument names, not just descriptions.
14752 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14754         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14756 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
14758         [BZ #14176]
14759         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14761 2013-03-19  Roland McGrath  <roland@hack.frob.com>
14763         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14764         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14765         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14766         [!BEFORE_ABORT] (before_abort): New function.
14767         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14768         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14769         (writev_for_fatal): New function.
14770         (WRITEV_FOR_FATAL): New macro; call that.
14771         (backtrace_and_maps): New function.
14772         (BEFORE_ABORT): New macro; call that.
14773         (struct str_list): Type removed.
14774         (__libc_message, __libc_fatal): Functions removed.
14775         Include <sysdeps/posix/libc_fatal.c> instead.
14777 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
14779         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14780         constants.
14781         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14782         double constants.
14784 2013-03-19  Andreas Schwab  <schwab@suse.de>
14786         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14787         * sysdeps/gnu/configure: Regenerate.
14789         * configure.in: Substitute libc_cv_rtlddir.
14790         * configure: Regenerate.
14791         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14792         * Makeconfig (rtlddir, inst_rtlddir): New variables.
14793         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14794         * elf/Makefile (install-others, CFLAGS-interp.c)
14795         (ldso_install, common-ldd-rewrite): Likewise.
14796         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14797         $(inst_slibdir)/$(rtld-installed-name).
14798         * scripts/rellns-sh: Add -p option.
14799         * Makerules (make-shlib-link): Use rellns-sh to get relative name
14800         for source.
14802 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14804         * manual/nptl.texi: Renamed to ...
14805         * manual/threads.texi: ... this.
14806         * manual/Makefile (chapters): Update.
14808 2013-03-18  Roland McGrath  <roland@hack.frob.com>
14810         [BZ #14812]
14811         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14812         on argument names, not just descriptions.
14813         * malloc/memusagestat.c (options): Likewise.
14814         * nss/getent.c (options): Likewise.
14816 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
14818         [BZ #14812]
14819         * iconv/iconv_prog.c (options): Put N_ translation marker
14820         on argument names, not just descriptions.
14821         * iconv/iconvconfig.c (options): Likewise.
14823 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
14825         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14826         implementation which is faster on all x86_64 architectures.
14827         Tested on AMD, Intel Nehalem, SNB, IVB.
14828         * sysdeps/x86_64/strnlen.S: Likewise.
14830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14831         Remove all multiarch strlen and strnlen versions.
14832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14833         Remove strlen and strnlen related parts.
14835         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14836         Inline strlen part.
14837         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14839         * sysdeps/x86_64/multiarch/strlen.S: Remove.
14840         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14841         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14842         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14843         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14844         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14846 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
14848         * manual/memory.texi (Malloc Tunable Parameters):
14849         Sort parameters alphabetically. Add comments for missing entries.
14851 2013-03-17  David S. Miller  <davem@davemloft.net>
14853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14855 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
14857         [BZ #15283]
14858         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14859         for arguments at most half maximum finite value.
14860         * math/libm-test.inc (j0_test): Add more tests.
14861         (j1_test): Likewise.
14862         (y0_test): Likewise.
14863         (y1_test): Likewise.
14864         * sysdeps/i386/fpu/libm-test-ulps: Update.
14865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14867         [BZ #14155]
14868         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14869         1 / x and functions P and Q for arguments above 0x1p256L.
14870         (__ieee754_y0l): Likewise.
14871         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14872         (__ieee754_y1l): Likewise.
14873         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14874         (j1_test): Likewise.
14875         (y0_test): Likewise.
14876         (y1_test): Likewise.
14878 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
14880         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14881         variable.
14883 2013-03-15  Roland McGrath  <roland@hack.frob.com>
14885         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14886         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14887         zero since it's initialized to EXEC_PAGESIZE.
14889         * sysdeps/unix/sysv/linux/ldsodefs.h
14890         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14891         * sysdeps/generic/ldsodefs.h: ... here.
14893 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
14895         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14897         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14898         math/test-snan.c.
14899         * math/test-snan.c: Renamed from
14900         sysdeps/powerpc/fpu/test-powerpc-snan.c.
14901         * math/Makefile (tests): Add test-snan.
14902         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14903         test-powerpc-snan.
14905         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14906         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
14907         functions.
14908         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
14909         __builtin_nan family of functions.
14910         * math/libm-test.inc (initialize): Initialize qnan_value with
14911         __builtin_nan family of functions.
14912         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14913         Remove variables.
14914         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14915         Remove functions.
14916         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
14917         storage class.  Initialize qNaN_var and sNaN_var with
14918         __builtin_nan and __builtin_nans families of functions,
14919         respectively.
14921         * math/libm-test.inc (acosh_test): Also test with qNaN input.
14922         (sqrt_test): Remove duplicate test with qNaN input.
14923         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14924         (round_test, signbit_test, significand_test): Note missing +/-Inf
14925         as well as qNaN tests.
14927         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14928         qNaN_var.  Fix a few strings, too.
14929         * math/libm-test.inc (nan_value): Rename to qnan_value.
14930         * math/gen-libm-test.pl (%beautify): Adjust to that.
14931         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14932         * math/test-misc.c (main): Likewise.
14933         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14934         to __qnan_bytes, and __qnan_union, respectively.
14935         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14936         Likewise.
14937         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14938         and lqnanval, respectively.
14939         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14940         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14941         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14942         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14944         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14945         * math/test-misc.c (main) [__x86_64__]: Enable test for long
14946         doubles.
14948         * math/test-misc.c (main): Fix copy'n'pastos.
14949         * misc/tst-efgcvt.c (special): Likewise.
14951         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14952         Remove declarations.
14954 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14956         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14957         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14958         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14959         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14961 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14963         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14964         macro to return vdso values correctly in IFUNC implementations.
14965         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14966         Optimization by using IFUNC.
14968 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14969             Richard Henderson  <rth@redhat.com>
14970             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14972         * Makefile.in (bench): New target.
14973         * NEWS: Mention the benchmark framework.
14974         * Rules (bench): Likewise.
14975         (binaries-bench): Generate binaries for functions to
14976         benchmark.
14977         * benchtests/Makefile: New makefile for benchmark tests.
14978         * benchtests/bench-skeleton.c: New skeleton file for benchmark
14979         programs.
14980         * benchtests/exp-inputs: New input file for EXP function.
14981         * benchtests/pow-inputs: New input file for POW function.
14982         * scripts/bench.pl: New script to generate source files for
14983         benchmark programs.
14985 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14987         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14988         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14989         computations on mantissa.  Use macros for rounding and
14990         division.
14991         (denorm): Likewise.
14992         (__dbl_mp): Likewise.
14993         (add_magnitudes): Likewise.
14994         (sub_magnitudes): Likewise.
14995         (__mul): Likewise.
14996         (__sqr): Likewise.
14997         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14998         powers of two in terms of TWOPOW macro.
14999         (mp_no): Make type of mantissa as MANTISSA_T.
15000         [!RADIXI]: Define RADIXI.
15001         [!TWO52]: Define TWO52.
15002         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15004         * manual/nptl.texi (cindex): Modify threads to pthreads.
15006 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
15008         * sysdeps/x86_64/preconfigure: Regenerated.
15010 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
15012         [BZ #14155]
15013         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15014         0x1p28 and above.
15015         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15016         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15017         0x1p28 and above.
15018         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15019         * math/libm-test.inc (j0_test): Do not allow one spurious
15020         underflow exception.
15021         (y1_test): Likewise.
15023 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15025         * manual/Makefile (chapters): Add nptl.
15026         * manual/debug.texi (Debugging Support): Add link to Threads
15027         chapter.
15028         * manual/nptl.texi: New file.
15030         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15032 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15034         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15035         for non-NULL pointer before the memory validity test. Pointed
15036         out by Holger Brunck <holger.brunck@keymile.com>.
15038 2013-03-13  Andreas Schwab  <schwab@suse.de>
15040         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15041         instead of .os.
15043 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15045         * timezone/zic.c: Update from tzcode 2013b.
15047 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15049         * manual/install.texi (Configuring and compiling):
15050         Mention i686 and i586.
15051         * INSTALL: Regenerate.
15053 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15055         * sysdeps/init_array/elf-init.c: New file.
15056         * csu/elf-init.c
15057         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15058         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15060         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15061         __gmon_start__ as global, but as static with a .preinit_array pointer.
15062         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15063         * sysdeps/init_array/crti.S: New file, empty except for comments.
15064         * sysdeps/init_array/crtn.S: Likewise.
15066 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15068         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15069         definining bcopy.
15070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15071         Remove Prefer_SSE_for_memop.
15072         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15073         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15074         HAS_PREFER_SSE_FOR_MEMOP.
15075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15076         memset-x86-64.
15077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15078         Remove bzero, memset ifunc support.
15079         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15080         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15081         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15082         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15084 2013-03-11  Andreas Schwab  <schwab@suse.de>
15086         [BZ #15234]
15087         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15088         by SHLIB_COMPAT.
15089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15090         (GLIBC_2.16): Remove pthread_atfork.
15092 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15094         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15095         (ptestcases.h): Likewise.
15097 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15099         * Makeconfig ($(common-objpfx)config.status): Depend on
15100         sysdeps/*/preconfigure{,.in} too.
15102 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15104         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15105         (__free_hook): Use void * instead of __malloc_ptr_t.
15106         (__malloc_hook): Likewise.
15107         (__realloc_hook): Likewise.
15108         (__memalign_hook): Likewise.
15109         (__after_morecore_hook): Likewise.
15110         * malloc/arena.c (save_malloc_hook): Likewise.
15111         (save_free_hook): Likewise.
15112         * malloc/hooks.c (malloc_hook_ini): Likewise.
15113         (realloc_hook_ini): Likewise.
15114         (memalign_hook_ini): Likewise.
15115         * malloc/malloc.c (malloc_hook_ini): Likewise.
15116         (realloc_hook_ini): Likewise.
15117         (memalign_hook_ini): Likewise.
15118         (__free_hook): Likewise.
15119         (__malloc_hook): Likewise.
15120         (__realloc_hook): Likewise.
15121         (__memalign_hook): Likewise.
15122         (__libc_malloc): Likewise.
15123         (__libc_free): Likewise.
15124         (__libc_realloc): Likewise.
15125         (__libc_memalign): Likewise.
15126         (__libc_valloc): Likewise.
15127         (__libc_pvalloc): Likewise.
15128         (__libc_calloc): Likewise.
15129         (__posix_memalign): Likewise.
15130         * malloc/morecore.c (__sbrk): Likewise.
15131         (__default_morecore): Likewise.
15133         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15135         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15136         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15137         __malloc_ptrdiff_t.
15139         * malloc/malloc.h (__malloc_size_t): Remove macro.
15140         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15141         __malloc_size_t.
15142         (old_memalign_hook): Likewise.
15143         (old_realloc_hook): Likewise.
15144         (struct hdr): Likewise.
15145         (flood): Likewise.
15146         (mallochook): Likewise.
15147         (memalignhook): Likewise.
15148         (reallochook): Likewise.
15149         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15150         (tr_old_realloc_hook): Likewise.
15151         (tr_old_memalign_hook): Likewise.
15152         (tr_mallochook): Likewise.
15153         (tr_reallochook): Likewise.
15154         (tr_memalignhook): Likewise.
15156 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15159         default_ldbl_pack and using as default implementation.
15160         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15161         implementation.
15162         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15163         redundant definition.
15164         (ldbl_insert_mantissa): Likewise.
15165         (ldbl_canonicalize): Likewise.
15166         (ldbl_nearbyint): Likewise.
15167         (ldbl_pack): Rename to ldbl_pack_ppc.
15168         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15169         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15170         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15172 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15174         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15175         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15176         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15177         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15179         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15180         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15181         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15183 2013-03-07  Andreas Jaeger  <aj@suse.de>
15185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15186         bits/mman-linux.h.
15188 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15190         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15191         Include mpa.h and declare __MPEXP.
15192         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15193         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15194         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15195         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15196         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15197         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15198         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15200         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15201         (__slowpow): Use long double EXPL and LOGL functions to
15202         compute POW.
15203         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15204         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15205         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15206         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15207         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15208         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15211         intermediate variable to calculate exponent.
15212         (__sqr): Likewise.
15213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15214         Likewise.
15215         (__sqr): Likewise.
15217         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15218         [!NO__SQR]: Define __sqr.
15219         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15220         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15221         sysdeps/ieee754/dbl-64/mpa.c.
15222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15224         [BZ #12723]
15225         * posix/Makefile (tests): Add tst-pathconf.
15226         * posix/tst-pathconf.c: New test case.
15227         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15228         _PC_PIPE_BUF.
15229         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15231 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15233         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15235 2013-03-06  Andreas Jaeger  <aj@suse.de>
15237         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15238         definition via __MAP_ANONYMOUS.
15240         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15241         it's not part of Linux headers.
15243         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15244         (MAP_HUGE_MASK): Define.
15246         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15247         Define.
15248         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15249         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15250         Define.
15251         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15252         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15253         Define.
15254         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15256         Define.
15257         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15259         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15260         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15261         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15262         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15263         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15264         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15266         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15267         Handle f2fs.
15269         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15270         Handle f2fs and efivarfs.
15272         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15273         f2fs.
15275         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15276         (EFIVARFS_MAGIC): Add.
15277         (F2FS_LINK_MAX): Add.
15279 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15281         * stdio-common/vfprintf.c: Replace __builtin_expect with
15282         __glibc_unlikely.
15284 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15286         [BZ #13550]
15287         * sysdeps/generic/bp-sym.h: Remove file.
15288         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15289         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15290         <bp-sym.h> and <bp-asm.h>.
15291         (__longjmp): Don't use BP_SYM.
15292         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15293         and <bp-asm.h>.
15294         (memcpy): Don't use BP_SYM.
15295         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15296         <bp-sym.h> and <bp-asm.h>.
15297         (memcpy): Don't use BP_SYM.
15298         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15299         <bp-asm.h>.
15300         (memcpy): Don't use BP_SYM.
15301         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15302         <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/memcmp.S: Don't include
15310         <bp-sym.h> and <bp-asm.h>.
15311         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15312         pointers.
15313         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15314         <bp-sym.h> and <bp-asm.h>.
15315         (memcpy): Don't use BP_SYM.
15316         * sysdeps/powerpc/powerpc64/power4/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/power4/strncmp.S: Don't include
15325         <bp-sym.h> and <bp-asm.h>.
15326         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15327         pointers.
15328         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15329         <bp-sym.h> and <bp-asm.h>.
15330         (memcpy): Don't use BP_SYM.
15331         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15332         <bp-sym.h> and <bp-asm.h>.
15333         (memset): Don't use BP_SYM.
15334         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15335         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15336         (__bzero): Don't use BP_SYM.
15337         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15338         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15339         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15340         <bp-sym.h> and <bp-asm.h>.
15341         (__memchr): Don't use BP_SYM.
15342         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15343         <bp-sym.h> and <bp-asm.h>.
15344         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15345         pointers.
15346         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15347         <bp-sym.h> and <bp-asm.h>.
15348         (memcpy): Don't use BP_SYM.
15349         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15350         <bp-sym.h> and <bp-asm.h>.
15351         (__mempcpy): Don't use BP_SYM.
15352         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15353         <bp-sym.h> and <bp-asm.h>.
15354         (__memrchr): Don't use BP_SYM.
15355         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15356         <bp-sym.h> and <bp-asm.h>.
15357         (memset): Don't use BP_SYM.
15358         (__bzero): Likewise.
15359         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15360         <bp-sym.h> and <bp-asm.h>.
15361         (__rawmemchr): Don't use BP_SYM.
15362         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15363         <bp-sym.h> and <bp-asm.h>.
15364         (__STRCMP): Don't use BP_SYM.
15365         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15366         <bp-sym.h> and <bp-asm.h>.
15367         (strchr): Don't use BP_SYM.
15368         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15369         <bp-sym.h> and <bp-asm.h>.
15370         (__strchrnul): Don't use BP_SYM.
15371         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15372         <bp-sym.h> and <bp-asm.h>.
15373         (strlen): Don't use BP_SYM.
15374         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15375         <bp-sym.h> and <bp-asm.h>.
15376         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15377         pointers.
15378         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15379         <bp-sym.h> and <bp-asm.h>.
15380         (__strnlen): Don't use BP_SYM.
15381         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15382         <bp-sym.h> and <bp-asm.h>.
15383         (__GI__setjmp): Don't use BP_SYM.
15384         (_setjmp): Likewise.
15385         (__sigsetjmp): Likewise.
15386         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15387         (L(start_addresses)): Don't use BP_SYM.
15388         (_start): Likewise.
15389         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15390         <bp-asm.h>.
15391         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15392         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15393         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15394         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15395         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15396         <bp-asm.h>.
15397         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15398         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
15399         about bounded pointers.
15400         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15401         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15402         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15403         <bp-asm.h>.
15404         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15405         about bounded pointers.  Remove GKM FIXME comments.
15406         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15407         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15408         <bp-asm.h>.
15409         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15410         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
15411         Remove GKM FIXME comments.
15412         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15413         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15414         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15415         <bp-asm.h>.
15416         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15417         about bounded pointers.  Remove GKM FIXME comment.
15418         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15419         and <bp-asm.h>.
15420         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15421         pointers.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15423         <bp-sym.h> and <bp-asm.h>.
15424         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15426         <bp-sym.h> and <bp-asm.h>.
15427         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15428         comment.
15430 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15432         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15433         call free(NULL).
15435 2013-03-05  David S. Miller  <davem@davemloft.net>
15437         * po/es.po: Update from translation team.
15439 2013-03-05  Andreas Jaeger  <aj@suse.de>
15441         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15442         <bits/mman-linux.h>.
15443         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15444         is fine.
15445         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15446         <bits/mman-linux.h> to end of file.
15447         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15448         is fine.
15449         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15450         <bits/mman-linux.h> to end of file.
15451         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15452         is fine.
15453         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15454         <bits/mman-linux.h> to end of file.
15456         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15457         (MCL_CURRENT, MCL_FUTURE): Define here.
15459 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15461         [BZ #15232]
15462         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15463         attribute_hidden.
15464         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15466 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15468         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15469         fourth parameter needed for rt_sigprocmask syscall.
15470         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15471         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15472         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15473         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15474         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15475         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15477 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
15479         [BZ #13550]
15480         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15481         comment about bounded pointers.
15482         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15483         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15485 2013-03-04  Andreas Jaeger  <aj@suse.de>
15487         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15488         common definitions.
15490         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15491         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15492         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15493         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15494         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15495         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15497 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15499         [BZ #15055]
15500         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15501         __ieee754_sqrl instead of __sqrl.
15503 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
15505         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15506         * sysdeps/powerpc/fpu_control.h: ... here.
15507         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15508         * sysdeps/powerpc/bits/fenvinline.h: ... here.
15509         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15510         * sysdeps/powerpc/bits/mathinline.h: ... here.
15512 2013-03-01  Roland McGrath  <roland@hack.frob.com>
15514         * elf/dl-hwcaps.c (_dl_important_hwcaps):
15515         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15516         to just [NEED_DL_SYSINFO_DSO].
15517         * elf/dl-support.c: Likewise.
15518         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15519         * elf/rtld.c (dl_main): Likewise.
15520         * elf/setup-vdso.h (setup_vdso): Likewise.
15521         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15522         * sysdeps/unix/sysv/linux/dl-sysdep.c
15523         (_dl_discover_osversion): Likewise.
15525 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
15527         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15528         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15530 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15532         * NEWS: Mention libm performance improvements and non-x86 PI
15533         futex support.
15535         * csu/libc-start.c (__pthread_initialize_minimal): Change
15536         function arguments.
15537         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15539 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
15541         [BZ #13550]
15542         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15543         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15544         <bp-sym.h> and <bp-asm.h>.
15545         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15546         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15547         and <bp-asm.h>.
15548         (memcpy): Don't use BP_SYM.
15549         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15550         <bp-asm.h>.
15551         (__mpn_add_n): Don't use BP_SYM.
15552         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15553         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15554         and <bp-asm.h>.
15555         (__mpn_addmul_1): Don't use BP_SYM.
15556         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15557         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15558         <bp-sym.h>.
15559         (_setjmp): Don't use BP_SYM.
15560         (__novmx_setjmp): Likewise.
15561         (__GI__setjmp): Likewise.
15562         (__vmx_setjmp): Likewise.
15563         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15564         <bp-sym.h>.
15565         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15566         (__bzero): Don't use BP_SYM.
15567         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15568         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15569         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15570         <bp-sym.h> and <bp-asm.h>.
15571         (memcpy): Don't use BP_SYM.
15572         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15573         <bp-sym.h> and <bp-asm.h>.
15574         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15575         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15576         <bp-sym.h> and <bp-asm.h>.
15577         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15578         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15579         <bp-asm.h>.
15580         (__mpn_lshift): Don't use BP_SYM.
15581         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15582         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15583         <bp-asm.h>.
15584         (memset): Don't use BP_SYM.
15585         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15586         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15587         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15588         <bp-asm.h>.
15589         (__mpn_mul_1): Don't use BP_SYM.
15590         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15591         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15592         <bp-sym.h> and <bp-asm.h>.
15593         (memcmp): Don't use BP_SYM.
15594         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15595         <bp-sym.h> and <bp-asm.h>.
15596         (memcpy): Don't use BP_SYM.
15597         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15598         <bp-sym.h> and <bp-asm.h>.
15599         (memset): Don't use BP_SYM.
15600         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15601         <bp-sym.h> and <bp-asm.h>.
15602         (strncmp): Don't use BP_SYM.
15603         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15604         <bp-sym.h> and <bp-asm.h>.
15605         (memcpy): Don't use BP_SYM.
15606         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15607         <bp-sym.h> and <bp-asm.h>.
15608         (memset): Don't use BP_SYM.
15609         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15610         <bp-sym.h> and <bp-asm.h>.
15611         (__memchr): Don't use BP_SYM.
15612         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15613         <bp-sym.h> and <bp-asm.h>.
15614         (memcmp): Don't use BP_SYM.
15615         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15616         <bp-sym.h> and <bp-asm.h>.
15617         (memcpy): Don't use BP_SYM.
15618         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15619         <bp-sym.h> and <bp-asm.h>.
15620         (__mempcpy): Don't use BP_SYM.
15621         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15622         <bp-sym.h> and <bp-asm.h>.
15623         (__memrchr): Don't use BP_SYM.
15624         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15625         <bp-sym.h> and <bp-asm.h>.
15626         (memset): Don't use BP_SYM.
15627         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15628         <bp-sym.h> and <bp-asm.h>.
15629         (__rawmemchr): Don't use BP_SYM.
15630         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15631         <bp-sym.h> and <bp-asm.h>.
15632         (__STRCMP): Don't use BP_SYM.
15633         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15634         <bp-sym.h> and <bp-asm.h>.
15635         (strchr): Don't use BP_SYM.
15636         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15637         <bp-sym.h> and <bp-asm.h>.
15638         (__strchrnul): Don't use BP_SYM.
15639         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15640         <bp-sym.h> and <bp-asm.h>.
15641         (strlen): Don't use BP_SYM.
15642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15643         <bp-sym.h> and <bp-asm.h>.
15644         (strncmp): Don't use BP_SYM.
15645         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15646         <bp-sym.h> and <bp-asm.h>.
15647         (__strnlen): Don't use BP_SYM.
15648         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15649         <bp-asm.h>.
15650         (__mpn_rshift): Don't use BP_SYM.
15651         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15652         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15653         <bp-sym.h> and <bp-asm.h>.
15654         (__sigsetjmp): Don't use BP_SYM.
15655         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15656         (L(start_addresses)): Don't use BP_SYM.
15657         (_start): Likewise.
15658         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15659         <bp-asm.h>.
15660         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15661         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15662         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15663         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15664         <bp-asm.h>.
15665         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15666         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15667         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15668         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15669         <bp-asm.h>.
15670         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15671         comments.
15672         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15673         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15674         <bp-asm.h>.
15675         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
15676         FIXME comments.
15677         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15678         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15679         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15680         <bp-asm.h>.
15681         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15682         comment.
15683         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15684         and <bp-asm.h>.
15685         (strncmp): Don't use BP_SYM,
15686         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15687         <bp-asm.h>.
15688         (__mpn_sub_n): Don't use BP_SYM.
15689         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15690         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15691         and <bp-asm.h>.
15692         (__mpn_submul_1): Don't use BP_SYM.
15693         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15695         <bp-sym.h> and <bp-asm.h>.
15696         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15698         <bp-sym.h> and <bp-asm.h>.
15699         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15700         comment.
15702 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15705         Use ZK to minimize writes to Z.
15706         (sub_magnitudes): Simplify code a bit.
15707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15708         Use ZK to minimize writes to Z.
15709         (sub_magnitudes): Simplify code a bit.
15711 2013-02-27  Roland McGrath  <roland@hack.frob.com>
15713         * csu/gmon-start.c: Add special exception to license text.
15715 2013-02-27  Richard Henderson  <rth@redhat.com>
15717         * scripts/config.guess: Update from config.git.
15718         * scripts/config.sub: Likewise.
15720 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15722         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15724         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15726         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15728         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15730         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15732 2013-02-26  Roland McGrath  <roland@hack.frob.com>
15734         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15735         [$(build-shared = yes].
15737 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15739         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15740         (__mul): Reduce iterations for calculating mantissa.
15742         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15743         MPTWO.
15744         (__mpranred): Likewise.
15746         [BZ #15160]
15747         * malloc/memusagestat.c (main): Draw graphs for heap and stack
15748         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15750 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
15752         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15753         Define __attribute__.
15755 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15757         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15758         unused.
15759         * posix/regex_internal.h (__attribute): Remove.
15760         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15761         (re_string_context_at): Likewise.
15762         (bitset_not): Use __attribute__ and mark function as possibly
15763         unused.
15764         (bitset_merge): Likewise.
15765         (bitset_mask): Likewise.
15766         (re_string_char_size_at): Likewise.
15767         (re_string_wchar_at): Likewise.
15768         (re_string_elem_size_at): Likewise.
15770 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15772         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15773         code.
15774         (cc32): Likewise.
15776         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15777         (__acr): Likewise.
15778         (__cpy): Likewise.
15779         (norm): Likewise.
15780         (denorm): Likewise.
15781         (__dbl_mp): Likewise.
15782         (add_magnitudes): Likewise.
15783         (sub_magnitudes): Likewise.
15784         (__mul): Likewise.
15785         (__inv): Likewise.
15787         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15788         style.
15790         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15791         style.
15793         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15794         code.
15796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15797         up changes with default code.
15798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15799         Likewise.
15801 2013-02-24  Allan McRae  <allan@archlinux.org>
15803         * manual/socket.texi (The Internet Namespace): Order menu items
15804         to match that in the file.
15806         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15807         node listing of the info page menu.
15809 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
15811         [BZ #13550]
15812         * sysdeps/i386/bp-asm.h: Remove file.
15813         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15814         (PARMS): Do not use macros from bp-asm.h.
15815         (S1): Likewise.
15816         (S2): Likewise.
15817         (SIZE): Likewise.
15818         (__mpn_add_n): Do not use BP_SYM
15819         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15820         "bp-asm.h".
15821         (PARMS): Do not use macros from bp-asm.h.
15822         (S1): Likewise.
15823         (SIZE): Likewise.
15824         (__mpn_addmul_1): Do not use BP_SYM
15825         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15826         "bp-asm.h".
15827         (PARMS): Do not use macros from bp-asm.h.
15828         (SIGMSK): Likewise.
15829         (_setjmp): Likewise.  Do not use BP_SYM.
15830         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15831         "bp-asm.h".
15832         (PARMS): Do not use macros from bp-asm.h.
15833         (SIGMSK): Likewise.
15834         (setjmp): Likewise.  Do not use BP_SYM.
15835         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15836         "bp-asm.h".
15837         (PARMS): Do not use macros from bp-asm.h.
15838         (__frexp): Do not use BP_SYM.
15839         (frexp): Likewise.
15840         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15841         "bp-asm.h".
15842         (PARMS): Do not use macros from bp-asm.h.
15843         (__frexpf): Do not use BP_SYM.
15844         (frexpf): Likewise.
15845         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15846         "bp-asm.h".
15847         (PARMS): Do not use macros from bp-asm.h.
15848         (__frexpl): Do not use BP_SYM.
15849         (frexpl): Likewise.
15850         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15851         "bp-asm.h".
15852         (PARMS): Do not use macros from bp-asm.h.
15853         (__remquo): Do not use BP_SYM.
15854         (remquo): Likewise.
15855         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15856         "bp-asm.h".
15857         (PARMS): Do not use macros from bp-asm.h.
15858         (__remquof): Do not use BP_SYM.
15859         (remquof): Likewise.
15860         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15861         "bp-asm.h".
15862         (PARMS): Do not use macros from bp-asm.h.
15863         (__remquol): Do not use BP_SYM.
15864         (remquol): Likewise.
15865         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15866         "bp-asm.h".
15867         (PARMS): Do not use macros from bp-asm.h.
15868         (DEST): Likewise.
15869         (SRC): Likewise.
15870         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
15871         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15872         "bp-asm.h".
15873         (PARMS): Do not use macros from bp-asm.h.
15874         (strlen): Do not use BP_SYM.
15875         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15876         "bp-asm.h".
15877         (PARMS): Do not use macros from bp-asm.h.
15878         (S1): Likewise.
15879         (S2): Likewise.
15880         (SIZE): Likewise.
15881         (__mpn_add_n): Do not use BP_SYM.
15882         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15883         "bp-asm.h".
15884         (PARMS): Do not use macros from bp-asm.h.
15885         (S1): Likewise.
15886         (SIZE): Likewise.
15887         (__mpn_addmul_1): Do not use BP_SYM.
15888         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15889         weak_alias.
15890         (bzero): Likewise.
15891         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15892         "bp-asm.h".
15893         (PARMS): Do not use macros from bp-asm.h.
15894         (S): Likewise.
15895         (SIZE): Likewise.
15896         (__mpn_lshift): Do not use BP_SYM.
15897         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15898         "bp-asm.h".
15899         (PARMS): Do not use macros from bp-asm.h.
15900         (DEST): Likewise.
15901         (SRC): Likewise.
15902         (LEN): Likewise.
15903         (memcpy): Likewise.  Do not use BP_SYM.
15904         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15905         libc_hidden_def and weak_alias.
15906         (mempcpy): Do not use BP_SYM in weak_alias.
15907         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15908         "bp-asm.h".
15909         (PARMS): Do not use macros from bp-asm.h.
15910         (DEST): Likewise.
15911         (LEN): Likewise.
15912         [!BZERO_P] (CHR): Likewise.
15913         (memset): Likewise.  Do not use BP_SYM.
15914         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15915         "bp-asm.h".
15916         (PARMS): Do not use macros from bp-asm.h.
15917         (S1): Likewise.
15918         (SIZE): Likewise.
15919         (__mpn_mul_1): Do not use BP_SYM.
15920         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15921         "bp-asm.h".
15922         (PARMS): Do not use macros from bp-asm.h.
15923         (S): Likewise.
15924         (SIZE): Likewise.
15925         (__mpn_rshift): Do not use BP_SYM.
15926         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15927         "bp-asm.h".
15928         (PARMS): Do not use macros from bp-asm.h.
15929         (STR): Likewise.
15930         (CHR): Likewise.
15931         (strchr): Likewise.  Do not use BP_SYM.
15932         (index): Do not use BP_SYM in weak_alias.
15933         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15934         "bp-asm.h".
15935         (PARMS): Do not use macros from bp-asm.h.
15936         (DEST): Likewise.
15937         (SRC): Likewise.
15938         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
15939         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15940         "bp-asm.h".
15941         (PARMS): Do not use macros from bp-asm.h.
15942         (strlen): Do not use BP_SYM.
15943         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15944         "bp-asm.h".
15945         (PARMS): Do not use macros from bp-asm.h.
15946         (S1): Likewise.
15947         (S2): Likewise.
15948         (SIZE): Likewise.
15949         (__mpn_sub_n): Do not use BP_SYM.
15950         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15951         "bp-asm.h".
15952         (PARMS): Do not use macros from bp-asm.h.
15953         (S1): Likewise.
15954         (SIZE): Likewise.
15955         (__mpn_submul_1): Do not use BP_SYM.
15956         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15957         "bp-asm.h".
15958         (PARMS): Do not use macros from bp-asm.h.
15959         (S1): Likewise.
15960         (S2): Likewise.
15961         (SIZE): Likewise.
15962         (__mpn_add_n): Do not use BP_SYM.
15963         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15964         weak_alias.
15965         (bzero): Likewise.
15966         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15967         "bp-asm.h".
15968         (PARMS): Do not use macros from bp-asm.h.
15969         (BLK2): Likewise.
15970         (LEN): Likewise.
15971         (memcmp): Do not use BP_SYM.
15972         (bcmp): Do not use BP_SYM in weak_alias.
15973         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15974         "bp-asm.h".
15975         (PARMS): Do not use macros from bp-asm.h.
15976         (DEST): Likewise.
15977         (SRC): Likewise.
15978         (LEN): Likewise.
15979         (memcpy): Likewise.  Do not use BP_SYM.
15980         * sysdeps/i386/i686/memmove.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         (SRC): Likewise.
15985         (LEN): Likewise.
15986         (memmove): Likewise.  Do not use BP_SYM.
15987         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15988         "bp-asm.h".
15989         (PARMS): Do not use macros from bp-asm.h.
15990         (DEST): Likewise.
15991         (SRC): Likewise.
15992         (LEN): Likewise.
15993         (__mempcpy): Likewise.  Do not use BP_SYM.
15994         (mempcpy): Do not use BP_SYM in weak_alias.
15995         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15996         "bp-asm.h".
15997         (PARMS): Do not use macros from bp-asm.h.
15998         (DEST): Likewise.
15999         (LEN): Likewise.
16000         [!BZERO_P] (CHR): Likewise.
16001         (memset): Likewise.  Do not use BP_SYM.
16002         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16003         "bp-asm.h".
16004         (PARMS): Do not use macros from bp-asm.h.
16005         (STR2): Likewise.
16006         (strcmp): Do not use BP_SYM.
16007         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16008         "bp-asm.h".
16009         (PARMS): Do not use macros from bp-asm.h.
16010         (STR): Likewise.
16011         (DELIM): Likewise.
16012         [USE_AS_STRTOK_R] (SAVE): Likewise.
16013         (FUNCTION): Likewise.  Do not use BP_SYM.
16014         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16015         aliases.
16016         (strtok_r): Likewise.
16017         (__GI___strtok_r): Likewise.
16018         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16019         (PARMS): Do not use macros from bp-asm.h.
16020         (S): Likewise.
16021         (SIZE): Likewise.
16022         (__mpn_lshift): Do not use BP_SYM.
16023         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16024         (PARMS): Do not use macros from bp-asm.h.
16025         (STR): Likewise.
16026         (CHR): Likewise.
16027         (__memchr): Do not use BP_SYM.
16028         (memchr): Do not use BP_SYM in weak_alias.
16029         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16030         (PARMS): Do not use macros from bp-asm.h.
16031         (BLK2): Likewise.
16032         (LEN): Likewise.
16033         (memcmp): Do not use BP_SYM.
16034         (bcmp): Do not use BP_SYM in weak_alias.
16035         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16036         (PARMS): Do not use macros from bp-asm.h.
16037         (S1): Likewise.
16038         (SIZE): Likewise.
16039         (__mpn_mul_1): Do not use BP_SYM.
16040         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16041         "bp-asm.h".
16042         (PARMS): Do not use macros from bp-asm.h.
16043         (STR): Likewise.
16044         (CHR): Likewise.
16045         (__rawmemchr): Do not use BP_SYM.
16046         (rawmemchr): Do not use BP_SYM in weak_alias.
16047         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16048         (PARMS): Do not use macros from bp-asm.h.
16049         (S): Likewise.
16050         (SIZE): Likewise.
16051         (__mpn_rshift): Do not use BP_SYM.
16052         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16053         (PARMS): Do not use macros from bp-asm.h.
16054         (SIGMSK): Likewise.
16055         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16056         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16057         (_start): Do not use BP_SYM.
16058         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16059         (PARMS): Do not use macros from bp-asm.h.
16060         (DEST): Likewise.
16061         (SRC): Likewise.
16062         (__stpcpy): Likewise.  Do not use BP_SYM.
16063         (stpcpy): Do not use BP_SYM in weak_alias.
16064         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16065         "bp-asm.h".
16066         (PARMS): Do not use macros from bp-asm.h.
16067         (DEST): Likewise.
16068         (SRC): Likewise.
16069         (LEN): Likewise.
16070         (__stpncpy): Likewise.  Do not use BP_SYM.
16071         (stpncpy): Do not use BP_SYM in weak_alias.
16072         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16073         (PARMS): Do not use macros from bp-asm.h.
16074         (STR): Likewise.
16075         (CHR): Likewise.
16076         (strchr): Likewise.  Do not use BP_SYM.
16077         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16078         "bp-asm.h".
16079         (PARMS): Do not use macros from bp-asm.h.
16080         (STR): Likewise.
16081         (CHR): Likewise.
16082         (__strchrnul): Likewise.  Do not use BP_SYM.
16083         (strchrnul): Do not use BP_SYM in weak_alias.
16084         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16085         "bp-asm.h".
16086         (PARMS): Do not use macros from bp-asm.h.
16087         (STOP): Likewise.
16088         (strcspn): Do not use BP_SYM.
16089         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16090         "bp-asm.h".
16091         (PARMS): Do not use macros from bp-asm.h.
16092         (STR): Likewise.
16093         (STOP): Likewise.
16094         (strpbrk): Likewise.  Do not use BP_SYM.
16095         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16096         "bp-asm.h".
16097         (PARMS): Do not use macros from bp-asm.h.
16098         (STR): Likewise.
16099         (CHR): Likewise.
16100         (strrchr): Likewise.  Do not use BP_SYM.
16101         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16102         (PARMS): Do not use macros from bp-asm.h.
16103         (SKIP): Likewise.
16104         (strspn): Do not use BP_SYM.
16105         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16106         (PARMS): Do not use macros from bp-asm.h.
16107         (STR): Likewise.
16108         (DELIM): Likewise.
16109         (SAVE): Likewise.
16110         (FUNCTION): Likewise.  Do not use BP_SYM.
16111         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16112         aliases.
16113         (strtok_r): Likewise.
16114         (__GI___strtok_r): Likewise.
16115         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16116         (PARMS): Do not use macros from bp-asm.h.
16117         (S1): Likewise.
16118         (S2): Likewise.
16119         (SIZE): Likewise.
16120         (__mpn_sub_n): Do not use BP_SYM.
16121         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16122         "bp-asm.h".
16123         (PARMS): Do not use macros from bp-asm.h.
16124         (S1): Likewise.
16125         (SIZE): Likewise.
16126         (__mpn_submul_1): Do not use BP_SYM.
16127         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16128         <bp-sym.h>.
16129         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16130         and <bp-asm.h>.
16131         (PARMS): Do not use macros from bp-asm.h.
16132         (FLAGS): Likewise.
16133         (PTID): Likewise.
16134         (TLS): Likewise.
16135         (CTID): Likewise.
16136         (__clone): Do not use BP_SYM.
16137         (clone): Do not use BP_SYM in weak_alias.
16138         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16139         and <bp-asm.h>.
16140         (PARMS): Do not use macros from bp-asm.h.
16141         (LEN): Likewise.
16142         (__mmap64): Do not use BP_SYM.
16143         (mmap64): Do not use BP_SYM in weak_alias.
16144         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16145         <bp-sym.h> and <bp-asm.h>.
16146         (PARMS): Do not use macros from bp-asm.h.
16147         (__posix_fadvise64_l64): Do not use BP_SYM.
16148         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16149         (PARMS): Do not use macros from bp-asm.h.
16150         (NSOPS): Likewise.
16151         (semtimedop): Do not use BP_SYM.
16152         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16153         and <bp-asm.h>.
16155 2013-02-21  Allan McRae  <allan@archlinux.org>
16157         * manual/message.texi (Charset conversion in gettext):
16158         Move @end statement to beginning of line.
16160 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16163         static.
16164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16165         Likewise.
16167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16168         (denorm): Likewise.
16169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16172 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16174         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16175         tail-call to the resolved function if pltexit isn't needed.
16177 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16180         or Y being zero as being unlikely.
16181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16182         Likewise.
16184 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16186         * manual/nss.texi (System Databases and Name Service Switch):
16187         Remove frobnicate @pxref.
16189 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16191         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16192         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16194 2013-02-20  Petr Machata  <pmachata@redhat.com>
16196         * elf/elf.h (R_ARM_TARGET1): New macro.
16197         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16198         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16199         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16200         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16201         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16202         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16203         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16204         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16205         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16206         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16207         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16208         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16209         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16210         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16211         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16212         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16213         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16214         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16215         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16216         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16217         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16218         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16219         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16220         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16221         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16222         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16223         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16224         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16225         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16226         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16227         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16228         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16229         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16230         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16231         (R_ARM_THM_GOT_BREL12): Likewise.
16232         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16233         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16234         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16235         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16236         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16237         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16238         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16239         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16240         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16242 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16244         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16245         __attribute_used__ to __attribute__ ((unused)).
16247 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16249         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16250         powerpc mpa.c.
16251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16252         comment formatting.
16253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16255 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16257         [BZ #13550]
16258         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16259         Remove macro.
16260         (ENTER): Remove both macro definitions.
16261         (LEAVE): Likewise.
16262         (CHECK_BOUNDS_LOW): Likewise.
16263         (CHECK_BOUNDS_HIGH): Likewise.
16264         (CHECK_BOUNDS_BOTH): Likewise.
16265         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16266         (RETURN_BOUNDED_POINTER): Likewise.
16267         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16268         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16269         (POP_ERRNO_LOCATION_RETURN): Likewise.
16270         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16271         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16272         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16273         macros.
16274         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16275         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16276         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16277         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16278         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16279         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16280         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16281         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16282         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16283         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16284         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16285         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16286         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16287         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16288         removed macros.
16289         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16290         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16291         macros.
16292         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16293         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16294         * sysdeps/i386/i586/memset.S (memset): Likewise.
16295         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16296         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16297         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16298         macros.
16299         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16300         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16301         Change uses of L(2) to L(out).
16302         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16303         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16304         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16305         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16306         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16307         removed macros.
16308         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16309         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16310         macros.
16311         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16312         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16313         (RETURN): Do not use macro LEAVE.
16314         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16315         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16316         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16317         * sysdeps/i386/i686/memset.S (memset): Likewise.
16318         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16319         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16320         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16321         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16322         Likewise.
16323         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16324         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
16325         L(1_2) and L(1_3) into L(1).
16326         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16327         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16328         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16329         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16330         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16331         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16332         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16333         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16334         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16335         macros.
16336         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16337         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16338         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16339         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16340         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16341         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16342         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16343         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16344         * sysdeps/i386/strcspn.S (strcspn): Likewise.
16345         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16346         * sysdeps/i386/strrchr.S (strrchr): Likewise.
16347         * sysdeps/i386/strspn.S (strspn): Likewise.
16348         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16349         conditional code.
16350         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16351         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16352         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16353         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
16354         L(1_3) into L(1_1).
16355         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16356         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16357         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16358         macros.
16359         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16361 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
16363         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16364         macro.
16366 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16368         * math/atest-exp.c (exp_mpn): Remove ROUND.
16369         * math/atest-exp2.c (exp_mpn): Likewise.
16370         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16372         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16373         * stdlib/tst-tls-atexit-lib.c: Likewise.
16374         * stdlib/tst-tls-atexit.c: Likewise.
16376 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16378         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16379         and __attribute_alloc_size__.
16381 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16383         * include/programs/xmalloc.h: Change __attribute_alloc_size to
16384         __attribute_alloc_size__.
16385         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16386         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16388 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16390         * include/programs/xmalloc.h: New file.
16391         * catgets/gencat.c: Include it.
16392         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16393         * elf/pldd.c: Likewise.
16394         * iconv/iconv_charmap.c: Likewise.
16395         * iconv/iconvconfig.c: Likewise.
16396         * iconv/strtab.c: Likewise.
16397         * locale/programs/locale.c: Likewise.
16398         * locale/programs/localedef.h: Likewise.
16399         * locale/programs/simple-hash.c: Likewise.
16400         * nscd/nscd.h: Likewise.
16401         * nss/makedb.c: Likewise.
16402         * sysdeps/generic/ldconfig.h: Likewise.
16404 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16406         * Versions.def: Add GLIBC_2.18.
16407         * include/link.h (struct link_map): New member l_tls_dtor_count.
16408         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16409         (__call_tls_dtors): Likewise.
16410         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16411         __cxa_thread_atexit_impl.
16412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16413         Likewise.
16414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16415         Likewise.
16416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16417         Likewise.
16418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16419         Likewise.
16420         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16422         Likewise.
16423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16424         Likewise.
16425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16427         Likewise.
16428         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16429         (tests): Add test case tst-tls-atexit.
16430         (modules-names): Add shared library for tst-tls-atexit.
16431         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16432         (GLIBC_PRIVATE): Add __call_tls_dtors.
16433         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16434         for libstdc++.
16435         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16436         * stdlib/tst-tls-atexit.c: New test case.
16437         * stdlib/tst-tls-atexit-lib.c: New test case.
16439         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16441         * elf/Versions (ld): Add _dl_find_dso_for_object.
16442         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16443         * elf/dl-open.c (_dl_find_dso_for_object): New function.
16444         (dl_open_worker): Use _dl_find_dso_for_object.
16445         * elf/dl-sym.c (do_sym): Likewise.
16446         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16448 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16450         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16451         Syntactic changes only.
16452         (_dl_runtime_profile): Do a tail-call to the resolved function.
16454 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
16456         [BZ #13550]
16457         * sysdeps/x86_64/bp-asm.h: Remove file.
16458         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16459         <bp-sym.h> and <bp-asm.h>.
16460         (__clone): Do not use BP_SYM.
16461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16462         <bp-sym.h> and <bp-asm.h>.
16463         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16464         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16465         "bp-asm.h".
16466         (_setjmp): Do not use BP_SYM.
16467         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16468         "bp-asm.h".
16469         (setjmp): Do not use BP_SYM.
16470         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16471         libc_hidden_def.
16472         (mempcpy): Do not use BP_SYM in weak_alias.
16473         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16474         "bp-asm.h".
16475         (strchr): Do not use BP_SYM.
16476         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16477         "bp-asm.h".
16478         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16479         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16480         (_start): Do not use BP_SYM.
16481         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16482         "bp-asm.h".
16483         (strcat): Do not use BP_SYM.
16484         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16485         "bp-asm.h".
16486         (STRCMP): Do not use BP_SYM.
16487         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16488         "bp-asm.h".
16489         (STRCPY): Do not use BP_SYM.
16490         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16491         "bp-asm.h".
16492         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16493         "bp-asm.h".
16494         (FUNCTION): Do not use BP_SYM.
16495         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16496         weak_alias.
16497         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16499 2013-02-17  Andreas Jaeger  <aj@suse.de>
16501         * time/Versions: Sort entries.
16502         * string/Versions: Likewise.
16503         * resolv/Versions: Likewise.
16504         * posix/Versions: Likewise.
16505         * iconv/Versions: Likewise.
16506         * elf/Versions: Likewise.
16507         * wcsmbs/Versions: Likewise.
16509 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16511         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16512         loop termination condition.
16514         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16515         variable to calculate EZ.
16516         (__sqr): Likewise.
16518         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16519         the lower precision input.
16521 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
16523         [BZ #13550]
16524         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16525         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16526         (run-via-rtld-prefix): Do not handle %-bp tests.
16527         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16528         (all-object-suffixes): Remove .ob.
16529         (bppfx): Remove variable.
16530         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16531         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16532         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16533         [$(build-bounded) = yes] (libtype.ob): Likewise.
16534         * Makerules (elide-routines.ob): Remove variable.
16535         (do-tests-clean): Do not handle *-bp.out.
16536         (common-mostlyclean): Do not handle *-bp and *-bp.out.
16537         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16538         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16539         (tests): Do not include $(tests-bp.out).
16540         (xtests): Do not include $(xtests-bp.out).
16541         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16542         [$(build-bounded) = yes] ($(addprefix
16543         $(objpfx),$(binaries-bounded))): Remove rule.
16544         ($(objpfx)%-bp.out): Remove rule.
16545         * config.make.in (build-bounded): Remove variable.
16546         * crypt/Makefile [$(build-bounded) = yes]
16547         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16548         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16549         append to variable.
16550         [$(build-bounded) = yes] (install-lib): Likewise.
16551         [$(build-bounded) = yes] (generated): Likewise.
16552         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16553         Remove rule.
16554         * intl/Makefile [$(build-bounded) = yes]
16555         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16556         * math/Makefile [$(build-bounded) = yes]
16557         ($(tests:%=$(objpfx)%-bp): Likewise.
16558         * misc/Makefile [$(build-bounded) = yes]
16559         ($(objpfx)tst-tsearch-bp): Likewise.
16560         * nptl/Makeconfig (bounded-thread-library): Remove variable.
16561         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16562         Remove dependency.
16563         * string/Makefile (o-objects.ob): Remove variable.
16564         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16565         (CFLAGS-.ob): Remove variable.
16566         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16567         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16568         both definitions of variable.
16569         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16570         (ASFLAGS-.ob): Remove variable.
16572 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
16574         [BZ #13550]
16575         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16576         Remove __BOUNDED_POINTERS__ from condition.
16577         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16578         * string/bits/string2.h [!__NO_STRING_INLINES &&
16579         !__BOUNDED_POINTERS__]: Likewise.
16580         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16581         Likewise.
16582         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16583         Remove conditional code.
16584         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16585         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16586         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16587         condition.
16589         [BZ #13550]
16590         * csu/libc-start.c: Do not include <bp-sym.h>.
16591         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16592         * elf/dl-open.c: Do not include <bp-sym.h>.
16593         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16594         * math/fegetenv.c: Do not include <bp-sym.h>.
16595         (fegetenv): Do not use BP_SYM in versioned symbols.
16596         * nptl/sysdeps/pthread/bits/libc-lockP.h
16597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16598         <bp-sym.h>.
16599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16600         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16602         (__pthread_mutex_destroy): Likewise.
16603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16604         (__pthread_mutex_lock): Likewise.
16605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16606         (__pthread_mutex_trylock): Likewise.
16607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16608         (__pthread_mutex_unlock): Likewise.
16609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16610         (__pthread_mutexattr_init): Likewise.
16611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16612         (__pthread_mutexattr_destroy): Likewise.
16613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16614         (__pthread_mutexattr_settype): Likewise.
16615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16616         (__pthread_rwlock_init): Likewise.
16617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16618         (__pthread_rwlock_destroy): Likewise.
16619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16620         (__pthread_rwlock_rdlock): Likewise.
16621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16622         (__pthread_rwlock_tryrdlock): Likewise.
16623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16624         (__pthread_rwlock_wrlock): Likewise.
16625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16626         (__pthread_rwlock_trywrlock): Likewise.
16627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16628         (__pthread_rwlock_unlock): Likewise.
16629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16630         (__pthread_key_create): Likewise.
16631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16632         (__pthread_setspecific): Likewise.
16633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16634         (__pthread_getspecific): Likewise.
16635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16636         Likewise.
16637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16638         (_pthread_cleanup_push_defer): Likewise.
16639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16640         (_pthread_cleanup_pop_restore): Likewise.
16641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16642         (pthread_setcancelstate): Likewise.
16643         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16644         <bp-sym.h>.
16645         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16646         (memchr): Do not use BP_SYM in weak_alias.
16647         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16648         (fegetenv): Do not use BP_SYM in versioned symbols.
16649         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16650         (fesetenv): Do not use BP_SYM in versioned symbols.
16651         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16652         (feupdateenv): Do not use BP_SYM in versioned symbols.
16653         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16654         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16655         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16656         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16657         (open64): Do not use BP_SYM in weak_alias.
16658         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16659         (fegetenv): Do not use BP_SYM in versioned symbols.
16660         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16661         (fesetenv): Do not use BP_SYM in versioned symbols.
16662         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16663         (feupdateenv): Do not use BP_SYM in versioned symbols.
16664         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16665         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16666         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16667         (feraiseexcept): Do not use BP_SYM in versioned symbols.
16668         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16669         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16670         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16671         <bp-sym.h>.
16672         (__libc_start_main): Do not use BP_SYM.
16674 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16677         redundant return line.
16678         (norm): Likewise.
16679         (denorm): Likewise.
16680         (dbl_mp): Likewise.
16681         (sub_magnitudes): Likewise.
16682         (__add): Likewise.
16683         (__sub): Likewise.
16684         (__mul): Likewise.
16685         (__inv): Likewise.
16686         (__dvd): Likewise.
16687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16688         (norm): Likewise.
16689         (denorm): Likewise.
16690         (dbl_mp): Likewise.
16691         (sub_magnitudes): Likewise.
16692         (__add): Likewise.
16693         (__sub): Likewise.
16694         (__mul): Likewise.
16695         (__inv): Likewise.
16696         (__dvd): Likewise.
16698         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16699         instead of __mul.
16700         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16701         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16702         (cc32): Likewise.
16704         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16705         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16707         of __mul for squares.
16708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16709         function
16710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16711         Likewise.
16712         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16713         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16715 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
16717         [BZ #13550]
16718         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16719         code.
16720         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16721         prototype or function definition.  Rename ubp_* variables and
16722         parameters.  Remove argv definitions conditional on
16723         [__BOUNDED_POINTERS__].
16724         * debug/backtrace.c (__backtrace): Do not use __unbounded.
16725         * elf/dl-runtime.c (_dl_fixup): Likewise.
16726         * include/set-hooks.h (RUN_HOOK): Likewise.
16727         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16728         definition.
16729         * string/strcpy.c (strcpy): Do not use __unbounded.
16730         * sysdeps/generic/frame.h (struct layout): Likewise.
16731         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16732         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16733         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16734         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16735         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16736         (__backtrace): Likewise.
16737         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16738         use __ptrvalue.
16739         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16740         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16741         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16742         Likewise.
16743         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16744         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16745         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16746         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16747         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16748         Do not use __unbounded.
16749         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16750         Rename __unboundedrlimits parameter to rlimits in prototype.
16751         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16752         Do not use __unbounded.
16753         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16754         not use __ptrvalue.
16755         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16756         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16757         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16758         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16759         __ptrvalue or __unbounded.
16760         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16761         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16762         use __unbounded.
16763         (__new_msgctl): Do not use __ptrvalue.
16764         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16765         __unbounded.
16766         (__libc_msgrcv): Do not use __ptrvalue.
16767         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16768         startup_info): Do not use __unbounded.
16769         (__libc_start_main): Likewise.  Rename ubp_* variables and
16770         parameters.  Remove argv definitions conditional on
16771         [__BOUNDED_POINTERS__].
16772         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16773         __ptrvalue.
16774         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16775         use __unbounded.
16776         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16777         or __ptrvalue.
16778         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16779         use __unbounded.
16780         (__new_shmctl): Do not use __ptrvalue.
16781         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16782         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16783         Likewise.
16784         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16785         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16786         (__libc_sigaction): Likewise.
16787         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16788         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16789         Likewise.
16790         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16792 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
16794         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16796         * string/mempcpy.c: Implement by calling memcpy.
16798 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16800         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16802         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16803         evaluation.
16805         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16806         values in the mantissa.
16808         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16809         minimize writes to Z.
16810         (sub_magnitudes): Simplify code a bit.
16812 2013-02-12  Roland McGrath  <roland@hack.frob.com>
16814         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16815         from the message.  The linker prefixes all warnings with that already.
16817 2013-02-12  Andreas Schwab  <schwab@suse.de>
16819         [BZ #15078]
16820         * posix/regexec.c (extend_buffers): Add parameter min_len.
16821         (check_matching): Pass minimum needed length.
16822         (clean_state_log_if_needed): Likewise.
16823         (get_subexp): Likewise.
16824         * posix/Makefile (tests): Add bug-regex34.
16825         (bug-regex34-ENV): Define.
16826         * posix/bug-regex34.c: New file.
16828         [BZ #11561]
16829         * posix/regcomp.c (parse_bracket_exp): When looking up collating
16830         elements compare against the byte sequence of it, not its name.
16831         * posix/Makefile (tests): Add bug-regex35.
16832         (bug-regex35-ENV): Define.
16833         * posix/bug-regex35.c: New file.
16835 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16837         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
16838         comment.
16839         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16840         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16841         (CHECK_EOL): Add undef.
16843 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
16845         * bits/stdlib-bsearch.h: New file.
16846         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16847         * stdlib/stdlib.h: Likewise.
16849 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16851         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16852         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16853         declaration.
16854         * manual/search.texi (Array Search Function): Add missing const in
16855         lfind prototype.
16856         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16857         declaration to use rlim_t.
16858         (Basic Scheduling Functions): Remove erroneous const from
16859         sched_getparam prototype.  Remove erroneous * from
16860         sched_get_priority_max and sched_get_priority_min prototypes.
16861         (Resource Usage): Fix summary @comment on vtimes to refer to
16862         sys/vtimes.h rather than vtimes.h.
16863         Add missing *s in vtimes prototype.
16864         (Limits on Resources): Fix ulimit prototype to return long int.
16865         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16866         prototypes to use long int rather than double.
16867         (BSD Random): Fix initstate and setstate to use char *, not void *.
16868         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16869         prototype to make second argument 'struct aiocb64 *const[]'.
16870         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16871         (Status of AIO Operations): Remove erroneous const in aio_return and
16872         aio_return64 prototypes.
16873         (Synchronizing I/O): Fix sync prototype to return void.
16874         * manual/startup.texi (Suboptions): Remove an erroneous const in
16875         getsubopt prototype.
16876         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16877         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16878         use size_t rather than int.
16879         (Scanning All Users): Likewise for getpwent_r.
16880         (Setting Groups): Add missing const to setgroups prototype.
16881         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16882         * manual/socket.texi (Host Names): Fix gethostbyaddr and
16883         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16884         'const void *' rather than 'const char *'.
16885         (Host Address Functions): Likewise for inet_ntop.
16886         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16887         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16888         ssize_t for return value.
16889         (Sending Data): Likewise for send, sendto, sendmsg.
16890         (Socket Option Functions): Add a missing const in setsockopt prototype.
16891         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16892         use wchar_t for the argument.
16893         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16894         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16895         take no arguments.
16896         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16897         double/float/long double for second argument.
16898         Fix return types of significand, significandf, significandl.
16899         * manual/filesys.texi (Setting Permissions): Use mode_t for second
16900         argument in fchmod prototype.
16901         (File Owner): Use uid_t and gid_t in fchown prototype.
16902         (File Times): Add const to utimes, futimes, and lutimes prototypes.
16903         (Making Special Files): Use mode_t and dev_t in mknod prototype.
16904         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16905         use 'const struct dirent **' as argument types to CMP function pointer
16906         argument.
16907         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16908         (File Times): Fix summary magic @comment for struct utimbuf and utime
16909         to refer to utime.h, not time.h.
16910         * manual/string.texi (Argz Functions): Add missing const in
16911         argz_extract and argz_next prototypes.
16912         (Finding Tokens in a String): Likewise for basename.
16913         (String/Array Comparison): Fix typo in wcscasecmp prototype.
16914         (Copying and Concatenation): Fix typo in wmemmove prototype.
16915         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16916         (Signal Stack): Remove erroneous const in sigstack prototype.
16917         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16918         prototype.
16919         (Simple Calendar Time): Likewise for stime.
16920         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16921         prototype.
16922         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16923         say sys/sysctl.h instead.
16924         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16925         and vsyslog prototypes.
16927 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16929         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16930         Remove.
16932 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16934         * misc/sys/mman.h: Fix typo in mremap comment.
16936 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16938         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16939         the '\0' terminator.
16941 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16943         [BZ #13550]
16944         * debug/segfault.c: Don't include <bp-checks.h>.
16945         * sysdeps/generic/bp-checks.h: Remove file.
16946         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16947         (__GETDENTS): Don't use CHECK_N.
16948         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16949         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16950         (__getgroups): Don't use CHECK_N.
16951         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16952         (setgroups): Don't use CHECK_N.
16953         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16954         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16955         (__libc_msgrcv): Don't use CHECK_N.
16956         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16957         (__libc_msgsnd): Don't use CHECK_N.
16958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16959         <bp-checks.h>.
16960         (__libc_pread): Don't use CHECK_N.
16961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16962         include <bp-checks.h>.
16963         (__libc_pread64): Don't use CHECK_N.
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16965         include <bp-checks.h>.
16966         (__libc_pwrite): Don't use CHECK_N.
16967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16968         include <bp-checks.h>.
16969         (__libc_pwrite64): Don't use CHECK_N.
16970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16971         <bp-checks.h>.
16972         (__libc_pread): Don't use CHECK_N.
16973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16974         include <bp-checks.h>.
16975         (__libc_pread64): Don't use CHECK_N.
16976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16977         include <bp-checks.h>.
16978         (__libc_pwrite): Don't use CHECK_N.
16979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16980         include <bp-checks.h>.
16981         (__libc_pwrite64): Don't use CHECK_N.
16982         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16983         (do_pread): Don't use CHECK_N.
16984         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16985         (do_pread64): Don't use CHECK_N.
16986         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16987         (do_pwrite): Don't use CHECK_N.
16988         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16989         (do_pwrite64): Don't use CHECK_N.
16990         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16991         (__libc_readv): Don't use CHECK_N.
16992         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16993         (semop): Don't use CHECK_N.
16994         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16995         <bp-checks.h>.
16996         (semtimedop): Don't use CHECK_N.
16997         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16998         (__libc_pread): Don't use CHECK_N.
16999         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17000         <bp-checks.h>.
17001         (__libc_pread64): Don't use CHECK_N.
17002         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17003         <bp-checks.h>.
17004         (__libc_pwrite): Don't use CHECK_N.
17005         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17006         <bp-checks.h>.
17007         (__libc_pwrite64): Don't use CHECK_N.
17008         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17009         <bp-checks.h>.
17010         (__libc_msgrcv): Don't use CHECK_N.
17011         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17012         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
17013         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17014         (__libc_writev): Don't use CHECK_N.
17016 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17018         * string/strcpy.c: Removed unused variable.
17020         * Makeconfig (+sysdep-includes): Define with := rather than =.
17021         Use an existing include/ subdir of each sysdeps dir before it.
17023 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17025         * nscd/connection.c (register_traced_file): Comment function.
17026         [HAVE_INOTIFY] (union __inev): Define.
17027         [HAVE_INOTIFY] (inotify_check_files): New function.
17028         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17029         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17030         clear_db_cache.
17031         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17033 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17035         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17036         loaded if not already and that a failure is permanent.
17038 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17040         [BZ #15006]
17041         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17042         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17044 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17046         [BZ #13550]
17047         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17048         (CHECK_1_NULL_OK): Likewise.
17049         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17050         (__fxstat): Do not use CHECK_1.
17051         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17052         <bp-checks.h>.
17053         (___fxstat64): Do not use CHECK_1.
17054         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17055         <bp-checks.h>.
17056         (__fxstatat): Do not use CHECK_1.
17057         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17058         <bp-checks.h>.
17059         (__fxstatat64): Do not use CHECK_1.
17060         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17061         <bp-checks.h>.
17062         (__fxstat): Do not use CHECK_1.
17063         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17064         <bp-checks.h>.
17065         (__fxstatat): Do not use CHECK_1.
17066         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17067         <bp-checks.h>.
17068         (__getresgid): Do not use CHECK_1.
17069         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17070         <bp-checks.h>.
17071         (__getresuid): Do not use CHECK_1.
17072         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17073         <bp-checks.h>.
17074         (__lxstat): Do not use CHECK_1.
17075         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17076         <bp-checks.h>.
17077         (__old_msgctl): Do not use CHECK_1.
17078         (__new_msgctl): Likewise.
17079         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17080         <bp-checks.h>.
17081         (__new_setrlimit): Do not use CHECK_1.
17082         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17083         <bp-checks.h>.
17084         (__old_shmctl): Do not use CHECK_1.
17085         (__new_shmctl): Likewise.
17086         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17087         <bp-checks.h>.
17088         (__xstat): Do not use CHECK_1.
17089         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17090         (__lxstat): Do not use CHECK_1.
17091         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17092         <bp-checks.h>.
17093         (___lxstat64): Do not use CHECK_1.
17094         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17095         (__old_msgctl): Do not use CHECK_1.
17096         (__new_msgctl): Likewise.
17097         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17098         <bp-checks.h>.
17099         (__gettimeofday): Do not use CHECK_1.
17100         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17101         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17102         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17103         <bp-checks.h>.
17104         (__gettimeofday): Do not use CHECK_1.
17105         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17106         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17107         (__new_shmctl): Do not use CHECK_1.
17108         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17109         <bp-checks.h>.
17110         (do_sigtimedwait): Do not use CHECK_1.
17111         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17112         <bp-checks.h>.
17113         (do_sigwaitinfo): Do not use CHECK_1.
17114         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17115         <bp-checks.h>.
17116         (msgctl): Do not use CHECK_1.
17117         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17118         <bp-checks.h>.
17119         (shmctl): Do not use CHECK_1.
17120         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17121         (ustat): Do not use CHECK_1.
17122         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17123         <bp-checks.h>.
17124         (__fxstat): Do not use CHECK_1.
17125         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17126         <bp-checks.h>.
17127         (__fxstatat): Do not use CHECK_1.
17128         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17129         <bp-checks.h>.
17130         (__lxstat): Do not use CHECK_1.
17131         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17132         <bp-checks.h>.
17133         (__xstat): Do not use CHECK_1.
17134         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17135         (__xstat): Do not use CHECK_1.
17136         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17137         (___xstat64): Do not use CHECK_1.
17139         [BZ #13550]
17140         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17141         definitions.
17142         (CHECK_BOUNDS_HIGH): Likewise.
17143         * string/strcpy.c: Do not include <bp-checks.h>.
17144         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17146 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17148         * nscd/nscd-client.h (__nscd_drop_map_ref):
17149         Add __attribute__ ((unused)).
17150         * nis/nss-nisplus.h (niserr2nss): Likewise.
17152         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17153         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17155         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17156         Remove inline keyword.
17157         * include/rounding-mode.h (round_away): Likewise.
17158         * libio/wfileops.c (adjust_wide_data): Likewise.
17159         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17160         (__m128i_strloadu_tolower): Likewise.
17161         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17162         (__m128i_strloadu_tolower): Likewise.
17163         * time/mktime.c (ydhms_diff): Likewise.
17164         * locale/elem-hash.h (elem_hash): Likewise.
17165         * locale/setlocale.c (setdata): Likewise.
17166         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17167         (re_string_wchar_at): Likewise.
17168         (bitset_not, bitset_merge, bitset_mask): Likewise.
17169         [!(__GNUC__ > 3)] (inline): Remove macro.
17170         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17171         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17172         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17173         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17174         * string/memcmp.c (memcmp_bytes): Likewise.
17175         * locale/programs/locarchive.c (compute_hashval): Likewise.
17176         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17177         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17178         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17179         * nss/getent.c (print_rpc, print_protocols): Likewise.
17180         (print_passwd, print_group, print_aliases): Likewise.
17181         * nis/nss-nisplus.h (niserr2nss): Likewise.
17182         * nscd/connections.c (restart_p): Likewise.
17183         Change return type to bool.
17185 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17187         * Makeconfig (all-Depend-files): Add existing
17188         $(sorted-subdirs:=/Depend) files.
17189         (all-subdirs): Remove nss.
17190         * sysdeps/unix/inet/Subdirs: Add it here instead.
17191         * hesiod/Depend: New file.
17193         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17194         instead of calling alloca.
17196         * io/lseek.c (__lseek): Rename to __libc_lseek.
17197         Define __lseek as an alias.
17199         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17201 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17203         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17204         else clause and remove check for non-standard endianness.
17206 2013-02-04  David S. Miller  <davem@davemloft.net>
17208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17210 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17212         [BZ #13550]
17213         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17214         (__ubp_memchr): Remove prototype.
17215         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17216         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17217         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17218         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17219         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17220         Remove alias.
17221         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17222         (__ubp_memchr): Likewise.
17223         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17224         (__ubp_memchr): Likewise.
17225         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17226         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17227         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17228         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17229         CHECK_STRING.
17230         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17231         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17232         (__getcwd): Do not use CHECK_STRING.
17233         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17234         <bp-checks.h>.
17235         (__real_chown): Do not use CHECK_STRING.
17236         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17237         <bp-checks.h>.
17238         (fchownat): Do not use CHECK_STRING.
17239         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17240         CHECK_STRING.
17241         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17242         <bp-checks.h>.
17243         (__lchown): Do not use CHECK_STRING.
17244         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17245         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17246         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17247         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17249         include <bp-checks.h>.
17250         (truncate64): Do not use CHECK_STRING.
17251         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17252         <bp-checks.h>.
17253         (__real_chown): Do not use CHECK_STRING.
17254         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17255         <bp-checks.h>.
17256         (__lchown): Do not use CHECK_STRING.
17257         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17258         <bp-checks.h>.
17259         (__chown): Do not use CHECK_STRING.
17260         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17261         <bp-checks.h>.
17262         (truncate64): Do not use CHECK_STRING.
17263         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17264         Likewise.
17265         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17266         (__xmknod): Do not use CHECK_STRING.
17267         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17268         <bp-checks.h>.
17269         (__xmknodat): Do not use CHECK_STRING.
17270         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17271         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17273 2013-02-04  Andreas Schwab  <schwab@suse.de>
17275         [BZ #14142]
17276         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17277         * include/netdb.h: Likewise for h_errno.
17278         * elf/tst-stackguard1.c: Include <tls.h>.
17280 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17282         * elf/link.h (struct link_map): Extend the l_addr comment.
17283         * include/link.h (struct link_map): Likewise.
17285 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17287         [BZ #13550]
17288         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17289         (BOUNDED_1): Remove macro.
17290         * debug/backtrace.c: Don't include <bp-checks.h>.
17291         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17292         (__backtrace): Likewise.
17293         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17294         <bp-checks.h>.
17295         (__backtrace): Don't use BOUNDED_1.
17296         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17297         <bp-checks.h>.
17298         (__backtrace): Don't use BOUNDED_1.
17299         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17300         (__backtrace): Don't use BOUNDED_1.
17301         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17302         (shmat): Don't use BOUNDED_N.
17304 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
17306         [BZ #13550]
17307         * sysdeps/generic/bp-start.h: Remove file.
17308         * csu/libc-start.c: Don't include <bp-start.h>.
17309         (LIBC_START_MAIN): Set up __environ directly instead of using
17310         INIT_ARGV_and_ENVIRON.
17311         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17312         <bp-start.h>.
17314         [BZ #13550]
17315         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17316         definitions.
17317         (CHECK_FCNTL): Likewise.
17318         (CHECK_N_PAGES): Likewise.
17320         [BZ #13550]
17321         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17322         definitions.
17323         (CHECK_SIGSET_NULL_OK): Likewise.
17324         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17325         <bp-checks.h>.
17326         (sigpending): Don't use CHECK_SIGSET.
17327         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17328         <bp-checks.h>.
17329         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17330         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17331         <bp-checks.h>.
17332         (do_sigsuspend): Don't use CHECK_SIGSET.
17333         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17334         use CHECK_SIGSET.
17335         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17336         (do_sigwait): Don't use CHECK_SIGSET.
17337         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17338         use CHECK_SIGSET.
17339         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17340         include <bp-checks.h>.
17341         (sigpending): Don't use CHECK_SIGSET.
17342         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17343         include <bp-checks.h>.
17344         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17345         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17346         <bp-checks.h>.
17347         (sigpending): Don't use CHECK_SIGSET.
17348         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17349         <bp-checks.h>.
17350         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17352         [BZ #13550]
17353         * sysdeps/generic/bp-semctl.h: Remove file.
17354         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17355         <bp-checks.h> and <bp-semctl.h>.
17356         (__old_semctl): Don't use CHECK_SEMCTL.
17357         (__new_semctl): Likewise.
17358         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17359         and <bp-semctl.h>.
17360         (__old_semctl): Don't use CHECK_SEMCTL.
17361         (__new_semctl): Likewise.
17362         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17363         <bp-checks.h> and <bp-semctl.h>.
17364         (__old_semctl): Don't use CHECK_SEMCTL.
17365         (__new_semctl): Likewise.
17366         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17367         <bp-checks.h> and <bp-semctl.h>.
17368         (semctl): Don't use CHECK_SEMCTL.
17370         [BZ #13550]
17371         * Makerules (elide-bp-thunks): Remove variable.
17372         (elide-routines.oS): Don't use $(elide-bp-thunks).
17373         (elide-routines.os): Likewise.
17374         (elide-routines.o): Likewise.
17375         (elide-routines.op): Likewise.
17376         (elide-routines.og): Likewise.
17377         (objects): Don't use $(bp-thunks).
17378         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17379         include.
17380         (common-generated): Do not add s-proto-bp.d.
17381         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17382         (int): Likewise.
17383         (typ): Likewise.
17384         Do not generate makefile rules for bounded-pointer thunks.
17385         * sysdeps/generic/bp-thunks.h: Remove file.
17386         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17387         * sysdeps/unix/s-proto-bp.S: Likewise.
17389         [BZ #15062]
17390         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17391         parts of result separately when argument is not close to line from
17392         -i to i and one part of argument is small.
17393         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17394         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17395         * math/libm-test.inc (cacos_test): Add more tests.
17396         (casin_test): Likewise.
17397         (casinh_test): Likewise.
17398         * sysdeps/i386/fpu/libm-test-ulps: Update.
17399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17401 2013-01-31  David S. Miller  <davem@davemloft.net>
17403         * po/de.po: Update from translation team.
17405 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
17407         * time/tzfile.c: Include stdint.h for SIZE_MAX.
17409 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
17411         * configure.in (_AC_PROG_CC_C89): New definition.
17412         * configure: Regenerate.
17414         * configure.in (AC_PROG_CPP): New definition.
17415         * configure: Regenerate.
17417 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17419         * debug/tst-backtrace.h: New file.
17420         * debug/tst-backtrace2.c: Include tst-backtrace.h.
17421         (ret): Remove variable.
17422         (x): Likewise.
17423         (FAIL): Remove macro.
17424         (NO_INLINE): Likewise.
17425         (fn1): Use match function instead of strstr.
17426         * debug/tst-backtrace3.c: Include tst-backtrace.h.
17427         (ret): Remove variable.
17428         (x): Likewise.
17429         (FAIL): Remove macro.
17430         (NO_INLINE): Likewise.
17431         (fn): Use match function instead of strstr.
17432         * debug/tst-backtrace4.c: Include tst-backtrace.h.
17433         (ret): Remove variable.
17434         (x): Likewise.
17435         (FAIL): Remove macro.
17436         (NO_INLINE): Likewise.
17437         (handle_signal): Use match function instead of strstr.
17438         * debug/tst-backtrace5.c: Include tst-backtrace.h.
17439         (ret): Remove variable.
17440         (x): Likewise.
17441         (FAIL): Remove macro.
17442         (NO_INLINE): Likewise.
17443         (handle_signal): Use match function instead of strstr.
17445 2013-01-23  Roland McGrath  <roland@hack.frob.com>
17447         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17449 2013-01-23  David S. Miller  <davem@davemloft.net>
17451         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17452         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17453         argument of CAS if possible.
17454         * sysdeps/sparc/sparc64/bits/atomic.h
17455         (__arch_compare_and_exchange_val_32_acq): Likewise.
17456         (__arch_compare_and_exchange_val_64_acq): Likewise.
17458 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
17460         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17461         * sysdeps/posix/ulimit.c: ... this.
17462         Include <limits.h>.
17463         * sysdeps/unix/bsd/ulimit.c: Remove file.
17465 2013-01-23  Adam Conrad  <adconrad@0c3.net>
17467         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17468         (LDFLAGS-tst-array5): Likewise.
17470 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17472         [BZ #15036]
17473         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17474         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17475         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17476         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17478 2013-01-21  David S. Miller  <davem@davemloft.net>
17480         * sysdeps/sparc/backtrace.c: New file.
17481         * sysdeps/sparc/sparc32/backtrace.h: New file.
17482         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17483         * sysdeps/sparc/sparc64/backtrace.h: New file.
17484         * sysdeps/sparc/sparc64/backtrace.c: Delete.
17485         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17486         -funwind-tables.
17488 2013-01-21  Andreas Schwab  <schwab@suse.de>
17490         [BZ #15020]
17491         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17492         closed its stdout.
17494 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
17496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17497         "mpa2.h".
17498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17500 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
17501             Mark Mitchell  <mark@codesourcery.com>
17502             Tom de Vries  <tom@codesourcery.com>
17503             Paul Pluzhnikov  <ppluzhnikov@google.com>
17505         * debug/tst-backtrace2.c: New file.
17506         * debug/tst-backtrace3.c: Likewise.
17507         * debug/tst-backtrace4.c: Likewise.
17508         * debug/tst-backtrace5.c: Likewise.
17509         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17510         (CFLAGS-tst-backtrace3.c): Likewise.
17511         (CFLAGS-tst-backtrace4.c): Likewise.
17512         (CFLAGS-tst-backtrace5.c): Likewise.
17513         (LDFLAGS-tst-backtrace2): Likewise.
17514         (LDFLAGS-tst-backtrace3): Likewise.
17515         (LDFLAGS-tst-backtrace4): Likewise.
17516         (LDFLAGS-tst-backtrace5): Likewise.
17517         (tests): Add new tests tst-backtrace2, tst-backtrace3,
17518         tst-backtrace4 and tst-backtrace5.
17520 2013-01-18  Anton Blanchard  <anton@samba.org>
17521             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17523         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17524         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17525         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17526         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17528         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17529         "+r" and remove output regs list as redundant.  Add explicit inline
17530         asm to specify register of return val to work around compiler codegen
17531         bug.  Remove (int) cast on return value.  Add return type parameter to
17532         use in macro so that this macro does not truncate return value for
17533         64-bit values.
17534         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17535         pass to INTERNAL_VSYSCALL_NCS.
17536         (INLINE_VSYSCALL): Add 'long int' as return type to
17537         INTERNAL_VSYSCALL_NCS macro invocation.
17538         (INTERNAL_VSYSCALL): Add 'long int' as return type to
17539         INTERNAL_VSYSCALL_NCS macro invocation.
17540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17542 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17544         [BZ #14496]
17545         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17546         Fix application of SIMD FP exception mask.
17548         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17549         mp_no from a power of two.
17550         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17551         __mpexp_twomm1.  Use __pow_mp.
17553         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17554         multiplication.
17556 2013-01-17  David S. Miller  <davem@davemloft.net>
17558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17560 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17562         [BZ #15023]
17563         * include/complex.h: Condition contents on [!_COMPLEX_H].
17564         (__kernel_casinhf): New prototype.
17565         (__kernel_casinh): Likewise.
17566         (__kernel_casinhl): Likewise.
17567         * math/Makefile (libm_calls): Add k_casinh.
17568         * math/k_casinh.c: New file.
17569         * math/k_casinhf.c: Likewise.
17570         * math/k_casinhl.c: Likewise.
17571         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17572         finite nonzero arguments.
17573         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17574         finite nonzero arguments.
17575         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17576         finite nonzero arguments.
17577         * math/s_casinh.c: Do not include <float.h>.
17578         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17579         * math/s_casinhf.c: Do not include <float.h>.
17580         (__casinhf): Move code for finite nonzero arguments to
17581         k_casinhf.c.
17582         * math/s_casinhl.c: Do not include <float.h>.
17583         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17584         redefine.
17585         (__casinhl): Move code for finite nonzero arguments to
17586         k_casinhl.c.
17587         * math/libm-test.inc (cacos_test): Add more tests.
17588         * sysdeps/i386/fpu/libm-test-ulps: Update.
17589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17591 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
17593         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17594         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17595         [!HAVE_MREMAP]: Remove [defined linux] case.
17596         * malloc/arena.c: Do not include <malloc-sysdep.h>.
17598 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17600         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17602 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
17604         * elf/elf.h (R_386_SIZE32): New relocation.
17605         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17606         R_386_SIZE32.
17607         (elf_machine_rela): Likewise.
17608         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17609         R_X86_64_SIZE64 and R_X86_64_SIZE32.
17611 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17613         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17614         (FP_FAST_FMA): Do not define.
17615         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17616         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17617         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17618         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17619         !_SOFT_FLOAT]: Likewise.
17620         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17621         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17622         value.
17623         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17624         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17625         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17626         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17627         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17628         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17629         file.
17631 2013-01-16  Andreas Schwab  <schwab@suse.de>
17633         [BZ #14327]
17634         * include/stdlib.h (__mktemp): Add declaration.
17635         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17636         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17638 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17640         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17641         definitions.
17642         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17643         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17644         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17645         definitions here.
17646         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17647         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17648         definitions.
17649         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17650         and ONE.
17651         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17652         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17653         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17654         definitions.
17655         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17656         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17657         definitions.
17658         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17660         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17662 2013-01-15  David S. Miller  <davem@davemloft.net>
17664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17665         trunc{,f} to libm-sysdep_routes.
17666         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17668         file.
17669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17671         file.
17672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17673         file.
17674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17676         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17677         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17678         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17679         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17680         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17681         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17684         nearbyint{,f} to libm-sysdep_routes.
17685         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17687         New file.
17688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17689         file.
17690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17691         New file.
17692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17693         file.
17694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17696         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17697         file.
17698         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17699         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17700         file.
17701         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17702         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17703         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17705         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17706         libc_feholdexcept and libc_fesetenv.
17708 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
17710         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17712 2013-01-14  David S. Miller  <davem@davemloft.net>
17714         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17715         (SPARC_ASM_VIS2_IFUNC): Likewise.
17716         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17718         use of 'siam' instruction.
17719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17720         Likewise.
17721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17722         Likewise.
17723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17724         Likewise.
17725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17726         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17730         file.
17731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17732         file.
17733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17734         file.
17735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17736         file.
17737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17742         new VIS2 routines.
17743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17746         Likewise.
17747         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17748         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17752         routines to libm-sysdep_routines.
17753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17756         fdim/fdimf to libm-sysdep_routines.
17757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17758         file.
17759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17761         file.
17762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17765         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17766         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17767         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17768         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17770 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17772         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17773         to optimize copies.
17775         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17780         local variable MPTWO.
17781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17782         Likewise.
17784 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17786         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17787         GLOB_NOESCAPE.
17789 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17791         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17793 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17795         * manual/pattern.texi (glob_t): Document gl_flags.
17796         (glob64_t): Likewise.
17798 2013-01-11  David S. Miller  <davem@davemloft.net>
17800         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17801         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17802         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
17803         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17804         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17805         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17806         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17807         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17808         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17809         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17810         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17811         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17812         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17814         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17815         sparc V9 rather than using V8 code.
17816         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17817         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17819         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17820         Move to...
17821         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17822         Here.
17824 2013-01-11  Roland McGrath  <roland@hack.frob.com>
17826         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17827         not in the main loop.
17828         * configure: Regenerated.
17830 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
17832         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17833         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17834         to just #else.
17835         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
17836         [!__GLIBC_HAVE_LONG_LONG] case.
17837         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17838         condition to just #else.
17839         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17840         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17841         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17842         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17843         unconditional.
17844         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17845         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17846         #elif condition to just #else.
17847         * sysdeps/unix/sysv/linux/sys/sysmacros.h
17848         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17849         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17850         #elif condition to just #else.
17852 2013-01-11  Steve Ellcey  <sellcey@mips.com>
17854         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17855         (EF_MIPS_ARCH_64): Fix value.
17856         (EF_MIPS_ARCH_32R2): New.
17857         (EF_MIPS_ARCH_64R2): New.
17859 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
17861         * Makeconfig (+link-pie-before-libc): New.
17862         (+link-pie-after-libc): Likewise.
17863         (+link-pie-tests): Likewise.
17864         (+link-pie): Rewritten.
17865         (link-before-libc): Remove $(config-LDFLAGS).
17866         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17867         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17868         (config-LDFLAGS): Renamed to ...
17869         (rtld-LDFLAGS): This.
17870         (rtld-tests-LDFLAGS): New macro.
17871         (link-libc-rpath-link): Likewise.
17872         (link-libc-tests-rpath-link): Likewise.
17873         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17874         (link-libc): Prepand $(link-libc-rpath-link).
17875         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17876         (test-program-prefix): New macro.
17877         (test-via-rtld-prefix): Likewise.
17878         (test-program-cmd): Likewise.
17879         (host-test-program-cmd): Likewise.
17880         * Makefile ($(common-objpfx)testrun.sh): Replace
17881         $(run-program-prefix) with $(test-program-prefix).
17882         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17883         $(rtld-LDFLAGS).
17884         ($(common-objpfx)shlib.lds): Likewise.
17885         (build-module-helper): Likewise.
17886         ($(common-objpfx)format.lds): Likewise.
17887         * Rules (binaries-pie-tests): New.
17888         (binaries-pie-notests): Likewise.
17889         (binaries-pie): Rewritten.
17890         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17891         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17892         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17893         (make-test-out): Replace $(host-built-program-cmd) with
17894         $(host-test-program-cmd).
17895         * config.make.in (build-hardcoded-path-in-tests): New variable.
17896         * configure.in (--enable-hardcoded-path-in-tests): New configure
17897         option.
17898         (hardcoded_path_in_tests): New AC_SUBST.
17899         * configure: Regenerated.
17900         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17901         $(built-program-cmd) with $(test-program-cmd).
17902         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17903         (test_program_cmd): This.
17904         * elf/Makefile ($(objpfx)order.out): Run test with
17905         $(test-program-prefix).
17906         ($(objpfx)order2.out): Likewise.
17907         ($(objpfx)tst-initorder.out): Likewise.
17908         ($(objpfx)tst-initorder2.out): Likewise.
17909         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17910         $(test-program-cmd).
17911         ($(objpfx)tst-array1-static.out): Likewise.
17912         ($(objpfx)tst-array2.out): Likewise.
17913         ($(objpfx)tst-array3.out): Likewise.
17914         ($(objpfx)tst-array4.out): Likewise.
17915         ($(objpfx)tst-array5.out): Likewise.
17916         ($(objpfx)tst-array5-static.out): Likewise.
17917         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17918         $(test-program-cmd).
17919         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17920         $(run-program-prefix) with $(test-program-prefix).
17921         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17922         (test_program_prefix): This.
17923         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17924         $(run-program-prefix) with $(test-program-prefix).
17925         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17926         (test_program_prefix): This.
17927         * iconvdata/tst-tables.sh: Likewise.
17928         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17929         $(run-program-prefix) with $(test-program-prefix).
17930         ($(objpfx)tst-translit.out): Likewise.
17931         ($(objpfx)tst-gettext2.out): Likewise.
17932         ($(objpfx)tst-gettext4.out): Likewise.
17933         ($(objpfx)tst-gettext6.out): Likewise.
17934         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17935         (test_program_prefix): This.
17936         * intl/tst-gettext2.sh: Likewise.
17937         * intl/tst-gettext4.sh  Likewise.
17938         * intl/tst-gettext6.sh: Likewise.
17939         * intl/tst-translit.sh: Likewise.
17940         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17941         with $(test-program-cmd).
17942         * libio/Makefile ($(objpfx)test-freopen.out): Replace
17943         $(run-program-prefix) with $(test-program-prefix).
17944         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17945         (test_program_prefix): This.
17946         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17947         $(run-program-prefix) with $(test-program-prefix).
17948         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17949         (test_program_prefix): This.
17950         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17951         * posix/Makefile ($(objpfx)globtest.out): Replace
17952         $(run-via-rtld-prefix) and $(test-wrapper) with
17953         $(test-program-prefix) and $(test-via-rtld-prefix).
17954         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17955         $(test-program-prefix).
17956         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17957         $(host-test-program-cmd).
17958         (tst-spawn-ARGS): Likewise.
17959         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17960         $(test-program-prefix).
17961         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17962         (test_via_rtld_prefix): This.
17963         (test_wrapper): Renamed to ...
17964         (test_program_prefix): This.
17965         (run_program_prefix): Replaced by test_program_prefix.
17966         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17967         (test_program_prefix): This.
17968         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17969         with $(host-test-program-cmd).
17970         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17971         $(run-program-prefix) with $(test-program-prefix).
17972         ($(objpfx)tst-printf.out): Likewise.
17973         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17974         $(test-program-cmd).
17975         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17976         (test_program_prefix): This.
17977         * stdio-common/tst-unbputc.sh: Likewise.
17978         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17979         $(run-program-prefix) with $(test-program-prefix).
17980         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17981         (test_program_prefix): This.
17982         * string/Makefile ($(objpfx)tst-svc.out):  Replace
17983         $(built-program-cmd) with $(test-program-cmd).
17985 2013-01-11  Andreas Jaeger  <aj@suse.de>
17987         [BZ #15003]
17988         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17989         value. Sync with Linux 3.7.
17991 2013-01-10  David S. Miller  <davem@davemloft.net>
17993         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17994         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17995         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17997 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17999         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18000         never set.
18001         * configure: Regenerated.
18003 2013-01-10  David S. Miller  <davem@davemloft.net>
18005         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18006         sparc V9 rather than using V8 code.
18007         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18008         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18010 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18012         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18013         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18014         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18015         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18016         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18017         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18018         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18019         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18020         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18021         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18022         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18023         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18024         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18025         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18026         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18027         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18028         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18029         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18030         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18031         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18032         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18033         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18034         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18035         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18036         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18037         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18038         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18040 2013-01-10  David S. Miller  <davem@davemloft.net>
18042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18044 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18046         * posix/Makefile (tests-static): New variable.
18047         (tests): Add $(tests-static).
18048         (tst-exec-static-ARGS): New variable.
18049         (tst-spawn-static-ARGS): Likewise.
18050         * posix/tst-exec-static.c: New file.
18051         * posix/tst-spawn-static.c: Likewise.
18052         * posix/tst-exec.c: Support run directly.
18053         * posix/tst-spawn.c: Likewise.
18055 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18057         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18058         long.
18059         * math/bits/mathcalls.h (llrint): Likewise.
18060         (llround): Likewise.
18061         * stdlib/stdlib.h (struct drand48_data): Likewise.
18062         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18063         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18064         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18065         Likewise.
18066         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18067         Likewise.
18068         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18069         (elf_greg_t): Likewise.
18070         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18071         (__jmp_buf): Likewise.
18072         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18073         definitions.
18074         (llrint): Likewise, for all definitions.
18075         (llrintl): Likewise.
18077         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18078         Remove [__GNUC__] condition.
18079         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18080         condition to just [__USE_ISOC99].
18081         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18083 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18085         [BZ #14200]
18086         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18087         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18088         defined.
18089         (_POSIX_V6_ILP32_OFF32): Likewise.
18090         (_XBS5_ILP32_OFF32): Likewise.
18091         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18092         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18094 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18096         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18099         doubles __mpexp_twomm1.  Adjust usage.
18100         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18101         Remove.
18103 2013-01-10  Andreas Schwab  <schwab@suse.de>
18105         [BZ #14964]
18106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18107         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18109 2013-01-09  David S. Miller  <davem@davemloft.net>
18111         [BZ #15003]
18112         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18113         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18114         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18115         TCP_FASTOPEN): Define.
18116         (tcp_repair_opt): New structure.
18117         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18118         enum values.
18119         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18120         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18121         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18122         (tcp_cookie_transactions): New structure.
18124 2013-01-09  Anton Blanchard  <anton@samba.org>
18126         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18127         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18128         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18129         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18131 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18133         * include/features.h (__USE_ANSI): Remove.
18135 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18137         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18139         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18141 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18143         * sysdeps/s390/fpu/libm-test-ulps: Update.
18145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18147         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18148         (__acr): Likewise.
18149         (__cpy): Likewise.
18150         (norm): Likewise.
18151         (denorm): Likewise.
18152         (__mp_dbl): Likewise.
18153         (__dbl_mp): Likewise.
18154         (add_magnitudes): Likewise.
18155         (sub_magnitudes): Likewise.
18156         (__add): Likewise.
18157         (__sub): Likewise.
18158         (__mul): Likewise.
18159         (__inv): Likewise.
18160         (__dvd): Likewise.
18161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18162         (__acr): Likewise.
18163         (__cpy): Likewise.
18164         (norm): Likewise.
18165         (denorm): Likewise.
18166         (__mp_dbl): Likewise.
18167         (__dbl_mp): Likewise.
18168         (add_magnitudes): Likewise.
18169         (sub_magnitudes): Likewise.
18170         (__add): Likewise.
18171         (__sub): Likewise.
18172         (__mul): Likewise.
18173         (__inv): Likewise.
18174         (__dvd): Likewise.
18175         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18176         (__acr): Likewise.
18177         (__cpy): Likewise.
18178         (norm): Likewise.
18179         (denorm): Likewise.
18180         (__mp_dbl): Likewise.
18181         (__dbl_mp): Likewise.
18182         (add_magnitudes): Likewise.
18183         (sub_magnitudes): Likewise.
18184         (__add): Likewise.
18185         (__sub): Likewise.
18186         (__mul): Likewise.
18187         (__inv): Likewise.
18188         (__dvd): Likewise.
18190 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18192         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18193         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18194         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18195         2 && __USE_EXTERN_INLINES]: Likewise.
18197 2013-01-08  Andreas Jaeger  <aj@suse.de>
18199         [BZ# 14985]
18200         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18201         Remove.
18202         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18203         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18205 2013-01-07  Anton Blanchard  <anton@samba.org>
18207         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18208         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18209         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18210         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18211         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18212         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18213         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18214         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18216         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18217         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18218         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18219         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18220         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18221         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18222         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18223         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18225         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18226         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18227         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18228         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18229         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18230         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18231         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18232         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18233         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18234         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18235         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18236         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18237         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18239         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18240         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18241         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18242         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18243         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18244         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18245         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18246         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18247         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18248         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18249         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18251 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18253         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18254         (__MALLOC_PMT): Likewise.
18255         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18256         [__GNUC__], only on [_LIBC].
18257         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18258         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18259         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18260         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18261         forward declaration.
18262         (realloc_hook_ini): Likewise.
18263         (memalign_hook_ini): Likewise.
18264         (__libc_memalign): Do not use __MALLOC_PMT in variable
18265         declaration.
18266         (__libc_valloc): Likewise.
18267         (__libc_pvalloc): Likewise.
18268         (__libc_calloc): Likewise.
18269         (__posix_memalign): Likewise.
18271         [BZ #14996]
18272         * math/s_casinh.c: Include <float.h>.
18273         (__casinh): Do not do computation with squaring and square root
18274         for large arguments.
18275         * math/s_casinhf.c: Include <float.h>.
18276         (__casinhf): Do not do computation with squaring and square root
18277         for large arguments.
18278         * math/s_casinhl.c: Include <float.h>.
18279         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18280         (__casinhl): Do not do computation with squaring and square root
18281         for large arguments.
18282         * math/libm-test.inc (casin_test): Add more tests.
18283         (casinh_test): Likewise.
18284         * sysdeps/i386/fpu/libm-test-ulps: Update.
18285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18287 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18289         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18290         (__x86_64_raw_data_cache_size): Likewise.
18291         (__x86_64_data_cache_size_half): Likewise.
18292         (__x86_64_raw_data_cache_size_half): Likewise.
18293         (__x86_64_shared_cache_size): Likewise.
18294         (__x86_64_raw_shared_cache_size): Likewise.
18295         (__x86_64_shared_cache_size_half): Likewise.
18296         (__x86_64_raw_shared_cache_size_half): Likewise.
18297         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18298         to ...
18299         (__x86_data_cache_size): This.
18300         (__x86_64_raw_data_cache_size): Renamed to ...
18301         (__x86_raw_data_cache_size): This.
18302         (__x86_64_data_cache_size_half): Renamed to ...
18303         (__x86_data_cache_size_half): This.
18304         (__x86_64_raw_data_cache_size_half): Renamed to ...
18305         (__x86_raw_data_cache_size_half): This.
18306         (__x86_64_shared_cache_size): Renamed to ...
18307         (__x86_shared_cache_size): This.
18308         (__x86_64_raw_shared_cache_size): Renamed to ...
18309         (__x86_raw_shared_cache_size): This.
18310         (__x86_64_shared_cache_size_half): Renamed to ...
18311         (__x86_shared_cache_size_half): This.
18312         (__x86_64_raw_shared_cache_size_half): Renamed to ...
18313         (__x86_raw_shared_cache_size_half): This.
18314         * sysdeps/x86_64/memcpy.S: Updated.
18315         * sysdeps/x86_64/memset.S: Likewise.
18316         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18317         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18318         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18320 2013-01-04  David S. Miller  <davem@davemloft.net>
18322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18324 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
18326         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18327         1 to avoid redefinition warning.
18328         (__USE_GNU): Don't define.
18329         (init_signaling_nan): Protoize.
18331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18333 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18335         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18337         (__cpymn): Likewise.
18338         (norm): Remove commented code.
18339         (denorm): Likewise.
18340         (__mp_dbl): Likewise.
18341         (__inv): Likewise.
18342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18343         (__cpymn): Likewise.
18344         (norm): Remove commented code.
18345         (denorm): Likewise.
18346         (__mp_dbl): Likewise.
18347         (__inv): Likewise.
18349         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18350         mp_no value for 1.0 and 2.0.
18351         (norm): Use RADIXI instead of radixi.d.
18352         (denorm): Likewise.
18353         (__mul): Use 0.0 instead of zero.d.
18354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18355         mp_no value for 1.0 and 2.0.
18356         (norm): Use RADIXI instead of radixi.d.
18357         (denorm): Likewise.
18358         (__mul): Use 0.0 instead of zero.d.
18360 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
18362         [BZ #14994]
18363         * math/s_casinh.c (__casinh): Reduce finite argument to first
18364         quadrant then set signs of results at the end.
18365         * math/s_casinhf.c (__casinhf): Likewise.
18366         * math/s_casinhl.c (__casinhl): Likewise.
18367         * math/libm-test.inc (casin_test): Add more tests.
18368         (casinh_test): Likewise.
18369         * sysdeps/i386/fpu/libm-test-ulps: Update.
18370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18372 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18374         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18376         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18378         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18379         declarations.
18380         (denorm): Likewise.
18381         (__mp_dbl): Likewise.
18382         (__inv): Likewise.
18384         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18385         and adjust the header comment.
18387         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18388         variable name from declaration.
18390 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
18392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18393         Initialize COMMON_CPUID_INDEX_7 element.
18394         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18395         (CPUID_RTM): Likewise.
18396         (HAS_RTM): Likewise.
18397         (COMMON_CPUID_INDEX_7): New enum.
18399 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
18401         [BZ #14981]
18402         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18403         size is zero, record memory as freed.
18405 2013-01-03  Andreas Jaeger  <aj@suse.de>
18407         * po/ia.po: Add new Interlingua translation.
18409 2012-01-03  Allan McRae  <allan@archlinux.org>
18411         * locale/programs/localedef.c: Fix description of '--posix' flag.
18413 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
18415         * NEWS: Update dates in second copyright notice.
18416         * README: Update copyright dates in example.
18417         * manual/libc.texinfo: Update copyright dates.
18418         * scripts/test-installation.pl: Update copyright date in --version
18419         output.
18421         * hurd/ctty-input.c: Fix copyright notice formatting.
18422         * hurd/ctty-output.c: Likewise.
18423         * hurd/dtable.c: Likewise.
18424         * hurd/hurd-raise.c: Likewise.
18425         * hurd/hurdprio.c: Likewise.
18426         * hurd/msgportdemux.c: Likewise.
18427         * misc/sys/file.h: Likewise.
18428         * misc/sys/ioctl.h: Likewise.
18429         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18430         * sysdeps/mach/hurd/chdir.c: Likewise.
18431         * sysdeps/mach/hurd/fchdir.c: Likewise.
18432         * sysdeps/mach/hurd/rename.c: Likewise.
18433         * sysdeps/mach/hurd/rmdir.c: Likewise.
18434         * sysdeps/mach/hurd/seekdir.c: Likewise.
18435         * sysdeps/mach/hurd/setsid.c: Likewise.
18436         * sysdeps/posix/wait3.c: Likewise.
18438         * All files with FSF copyright notices: Update copyright dates
18439         using scripts/update-copyrights.
18440         * intl/plural.c: Regenerated.
18441         * locale/programs/charmap-kw.h: Likewise.
18442         * locale/programs/locfile-kw.h: Likewise.
18444 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18446         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18447         four values.
18449         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18450         calculation loop and add branch prediction.
18452         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18453         check access beyond bounds of m1np.
18455         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18456         MPTWO.
18457         (__inv): Remove local variable MPTWO to use the global
18458         constant.
18459         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18460         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18461         variable MPTWO.
18462         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18463         MP3HALFS static const.
18465 2013-01-01  David S. Miller  <davem@davemloft.net>
18467         * po/ca.po: Update from translation team.
18469 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
18471         * scripts/update-copyrights: New file.
18472         * Makeconfig: Reformat copyright notice.
18473         * ctype/ctype.h: Likewise.
18474         * debug/swprintf_chk.c: Likewise.
18475         * elf/dl-cache.c: Likewise.
18476         * elf/dl-debug.c: Likewise.
18477         * elf/dl-object.c: Likewise.
18478         * grp/initgroups.c: Likewise.
18479         * hurd/Makefile: Likewise.
18480         * hurd/hurd/signal.h: Likewise.
18481         * hurd/hurdfault.c: Likewise.
18482         * hurd/hurdioctl.c: Likewise.
18483         * hurd/hurdlookup.c: Likewise.
18484         * hurd/intr-msg.c: Likewise.
18485         * iconv/gconv_open.c: Likewise.
18486         * libio/swprintf.c: Likewise.
18487         * locale/lc-ctype.c: Likewise.
18488         * locale/nl_langinfo.c: Likewise.
18489         * mach/Machrules: Likewise.
18490         * mach/Makefile: Likewise.
18491         * malloc/obstack.h: Likewise.
18492         * manual/Makefile: Likewise.
18493         * manual/tsort.awk: Likewise.
18494         * misc/bits/stab.def: Likewise.
18495         * nis/nis_print_group_entry.c: Likewise.
18496         * nis/nis_table.c: Likewise.
18497         * nis/nss_compat/compat-pwd.c: Likewise.
18498         * nis/nss_compat/compat-spwd.c: Likewise.
18499         * po/Makefile: Likewise.
18500         * posix/fnmatch.c: Likewise.
18501         * posix/regex.h: Likewise.
18502         * resolv/Makefile: Likewise.
18503         * resolv/nss_dns/dns-network.c: Likewise.
18504         * resolv/res_hconf.c: Likewise.
18505         * scripts/gen-sorted.awk: Likewise.
18506         * soft-fp/soft-fp.h: Likewise.
18507         * stdio-common/printf.h: Likewise.
18508         * stdlib/monetary.h: Likewise.
18509         * stdlib/random.c: Likewise.
18510         * stdlib/random_r.c: Likewise.
18511         * sysdeps/generic/Makefile: Likewise.
18512         * sysdeps/gnu/Makefile: Likewise.
18513         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18514         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18515         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18516         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18517         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18519         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18520         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18521         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18523         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18524         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18525         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18526         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18527         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18528         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18529         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18530         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18532         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18533         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18534         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18535         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18536         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18537         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18538         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18539         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18540         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18541         * sysdeps/mach/hurd/errnos.awk: Likewise.
18542         * sysdeps/mach/hurd/fork.c: Likewise.
18543         * sysdeps/mach/hurd/getcwd.c: Likewise.
18544         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18545         * sysdeps/mach/hurd/mmap.c: Likewise.
18546         * sysdeps/mach/hurd/utimes.c: Likewise.
18547         * sysdeps/mach/hurd/xmknod.c: Likewise.
18548         * sysdeps/posix/profil.c: Likewise.
18549         * sysdeps/posix/readdir_r.c: Likewise.
18550         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18551         * sysdeps/powerpc/bits/setjmp.h: Likewise.
18552         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18553         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18555         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18556         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18557         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18559         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18560         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18561         * sysdeps/pthread/lio_listio.c: Likewise.
18562         * sysdeps/sparc/dl-procinfo.h: Likewise.
18563         * sysdeps/unix/i386/sysdep.S: Likewise.
18564         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18565         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18566         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18567         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18569         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18570         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18571         * sysdeps/unix/sysv/linux/speed.c: Likewise.
18572         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18573         * sysdeps/wordsize-32/divdi3.c: Likewise.
18574         * time/sys/time.h: Likewise.
18575         * wcsmbs/Makefile: Likewise.
18577 2013-01-01  David S. Miller  <davem@davemloft.net>
18579         * po/fr.po: Update from translation team.
18581         * catgets/gencat.c: Update copyright year.
18582         * csu/version.c: Likewise.
18583         * debug/catchsegv.sh: Likewise.
18584         * debug/pcprofiledump.c: Likewise.
18585         * debug/xtrace.sh: Likewise.
18586         * elf/ldconfig.c: Likewise.
18587         * elf/ldd.bash.in: Likewise.
18588         * elf/pldd.c: Likewise.
18589         * elf/sotruss.ksh: Likewise.
18590         * elf/sprof.c: Likewise.
18591         * iconv/iconv_prog.c: Likewise.
18592         * iconv/iconvconfig.c: Likewise.
18593         * locale/programs/locale.c: Likewise.
18594         * locale/programs/localedef.c: Likewise.
18595         * login/programs/pt_chown.c: Likewise.
18596         * malloc/memusage.sh: Likewise.
18597         * malloc/memusagestat.c: Likewise.
18598         * malloc/mtrace.pl: Likewise.
18599         * nscd/nscd.c: Likewise.
18600         * nss/getent.c: Likewise.
18601         * nss/makedb.c: Likewise.
18602         * posix/getconf.c: Likewise.
18604 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18606         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18607         numbers.
18609 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
18611         * math/bits/mathcalls.h (modf): Use __nonnull.
18613 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18615         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18616         (split): Use macro CN instead of the bare value.
18617         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18618         could be used.
18619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18620         instead of the bare value.
18621         (power1): Likewise.
18623 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18625         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18626         __ATAN_TWOM.
18627         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18629         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18630         their values.
18631         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18632         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18633         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18634         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18636 2012-12-28  Andreas Jaeger  <aj@suse.de>
18638         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
18639         values are from Linux 3.7.
18641         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18642         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
18644 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18646         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18647         TRUE case.
18649         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18650         (norm): Likewise.
18651         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18652         variables with preprocessor constants.
18653         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18654         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18655         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18657 2012-12-27  Bruno Haible  <bruno@clisp.org>
18659         [BZ #14317]
18660         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18661         only if needed.
18663 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18666         and use variable directly.
18667         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18669         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18670         MPONE.
18671         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18672         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18673         variable MPONE.
18674         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18675         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18676         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18677         include directive.  Remove local variable MPONE.
18678         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18679         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18680         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18682 2012-12-25  David S. Miller  <davem@davemloft.net>
18684         * version.h (RELEASE): Set to "development".
18685         (VERSION): Set to "2.17.90".
18686         * NEWS: Add 2.18 section.
18688 2012-12-21  David S. Miller  <davem@davemloft.net>
18690         * po/hr.po: Update from translation team.
18692 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18694         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18696 2012-12-19  Steve Ellcey  <sellcey@mips.com>
18698         * NEWS:  Mention new memcpy for MIPS.
18700 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18702         * manual/contrib.texi (Contributors): Spelling correction.
18704 2012-12-15  David S. Miller  <davem@davemloft.net>
18706         * po/ru.po: Update from translation team.
18708 2012-12-13  David S. Miller  <davem@davemloft.net>
18710         * NEWS: Mention IFUNC testsuite enhancements.
18712         * po/pl.po: Update from translation team.
18713         * po/bg.po: Likewise.
18715         * manual/contrib.texi (Contributors): Update entries for Hongjiu
18716         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
18718 2012-12-11  David S. Miller  <davem@davemloft.net>
18720         * po/sv.po: Update from translation team.
18722         * po/vi.po: Update from translation team.
18724         * po/cs.po: Update from translation team.
18726         * po/de.po: Update from translation team.
18727         * po/eo.po: Likewise.
18728         * po/nl.po: Likewise.
18730 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18732         [BZ #14246]
18733         * manual/argp.texi (Argp Helper Functions): Move node to follow
18734         Argp Parsing State.
18736         [BZ #14872]
18737         * manual/conf.texi (Limits on File System Capacity): Mention if
18738         terminating null is included in the max size.
18740 2012-12-10  Andreas Jaeger  <aj@suse.de>
18742         * po/cs.po: Update from translation team.
18744 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18746         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18747         void pointer and cast to uintptr_t.
18748         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18749         path.
18750         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18751         * sysdeps/s390/s390-64/memset.S: Likewise.
18753 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
18755         [BZ #14833]
18756         * menual/message.texi (Message Translation): Fix typos.
18757         (Helper programs for gettext): Likewise.
18759 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
18761         [BZ #14898]
18762         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18763         Change to -1.
18765 2012-12-07  David S. Miller  <davem@davemloft.net>
18767         * po/libc.pot: Update.
18769 2012-12-07  Richard Henderson  <rth@redhat.com>
18771         [BZ #10114]
18772         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18773         normal/normal case to before the switch.
18774         (_FP_DIV): Likewise.
18776 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
18777             Mike Frysinger  <vapier@gentoo.org>
18779         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18780         check for __NR_fadvise64_64.
18782 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
18784         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18785         0, not just to plain "0" as a statement.
18786         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18787         with cw.
18789 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
18791         * NEWS: Use sourceware.org in Bugzilla URL.
18793 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18796         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18798         * stdio-common/tst-put-error.c (do_test): Add newline to the
18799         padded test to ensure flush.
18801 2012-12-05  Jeff Law  <law@redhat.com>
18803         * sunrpc/etc.rpc (fedfs_admin): Add entry.
18805 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
18807         * README: Don't refer to ports add-on as distributed separately.
18808         Mention AArch64 in list of systems supported in the ports add-on.
18810         * LICENSES: Add more non-FSF copyright and license notices.
18812         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18813         ((unused)).
18815         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18817         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18818         10000 as width of padded output.
18820 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18822         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18824         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18825         variable LX with __attribute__ ((unused)).
18826         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18827         Likewise.
18828         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18830         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18831         with __attribute__ ((unused)).
18833 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
18835         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18837 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18839         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18840         (CFLAGS-nldbl-acos.c): New variable.
18841         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18842         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18843         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18844         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18845         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18846         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18847         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18848         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18849         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18850         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18851         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18852         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18853         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18854         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18855         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18856         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18857         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18858         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18859         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18860         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18861         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18862         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18863         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18864         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18865         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18866         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18867         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18868         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18869         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18870         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18871         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18872         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18873         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18874         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18875         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18876         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18877         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18878         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18879         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18880         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18881         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18882         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18883         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18884         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18885         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18886         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18887         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18888         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18889         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18890         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18891         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18892         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18893         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18894         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18895         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18896         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18897         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18898         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18899         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18900         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18901         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18902         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18903         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18904         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18905         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18906         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18907         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18908         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18909         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18910         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18911         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18912         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18913         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18914         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18915         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18916         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18917         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18918         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18919         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18920         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18921         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18922         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18923         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18924         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18925         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18926         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18927         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18928         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18929         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18930         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18931         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18932         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18933         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18934         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18935         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18936         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18937         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18940         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18942         [BZ #14914]
18943         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18944         whole low double instead of just low 47 bits when splitting values
18945         into two parts.
18947 2012-12-03  Allan McRae  <allan@archlinux.org>
18949         * manual/stdio.texi (Predefined Printf Handlers): Remove
18950         @hsep and @vsep usage.
18952 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
18954         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18955         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18957 2012-12-03  Jeff Law  <law@redhat.com>
18959         * time/sys/time.h (settimeofday): Do not mark TV argument
18960         as __nonnull.
18962 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
18964         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18965         when currently writing and seek to current position when not.
18966         * libio/Makefile (tests): Remove bug-fclose1.
18967         * libio/bug-fclose1.c: Delete.
18969 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
18971         * manual/arith.texi (feenableexcept): Fix typo.
18972         (fedisableexcept): Likewise.
18974 2012-11-30  Roland McGrath  <roland@hack.frob.com>
18976         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18977         second, differently-typed declaration, rather than a cast.
18979 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18981         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18982         * include/rpc/svc.h: ... here.
18984 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
18986         [BZ #13013]
18987         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18988         depending n and resplen2 to catch cases where answer
18989         equals answerp2.
18991 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
18993         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18994         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18996 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
18998         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19000 2012-11-29  Roland McGrath  <roland@hack.frob.com>
19002         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19004 2012-11-28  Jeff Law  <law@redhat.com>
19006         [BZ #13761]
19007         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19008         dataset_temporary.  Track alloca usage into alloca_used.
19009         If dataset is large allocate and release it via malloc/free.
19011 2012-06-04  Florian Weimer  <fweimer@redhat.com>
19013         [BZ #14197]
19014         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19016 2012-11-28  David S. Miller  <davem@davemloft.net>
19018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19020 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19022         [BZ #14803]
19023         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19024         of pi/2 rounded to nearest to 64 bits.
19025         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19026         nearest to 64 bits.
19027         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19028         bits.
19030 2012-11-28  Jeff Law <law@redhat.com>
19031             Martin Osvald <mosvald@redhat.com>
19033         [BZ #14889]
19034         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19035         * sunrpc/svc.c: Include time.h.
19036         (__svc_accept_failed): New function.
19037         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19038         any reason other than EINTR, call __svc_accept_failed.
19039         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19040         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19042 2012-11-28  Andreas Schwab  <schwab@suse.de>
19044         * scripts/abilist.awk: Also handle indirect functions in .opd
19045         section.
19047 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19049         [BZ #13881]
19050         * sysdeps/x86/fpu/powl_helper.c: New file.
19051         * sysdeps/x86/fpu/Makefile: Likewise.
19052         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19053         (p3): New object.
19054         (__ieee754_powl): Use __powl_helper for finite arguments except
19055         integer exponents below 8.
19056         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19057         (p3): New object.
19058         (__ieee754_powl): Use __powl_helper for finite arguments except
19059         integer exponents below 8.
19060         * math/libm-test.inc (pow_test): Add more tests and enable some
19061         previously disabled tests.
19062         * sysdeps/i386/fpu/libm-test-ulps: Update.
19063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19065 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19066             Carlos O'Donell  <carlos_odonell@mentor.com>
19068         * nss/makedb.c (is_prime): Assert that input is odd and greater
19069         than 4.  Note that fact in a comment too.
19070         (next_prime): Add 4 to input.
19072 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19074         [BZ #11741]
19075         * libio/Makefile (tests): Add test case tst-fwrite-error.
19076         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19077         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19078         * libio/tst-fwrite-error.c: New test case.
19080 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19082         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19083         before casting to void *.
19084         * include/libc-internal.h (__pointer_type): New macro.
19085         (__integer_if_pointer_type_sub): Likewise.
19086         (__integer_if_pointer_type): Likewise.
19087         (cast_to_integer): Likewise.
19088         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19089         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19090         before casting to atomic64_t.
19091         (atomic_exchange_acq): Likewise.
19092         (__arch_exchange_and_add_body): Likewise.
19093         (__arch_add_body): Likewise.
19094         (atomic_add_negative): Likewise.
19095         (atomic_add_zero): Likewise.
19097 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19099         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19100         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19101         (add_fdes): Likewise.
19102         (linear_search_fdes): Likewise.
19103         (binary_search_unencoded_fdes): Likewise.
19105 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19107         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19109 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19111         * configure.in: Autodetect C++ header directories.
19112         * configure: Regenerated.
19114 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19116         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19118 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19122 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19124         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19125         LDBL_MANT_DIG == 106]: Disable some tests.
19126         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19127         Likewise.
19128         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19129         Likewise.
19131         [BZ #14871]
19132         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19133         input for small inputs.  Return +/- pi/2 for large inputs.
19134         * math/libm-test.inc (atan_test): Add more tests.
19136         * sysdeps/generic/unwind-dw2-fde-glibc.c
19137         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19138         __attribute__ ((unused)).
19140         [BZ #14645]
19141         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19142         x * y if x and y are nonzero and z is zero.
19144         [BZ #14811]
19145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19146         nonzero exponents with absolute value below 0x1p-117 to +/-
19147         0x1p-117.
19149         [BZ #14869]
19150         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19151         up arguments below 2**-450, not just those below 2**-500.
19152         * math/libm-test.inc (hypot_test): Add another test.
19154         [BZ #14868]
19155         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19156         Return a+b for ratio over 2**120, not 2**60.
19157         * math/libm-test.inc (hypot_test): Add another test.
19159         * math/libm-test.inc (clog_test): Use
19160         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19161         (clog10_test): Likewise.
19163         [BZ #6778]
19164         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19166 2012-11-22  Andreas Schwab  <schwab@suse.de>
19168         * sysdeps/i386/fpu/libm-test-ulps: Update.
19170 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19172         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19173         printf output with newline.
19175 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19177         [BZ #14865]
19178         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19179         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19180         -z nodlopen, -z initfirst and -z execstack support.
19181         * configure: Regenerated.
19183         * elf/elf.h (DF_1_NODIRECT): New macro.
19184         (DF_1_IGNMULDEF): Likewise.
19185         (DF_1_NOKSYMS): Likewise.
19186         (DF_1_NOHDR): Likewise.
19187         (DF_1_EDITED): Likewise.
19188         (DF_1_NORELOC): Likewise.
19189         (DF_1_SYMINTPOSE): Likewise.
19190         (DF_1_GLOBAUDIT): Likewise.
19191         (DF_1_SINGLETON): Likewise.
19192         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19193         DT_1_SUPPORTED_MASK bits.
19194         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19196 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19198         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19200 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19202         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19203         macro.
19205         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19206         (sendmmsg): Move declarations...
19207         * socket/sys/socket.h: ... here.
19208         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19209         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19210         include it from...
19211         * socket/recvmmsg.c: ... this new file.
19212         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19213         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19214         definition of __sendmmsg hidden.
19215         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19216         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19217         Move ENOSYS stub into and include it from...
19218         * socket/sendmmsg.c: ... this new file.
19219         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19220         (sysdep_routines): Move recvmmsg and sendmmsg...
19221         * socket/Makefile (routines): ... here.
19222         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19223         (GLIBC_PRIVATE): Add __sendmmsg.
19224         * include/sys/socket.h (__sendmmsg): Add declarations.
19225         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19226         sendmmsg.
19228 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19230         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19231         variable I1 with __attribute__ ((unused)).
19232         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19234 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19236         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19237         DUMMY variables with __attribute__ ((unused)).
19239         * bits/byteswap.h: Include <bits/types.h>.
19240         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19242 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19244         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19245         string_t.  Do not manually set errno.
19246         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19247         length with __strnlen.  Make sure to both set errno and return it on
19248         failure.
19250 2012-11-19  David S. Miller  <davem@davemloft.net>
19252         With help from Joseph Myers.
19253         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19254         very large arguments properly.
19255         * math/libm-test.inc (atan_test): New tests.
19256         (atan2_test): New tests.
19257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19260 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19262         [BZ #14856]
19263         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19264         Define to 3.
19266         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19267         [POSIX] (EADDRNOTAVAIL): Likewise.
19268         [POSIX] (EAFNOSUPPORT): Likewise.
19269         [POSIX] (EALREADY): Likewise.
19270         [POSIX] (ECONNABORTED): Likewise.
19271         [POSIX] (ECONNREFUSED): Likewise.
19272         [POSIX] (ECONNRESET): Likewise.
19273         [POSIX] (EDESTADDRREQ): Likewise.
19274         [POSIX] (EDQUOT): Likewise.
19275         [POSIX] (EHOSTUNREACH): Likewise.
19276         [POSIX] (EIDRM): Likewise.
19277         [POSIX] (EISCONN): Likewise.
19278         [POSIX] (ELOOP): Likewise.
19279         [POSIX] (EMULTIHOP): Likewise.
19280         [POSIX] (ENETDOWN): Likewise.
19281         [POSIX] (ENETUNREACH): Likewise.
19282         [POSIX] (ENOBUFS): Likewise.
19283         [POSIX] (ENODATA): Likewise.
19284         [POSIX] (ENOLINK): Likewise.
19285         [POSIX] (ENOMSG): Likewise.
19286         [POSIX] (ENOPROTOOPT): Likewise.
19287         [POSIX] (ENOSR): Likewise.
19288         [POSIX] (ENOSTR): Likewise.
19289         [POSIX] (ENOTCONN): Likewise.
19290         [POSIX] (ENOTSOCK): Likewise.
19291         [POSIX] (EOPNOTSUPP): Likewise.
19292         [POSIX] (EOVERFLOW): Likewise.
19293         [POSIX] (EPROTO): Likewise.
19294         [POSIX] (EPROTONOSUPPORT): Likewise.
19295         [POSIX] (EPROTOTYPE): Likewise.
19296         [POSIX] (ESTALE): Likewise.
19297         [POSIX] (ETIME): Likewise.
19298         [POSIX] (ETXTBSY): Likewise.
19299         [POSIX] (EWOULDBLOCK): Likewise.
19300         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19301         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19302         [POSIX] (SEEK_CUR): Likewise.
19303         [POSIX] (SEEK_END): Likewise.
19304         [POSIX || UNIX98] (mode_t): Do not require.
19305         [POSIX] (off_t): Likewise.
19306         [POSIX] (pid_t): Likewise.
19307         [POSIX] (sys/stat.h): Do not allow header.
19308         [POSIX] (unistd.h): Likewise.
19309         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19310         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19311         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19312         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19313         require.
19314         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19315         sigevent): Specify elements.
19316         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19317         entry.
19318         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19319         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19321         * conform/data/cpio.h-data [POSIX]: Disable whole file.
19322         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19323         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19324         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19325         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19326         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19327         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19328         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19329         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19330         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19331         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19332         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19333         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19334         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19335         Likewise.
19336         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19337         Likewise.
19338         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19339         Likewise.
19340         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19341         Likewise.
19342         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19343         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19344         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19345         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19346         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19347         Specify lower bound on value.
19348         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19349         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19350         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19351         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19352         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19353         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19354         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19355         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19356         value.
19357         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19358         as optional.
19359         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19360         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19361         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19362         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19363         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19364         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19365         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19366         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19367         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19368         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19369         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19370         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19371         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19372         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19373         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19374         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19375         entry.
19376         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19377         optional.
19378         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19379         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19380         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19381         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19382         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19383         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19384         Likewise.
19385         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19386         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19387         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19388         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19389         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
19390         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19391         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19392         as optional.
19393         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19394         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19395         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19396         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19397         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19398         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19399         specify as optional.
19400         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19401         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19402         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19403         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19404         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19405         [XPG3] (NL_LANGMAX): Likewise.
19406         [POSIX || XPG3] (NL_MSGMAX): Likewise.
19407         [POSIX || XPG3] (NL_NMAX): Likewise.
19408         [POSIX || XPG3] (NL_SETMAX): Likewise.
19409         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19410         [XPG3] (NZERO): Likewise.
19411         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19412         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19413         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19414         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19415         (REG_ERANGE): Expect.
19416         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19417         optional-constant.
19418         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19419         Use (void) in prototype.
19420         [POSIX] (*_t): Allow.
19421         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19422         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19423         (WRDE_BADVAL): Expect.
19425         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19426         expect.
19427         [XPG3 || XPG4] (O_RSYNC): Likewise.
19428         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19429         Likewise.
19430         [XPG3 || XPG4] (pthread_sigmask): Likewise.
19431         [XPG3 || XPG4] (sigqueue): Likewise.
19432         [XPG3 || XPG4] (sigtimedwait): Likewise.
19433         [XPG3 || XPG4] (sigwaitinfo): Likewise.
19434         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19435         [XPG3 || XPG4] (vsnprintf): Likewise.
19436         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19437         Likewise.
19438         [XPG3 || XPG4] (blksize_t): Likewise.
19439         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19440         Likewise.
19441         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19442         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19443         [XPG3 || XPG4] (struct itimerspec): Likewise.
19444         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19445         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19446         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19447         [XPG3 || XPG4] (clockid_t): Likewise.
19448         [XPG3 || XPG4] (timer_t): Likewise.
19449         [XPG3 || XPG4] (clock_getres): Likewise.
19450         [XPG3 || XPG4] (clock_gettime): Likewise.
19451         [XPG3 || XPG4] (clock_settime): Likewise.
19452         [XPG3 || XPG4] (nanosleep): Likewise.
19453         [XPG3 || XPG4] (timer_create): Likewise.
19454         [XPG3 || XPG4] (timer_delete): Likewise.
19455         [XPG3 || XPG4] (timer_gettime): Likewise.
19456         [XPG3 || XPG4] (timer_getoverrun): Likewise.
19457         [XPG3 || XPG4] (timer_settime): Likewise.
19458         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19459         [XPG3 || XPG4] (getlogin_r): Likewise.
19460         [XPG3 || XPG4] (pread): Likewise.
19461         [XPG3 || XPG4] (pthread_atfork): Likewise.
19462         [XPG3 || XPG4] (pwrite): Likewise.
19464         [BZ #14835]
19465         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19466         <bits/siginfo.h>.
19468 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19470         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19471         finalizing MALLSTREAM.
19473         * sysdeps/mach/hurd/syncfs.c: New file.
19475 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19477         [BZ #14719]
19478         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19479         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19480         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19481         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19482         (_nss_dns_gethostbyname4_r): Likewise.
19483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19484         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19486 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
19488         [BZ #13763]
19489         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19491 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
19493         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19494         * elf/cache.c (print_entry): Print ",AArch64" for
19495         FLAG_AARCH64_LIB64
19497         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19498         * elf/cache.c (print_entry): Print ",hard-float" for
19499         FLAG_ARM_LIBHF.
19501 2012-11-18  David S. Miller  <davem@davemloft.net>
19503         With help from Joseph Myers.
19504         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19505         cutoff to 2**-13.
19506         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19507         cutoff to 2**-25.
19508         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19509         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19510         small.
19511         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19512         * math/libm-test.inc (y0_test): New tests.
19513         (y1_test): New tests.
19514         * sysdeps/i386/fpu/libm-test-ulps: Update.
19515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19518 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
19520         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19521         64-bit targets.
19522         * configure: Regenerated.
19524 2012-11-17  David S. Miller  <davem@davemloft.net>
19526         [BZ #14811]
19527         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19528         nonzero exponents with absolute value below 0x1p-128 to +/-
19529         0x1p-128.
19531 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
19533         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19535         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19537         * posix/getconf-speclist.c: New file.
19538         * posix/posix-envs.def: Likewise.
19539         * posix/confstr.c (START_ENV_GROUP): New macro.
19540         (END_ENV_GROUP): Likewise.
19541         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19542         (KNOWN_PRESENT_ENV_STRING): Likewise.
19543         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19544         (UNKNOWN_ENVIRONMENT): Likewise.
19545         (confstr): Include posix-envs.def instead of handling
19546         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19547         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19548         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19549         (END_ENV_GROUP): Likewise.
19550         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19551         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19552         (UNKNOWN_ENVIRONMENT): Likewise.
19553         (__sysconf): Include posix-envs.def instead of handling associated
19554         cases directly here.
19555         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19556         preprocessing getconf-speclist.c rather than running getconf or
19557         generating empty file.
19559 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
19561         * scripts/check-local-headers.sh: Ignore 'mach' headers.
19563 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
19565         [BZ #14672]
19566         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19568 2012-11-16  David S. Miller  <davem@davemloft.net>
19570         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19571         smaller than LDBL_EPSILON/2.0L, just return xm1.
19573 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
19575         * elf/tst-array1.c (init): Set constructor priority to 1000.
19576         (fini): Set destructor priority to 1000.
19577         * elf/tst-array2dep.c: Likewise.
19579 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19581         [BZ #11741]
19582         * libio/fileops.c (_IO_new_file_write): Correctly return error.
19583         (_IO_new_file_xsputn): Also return EOF if none of the input
19584         data was written when overflow failed.
19585         * libio/iopadn.c (_IO_padn): Likewise.
19586         * libio/iowpadn.c (_IO_wpadn): Likewise.
19587         * stdio-common/tst-put-error.c: Add copyright notice.
19588         (do_test): Add case for printing padded string.
19589         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19590         _IO_padn returned error.
19591         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19592         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19593         return EOF.
19595 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19597         * libio/libioP.h: Add comment note that the references to C++
19598         bits are now obsolete.
19600 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19602         * math/libm-test.inc (check_complex): Use asprintf.
19604 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
19606         * debug/pcprofiledump.c (print_version): Update copyright year.
19607         * malloc/memusagestat.c (print_version): Likewise.
19609 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19611         [BZ #14831]
19612         * elf/Makefile (tests): Add tst-audit8.
19613         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19614         ($(objpfx)tst-audit8.out): New target.
19615         (tst-audit8-ENV): New variable.
19616         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19617         audit if l_reloc_result is NULL.
19618         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19619         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19620         * elf/tst-audit8.c: New file.
19622 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19624         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19625         * misc/Makefile (CFLAGS-select.c): Define.
19626         * posix/Makefile (CFLAGS-pause.c): Define.
19628 2012-11-13  David S. Miller  <davem@davemloft.net>
19630         * crypt/Makefile: Move test targets after toplevel Rules
19631         inclusion.  Grab any necessary sysdep routines when linking.
19632         * crypt/md5.c (md5_process_block): Remove define, we will always
19633         name it __md5_process_block.
19634         (md5_finish_ctx): Update md5_process_block call.
19635         (md5_stream): Likewise.
19636         (md5_process_bytes): Likewise.
19637         (md5_process_block): Rename to __md5_process_block and move to ...
19638         * crypt/md5-block.c: ... here.
19639         * crypt/sha256.c (sha256_process_block): Move to ...
19640         * crypt/sha256-block.c: ... here.
19641         * crypt/sha512.c (sha512_process_block): Move to ...
19642         * crypt/sha512-block.c: ... here.
19643         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19644         path.
19645         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19646         * sysdeps/sparc/sparc64/multiarch/Makefile
19647         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19648         crypt subdir.
19649         (localedef-aux): Add md5 crypto assembler when in locale subdir.
19650         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19651         multiarch changes.
19652         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19653         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19654         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19655         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19656         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19657         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19658         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19659         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19660         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19661         file.
19662         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19663         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19664         file.
19665         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19667 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
19669         * timezone/tzselect.ksh: Update from tzcode git revision
19670         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19671         * timezone/zdump.c: Likewise.
19672         * timezone/zic.c: Likewise.
19673         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19674         in TZVERSION setting, not $(PKGVERSION).
19675         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
19676         REPORT_BUGS_TO settings.
19678         [BZ #14838]
19679         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19680         macro.
19682 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19684         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19685         detection to immediately after _FP_ROUND().
19686         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19687         bits are 0.
19689 2012-11-11  David S. Miller  <davem@davemloft.net>
19691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19692         inttypes.h
19693         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19694         __close rather than their public counterparts.
19696 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
19698         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19699         file.
19700         [UNIX98] (sem_timedwait): Do not expect.
19701         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19702         [XPG4 || UNIX98] (sockatmark): Do not expect.
19703         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19704         (clock_getcpuclockid): Do not expect.
19705         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19706         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19707         Do not expect.
19708         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19709         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19710         [UNIX98] (vwscanf): Likewise.
19711         [UNIX98] (vswscanf): Likewise.
19713 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
19715         * timezone/version.h: Remove file.
19716         * timezone/README: Do not refer to version.h.
19717         * timezone/Makefile ($(objpfx)zic.o): New dependency on
19718         $(objpfx)version.h.
19719         ($(objpfx)zdump.o): Likewise.
19720         ($(objpfx)version.h): New target.
19722         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19723         2012i.
19724         * timezone/README: Don't mention modification to tzselect.ksh.
19725         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19726         work on unmodified tzselect.ksh.  Substitute version numbers in
19727         tzselect.ksh.
19729         * Makefile (format-me): Remove.
19730         (INSTALL): Adjust indentation.  Use commands directly instead of
19731         using $(format-me).
19733         * aclocal.m4 (ACX_PKGVERSION): New macro.
19734         (ACX_BUGURL): Likewise.
19735         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19736         (PKGVERSION): New AC_DEFINE_UNQUOTED.
19737         (REPORT_BUGS_TO): Likewise.
19738         * configure: Regenerated.
19739         * config.h.in (PKGVERSION): New macro.
19740         (REPORT_BUGS_TO): Likewise.
19741         * config.make.in (PKGVERSION): New variable.
19742         (PKGVERSION_TEXI): Likewise.
19743         (REPORT_BUGS_TO): Likewise.
19744         (REPORT_BUGS_TEXI): Likewise.
19745         * Makefile (format-me): Use -I$(common-objpfx)manual.
19746         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19747         ($(common-objpfx)manual/%): New target.
19748         (manual/%): Remove target.
19749         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19750         (print_version): Use PKGVERSION.
19751         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19752         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19753         and REPORT_BUGS_TO.
19754         ($(objpfx)xtrace): Likewise.
19755         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19756         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19757         (print_version): Use PKGVERSION.
19758         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19759         (do_version): Use PKGVERSION.
19760         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19761         REPORT_BUGS_TO.
19762         (common-ldd-rewrite): Likewise.
19763         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19764         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19765         (print_version): Use PKGVERSION.
19766         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19767         * elf/pldd.c (argp_program_bug_address): Remove variable.
19768         (more_help): New function.
19769         (argp): Use more_help.
19770         (print_version): Use PKGVERSION.
19771         * elf/sln.c (main): Use PKGVERSION.
19772         (usage): Use REPORT_BUGS_TO.
19773         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19774         (top level): Use PKGVERSION.
19775         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19776         (print_version): Use PKGVERSION.
19777         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19778         (print_version): Use PKGVERSION.
19779         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19780         (print_version): Use PKGVERSION.
19781         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19782         (print_version): Use PKGVERSION.
19783         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19784         (print_version): Use PKGVERSION.
19785         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19786         (print_version): Use PKGVERSION.
19787         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19788         and BUGURL.
19789         ($(objpfx)memusage): Likewise.
19790         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19791         (do_version): Use PKGVERSION.
19792         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19793         (print_version): Use PKGVERSION.
19794         * malloc/mtrace.pl ($PACKAGE): Remove variable.
19795         ($PKGVERSION): New variable.
19796         ($REPORT_BUGS_TO): Likewise.
19797         (usage): Use $REPORT_BUGS_TO.
19798         (top level): Use $PKGVERSION.
19799         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19800         ($(objpfx)pkgvers.texi): New rule.
19801         ($(objpfx)stamp-pkgvers): Likewise.
19802         * manual/install.texi: Include pkgvers.texi.
19803         (--with-pkgversion): Document new configure option.
19804         (--with-bugurl): Likewise.
19805         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19806         than necessarily for this particular distribution.  Use
19807         REPORT_BUGS_TO for where to report bugs.
19808         * INSTALL: Regenerated.
19809         * manual/libc.texinfo: Include pkgvers.texi.
19810         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19811         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19812         (print_version): Use PKGVERSION.
19813         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19814         (print_version): Use PKGVERSION.
19815         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19816         (print_version): Use PKGVERSION.
19817         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19818         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19819         macro.
19820         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19821         (print_version): Use PKGVERSION.
19822         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19823         (print_version): Use PKGVERSION.
19824         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19825         and PKGVERSION.
19827         * timezone/checktab.awk: Update from tzcode 2012i.
19828         * timezone/ialloc.c: Likewise.
19829         * timezone/private.h: Likewise.
19830         * timezone/scheck.c: Likewise.
19831         * timezone/tzfile.h: Likewise.
19832         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19833         (TZVERSION): Hardcode tzcode version number.
19834         * timezone/zdump.c: Update from tzcode 2012i.
19835         * timezone/zic.c: Likewise.
19836         * timezone/version.h: New file.
19837         * timezone/README: Describe version.h.  Update upstream location.
19839         [BZ #14824]
19840         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19841         (mktemp): Enable declaration.
19842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19844         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19845         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19846         Likewise.
19847         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19848         Likewise.
19849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19850         Likewise.
19851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19852         Likewise.
19853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19854         Likewise.
19855         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19856         Likewise.
19858         [BZ #14821]
19859         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19860         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
19861         for copies of such integer values.
19862         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19863         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19865 2012-11-09  Andreas Jaeger  <aj@suse.de>
19867         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19868         definitions and declarations that are provided by
19869         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19871 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19873         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19874         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19875         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19876         definition.
19878 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19880         * elf/elf.h: Update comment before AArch64 relocations.
19882 2012-11-07  David S. Miller  <davem@davemloft.net>
19884         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19885         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19886         (__start_context): Declare.
19887         (__makecontext_ret): Delete.
19888         (__makecontext): Hook up __start_context instead of
19889         __makecontext_ret.
19890         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19891         (sysdep_routines): Add __start_context when in stdlib.
19893 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19895         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19896         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19897         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
19898         hardcoded "nm".
19899         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
19900         (READELF): New variable.  Use it instead of hardcoded "readelf".
19902 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19904         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19905         * sysdeps/x86/Makefile: Here.
19906         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19907         * sysdeps/x86/tst-xmmymm.sh: This.
19909 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19911         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19912         expectations.
19913         [UNIX98] (pthread_barrier_t): Do not expect.
19914         [UNIX98] (pthread_barrierattr_t): Likewise.
19915         [UNIX98] (pthread_spinlock_t): Likewise.
19916         [UNIX98] (pthread_barrier_destroy): Likewise.
19917         [UNIX98] (pthread_barrier_init): Likewise.
19918         [UNIX98] (pthread_barrier_wait): Likewise.
19919         [UNIX98] (pthread_barrierattr_destroy): Likewise.
19920         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19921         [UNIX98] (pthread_barrierattr_init): Likewise.
19922         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19923         [UNIX98] (pthread_getcpuclockid): Likewise.
19924         [UNIX98] (pthread_mutex_timedlock): Likewise.
19925         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19926         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19927         [UNIX98] (pthread_sigmask): Likewise.
19928         [UNIX98] (pthread_spin_destroy): Likewise.
19929         [UNIX98] (pthread_spin_init): Likewise.
19930         [UNIX98] (pthread_spin_lock): Likewise.
19931         [UNIX98] (pthread_spin_trylock): Likewise.
19932         [UNIX98] (pthread_spin_unlock): Likewise.
19933         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19934         Do not expect.
19935         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19936         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19937         [XPG3 || XPG4] (pthread_cond_t): Likewise.
19938         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19939         [XPG3 || XPG4] (pthread_key_t): Likewise.
19940         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19941         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19942         [XPG3 || XPG4] (pthread_once_t): Likewise.
19943         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19944         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19945         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19946         [XPG3 || XPG4] (pthread_t): Likewise.
19948         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19949         not expect.
19950         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19952         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19953         Change function return type to int.
19955         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19956         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19957         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19958         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19959         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19960         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19961         [!POSIX] (posix_madvise): Likewise.
19962         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19963         && !UNIX98].
19964         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19965         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19966         (mode_t): Likewise.
19967         (posix_mem_offset): Likewise.
19968         (posix_typed_mem_get_info): Likewise.
19969         (posix_typed_mem_open): Likewise.
19971         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19972         Change condition to [XOPEN2K8].
19974         * conform/conformtest.pl: Preprocess allow-header data with -x c
19975         instead of from stdin.
19976         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19977         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19978         [C99-based standards] (cerfc): Likewise.
19979         [C99-based standards] (cexp2): Likewise.
19980         [C99-based standards] (cexpm1): Likewise.
19981         [C99-based standards] (clog10): Likewise.
19982         [C99-based standards] (clog1p): Likewise.
19983         [C99-based standards] (clog2): Likewise.
19984         [C99-based standards] (clgamma): Likewise.
19985         [C99-based standards] (ctgamma): Likewise.
19986         [C99-based standards] (cerff): Likewise.
19987         [C99-based standards] (cerfcf): Likewise.
19988         [C99-based standards] (cexp2f): Likewise.
19989         [C99-based standards] (cexpm1f): Likewise.
19990         [C99-based standards] (clog10f): Likewise.
19991         [C99-based standards] (clog1pf): Likewise.
19992         [C99-based standards] (clog2f): Likewise.
19993         [C99-based standards] (clgammaf): Likewise.
19994         [C99-based standards] (ctgammaf): Likewise.
19995         [C99-based standards] (cerfl): Likewise.
19996         [C99-based standards] (cerfcl): Likewise.
19997         [C99-based standards] (cexp2l): Likewise.
19998         [C99-based standards] (cexpm1l): Likewise.
19999         [C99-based standards] (clog10l): Likewise.
20000         [C99-based standards] (clog1pl): Likewise.
20001         [C99-based standards] (clog2l): Likewise.
20002         [C99-based standards] (clgammal): Likewise.
20003         [C99-based standards] (ctgammal): Likewise.
20004         * conform/data/inttypes.h-data [C99-based standards]: Include
20005         stdint.h-data.  Remove all expectations for stdint.h contents.
20006         [C99-based standards] (PRI*): Do not allow.
20007         [C99-based standards] (SCN*): Likewise.
20008         [C99-based standards] (*_t): Likewise.
20009         [C99-based-standards] (PRId8): Expect macro.
20010         [C99-based-standards] (PRIi8): Likewise.
20011         [C99-based-standards] (PRIo8): Likewise.
20012         [C99-based-standards] (PRIu8): Likewise.
20013         [C99-based-standards] (PRIx8): Likewise.
20014         [C99-based-standards] (PRIX8): Likewise.
20015         [C99-based-standards] (SCNd8): Likewise.
20016         [C99-based-standards] (SCNi8): Likewise.
20017         [C99-based-standards] (SCNo8): Likewise.
20018         [C99-based-standards] (SCNu8): Likewise.
20019         [C99-based-standards] (SCNx8): Likewise.
20020         [C99-based-standards] (PRIdLEAST8): Likewise.
20021         [C99-based-standards] (PRIiLEAST8): Likewise.
20022         [C99-based-standards] (PRIoLEAST8): Likewise.
20023         [C99-based-standards] (PRIuLEAST8): Likewise.
20024         [C99-based-standards] (PRIxLEAST8): Likewise.
20025         [C99-based-standards] (PRIXLEAST8): Likewise.
20026         [C99-based-standards] (SCNdLEAST8): Likewise.
20027         [C99-based-standards] (SCNiLEAST8): Likewise.
20028         [C99-based-standards] (SCNoLEAST8): Likewise.
20029         [C99-based-standards] (SCNuLEAST8): Likewise.
20030         [C99-based-standards] (SCNxLEAST8): Likewise.
20031         [C99-based-standards] (PRIdFAST8): Likewise.
20032         [C99-based-standards] (PRIiFAST8): Likewise.
20033         [C99-based-standards] (PRIoFAST8): Likewise.
20034         [C99-based-standards] (PRIuFAST8): Likewise.
20035         [C99-based-standards] (PRIxFAST8): Likewise.
20036         [C99-based-standards] (PRIXFAST8): Likewise.
20037         [C99-based-standards] (SCNdFAST8): Likewise.
20038         [C99-based-standards] (SCNiFAST8): Likewise.
20039         [C99-based-standards] (SCNoFAST8): Likewise.
20040         [C99-based-standards] (SCNuFAST8): Likewise.
20041         [C99-based-standards] (SCNxFAST8): Likewise.
20042         [C99-based-standards] (PRId16): Likewise.
20043         [C99-based-standards] (PRIi16): Likewise.
20044         [C99-based-standards] (PRIo16): Likewise.
20045         [C99-based-standards] (PRIu16): Likewise.
20046         [C99-based-standards] (PRIx16): Likewise.
20047         [C99-based-standards] (PRIX16): Likewise.
20048         [C99-based-standards] (SCNd16): Likewise.
20049         [C99-based-standards] (SCNi16): Likewise.
20050         [C99-based-standards] (SCNo16): Likewise.
20051         [C99-based-standards] (SCNu16): Likewise.
20052         [C99-based-standards] (SCNx16): Likewise.
20053         [C99-based-standards] (PRIdLEAST16): Likewise.
20054         [C99-based-standards] (PRIiLEAST16): Likewise.
20055         [C99-based-standards] (PRIoLEAST16): Likewise.
20056         [C99-based-standards] (PRIuLEAST16): Likewise.
20057         [C99-based-standards] (PRIxLEAST16): Likewise.
20058         [C99-based-standards] (PRIXLEAST16): Likewise.
20059         [C99-based-standards] (SCNdLEAST16): Likewise.
20060         [C99-based-standards] (SCNiLEAST16): Likewise.
20061         [C99-based-standards] (SCNoLEAST16): Likewise.
20062         [C99-based-standards] (SCNuLEAST16): Likewise.
20063         [C99-based-standards] (SCNxLEAST16): Likewise.
20064         [C99-based-standards] (PRIdFAST16): Likewise.
20065         [C99-based-standards] (PRIiFAST16): Likewise.
20066         [C99-based-standards] (PRIoFAST16): Likewise.
20067         [C99-based-standards] (PRIuFAST16): Likewise.
20068         [C99-based-standards] (PRIxFAST16): Likewise.
20069         [C99-based-standards] (PRIXFAST16): Likewise.
20070         [C99-based-standards] (SCNdFAST16): Likewise.
20071         [C99-based-standards] (SCNiFAST16): Likewise.
20072         [C99-based-standards] (SCNoFAST16): Likewise.
20073         [C99-based-standards] (SCNuFAST16): Likewise.
20074         [C99-based-standards] (SCNxFAST16): Likewise.
20075         [C99-based-standards] (PRId32): Likewise.
20076         [C99-based-standards] (PRIi32): Likewise.
20077         [C99-based-standards] (PRIo32): Likewise.
20078         [C99-based-standards] (PRIu32): Likewise.
20079         [C99-based-standards] (PRIx32): Likewise.
20080         [C99-based-standards] (PRIX32): Likewise.
20081         [C99-based-standards] (SCNd32): Likewise.
20082         [C99-based-standards] (SCNi32): Likewise.
20083         [C99-based-standards] (SCNo32): Likewise.
20084         [C99-based-standards] (SCNu32): Likewise.
20085         [C99-based-standards] (SCNx32): Likewise.
20086         [C99-based-standards] (PRIdLEAST32): Likewise.
20087         [C99-based-standards] (PRIiLEAST32): Likewise.
20088         [C99-based-standards] (PRIoLEAST32): Likewise.
20089         [C99-based-standards] (PRIuLEAST32): Likewise.
20090         [C99-based-standards] (PRIxLEAST32): Likewise.
20091         [C99-based-standards] (PRIXLEAST32): Likewise.
20092         [C99-based-standards] (SCNdLEAST32): Likewise.
20093         [C99-based-standards] (SCNiLEAST32): Likewise.
20094         [C99-based-standards] (SCNoLEAST32): Likewise.
20095         [C99-based-standards] (SCNuLEAST32): Likewise.
20096         [C99-based-standards] (SCNxLEAST32): Likewise.
20097         [C99-based-standards] (PRIdFAST32): Likewise.
20098         [C99-based-standards] (PRIiFAST32): Likewise.
20099         [C99-based-standards] (PRIoFAST32): Likewise.
20100         [C99-based-standards] (PRIuFAST32): Likewise.
20101         [C99-based-standards] (PRIxFAST32): Likewise.
20102         [C99-based-standards] (PRIXFAST32): Likewise.
20103         [C99-based-standards] (SCNdFAST32): Likewise.
20104         [C99-based-standards] (SCNiFAST32): Likewise.
20105         [C99-based-standards] (SCNoFAST32): Likewise.
20106         [C99-based-standards] (SCNuFAST32): Likewise.
20107         [C99-based-standards] (SCNxFAST32): Likewise.
20108         [C99-based-standards] (PRId64): Likewise.
20109         [C99-based-standards] (PRIi64): Likewise.
20110         [C99-based-standards] (PRIo64): Likewise.
20111         [C99-based-standards] (PRIu64): Likewise.
20112         [C99-based-standards] (PRIx64): Likewise.
20113         [C99-based-standards] (PRIX64): Likewise.
20114         [C99-based-standards] (SCNd64): Likewise.
20115         [C99-based-standards] (SCNi64): Likewise.
20116         [C99-based-standards] (SCNo64): Likewise.
20117         [C99-based-standards] (SCNu64): Likewise.
20118         [C99-based-standards] (SCNx64): Likewise.
20119         [C99-based-standards] (PRIdLEAST64): Likewise.
20120         [C99-based-standards] (PRIiLEAST64): Likewise.
20121         [C99-based-standards] (PRIoLEAST64): Likewise.
20122         [C99-based-standards] (PRIuLEAST64): Likewise.
20123         [C99-based-standards] (PRIxLEAST64): Likewise.
20124         [C99-based-standards] (PRIXLEAST64): Likewise.
20125         [C99-based-standards] (SCNdLEAST64): Likewise.
20126         [C99-based-standards] (SCNiLEAST64): Likewise.
20127         [C99-based-standards] (SCNoLEAST64): Likewise.
20128         [C99-based-standards] (SCNuLEAST64): Likewise.
20129         [C99-based-standards] (SCNxLEAST64): Likewise.
20130         [C99-based-standards] (PRIdFAST64): Likewise.
20131         [C99-based-standards] (PRIiFAST64): Likewise.
20132         [C99-based-standards] (PRIoFAST64): Likewise.
20133         [C99-based-standards] (PRIuFAST64): Likewise.
20134         [C99-based-standards] (PRIxFAST64): Likewise.
20135         [C99-based-standards] (PRIXFAST64): Likewise.
20136         [C99-based-standards] (SCNdFAST64): Likewise.
20137         [C99-based-standards] (SCNiFAST64): Likewise.
20138         [C99-based-standards] (SCNoFAST64): Likewise.
20139         [C99-based-standards] (SCNuFAST64): Likewise.
20140         [C99-based-standards] (SCNxFAST64): Likewise.
20141         [C99-based-standards] (PRIdMAX): Likewise.
20142         [C99-based-standards] (PRIiMAX): Likewise.
20143         [C99-based-standards] (PRIoMAX): Likewise.
20144         [C99-based-standards] (PRIuMAX): Likewise.
20145         [C99-based-standards] (PRIxMAX): Likewise.
20146         [C99-based-standards] (PRIXMAX): Likewise.
20147         [C99-based-standards] (SCNdMAX): Likewise.
20148         [C99-based-standards] (SCNiMAX): Likewise.
20149         [C99-based-standards] (SCNoMAX): Likewise.
20150         [C99-based-standards] (SCNuMAX): Likewise.
20151         [C99-based-standards] (SCNxMAX): Likewise.
20152         [C99-based-standards] (PRIdPTR): Likewise.
20153         [C99-based-standards] (PRIiPTR): Likewise.
20154         [C99-based-standards] (PRIoPTR): Likewise.
20155         [C99-based-standards] (PRIuPTR): Likewise.
20156         [C99-based-standards] (PRIxPTR): Likewise.
20157         [C99-based-standards] (PRIXPTR): Likewise.
20158         [C99-based-standards] (SCNdPTR): Likewise.
20159         [C99-based-standards] (SCNiPTR): Likewise.
20160         [C99-based-standards] (SCNoPTR): Likewise.
20161         [C99-based-standards] (SCNuPTR): Likewise.
20162         [C99-based-standards] (SCNxPTR): Likewise.
20163         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20164         allow.
20165         * conform/data/stdint.h-data: Update comments to clarify
20166         requirements.
20167         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20168         type.
20169         [C99-based standards] (INT8_MAX): Likewise.
20170         [C99-based standards] (INT16_MIN): Likewise.
20171         [C99-based standards] (INT16_MAX): Likewise.
20172         [C99-based standards] (INT32_MIN): Likewise.
20173         [C99-based standards] (INT32_MAX): Likewise.
20174         [C99-based standards] (INT64_MIN): Likewise.
20175         [C99-based standards] (INT64_MAX): Likewise.
20176         [C99-based standards] (UINT8_MAX): Likewise.
20177         [C99-based standards] (UINT16_MAX): Likewise.
20178         [C99-based standards] (UINT32_MAX): Likewise.
20179         [C99-based standards] (UINT64_MAX): Likewise.
20180         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20181         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20182         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20183         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20184         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20185         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20186         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20187         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20188         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20189         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20190         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20191         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20192         [C99-based standards] (INT_FAST8_MIN): Likewise.
20193         [C99-based standards] (INT_FAST8_MAX): Likewise.
20194         [C99-based standards] (INT_FAST16_MIN): Likewise.
20195         [C99-based standards] (INT_FAST16_MAX): Likewise.
20196         [C99-based standards] (INT_FAST32_MIN): Likewise.
20197         [C99-based standards] (INT_FAST32_MAX): Likewise.
20198         [C99-based standards] (INT_FAST64_MIN): Likewise.
20199         [C99-based standards] (INT_FAST64_MAX): Likewise.
20200         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20201         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20202         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20203         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20204         [C99-based standards] (INTPTR_MIN): Likewise.
20205         [C99-based standards] (INTPTR_MAX): Likewise.
20206         [C99-based standards] (UINTPTR_MAX): Likewise.
20207         [C99-based standards] (INTMAX_MIN): Likewise.
20208         [C99-based standards] (INTMAX_MAX): Likewise.
20209         [C99-based standards] (UINTMAX_MAX): Likewise.
20210         [C99-based standards] (PTRDIFF_MIN): Likewise.
20211         [C99-based standards] (PTRDIFF_MAX): Likewise.
20212         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20213         [C99-based standards] (SIZE_MAX): Likewise.
20214         [C99-based standards] (WCHAR_MAX): Likewise.
20215         [C99-based standards] (WINT_MAX): Likewise.
20216         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20217         constraint on value.
20218         [C99-based standards] (WCHAR_MIN): Likewise.
20219         [C99-based standards] (WINT_MIN): Likewise.
20220         [C99-based standards] (*_t): Allow.
20221         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20222         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20223         Include math.h-data and complex.h-data.  Remove all expectations
20224         of math.h and complex.h contents.
20225         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20226         at end of line.
20227         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20228         (struct tm): Expect tag.
20229         [C99-based-standards] (wcstof): Expect function.
20230         [C99-based-standards] (wcstold): Likewise.
20231         [C99-based-standards] (wcstoll): Likewise.
20232         [C99-based-standards] (wcstoull): Likewise.
20233         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20234         macro-int-constant.  Specify type.
20235         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20236         constraint on value.
20237         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20238         Specify type.
20239         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20240         Specify value.
20241         [ISO C standards]: Do not allow headers.
20242         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20243         wcs[abcdefghijklmnopqrstuvwxyz]*.
20244         [ISO C standards] (*_t): Do not allow.
20245         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20246         Expect function.
20247         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20248         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20249         Specify type.
20250         [ISO C standards]: Do not allow headers.
20251         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20252         is[abcdefghijklmnopqrstuvwxyz]*.
20253         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20254         to[abcdefghijklmnopqrstuvwxyz]*.
20255         [ISO C standards] (*_t): Do not allow.
20256         * conform/data/stdalign.h-data: New file.
20257         * conform/data/stdbool.h-data: Likewise.
20258         * conform/data/stdnoreturn.h-data: Likewise.
20260 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20262         [BZ #14815]
20263         * manual/filesys.texi (Directory Entries): Typo fix.
20264         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20266 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20268         * elf/elf.h (EM_AARCH64): New macro.
20269         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20270         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20271         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20272         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20273         (R_AARCH64_TLSDESC): Likewise.
20274         (NT_ARM_TLS): Likewise.
20275         (NT_ARM_HW_BREAK): Likewise.
20276         (NT_ARM_HW_WATCH): Likewise.
20278 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20280         [BZ #14811]
20281         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20282         (__ieee754_powl): Saturate nonzero exponents with absolute value
20283         below 0x1p-79 to +/- 0x1p-79.
20284         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20285         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20286         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20287         nonzero exponents with absolute value below 0x1p-32 to +/-
20288         0x1p-32.
20289         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20290         (__ieee754_powl): Saturate nonzero exponents with absolute value
20291         below 0x1p-79 to +/- 0x1p-79.
20292         * math/libm-test.inc (pow_test): Add more tests.
20294 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20296         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20297         _dl_s390_cap_flags with kernel. Increase string length.
20298         (_dl_s390_platforms): Add z196 and zEC12.
20300 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20302         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20303         Change XOPEN21K to XOPEN2K.
20305 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
20307         * string/memmove.c: Use memcpy when possible.
20309 2012-11-06  Andreas Jaeger  <aj@suse.de>
20311         * po/eo.po: Update from translation team.
20313 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
20315         [BZ #14793]
20316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20317         exponent and small x and y exponents, scale x or y up.  Increase
20318         by 2 the exponent used in scaling up.
20319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20321         * math/libm-test.inc (fma_test): Add more tests.
20322         (fma_test_towardzero): Likewise.
20323         (fma_test_downward): Likewise.
20324         (fma_test_upward): Likewise.
20326 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
20328         [BZ #14805]
20329         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20330         fenv_t *.
20332         [BZ #14801]
20333         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20334         namespace for names of struct fields.
20335         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20336         fenv_t fields.
20337         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20338         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20340 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20342         [BZ #3665]
20343         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20345 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20347         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20348         PTR_DEMANGLE.
20350         [BZ #5246]
20351         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20352         PTR_DEMANGLE.
20354 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
20356         [BZ #14797]
20357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20358         definitely overflow as x * y not x * y + z.
20359         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20360         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20361         * math/libm-test.inc (fma_test): Add more tests.
20362         (fma_test_towardzero): Likewise.
20363         (fma_test_downward): Likewise.
20364         (fma_test_upward): Likewise.
20366 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20368         [BZ #157]
20370         * include/stub-tag.h: Remove file.
20371         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20372         '#include' of it.
20373         * manual/maint.texi (Porting): Don't reference it.
20374         * Makerules ($(objpfx)stubs): Likewise.
20375         * dirent/closedir.c: Don't include <stub-tag.h>.
20376         * dirent/dirfd.c: Likewise.
20377         * dirent/fdopendir.c: Likewise.
20378         * dirent/getdents.c: Likewise.
20379         * dirent/getdents64.c: Likewise.
20380         * dirent/opendir.c: Likewise.
20381         * dirent/readdir.c: Likewise.
20382         * dirent/readdir64.c: Likewise.
20383         * dirent/readdir64_r.c: Likewise.
20384         * dirent/readdir_r.c: Likewise.
20385         * dirent/rewinddir.c: Likewise.
20386         * dirent/seekdir.c: Likewise.
20387         * dirent/telldir.c: Likewise.
20388         * gmon/profil.c: Likewise.
20389         * grp/setgroups.c: Likewise.
20390         * inet/if_index.c: Likewise.
20391         * io/access.c: Likewise.
20392         * io/chdir.c: Likewise.
20393         * io/chmod.c: Likewise.
20394         * io/chown.c: Likewise.
20395         * io/close.c: Likewise.
20396         * io/dup.c: Likewise.
20397         * io/dup2.c: Likewise.
20398         * io/dup3.c: Likewise.
20399         * io/euidaccess.c: Likewise.
20400         * io/faccessat.c: Likewise.
20401         * io/fchdir.c: Likewise.
20402         * io/fchmod.c: Likewise.
20403         * io/fchmodat.c: Likewise.
20404         * io/fchown.c: Likewise.
20405         * io/fchownat.c: Likewise.
20406         * io/fcntl.c: Likewise.
20407         * io/flock.c: Likewise.
20408         * io/fstatfs.c: Likewise.
20409         * io/fstatfs64.c: Likewise.
20410         * io/fstatvfs.c: Likewise.
20411         * io/fstatvfs64.c: Likewise.
20412         * io/futimens.c: Likewise.
20413         * io/fxstat.c: Likewise.
20414         * io/fxstat64.c: Likewise.
20415         * io/fxstatat.c: Likewise.
20416         * io/fxstatat64.c: Likewise.
20417         * io/getcwd.c: Likewise.
20418         * io/isatty.c: Likewise.
20419         * io/lchmod.c: Likewise.
20420         * io/lchown.c: Likewise.
20421         * io/link.c: Likewise.
20422         * io/linkat.c: Likewise.
20423         * io/lseek.c: Likewise.
20424         * io/lseek64.c: Likewise.
20425         * io/lxstat64.c: Likewise.
20426         * io/mkdir.c: Likewise.
20427         * io/mkdirat.c: Likewise.
20428         * io/mkfifo.c: Likewise.
20429         * io/mkfifoat.c: Likewise.
20430         * io/open.c: Likewise.
20431         * io/open64.c: Likewise.
20432         * io/openat.c: Likewise.
20433         * io/openat64.c: Likewise.
20434         * io/pipe.c: Likewise.
20435         * io/pipe2.c: Likewise.
20436         * io/poll.c: Likewise.
20437         * io/posix_fadvise.c: Likewise.
20438         * io/posix_fadvise64.c: Likewise.
20439         * io/posix_fallocate.c: Likewise.
20440         * io/posix_fallocate64.c: Likewise.
20441         * io/read.c: Likewise.
20442         * io/readlink.c: Likewise.
20443         * io/readlinkat.c: Likewise.
20444         * io/rmdir.c: Likewise.
20445         * io/sendfile.c: Likewise.
20446         * io/sendfile64.c: Likewise.
20447         * io/statfs.c: Likewise.
20448         * io/statfs64.c: Likewise.
20449         * io/statvfs.c: Likewise.
20450         * io/statvfs64.c: Likewise.
20451         * io/symlink.c: Likewise.
20452         * io/symlinkat.c: Likewise.
20453         * io/ttyname.c: Likewise.
20454         * io/ttyname_r.c: Likewise.
20455         * io/umask.c: Likewise.
20456         * io/unlink.c: Likewise.
20457         * io/unlinkat.c: Likewise.
20458         * io/utime.c: Likewise.
20459         * io/utimensat.c: Likewise.
20460         * io/write.c: Likewise.
20461         * io/xmknod.c: Likewise.
20462         * io/xmknodat.c: Likewise.
20463         * io/xstat.c: Likewise.
20464         * io/xstat64.c: Likewise.
20465         * login/getpt.c: Likewise.
20466         * login/grantpt.c: Likewise.
20467         * login/unlockpt.c: Likewise.
20468         * math/e_acoshl.c: Likewise.
20469         * math/e_acosl.c: Likewise.
20470         * math/e_asinl.c: Likewise.
20471         * math/e_atan2l.c: Likewise.
20472         * math/e_atanhl.c: Likewise.
20473         * math/e_coshl.c: Likewise.
20474         * math/e_expl.c: Likewise.
20475         * math/e_fmodl.c: Likewise.
20476         * math/e_gammal_r.c: Likewise.
20477         * math/e_hypotl.c: Likewise.
20478         * math/e_j0l.c: Likewise.
20479         * math/e_j1l.c: Likewise.
20480         * math/e_jnl.c: Likewise.
20481         * math/e_lgammal_r.c: Likewise.
20482         * math/e_log10l.c: Likewise.
20483         * math/e_log2l.c: Likewise.
20484         * math/e_logl.c: Likewise.
20485         * math/e_powl.c: Likewise.
20486         * math/e_rem_pio2l.c: Likewise.
20487         * math/e_sinhl.c: Likewise.
20488         * math/e_sqrtl.c: Likewise.
20489         * math/fclrexcpt.c: Likewise.
20490         * math/fedisblxcpt.c: Likewise.
20491         * math/feenablxcpt.c: Likewise.
20492         * math/fegetenv.c: Likewise.
20493         * math/fegetexcept.c: Likewise.
20494         * math/fegetround.c: Likewise.
20495         * math/feholdexcpt.c: Likewise.
20496         * math/fesetenv.c: Likewise.
20497         * math/fesetround.c: Likewise.
20498         * math/feupdateenv.c: Likewise.
20499         * math/fgetexcptflg.c: Likewise.
20500         * math/fraiseexcpt.c: Likewise.
20501         * math/fsetexcptflg.c: Likewise.
20502         * math/ftestexcept.c: Likewise.
20503         * math/k_cosl.c: Likewise.
20504         * math/k_rem_pio2l.c: Likewise.
20505         * math/k_sinl.c: Likewise.
20506         * math/k_tanl.c: Likewise.
20507         * math/s_asinhl.c: Likewise.
20508         * math/s_atanl.c: Likewise.
20509         * math/s_cbrtl.c: Likewise.
20510         * math/s_erfl.c: Likewise.
20511         * math/s_expm1l.c: Likewise.
20512         * math/s_log1pl.c: Likewise.
20513         * math/s_tanhl.c: Likewise.
20514         * misc/acct.c: Likewise.
20515         * misc/brk.c: Likewise.
20516         * misc/chflags.c: Likewise.
20517         * misc/chroot.c: Likewise.
20518         * misc/fchflags.c: Likewise.
20519         * misc/fgetxattr.c: Likewise.
20520         * misc/flistxattr.c: Likewise.
20521         * misc/fremovexattr.c: Likewise.
20522         * misc/fsetxattr.c: Likewise.
20523         * misc/fsync.c: Likewise.
20524         * misc/ftruncate.c: Likewise.
20525         * misc/futimes.c: Likewise.
20526         * misc/futimesat.c: Likewise.
20527         * misc/getdomain.c: Likewise.
20528         * misc/getdtsz.c: Likewise.
20529         * misc/gethostid.c: Likewise.
20530         * misc/gethostname.c: Likewise.
20531         * misc/getloadavg.c: Likewise.
20532         * misc/getpagesize.c: Likewise.
20533         * misc/getsysstats.c: Likewise.
20534         * misc/getxattr.c: Likewise.
20535         * misc/gtty.c: Likewise.
20536         * misc/ioctl.c: Likewise.
20537         * misc/lgetxattr.c: Likewise.
20538         * misc/listxattr.c: Likewise.
20539         * misc/llistxattr.c: Likewise.
20540         * misc/lremovexattr.c: Likewise.
20541         * misc/lsetxattr.c: Likewise.
20542         * misc/lutimes.c: Likewise.
20543         * misc/madvise.c: Likewise.
20544         * misc/mincore.c: Likewise.
20545         * misc/mlock.c: Likewise.
20546         * misc/mlockall.c: Likewise.
20547         * misc/mmap.c: Likewise.
20548         * misc/mprotect.c: Likewise.
20549         * misc/msync.c: Likewise.
20550         * misc/munlock.c: Likewise.
20551         * misc/munlockall.c: Likewise.
20552         * misc/munmap.c: Likewise.
20553         * misc/preadv.c: Likewise.
20554         * misc/preadv64.c: Likewise.
20555         * misc/ptrace.c: Likewise.
20556         * misc/pwritev.c: Likewise.
20557         * misc/pwritev64.c: Likewise.
20558         * misc/readv.c: Likewise.
20559         * misc/reboot.c: Likewise.
20560         * misc/remap_file_pages.c: Likewise.
20561         * misc/removexattr.c: Likewise.
20562         * misc/revoke.c: Likewise.
20563         * misc/select.c: Likewise.
20564         * misc/setdomain.c: Likewise.
20565         * misc/setegid.c: Likewise.
20566         * misc/seteuid.c: Likewise.
20567         * misc/sethostid.c: Likewise.
20568         * misc/sethostname.c: Likewise.
20569         * misc/setregid.c: Likewise.
20570         * misc/setreuid.c: Likewise.
20571         * misc/setxattr.c: Likewise.
20572         * misc/sstk.c: Likewise.
20573         * misc/stty.c: Likewise.
20574         * misc/swapoff.c: Likewise.
20575         * misc/swapon.c: Likewise.
20576         * misc/sync.c: Likewise.
20577         * misc/syncfs.c: Likewise.
20578         * misc/syscall.c: Likewise.
20579         * misc/truncate.c: Likewise.
20580         * misc/ualarm.c: Likewise.
20581         * misc/usleep.c: Likewise.
20582         * misc/ustat.c: Likewise.
20583         * misc/utimes.c: Likewise.
20584         * misc/vhangup.c: Likewise.
20585         * misc/writev.c: Likewise.
20586         * posix/_exit.c: Likewise.
20587         * posix/alarm.c: Likewise.
20588         * posix/execve.c: Likewise.
20589         * posix/fexecve.c: Likewise.
20590         * posix/fork.c: Likewise.
20591         * posix/fpathconf.c: Likewise.
20592         * posix/getaddrinfo.c: Likewise.
20593         * posix/getegid.c: Likewise.
20594         * posix/geteuid.c: Likewise.
20595         * posix/getgid.c: Likewise.
20596         * posix/getgroups.c: Likewise.
20597         * posix/getlogin.c: Likewise.
20598         * posix/getlogin_r.c: Likewise.
20599         * posix/getpgid.c: Likewise.
20600         * posix/getpid.c: Likewise.
20601         * posix/getppid.c: Likewise.
20602         * posix/getresgid.c: Likewise.
20603         * posix/getresuid.c: Likewise.
20604         * posix/getsid.c: Likewise.
20605         * posix/getuid.c: Likewise.
20606         * posix/glob64.c: Likewise.
20607         * posix/nanosleep.c: Likewise.
20608         * posix/pathconf.c: Likewise.
20609         * posix/pause.c: Likewise.
20610         * posix/posix_madvise.c: Likewise.
20611         * posix/pread.c: Likewise.
20612         * posix/pread64.c: Likewise.
20613         * posix/pwrite.c: Likewise.
20614         * posix/pwrite64.c: Likewise.
20615         * posix/sched_getaffinity.c: Likewise.
20616         * posix/sched_getp.c: Likewise.
20617         * posix/sched_gets.c: Likewise.
20618         * posix/sched_primax.c: Likewise.
20619         * posix/sched_primin.c: Likewise.
20620         * posix/sched_rr_gi.c: Likewise.
20621         * posix/sched_setaffinity.c: Likewise.
20622         * posix/sched_setp.c: Likewise.
20623         * posix/sched_sets.c: Likewise.
20624         * posix/sched_yield.c: Likewise.
20625         * posix/setgid.c: Likewise.
20626         * posix/setlogin.c: Likewise.
20627         * posix/setpgid.c: Likewise.
20628         * posix/setresgid.c: Likewise.
20629         * posix/setresuid.c: Likewise.
20630         * posix/setsid.c: Likewise.
20631         * posix/setuid.c: Likewise.
20632         * posix/sleep.c: Likewise.
20633         * posix/spawni.c: Likewise.
20634         * posix/sysconf.c: Likewise.
20635         * posix/times.c: Likewise.
20636         * posix/wait.c: Likewise.
20637         * posix/wait3.c: Likewise.
20638         * posix/wait4.c: Likewise.
20639         * posix/waitpid.c: Likewise.
20640         * resolv/gai_sigqueue.c: Likewise.
20641         * resource/getpriority.c: Likewise.
20642         * resource/getrlimit.c: Likewise.
20643         * resource/getrusage.c: Likewise.
20644         * resource/nice.c: Likewise.
20645         * resource/setpriority.c: Likewise.
20646         * resource/setrlimit.c: Likewise.
20647         * resource/ulimit.c: Likewise.
20648         * rt/aio_cancel.c: Likewise.
20649         * rt/aio_fsync.c: Likewise.
20650         * rt/aio_read.c: Likewise.
20651         * rt/aio_sigqueue.c: Likewise.
20652         * rt/aio_suspend.c: Likewise.
20653         * rt/aio_write.c: Likewise.
20654         * rt/clock_getres.c: Likewise.
20655         * rt/clock_gettime.c: Likewise.
20656         * rt/clock_nanosleep.c: Likewise.
20657         * rt/clock_settime.c: Likewise.
20658         * rt/lio_listio.c: Likewise.
20659         * rt/mq_close.c: Likewise.
20660         * rt/mq_getattr.c: Likewise.
20661         * rt/mq_notify.c: Likewise.
20662         * rt/mq_open.c: Likewise.
20663         * rt/mq_receive.c: Likewise.
20664         * rt/mq_send.c: Likewise.
20665         * rt/mq_setattr.c: Likewise.
20666         * rt/mq_timedreceive.c: Likewise.
20667         * rt/mq_timedsend.c: Likewise.
20668         * rt/mq_unlink.c: Likewise.
20669         * rt/shm_open.c: Likewise.
20670         * rt/shm_unlink.c: Likewise.
20671         * rt/timer_create.c: Likewise.
20672         * rt/timer_delete.c: Likewise.
20673         * rt/timer_getoverr.c: Likewise.
20674         * rt/timer_gettime.c: Likewise.
20675         * rt/timer_settime.c: Likewise.
20676         * setjmp/__longjmp.c: Likewise.
20677         * setjmp/setjmp.c: Likewise.
20678         * signal/kill.c: Likewise.
20679         * signal/killpg.c: Likewise.
20680         * signal/raise.c: Likewise.
20681         * signal/sigaction.c: Likewise.
20682         * signal/sigaltstack.c: Likewise.
20683         * signal/sigblock.c: Likewise.
20684         * signal/sigignore.c: Likewise.
20685         * signal/sigintr.c: Likewise.
20686         * signal/signal.c: Likewise.
20687         * signal/sigpause.c: Likewise.
20688         * signal/sigpending.c: Likewise.
20689         * signal/sigqueue.c: Likewise.
20690         * signal/sigreturn.c: Likewise.
20691         * signal/sigset.c: Likewise.
20692         * signal/sigsetmask.c: Likewise.
20693         * signal/sigstack.c: Likewise.
20694         * signal/sigsuspend.c: Likewise.
20695         * signal/sigtimedwait.c: Likewise.
20696         * signal/sigvec.c: Likewise.
20697         * signal/sigwait.c: Likewise.
20698         * signal/sigwaitinfo.c: Likewise.
20699         * signal/sysv_signal.c: Likewise.
20700         * socket/accept.c: Likewise.
20701         * socket/accept4.c: Likewise.
20702         * socket/bind.c: Likewise.
20703         * socket/connect.c: Likewise.
20704         * socket/getpeername.c: Likewise.
20705         * socket/getsockname.c: Likewise.
20706         * socket/getsockopt.c: Likewise.
20707         * socket/isfdtype.c: Likewise.
20708         * socket/listen.c: Likewise.
20709         * socket/recv.c: Likewise.
20710         * socket/recvfrom.c: Likewise.
20711         * socket/recvmsg.c: Likewise.
20712         * socket/send.c: Likewise.
20713         * socket/sendmsg.c: Likewise.
20714         * socket/sendto.c: Likewise.
20715         * socket/setsockopt.c: Likewise.
20716         * socket/shutdown.c: Likewise.
20717         * socket/sockatmark.c: Likewise.
20718         * socket/socket.c: Likewise.
20719         * socket/socketpair.c: Likewise.
20720         * stdio-common/ctermid.c: Likewise.
20721         * stdio-common/cuserid.c: Likewise.
20722         * stdio-common/remove.c: Likewise.
20723         * stdio-common/rename.c: Likewise.
20724         * stdio-common/renameat.c: Likewise.
20725         * stdio-common/tempname.c: Likewise.
20726         * stdlib/getcontext.c: Likewise.
20727         * stdlib/makecontext.c: Likewise.
20728         * stdlib/setcontext.c: Likewise.
20729         * stdlib/swapcontext.c: Likewise.
20730         * stdlib/system.c: Likewise.
20731         * streams/fattach.c: Likewise.
20732         * streams/fdetach.c: Likewise.
20733         * streams/getmsg.c: Likewise.
20734         * streams/getpmsg.c: Likewise.
20735         * streams/putmsg.c: Likewise.
20736         * streams/putpmsg.c: Likewise.
20737         * sysdeps/unix/bsd/getpt.c: Likewise.
20738         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20739         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20740         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20742         Likewise.
20743         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20744         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20745         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20746         * sysvipc/msgctl.c: Likewise.
20747         * sysvipc/msgget.c: Likewise.
20748         * sysvipc/msgrcv.c: Likewise.
20749         * sysvipc/msgsnd.c: Likewise.
20750         * sysvipc/semctl.c: Likewise.
20751         * sysvipc/semget.c: Likewise.
20752         * sysvipc/semop.c: Likewise.
20753         * sysvipc/semtimedop.c: Likewise.
20754         * sysvipc/shmat.c: Likewise.
20755         * sysvipc/shmctl.c: Likewise.
20756         * sysvipc/shmdt.c: Likewise.
20757         * sysvipc/shmget.c: Likewise.
20758         * termios/tcdrain.c: Likewise.
20759         * termios/tcflow.c: Likewise.
20760         * termios/tcflush.c: Likewise.
20761         * termios/tcgetattr.c: Likewise.
20762         * termios/tcgetpgrp.c: Likewise.
20763         * termios/tcsendbrk.c: Likewise.
20764         * termios/tcsetattr.c: Likewise.
20765         * termios/tcsetpgrp.c: Likewise.
20766         * time/adjtime.c: Likewise.
20767         * time/clock.c: Likewise.
20768         * time/getitimer.c: Likewise.
20769         * time/gettimeofday.c: Likewise.
20770         * time/setitimer.c: Likewise.
20771         * time/settimeofday.c: Likewise.
20772         * time/stime.c: Likewise.
20773         * time/time.c: Likewise.
20775 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
20777         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20778         /usr/old/bin.
20780         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20781         instead of spaces.
20782         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20784 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
20786         [BZ #14796]
20787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20788         FE_TONEAREST before applying Dekker multiplication and Knuth
20789         addition.  Clear inexact exceptions and check for exact zero
20790         results afterwards.
20791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20792         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20794         * math/libm-test.inc (fma_test): Add more tests.
20795         (fma_test_towardzero): Likewise.
20796         (fma_test_downward): Likewise.
20797         (fma_test_upward): Likewise.
20798         * sysdeps/generic/math_private.h (default_libc_fesetround): New
20799         function.
20800         (libc_fesetround): New macro.
20801         (libc_fesetroundf): Likewise.
20802         (libc_fesetroundl): Likewise.
20803         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20804         function.
20805         (libc_fesetround_387): Likewise.
20806         (libc_fesetroundf): New macro.
20807         (libc_fesetround): Likewise.
20808         (libc_fesetroundl): Likewise.
20809         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20810         function.
20811         (libc_fesetroundf): New macro.
20812         (libc_fesetround): Likewise.
20813         (libc_fesetroundl): Likewise.
20814         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20815         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20816         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20817         libm_hidden_ver.
20818         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20819         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20820         libm_hidden_def.
20821         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20822         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20823         libm_hidden_ver.
20824         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20825         libm_hidden_def.
20827         [BZ #3439]
20828         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20829         integer constant usable in #if and use that to give value to enum
20830         constant.
20831         (FE_DIVBYZERO): Likewise.
20832         (FE_UNDERFLOW): Likewise.
20833         (FE_OVERFLOW): Likewise.
20834         (FE_INVALID): Likewise.
20835         (FE_INVALID_SNAN): Likewise.
20836         (FE_INVALID_ISI): Likewise.
20837         (FE_INVALID_IDI): Likewise.
20838         (FE_INVALID_ZDZ): Likewise.
20839         (FE_INVALID_IMZ): Likewise.
20840         (FE_INVALID_COMPARE): Likewise.
20841         (FE_INVALID_SOFTWARE): Likewise.
20842         (FE_INVALID_SQRT): Likewise.
20843         (FE_INVALID_INTEGER_CONVERSION): Likewise.
20844         (FE_TONEAREST): Likewise.
20845         (FE_TOWARDZERO): Likewise.
20846         (FE_UPWARD): Likewise.
20847         (FE_DOWNWARD): Likewise.
20848         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20849         (FE_DIVBYZERO): Likewise.
20850         (FE_OVERFLOW): Likewise.
20851         (FE_UNDERFLOW): Likewise.
20852         (FE_INEXACT): Likewise.
20853         (FE_TONEAREST): Likewise.
20854         (FE_DOWNWARD): Likewise.
20855         (FE_UPWARD): Likewise.
20856         (FE_TOWARDZERO): Likewise.
20857         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20858         (FE_UNDERFLOW): Likewise.
20859         (FE_OVERFLOW): Likewise.
20860         (FE_DIVBYZERO): Likewise.
20861         (FE_INVALID): Likewise.
20862         (FE_TONEAREST): Likewise.
20863         (FE_TOWARDZERO): Likewise.
20864         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20865         (FE_OVERFLOW): Likewise.
20866         (FE_UNDERFLOW): Likewise.
20867         (FE_DIVBYZERO): Likewise.
20868         (FE_INEXACT): Likewise.
20869         (FE_TONEAREST): Likewise.
20870         (FE_TOWARDZERO): Likewise.
20871         (FE_UPWARD): Likewise.
20872         (FE_DOWNWARD): Likewise.
20873         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20874         (FE_DIVBYZERO): Likewise.
20875         (FE_OVERFLOW): Likewise.
20876         (FE_UNDERFLOW): Likewise.
20877         (FE_INEXACT): Likewise.
20878         (FE_TONEAREST): Likewise.
20879         (FE_DOWNWARD): Likewise.
20880         (FE_UPWARD): Likewise.
20881         (FE_TOWARDZERO): Likewise.
20883 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
20885         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20887 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
20889         * scripts/cross-test-ssh.sh (command): Use newlines to separate
20890         commands.  Quote $PWD.
20891         (blacklist_exports): Don't use remove_newlines.  Replace "declare
20892         -x" by "export".
20893         (remove_newlines): Remove.
20895 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
20897         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20898         * stdlib/stdlib.h (atof): Moved to ...
20899         * include/bits/stdlib-float.h: Here.  New file.
20900         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20901         * stdlib/bits/stdlib-float.h: New file.
20902         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20903         -mno-sse -mno-mmx.
20904         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20905         <xmmintrin.h>.
20907 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20909         * conform/conformtest.pl (@headers): Add fenv.h.
20910         * conform/data/fenv.h-data: New file.
20911         * include/fenv.h [_ISOMAC]: Disable all contents of file except
20912         include of <math/fenv.h>.
20914         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20915         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20916         && !UNIX98].  Enables tests for XOPEN2K8.
20917         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20918         POSIX2008]: Likewise.
20920         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20921         (struct rusage): Do not expect type or its members.
20923         [BZ #3439]
20924         * math/math.h (FP_NAN): Define macro to integer constant usable in
20925         #if and use that to give value to enum constant.
20926         (FP_INFINITE): Likewise.
20927         (FP_ZERO): Likewise.
20928         (FP_SUBNORMAL): Likewise.
20929         (FP_NORMAL): Likewise.
20931 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
20933         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20934         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20935         arguments.
20937 2012-11-02  Roland McGrath  <roland@hack.frob.com>
20939         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20940         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20941         autoconf-time if not.
20942         * configure.in: Remove AC_PREREQ.
20944 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20946         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20947         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20948         of the internal implementation.
20950 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20952         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20953         except include of <misc/sys/syslog.h>.
20955 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20958         function returns with a NULL context exit with zero.
20960 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20962         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20964 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
20966         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20967         (run_program_cmd): This.
20968         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20969         (tst_langinfo): New variable.  Use it.
20971 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
20973         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20974         floating point opcodes.
20976 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20978         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20979         variable.
20981         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20983         * sysdeps/mach/hurd/powerpc: Remove directory.
20984         * sysdeps/mach/powerpc: Likewise.
20986 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20988         * scripts/check-local-headers.sh: Ignore c++ headers.
20990 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20992         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20993         __libc_cleanup_region_start argument.
20995 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
20997         [BZ #14784]
20998         [BZ #14785]
20999         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21000         x * y using scaling, not as x * y + z.
21001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21002         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21003         * math/libm-test.inc (fma_test): Add more tests.
21004         (fma_test_towardzero): Likewise.
21005         (fma_test_downward): Likewise.
21006         (fma_test_upward): Likewise.
21008 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21010         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21012 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21014         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21015         New variable.
21017 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21019         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21021 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21024         Fix sort order.
21025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21026         Likewise.
21028 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21031         Fix the order of the list for glibc 2.17.
21032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21033         Likewise.
21035 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21039 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21041         [BZ #14610]
21042         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21043         for low part of x being zero before using __atanl (y).
21044         * math/libm-test.inc (atan2_test): Add another test.
21046         * manual/install.texi (Configuring and compiling): Document
21047         general use of test-wrapper and test-wrapper-env.
21048         * INSTALL: Regenerated.
21050         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21051         (__fma): Do not extract and scale down low bits on after-rounding
21052         systems when result rounded to normal precision would have normal
21053         exponent.
21054         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21055         (__fmal): Do not extract and scale down low bits on after-rounding
21056         systems when result rounded to normal precision would have normal
21057         exponent.
21058         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21059         (__fmal): Do not extract and scale down low bits on after-rounding
21060         systems when result rounded to normal precision would have normal
21061         exponent.
21062         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21063         macro.
21064         (fma_test): Add more tests.
21065         (fma_test_towardzero): Likewise.
21066         (fma_test_downward): Likewise.
21067         (fma_test_upward): Likewise.
21069 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21071         * sysdeps/i386/tininess.h: Renamed to ...
21072         * sysdeps/x86/tininess.h: This.
21073         * sysdeps/x86_64/tininess.h: Removed.
21075 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21077         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21078         input.  Use $(build-program-cmd).
21079         ($(objpfx)tst-array1-static.out): Likewise.
21080         ($(objpfx)tst-array2.out): Likewise.
21081         ($(objpfx)tst-array3.out): Likewise.
21082         ($(objpfx)tst-array4.out): Likewise.
21083         ($(objpfx)tst-array5.out): Likewise.
21084         ($(objpfx)tst-array5-static.out): Likewise.
21086 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21088         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21089         if defined.
21091         * nss/nsswitch.h (nss_interface_function): Provide new
21092         macro for use with NSS functions.
21093         * grp/initgroups.c: Use new macro.
21094         * nss/getXXbyYY.c: Likewise.
21095         * nss/getXXbyYY_r.c: Likewise.
21096         * nss/getXXent.c: Likewise.
21097         * nss/getXXent_r.c: Likewise.
21098         * sysdeps/posix/getaddrinfo.c: Likewise.
21100 2012-10-30  Andreas Jaeger  <aj@suse.de>
21102         * po/ru.po: Update Russion translation from translation project.
21104 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21106         [BZ #14152]
21107         [BZ #14783]
21108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21109         result and shift together with sticky bit instead of replicating
21110         round-to-nearest rounding.
21111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21112         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21113         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21114         missing underflow exceptions.
21115         (fma_test_towardzero): Add more tests.
21116         (fma_test_downward): Likewise.
21117         (fma_test_upward): Likewise.
21119         [BZ #14047]
21120         * sysdeps/generic/tininess.h: New file.
21121         * sysdeps/i386/tininess.h: Likewise.
21122         * sysdeps/sh/tininess.h: Likewise.
21123         * sysdeps/x86_64/tininess.h: Likewise.
21124         * stdlib/tst-strtod-underflow.c: Likewise.
21125         * stdlib/tst-tininess.c: Likewise.
21126         * stdlib/strtod_l.c: Include <tininess.h>.
21127         (round_and_return): Do not set errno for exact underflow cases.
21128         Force an underflow exception when setting errno for underflow.
21129         Determine underflow based on rounding to normal precision if
21130         TININESS_AFTER_ROUNDING.
21131         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21132         ERANGE for exact underflow cases.
21133         * stdlib/Makefile (tests): Add tst-tininess and
21134         tst-strtod-underflow.
21135         ($(objpfx)tst-tininess): Use $(link-libm).
21136         ($(objpfx)tst-strtod-underflow): Likewise.
21138 2012-10-30  Andreas Jaeger  <aj@suse.de>
21140         [BZ#14767]
21141         * elf/Makefile (tests): Remove conditional for have-initfini-array
21142         since this is now always required and the variable does not exist
21143         anymore.
21144         (tests-static): Likewise.
21145         (modules-names): Likewise.
21147         * po/eo.po: Add Esperanto translation from translation project.
21149         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21150         merged with constructor/destructor.
21151         (init_array): Likewise.
21152         * elf/tst-array2dep.c (fini_array): Likewise.
21153         (init_array): Likewise.
21155 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21157         * manual/message.texi: Delete @cartouche tags.
21159 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21161         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21162         EOPNOTSUPP.
21163         * sysdeps/mach/hurd/fsync.c: Likewise.
21165         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21166         [_POSIX_REALTIME_SIGNALS]: Change condition to
21167         [_POSIX_REALTIME_SIGNALS > 0].
21169 2012-10-27  Andreas Jaeger  <aj@suse.de>
21171         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21172         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21173         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21174         [__WORDSIZE != 64]: Likewise.
21176 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21178         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21179         *  iconvdata/tst-tables.sh: Likewise.
21181 2012-10-25  David S. Miller  <davem@davemloft.net>
21183         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21184         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21185         of strtoull.
21187         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21188         ifunc-impl-list.c
21189         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21190         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21191         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21192         file.
21194 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21196         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21197         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21198         __getdirentries.
21200 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21201             Jim Blandy  <jimb@codesourcery.com>
21203         * scripts/cross-test-ssh.sh: New file.
21204         * manual/install.texi (Configuring and compiling): Document use of
21205         cross-test-ssh.sh.
21206         * INSTALL: Regenerated.
21208 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21210         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21211         EOPNOTSUPP.
21213 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21215         * Makeconfig (run-program-prefix): Fix comment.
21217 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21218             Jim Blandy  <jimb@codesourcery.com>
21220         * Makeconfig (test-wrapper): New variable,
21221         (test-wrapper-env): Likewise.
21222         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21223         (run-built-tests): Define to yes.
21224         (run-program-prefix): Use $(test-wrapper).
21225         (built-program-cmd): Likewise.
21226         * Rules (make-test-out): Use $(test-wrapper-env) and
21227         $(host-built-program-cmd).
21228         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21229         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21230         tst-pathopt.sh.
21231         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21232         $(test-wrapper-env) to tst-rtld-load-self.sh.
21233         ($(objpfx)order2.out): Use $(test-wrapper).
21234         ($(objpfx)tst-initorder.out): Likewise.
21235         ($(objpfx)tst-initorder2.out): Likewise.
21236         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21237         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21238         (test_wrapper_env): New variable.  Use it to run ld.so.
21239         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21240         Use it to run ld.so.
21241         (test_wrapper_env): Likewise.
21242         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21243         $(test-wrapper) to run-iconv-test.sh.
21244         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21245         (ICONV): Use $test_wrapper.
21246         * posix/Makefile ($(objpfx)globtest.out): Pass
21247         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21248         globtest.sh, not $(run-program-prefix).
21249         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21250         (test_wrapper): Likewise.
21251         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21252         set together with run_via_rtld_prefix.
21253         (run_program_prefix): Define in terms of test_wrapper and
21254         run_via_rtld_prefix.
21256 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21258         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21259         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21260         Targets removed.
21262         [BZ #14743]
21263         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21264         Declare __clock_getres, __clock_gettime, __clock_settime,
21265         __clock_nanosleep, and __clock_getcpuclockid.
21266         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21267         Remove librt_hidden_def (clock_gettime).
21268         * sysdeps/unix/clock_gettime.c: Likewise.
21269         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21270         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21271         * rt/clock_getres.c: Define __clock_getres as an alias.
21272         * sysdeps/posix/clock_getres.c: Likewise.
21273         * rt/clock_settime.c: Define __clock_settime as an alias.
21274         * sysdeps/unix/clock_settime.c: Likewise.
21275         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21276         * sysdeps/unix/clock_nanosleep.c: Likewise.
21277         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21278         * rt/clock-compat.c: New file.
21279         * rt/Makefile (librt-routines): Add clock-compat and move
21280         $(clock-routines) to ...
21281         (routines): ... here, new variable.
21282         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21283         Don't add get_clockfreq here.
21284         * rt/Versions (libc: GLIBC_2.17): New version set.
21285         Add clock_* symbols here.
21286         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21287         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21288         (GLIBC_2.17): Add clock_* symbols.
21289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21291         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21293         Likewise.
21294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21295         Likewise.
21296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21300         * NEWS: Mention the move.
21302         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21303         Use __open, __read, __close rather than their public counterparts.
21304         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21305         (__get_clockfreq_via_cpuinfo): Likewise.
21306         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21307         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21309         * config.h.in (HAVE_IFUNC): New #undef.
21310         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21311         was successful.
21312         * configure: Regenerated.
21314 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21316         * configure.in: Move READELF check to start of file.
21317         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21318         libc_cv_asm_gnu_indirect_function in the process.
21319         * configure: Regenerated.
21321 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21323         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21324         send the output to /dev/null.
21325         (libc_cv_cc_with_libunwind): Likewise.
21326         (libc_cv_as_noexecstack): Likewise.
21327         * configure: Regenerate.
21329 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21331         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21333         * posix/globtest.sh (TMPDIR): Do not set.
21334         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21335         (testout): Likewise.
21337 2012-10-24  Andreas Jaeger  <aj@suse.de>
21339         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21340         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21341         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21342         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21343         posix_fadvise64, posix_fallocate64.
21345         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21346         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21347         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21348         Likewise.
21349         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21350         Likewise.
21351         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21354         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21355         <bits/fcntl-linux.h>.
21356         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21359         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21360         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21361         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21362         [__WORDSIZE != 64]: Likewise.
21364 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21366         * Makeconfig (run-built-tests): New variable.
21367         * Rules [$(cross-compiling) = yes]: Change condition to
21368         [$(run-built-tests) = no].
21369         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21370         to [$(run-built-tests) = yes].
21371         * elf/Makefile [$(cross-compiling) = no]: Likewise
21372         * grp/Makefile [$(cross-compiling) = no]: Likewise.
21373         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21374         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21375         * intl/Makefile [$(cross-compiling) = no]: Likewise.
21376         * io/Makefile [$(cross-compiling) = no]: Likewise.
21377         * libio/Makefile [$(cross-compiling) = no]: Likewise.
21378         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21379         * misc/Makefile [$(cross-compiling) = no]: Likewise.
21380         * posix/Makefile [$(cross-compiling) = no]: Likewise.
21381         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21382         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21383         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21384         * string/Makefile [$(cross-compiling) = no]: Likewise.
21386         * posix/Makefile ($(objpfx)globtest.out): Pass
21387         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21388         $(rtld-installed-name).
21389         * posix/globtest.sh (elf_objpfx): Remove variable.
21390         (rtld_installed_name): Likewise.
21391         (library_path): Likewise.
21392         (run_program_prefix): New variable.  Use for running globtest
21393         binary.
21395 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
21396             Joseph Myers  <joseph@codesourcery.com>
21398         * Makeconfig (host-built-program-cmd): New variable.
21399         * elf/Makefile (tst-stackguard1-ARGS): Use
21400         $(host-built-program-cmd).
21401         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21402         (tst-spawn-ARGS): Likewise.
21403         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21405 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21406             Jim Blandy  <jimb@codesourcery.com>
21408         * Makeconfig (run-via-rtld-prefix): New variable.
21409         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21410         (built-program-cmd): Likewise.
21412 2012-10-22  Andreas Jaeger  <aj@suse.de>
21414         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21415         __O_RSYNC if it exists, otherwise to O_SYNC.
21417 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
21418             Joseph Myers  <joseph@codesourcery.com>
21420         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21421         /dev/null.
21422         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21423         from /dev/null
21424         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21425         /dev/null.
21427 2012-10-22  Andreas Jaeger  <aj@suse.de>
21429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21430         Define always.
21431         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21434         bits/fcntl-linux.h.
21436         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21437         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21440         to __O_LARGEFILE.
21441         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21442         to __O_LARGEFILE.
21444 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
21445             Joseph Myers  <joseph@codesourcery.com>
21447         * config.make.in (NM): New variable.
21449 2012-10-21  Andreas Jaeger  <aj@suse.de>
21451         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21452         definitions and declarations that are provided by
21453         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21455 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21457         [BZ #14683]
21458         * elf/Makefile (tests-static): Add tst-leaks1-static.
21459         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21460         ($(objpfx)tst-leaks1-static): New rule.
21461         ($(objpfx)tst-leaks1-static-mem): Likewise.
21462         (tst-leaks1-static-ENV): New macro.
21463         * elf/dl-open.c (dl_open_worker): Check the main application
21464         only if SHARED is defined.
21465         * elf/tst-leaks1-static.c: New file.
21467 2012-10-20  Andreas Jaeger  <aj@suse.de>
21469         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21470         generic values for Linux.
21471         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21472         and declarations that are provided by <bits/fcntl-linux.h> and
21473         include <bits/fcntl-linux.h>.
21474         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21477 2012-10-20  Roland McGrath  <roland@hack.frob.com>
21479         * io/fcntl.h: Move include of <bits/types.h> to the top and
21480         include it unconditionally.
21482 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21484         * wcsmbs/Makefile (tests-ifunc): New variable.
21485         (tests): Add $(tests-ifunc).
21486         * wcsmbs/test-wcschr-ifunc.c: New file.
21487         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21488         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21489         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21490         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21491         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21493         * string/Makefile (tests-ifunc): New variable.
21494         (tests): Add $(tests-ifunc).
21495         * string/test-memccpy.c (TEST_NAME): New macro.
21496         * string/test-memchr.c (TEST_NAME): Likewise.
21497         * string/test-memcmp.c (TEST_NAME): Likewise.
21498         * string/test-memcpy.c (TEST_NAME): Likewise.
21499         * string/test-memmem.c (TEST_NAME): Likewise.
21500         * string/test-memmove.c (TEST_NAME): Likewise.
21501         * string/test-memset.c (TEST_NAME): Likewise.
21502         * string/test-rawmemchr.c (TEST_NAME): Likewise.
21503         * string/test-stpcpy.c (TEST_NAME): Likewise.
21504         * string/test-stpncpy.c (TEST_NAME): Likewise.
21505         * string/test-strcasecmp.c (TEST_NAME): Likewise.
21506         * string/test-strcasestr.c (TEST_NAME): Likewise.
21507         * string/test-strcat.c (TEST_NAME): Likewise.
21508         * string/test-strchr.c (TEST_NAME): Likewise.
21509         * string/test-strcmp.c(TEST_NAME): Likewise.
21510         * string/test-strcpy.c (TEST_NAME): Likewise.
21511         * string/test-strcspn.c (TEST_NAME): Likewise.
21512         * string/test-strlen.c (TEST_NAME): Likewise.
21513         * string/test-strncasecmp.c (TEST_NAME): Likewise.
21514         * string/test-strncmp.c (TEST_NAME): Likewise.
21515         * string/test-strncpy.c (TEST_NAME): Likewise.
21516         * string/test-strnlen.c (TEST_NAME): Likewise.
21517         * string/test-strpbrk.c (TEST_NAME): Likewise.
21518         * string/test-strrchr.c (TEST_NAME): Likewise.
21519         * string/test-strspn.c (TEST_NAME): Likewise.
21520         * string/test-strstr.c (TEST_NAME): Likewise.
21521         * string/test-bcopy-ifunc.c: New file.
21522         * string/test-bzero-ifunc.c: Likewise.
21523         * string/test-memccpy-ifunc.c: Likewise.
21524         * string/test-memchr-ifunc.c: Likewise.
21525         * string/test-memcmp-ifunc.c: Likewise.
21526         * string/test-memcpy-ifunc.c: Likewise.
21527         * string/test-memmem-ifunc.c: Likewise.
21528         * string/test-memmove-ifunc.c: Likewise.
21529         * string/test-mempcpy-ifunc.c: Likewise.
21530         * string/test-memset-ifunc.c: Likewise.
21531         * string/test-rawmemchr-ifunc.c: Likewise.
21532         * string/test-stpcpy-ifunc.c: Likewise.
21533         * string/test-stpncpy-ifunc.c: Likewise.
21534         * string/test-strcasecmp-ifunc.c: Likewise.
21535         * string/test-strcasestr-ifunc.c: Likewise.
21536         * string/test-strcat-ifunc.c: Likewise.
21537         * string/test-strchr-ifunc.c: Likewise.
21538         * string/test-strchrnul-ifunc.c: Likewise.
21539         * string/test-strcmp-ifunc.c: Likewise.
21540         * string/test-strcpy-ifunc.c: Likewise.
21541         * string/test-strcspn-ifunc.c: Likewise.
21542         * string/test-strlen-ifunc.c: Likewise.
21543         * string/test-strncasecmp-ifunc.c: Likewise.
21544         * string/test-strncat-ifunc.c: Likewise.
21545         * string/test-strncmp-ifunc.c: Likewise.
21546         * string/test-strncpy-ifunc.c: Likewise.
21547         * string/test-strnlen-ifunc.c: Likewise.
21548         * string/test-strpbrk-ifunc.c: Likewise.
21549         * string/test-strrchr-ifunc.c: Likewise.
21550         * string/test-strspn-ifunc.c: Likewise.
21551         * string/test-strstr-ifunc.c: Likewise.
21553         * debug/Makefile (tests-ifunc): New variable.
21554         (tests): Add $(tests-ifunc).
21555         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21556         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21557         * debug/test-stpcpy_chk-ifunc.c: New file.
21558         * debug/test-strcpy_chk-ifunc.c: Likewise.
21560 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21562         [BZ #13601]
21563         * elf/dl-load.c (open_verify): Retry read if the entire ELF
21564         header is not read in.
21566 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
21568         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
21569         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
21570         directly.  Pass built executable to script as
21571         $(built-program-cmd).
21572         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
21573         $testprogram without using LD_LIBRARY_PATH and $ldso.
21575         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21576         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21577         $(rtld-installed-name).
21578         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21579         (rtld_installed_name): Likewise.
21580         (library_path): Likewise.
21581         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
21582         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21583         $(run-program-prefix) to tst-tables.sh.
21584         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
21585         it to run tst-table-from and tst-table-to.
21586         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21587         Pass it to tst-table.sh.
21588         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21589         $(run-program-prefix) to tst-gettext.sh.
21590         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21591         tst-translit.sh.
21592         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21593         tst-gettext2.sh.
21594         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
21595         to run tst-gettext.
21596         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
21597         to run tst-gettext2.
21598         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
21599         to run tst-translit.
21600         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21601         $(run-program-prefix) to tst-mtrace.sh.
21602         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
21603         to run tst-mtrace.
21604         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21605         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21606         $(rtld-installed-name).
21607         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21608         (rtld_installed_name): Likewise.
21609         (run_program_prefix): New variable.  Use it to run wordexp-test.
21611         * Makeconfig (ARCH): Remove all definitions.
21612         (machine): Likewise.
21613         [ARCH]: Remove conditional code.
21614         [!objdir]: Give error.
21615         [!objdir] (objpfx): Remove.
21616         [!objdir] (common-objpfx): Likewise.
21617         [!objdir] (common-objdir): Likewise.
21618         * configure.in (config_makefile): Remove.  Hardcode Makefile in
21619         AC_CONFIG_FILES call.
21620         * configure: Regenerated.
21622         [BZ #13888]
21623         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21624         or TMPDIR.
21625         (testout): Likewise.
21627         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21628         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21629         $(rtld-installed-name).
21630         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21631         (rtld_installed_name): Likwise.
21632         (runit): Remove function.
21633         (run_getconf): New variable,  Use it for running getconf binary.
21635 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
21637         [BZ #14716]
21638         * string/test-memmem.c (check_result): New function.
21639         (do_one_test): Use it.
21640         (check1): New function.
21641         (test_main): Use it.
21643 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
21645         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21647 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
21649         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21650         (_G_LSEEK64): Likewise.
21651         (_G_MMAP64): Likewise.
21652         (_G_FSTAT64): Likewise.
21653         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21654         (_G_LSEEK64): Likewise.
21655         (_G_MMAP64): Likewise.
21656         (_G_FSTAT64): Likewise.
21657         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21658         unconditional.  Call __mmap64 directly.
21659         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21660         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
21661         __lseek64 directly.
21662         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21663         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
21664         __mmap64 directly.
21665         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21666         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21667         __lseek64 directly.
21668         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21669         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21670         __lseek64 directly.
21671         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21672         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
21673         __lseek64 directly.
21674         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21675         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
21676         __fxstat64 directly.
21677         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21678         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21679         unconditional.
21680         (freopen64) [!_G_OPEN64]: Remove conditional code.
21681         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21682         unconditional.
21683         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21684         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21685         unconditional.
21686         (ftello64) [!_G_LSEEK64]: Remove conditional code.
21687         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21688         unconditional.
21689         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21690         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21691         unconditional.
21692         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21693         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21694         unconditional.
21695         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21696         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21697         unconditional.
21698         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21699         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21700         unconditional.
21701         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21703 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21705         [BZ #12140]
21706         * manual/memory.texi (Malloc Tunable Parameters): Add note
21707         about free list pointers overwriting some perturb bytes.
21708         Wording suggested by Roland McGrath.
21710 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
21712         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21713         (lgamma_test): Likewise.
21714         (tgamma_test): Likewise.
21716 2012-10-16  Florian Weimer  <fweimer@redhat.com>
21718         [BZ #14700]
21719         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21720         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21722 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
21724         * NEWS: Mention BZ #14716.
21725         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21726         when removing AVAILABLE1_USES_J macro.
21728 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
21730         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21731         (__bswap_64): __uint64_t for unsigned 64-bit int.
21733 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
21735         * include/string.h (memmem): Declare libc hidden alias.
21736         * string/memmem.c (memmem): Define libc hidden alias.
21737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21738         __read, __close instead of open, read, close.
21740 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
21742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21743         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21744         global and hidden.
21745         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21746         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21747         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21748         Likewise.
21749         (__rawmemchr_sse2): Likewise.
21750         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21751         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21752         (__strchr_sse2): Likewise.
21753         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21754         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21755         (__strcasecmp_sse2): Likewise.
21756         (__strncasecmp_sse2): Likewise.
21757         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21758         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21759         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21760         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21761         (__strrchr_sse2): Likewise.
21762         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21763         ifunc-impl-list.c.
21764         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21765         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21766         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21767         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21768         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21769         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21770         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21771         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21772         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21773         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21774         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21775         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21776         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21777         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21778         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21779         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21780         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21781         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21782         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21783         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21784         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21785         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21786         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21787         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21788         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21789         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21790         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21791         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21792         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21793         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21795         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21796         global and hidden.
21797         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21798         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21799         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21800         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21801         Likewise.
21802         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21803         Likewise.
21804         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21805         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21806         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21807         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21808         ifunc-impl-list.c.
21809         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21810         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21811         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21812         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21813         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21814         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21815         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21816         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21817         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21818         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21819         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21820         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21821         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21822         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21823         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21824         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21825         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21826         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21827         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21828         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21829         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21830         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21831         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21832         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21833         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21834         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21835         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21836         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21837         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21838         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21839         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21840         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21841         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21842         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21843         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21844         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21845         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21846         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21847         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21848         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21849         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21851         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21852         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21853         * include/ifunc-impl-list.h: New file.
21854         * misc/ifunc-impl-list.c: Likewise.
21855         * misc/Makefile (routines): Add ifunc-impl-list.
21856         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21857         * string/test-string.h: Include <ifunc-impl-list.h>.
21858         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21859         impl_array): New variables.
21860         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21861         are defined.
21862         (test_init): Call __libc_ifunc_impl_list to initialize
21863         func_list if TEST_IFUNC and TEST_NAME are defined.
21865         * string/Makefile (strop-tests): Add bcopy and bzero.
21866         * string/test-bcopy.c: New file.
21867         * string/test-bzero.c: Likewise.
21868         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21869         defined.
21870         * string/test-memset.c: Support bzero test if TEST_BZERO is
21871         defined.
21872         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21873         __libc_memmove.
21874         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21875         __libc_memset.
21876         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21877         of memset.
21879 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
21881         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21882         * configure: Regenerated.
21884         * Makeconfig (+link-static-before-libc): Don't include
21885         $(link-static-libc).
21887         * libio/libio.h (_IO_pos_t): Remove.
21889 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21891         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
21892         McGrath.
21894 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21896         * crypt/crypt-entry.c: Include fips-private.h.
21897         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21898         * crypt/md5c-test.c (main): Tolerate disabled MD5.
21899         * sysdeps/unix/sysv/linux/fips-private.h: New file.
21900         * sysdeps/generic/fips-private.h: New file, dummy fallback.
21902 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21904         * crypt/crypt-private.h: Include stdbool.h.
21905         (_ufc_setup_salt_r): Return bool.
21906         * crypt/crypt-entry.c: Include errno.h.
21907         (__crypt_r): Return NULL with EINVAL for bad salt.
21908         * crypt/crypt_util.c (bad_for_salt): New.
21909         (_ufc_setup_salt_r): Check that salt is long enough and within
21910         the specified alphabet.
21911         * crypt/badsalttest.c: New file.
21912         * crypt/Makefile (tests): Add it.
21913         ($(objpfx)badsalttest): New.
21915 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
21917         * NEWS: Add entry for BZ #14602.
21919 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21921         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21922         type-generic.
21923         * math/libm-test.inc: Update comment listing what functions and
21924         macros are tested.
21925         (isgreater_test): New function.
21926         (isgreaterequal_test): Likewise.
21927         (isless_test): Likewise.
21928         (islessequal_test): Likewise.
21929         (islessgreater_test): Likewise.
21930         (isunordered_test): Likewise.
21931         (main): Call the new functions.
21933 2012-10-09  Roland McGrath  <roland@hack.frob.com>
21935         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21936         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21937         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21938         * sysdeps/i386/configure: Regenerated.
21939         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21940         * sysdeps/mach/configure: Regenerated.
21941         * sysdeps/mach/hurd/configure: Regenerated.
21942         * sysdeps/powerpc/configure: Regenerated.
21943         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21944         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21945         * sysdeps/s390/s390-32/configure: Regenerated.
21946         * sysdeps/s390/s390-64/configure: Regenerated.
21947         * sysdeps/sh/configure: Regenerated.
21948         * sysdeps/sparc/configure: Regenerated.
21949         * sysdeps/unix/sysv/linux/configure: Regenerated.
21950         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21951         * sysdeps/x86_64/configure: Regenerated.
21953         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21954         defined.  Don't check if MAP is NULL.
21956 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21958         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21959         (_G_stat64): Likewise.
21960         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21961         (_G_stat64): Likewise.
21962         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21963         instead of struct _G_stat64.
21964         * libio/fileops.c (mmap_remap_check): Likewise.
21965         (decide_maybe_mmap): Likewise.
21966         (_IO_new_file_seekoff): Likewise.
21967         (_IO_file_stat): Likewise.
21968         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21969         _G_off64_t.
21970         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21971         instead of struct _G_stat64.
21972         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21974 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
21976         [BZ #14602]
21977         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21978         Replace with ...
21979         (CHECK_EOL): New macro.
21980         (two_way_short_needle): Check beginning of haystack for EOL.  Use
21981         CHECK_EOL.
21982         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21983         Replace with CHECK_EOL.
21984         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21985         Replace with CHECK_EOL.
21987 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
21989         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21990         type-generic.
21991         * math/libm-test.inc: Update comment listing what functions and
21992         macros are tested.
21993         (finite_test): New function.
21994         (isinf_test): Likewise.
21995         (isnan_test): Likewise.
21996         (fpclassify_test): Test subnormal input.
21997         (isfinite_test): Likewise.
21998         (isnormal_test): Likewise.
21999         (main): Call the new functions.
22001 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
22003         [BZ #14660]
22004         * Makerules (%.dynsym): Force C locale when running
22005         $(OBJDUMP) --dynamic-syms.
22007 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
22009         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22010         <stdint.h>.
22012 2012-10-06  David S. Miller  <davem@davemloft.net>
22014         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22015         upper 32-bits of the length value in %o2 since we use branch-on-register
22016         tests which consider the entire 64-bit register.
22018 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22020         * string/test-strstr.c (check2): Add a test for page boundary.
22022 2012-10-05  David S. Miller  <davem@davemloft.net>
22024         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22025         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22026         file.
22027         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22028         sysdep_routines.
22029         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22030         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22031         and bzero when HWCAP_SPARC_CRYPTO is present.
22033 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22035         [BZ #14602]
22036         * string/test-strstr.c (check2): New function.
22037         (test_main): Call check2.
22039         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22040         and bug-strchr1.
22041         * string/bug-strcasestr1.c (do_test): Moved to ...
22042         * string/test-strcasestr.c (check1): Here.  New function.
22043         (do_one_test): Break out result checking code into ...
22044         (check_result): This.  New function.
22045         (do_one_test): Call check_result.
22046         (test_main): Call check1.
22047         * string/bug-strchr1.c (do_test): Moved to ...
22048         * string/test-strchr.c (check1): Here.  New function.
22049         (do_one_test): Break out result checking code into ...
22050         (check_result): This.  New function.
22051         (do_one_test): Call check_result.
22052         (test_main): Call check1.
22053         * string/bug-strstr1.c (main): Moved to ...
22054         * string/test-strstr.c (check1): Here.  New function.
22055         (do_one_test): Break out result checking code into ...
22056         (check_result): This.  New function.
22057         (do_one_test): Call check_result.
22058         (test_main): Call check1.
22059         * string/bug-strcasestr1.c: Removed.
22060         * string/bug-strchr1.c: Likewise.
22061         * string/bug-strstr1.c: Likewise.
22063         * elf/Makefile (dl-routines): Add hwcaps.
22064         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22065         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22066         (_dl_important_hwcaps): Moved to ...
22067         * elf/dl-hwcaps.c: Here.  New file.
22068         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22070         [BZ #14557]
22071         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22072         if IS_IN_rtld isn't defined.
22074         * elf/dl-support.c (_dl_sysinfo_map): New.
22075         Include "get-dynamic-info.h" and "setup-vdso.h".
22076         (_dl_non_dynamic_init): Call setup_vdso.
22077         * elf/dynamic-link.h: Don't include <assert.h>.
22078         (elf_get_dynamic_info): Moved to ...
22079         * elf/get-dynamic-info.h: Here.  New file.
22080         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22081         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22082         * elf/setup-vdso.h: Here.  New file.
22083         * elf/rtld.c: Include "setup-vdso.h".
22084         (dl_main): Call setup_vdso.
22086 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22088         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22089         creal in comment listing functions tested.  List finite, isinf,
22090         isnan, isless, islessequal, isgreater, isgreaterequal,
22091         islessgreater, isunordered, lgamma_r and pow10 as functions and
22092         macros not tested.  Mention which functions not tested are aliases
22093         for other functions.  Fix typo.  Note that signs of NaNs are not
22094         tested.
22096         * scripts/config.guess: Update from config.git.
22097         * scripts/config.sub: Likewise.
22099 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22101         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22102         * misc/madvise.c (madvise): Renamed to __madvise.
22103         Make madvise a weak alias.
22104         * include/sys/mman.h: Declare __madvise.
22105         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22106         * sysdeps/unix/syscalls.list
22107         (madvise): Make __madvise the strong name, and madvise a weak alias.
22108         * sysdeps/unix/sysv/linux/syscalls.list
22109         (madvise, mmap): Remove redundant entries.
22110         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22111         * malloc/malloc.c (mtrim): Likewise.
22112         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22114 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22116         * sysdeps/mach/hurd/dl-cache.c: File removed.
22117         * config.h.in (USE_LDCONFIG): New #undef.
22118         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22119         * configure: Regenerated.
22120         * elf/Makefile (dl-routines): Add dl-cache only under
22121         [$(use-ldconfig) = yes].
22122         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22123         cache on [USE_LDCONFIG].
22124         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22125         [USE_LDCONFIG].
22126         * elf/rtld.c (dl_main): Likewise.
22128 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22130         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22131         _SC_LEVEL4_CACHE_LINESIZE.
22133 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22135         * sysdeps/unix/bsd/confstr.h: File removed.
22137 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22139         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22140         sys/sdt-config.h.
22142 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22144         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22145         Make 'mapoff' field ElfW(Off) rather than off_t.
22147 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22149         * nscd/Makefile: Remove nscd-cflags and all its users.
22150         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22151         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22153         [BZ #10631]
22154         * malloc.c (malloc_printerr): Clarify error message.
22156 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22158         [BZ #14648]
22159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22160         Set bit_FMA_Usable if FMA is supported.
22161         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22162         macro.
22163         (bit_FMA4_Usable): Updated.
22164         (index_FMA_Usable): New macro.
22165         (CPUID_FMA): Likewise
22166         (HAS_FMA): Defined with bit_FMA_Usable.
22168 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22170         * bits/types.h (__swblk_t): Type removed.
22171         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22172         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22173         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22174         (__SWBLK_T_TYPE): Likewise.
22175         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22176         (__SWBLK_T_TYPE): Likewise.
22177         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22178         (__SWBLK_T_TYPE): Likewise.
22179         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22180         (__SWBLK_T_TYPE): Likewise.
22182 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22183             Honza Horak <hhorak@redhat.com>
22185         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22186         (xdr_mapname): Use YPMAXMAP as maxsize.
22187         (xdr_peername): Use YPMAXPEER as maxsize.
22188         (xdr_keydat): Use YPAXRECORD as maxsize.
22189         (xdr_valdat): Use YPMAXRECORD as maxsize.
22191 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22193         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22195         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22196         * csu/init-first.c: ... here.
22197         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22198         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22199         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22200         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22201         * sysdeps/i386/init-first.c: File removed.
22202         * sysdeps/sh/init-first.c: File removed.
22204 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22206         [BZ #14645]
22207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22208         if x * y might underflow to zero and z is zero.
22209         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22210         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22211         * math/libm-test.inc (min_subnorm_value): New variable.
22212         (fma_test): Add more tests.
22213         (fma_test_towardzero): Likewise.
22214         (fma_test_downward): Likewise
22215         (fma_test_upward): Likewise.
22216         (initialize): Set min_subnorm_value.
22218 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22220         [BZ #14638]
22221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22222         0 + 0.
22223         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22224         mode for addition resulting in exact zero.
22225         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22227         exact 0 + 0.
22228         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22230         * math/libm-test.inc (fma_test): Add more tests.
22231         (fma_test_towardzero): New function.
22232         (fma_test_downward): Likewise.
22233         (fma_test_upward): Likewise.
22234         (main): Call the new functions.
22236 2012-09-28  David S. Miller  <davem@davemloft.net>
22238         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22240 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22242         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22243         instead of SIGALRM.
22245         * sysdeps/gnu/_G_config.h: Moved to ...
22246         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22247         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22248         * sysdeps/generic/_G_config.h: ... here.
22250         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22252         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22254         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22255         Conditionalize target on [libnss_test1.so-version].
22257         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22259         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22260         (elfobjdir): Move out of conditionals.
22262         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22263         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22264         (__nss_lookup_function): Conditionalize label remove_from_tree on
22265         [!DO_STATIC_NSS || SHARED], matching its only use.
22267 2012-09-28  David S. Miller  <davem@davemloft.net>
22269         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22270         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22271         file.
22272         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22273         sysdep_routines.
22274         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22275         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22276         when HWCAP_SPARC_CRYPTO is present.
22278 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22280         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22282 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22284         [BZ #6530]
22285         * stdio-common/vfprintf.c (process_string_arg): Revert
22286         2000-07-22 change.
22288 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22290         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22291         for testcase.
22292         * stdio-common/tst-sprintf.c: Include <locale.h>
22293         (main): Test sprintf's handling of incomplete multibyte
22294         characters.
22296 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22298         * elf/dl-runtime.c (VERSYMIDX): Removed.
22299         * elf/dl-version.c (VERSYMIDX): Likewise.
22300         * elf/do-rel.h (VERSYMIDX): Likewise.
22301         (VALIDX): Likewise.
22302         * elf/dynamic-link.h (VERSYMIDX): Likewise.
22303         * elf/rtld.c (VALIDX): Likewise.
22304         (ADDRIDX): Likewise.
22305         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22306         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22307         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22308         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22309         (VALIDX): Likewise.
22310         (ADDRIDX): Likewise.
22312 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22314         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22316 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
22318         [BZ #11438]
22319         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22320         to global scope.
22321         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22322         addresses are in the same scope as 192.0.2/24.
22323         * posix/gai.conf: Document new scope table defaults.
22325 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22327         [BZ #5298]
22328         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22329         for ftell.  Compute offsets from write pointers instead.
22330         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22332 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22334         [BZ #14543]
22335         * libio/Makefile (tests): New test case tst-fseek.
22336         * libio/tst-fseek.c: New test case to verify that fseek/ftell
22337         combination works in wide mode.
22338         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22339         state when the external buffer state changes.
22341 2012-09-27  David S. Miller  <davem@davemloft.net>
22343         [BZ #14376]
22344         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22345         pass reloc->r_addend in as the 'high' argument to
22346         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22350 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22352         * rt/tst-aio2.c: Include <pthread.h>.
22353         * rt/tst-aio3.c: Likewise.
22355 2012-09-27  Steve Ellcey  <sellcey@mips.com>
22357         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22359 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
22361         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22362         contents on [SHARED].
22364 2012-09-26  Marek Polacek  <polacek@redhat.com>
22366         [BZ #14530]
22367         [BZ #13741]
22368         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22369         for C++ and GCC <4.3 as well as for non GCC compilers.
22371 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22375 2012-09-25  Roland McGrath  <roland@hack.frob.com>
22377         * Makefile.in (all, install): Declare with .PHONY.
22378         Reported by Michael Hope <michael.hope@linaro.org>.
22380 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22382         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22383         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22384         system header.
22385         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22386         Likewise.
22387         (sydep_routines): Add the new and the internal functions.
22388         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22389         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22391         (GLIBC_2.17): Add the new function.
22392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22393         (GLIBC_2.17): Likewise.
22394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22395         (GLIBC_2.17): Likewise.
22396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22397         (GLIBC_2.17): Likewise.
22398         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22400 2012-09-25  Alan Modra  <amodra@gmail.com>
22402         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22403         Add release barrier before setting once_control to say
22404         initialisation is done.  Add hints on lwarx.  Use macro in
22405         place of isync.
22406         (clear_once_control): Add release barrier.
22408 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22410         [BZ #13629]
22411         * math/s_clog.c (__clog): Handle more values close to |z| = 1
22412         specially.
22413         * math/s_clog10.c (__clog10): Likewise.
22414         * math/s_clog10f.c (__clog10f): Likewise.
22415         * math/s_clog10l.c (__clog10l): Likewise.
22416         * math/s_clogf.c (__clogf): Likewise.
22417         * math/s_clogl.c (__clogl): Likewise.
22418         * math/Makefile (libm-calls): Add x2y2m1.
22419         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22420         (__x2y2m1): Likewise.
22421         (__x2y2m1l): Likewise.
22422         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22423         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22424         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22425         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22426         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22427         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22428         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22429         * sysdeps/i386/fpu/libm-test-ulps: Update.
22430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22432         [BZ #14621]
22433         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22434         int as type of variable DEPTH.
22435         (glob): Use size_t instead of int as type of variables NEWCOUNT
22436         and OLD_PATHC.
22438 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22440         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22441         Add s_sincosf-sse2.
22442         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22443         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22444         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22445         macros for using routine as __sincosf_ia32.
22446         Use macro for function declaration and weak_alias.
22447         * sysdeps/i386/fpu/libm-test-ulps: Update.
22449         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22452         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22453         subnormal argument.
22454         * math/s_cexpf.c (__cexpf): Likewise.
22455         * math/s_csinf.c (__csinf): Likewise.
22456         * math/s_csinhf.c (__csinhf): Likewise.
22457         * math/s_ctanf.c (__ctanf): Likewise.
22458         * math/s_ctanhf.c (__ctanhf): Likewise.
22459         * math/s_ccosh.c (__ccoshf): Likewise.
22460         * math/s_cexp.c (__cexpl): Likewise.
22461         * math/s_csin.c (__csin): Likewise.
22462         * math/s_csinh.c (__csinh): Likewise.
22463         * math/s_ctan.c (__ctan): Likewise.
22464         * math/s_ctanh.c (ctanh): Likewise.
22465         * math/s_ccoshl.c (__ccoshl): Likewise.
22466         * math/s_cexpl.c (__cexpl): Likewise.
22467         * math/s_csinl.c (__csinl): Likewise.
22468         * math/s_csinhl.c (__csinhl): Likewise.
22469         * math/s_ctanl.c (__ctanl): Likewise.
22470         * math/s_ctanhl.c (__ctanhl): Likewise.
22472 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22474         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22475         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22476         (_IO_off_t): Define to __off_t, not _G_off_t.
22477         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22478         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22479         (_IO_wint_t): Define to wint_t, not _G_wint_t.
22480         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22481         type of __dummy and __dummy2 fields.
22482         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22483         (_G_ssize_t): Likewise.
22484         (_G_off_t): Likewise.
22485         (_G_pid_t): Likewise.
22486         (_G_uid_t): Likewise.
22487         (_G_wchar_t): Likewise.
22488         (_G_wint_t): Likewise.
22489         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22490         (_G_ssize_t): Likewise.
22491         (_G_off_t): Likewise.
22492         (_G_pid_t): Likewise.
22493         (_G_uid_t): Likewise.
22494         (_G_wchar_t): Likewise.
22495         (_G_wint_t): Likewise.
22496         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22497         (_G_ssize_t): Likewise.
22498         (_G_off_t): Likewise.
22499         (_G_pid_t): Likewise.
22500         (_G_uid_t): Likewise.
22501         (_G_wchar_t): Likewise.
22502         (_G_wint_t): Likewise.
22504 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22506         * malloc/arena.c: Include malloc-sysdep.h.
22507         (shrink_heap): Use check_may_shrink_heap to decide if madvise
22508         is sufficient to shrink the heap or an unmap is needed.
22509         * sysdeps/generic/malloc-sysdep.h: New file.  Define
22510         new function check_may_shrink_heap.
22511         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
22512         new function check_may_shrink_heap.
22514 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22516         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22517         comments.
22519 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
22521         * catgets/test-gencat.sh: Add "set -e".
22522         * elf/tst-pathopt.sh: Likewise.
22523         * grp/tst_fgetgrent.sh: Likewise.
22524         * iconvdata/run-iconv-test.sh: Likewise.
22525         * intl/tst-gettext.sh: Likewise.
22526         * intl/tst-gettext2.sh: Likewise.
22527         * intl/tst-gettext4.sh: Likewise.
22528         * intl/tst-gettext6.sh: Likewise.
22529         * intl/tst-translit.sh: Likewise.
22530         * io/ftwtest-sh: Likewise.
22531         * libio/test-freopen.sh: Likewise.
22532         * malloc/tst-mtrace.sh: Likewise.
22533         * posix/globtest.sh: Likewise.
22534         * posix/tst-getconf.sh: Likewise.
22535         * posix/wordexp-tst.sh: Likewise.
22536         * stdio-common/tst-printf.sh: Likewise.
22537         * stdio-common/tst-unbputc.sh: Likewise.
22538         * stdlib/tst-fmtmsg.sh: Likewise.
22539         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22540         * catgets/Makefile: Do not specify -e option when running
22541         testsuite shell scripts.
22542         * elf/Makefile: Likewise.
22543         * grp/Makefile: Likewise.
22544         * iconvdata/Makefile: Likewise.
22545         * intl/Makefile: Likewise.
22546         * io/Makefile: Likewise.
22547         * libio/Makefile: Likewise.
22548         * malloc/Makefile: Likewise.
22549         * posix/Makefile: Likewise.
22550         * stdio-common/Makefile: Likewise.
22551         * stdlib/Makefile: Likewise.
22552         * sysdeps/x86_64/Makefile: Likewise.
22554         * io/ftwtest-sh: Add copyright header.
22555         * posix/globtest.sh: Likewise.
22556         * posix/tst-getconf.sh: Likewise.
22557         * posix/wordexp-tst.sh: Likewise.
22558         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22560 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
22562         [BZ #13679]
22563         * Makeconfig (+link): Defined as $(+link-static) if
22564         $(build-shared) isn't yes.
22565         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22566         isn't yes.
22567         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22569         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22571         [BZ #14562]
22572         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22573         new chunk size with MALLOC_ALIGN_MASK.
22575 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
22577         [BZ #5044]
22578         * stdio-common/printf_fphex.c: Include <stdbool.h> and
22579         <rounding-mode.h>.
22580         (__printf_fphex): Determine rounding using get_rounding_mode and
22581         round_away.
22582         * stdio-common/tst-printf-round.c (struct hex_test): New
22583         structure.
22584         (hex_tests): New variable.
22585         (test_hex_in_one_mode): New function.
22586         (do_test): Also run tests for hex float output.
22588 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
22590         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22591         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22592         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22593         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22594         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22595         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22596         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22597         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22599 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
22601         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22602         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22603         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22604         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22606 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
22608         [BZ #14579]
22609         * elf/rtld.c (dl_main): Limit the check for self loading to normal
22610         mode only.
22611         * elf/tst-rtld-load-self.sh: New test.
22612         * elf/Makefile: Run it.
22614 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
22616         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22617         (tst-writev-ENV): Remove.
22618         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22620 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
22622         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22624 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
22626         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22627         unconditional.
22628         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22629         Likewise.
22630         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22631         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22632         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22633         Likewise.
22635 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
22637         [BZ #14587]
22638         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22639         * config.make.in (have-cpp-asm-debuginfo): Removed.
22640         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22641         * configure: Regenerated.
22643 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
22645         [BZ #5044]
22646         * stdio-common/printf_fp.c: Include <stdbool.h> and
22647         <rounding-mode.h>.
22648         (___printf_fp): Determine rounding using get_rounding_mode and
22649         round_away.
22650         * stdio-common/tst-printf-round.c: New file.
22651         * stdio-common/Makefile (tests): Add tst-printf-round.
22652         (link-libm): New variable.
22653         ($(objpfx)tst-printf-round): Depend in $(link-libm).
22655 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
22657         [BZ #14576]
22658         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22659         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22660         Likewise.
22661         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22662         Likewise.
22664 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
22666         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22667         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22668         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22669         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22671 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
22673         [BZ #14518]
22674         * include/rounding-mode.h: New file.
22675         * sysdeps/generic/get-rounding-mode.h: Likewise.
22676         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22677         * stdlib/strtod_l.c: Include <rounding-mode.h>.
22678         (MAX_VALUE): New macro.
22679         (MIN_VALUE): Likewise.
22680         (overflow_value): New function.
22681         (underflow_value): Likewise.
22682         (round_and_return): Use overflow_value and underflow_value to
22683         determine return values in overflow and underflow cases.  Use
22684         round_away to determine rounding depending on rounding mode.
22685         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22686         determine return values in overflow and underflow cases.
22687         * stdlib/tst-strtod-round.c: Include <fenv.h>.
22688         (struct test_results): New structure.
22689         (struct test): Use struct test_results to store expected results
22690         for all rounding modes.
22691         (TEST): Include expected results for all rounding modes.
22692         (test_in_one_mode): New function.
22693         (do_test): Use test_in_one_mode to compute and check results.
22694         Check results for all rounding modes.
22695         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22696         $(link-libm).
22698 2012-12-09  Allan McRae  <allan@archlinux.org>
22700         * sysdeps/i386/fpu/libm-test-ulps: Update
22702 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
22704         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22705         (_G_int32_t): Likewise.
22706         (_G_uint16_t): Likewise.
22707         (_G_uint32_t): Likewise.
22708         (_G_HAVE_BOOL): Likewise.
22709         (_G_HAVE_ATEXIT): Likewise.
22710         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22711         (_G_HAVE_IO_FILE_OPEN): Likewise.
22712         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22713         (_G_int32_t): Likewise.
22714         (_G_uint16_t): Likewise.
22715         (_G_uint32_t): Likewise.
22716         (_G_HAVE_BOOL): Likewise.
22717         (_G_HAVE_ATEXIT): Likewise.
22718         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22719         (_G_HAVE_IO_FILE_OPEN): Likewise.
22720         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22721         (_G_int32_t): Likewise.
22722         (_G_uint16_t): Likewise.
22723         (_G_uint32_t): Likewise.
22724         (_G_HAVE_BOOL): Likewise.
22725         (_G_HAVE_ATEXIT): Likewise.
22726         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22727         (_G_HAVE_IO_FILE_OPEN): Likewise.
22729 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
22731         * csu/libc-tls.c: Update copyright years.
22733 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
22735         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22736         [!_G_USING_THUNKS]: Remove conditional code.
22737         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22738         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22740         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22741         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22742         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22743         (_G_VTABLE_LABEL_PREFIX): Likewise.
22744         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22745         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22746         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22747         (_G_VTABLE_LABEL_PREFIX): Likewise.
22748         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22749         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22750         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22751         (_G_VTABLE_LABEL_PREFIX): Likewise.
22752         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22754 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
22756         * libio/Makefile: Include ../Makeconfig before tests.
22757         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22758         only if $(build-shared) is yes.
22760         * iconv/gconv_db.c: Update copyright years.
22762 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22764         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22765         unwind info if defined PIC. Fix special cases description.
22766         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22768         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22769         DP_HI_MASK entry.
22770         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22772 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
22774         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22776         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22777         is NULL.
22779         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22780         (LDLIBS-tst-chk4): This.
22781         (LDFLAGS-tst-chk5): Renamed to ...
22782         (LDLIBS-tst-chk5): This.
22783         (LDFLAGS-tst-chk6): Renamed to ...
22784         (LDLIBS-tst-chk6): This.
22785         (LDFLAGS-tst-lfschk4): Renamed to ...
22786         (LDLIBS-tst-lfschk4): This.
22787         (LDFLAGS-tst-lfschk5): Renamed to ...
22788         (LDLIBS-tst-lfschk5): This.
22789         (LDFLAGS-tst-lfschk6): Renamed to ...
22790         (LDLIBS-tst-lfschk6): This.
22792         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22793         on $(common-objpfx)soversions.mk.
22795 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
22797         [BZ #10014]
22798         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22799         example host name.
22801 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22803         * malloc/arena.c (arena_get_retry): New function that gets
22804         another arena for the caller to try its request on.
22805         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22806         current arena cannot fulfill the request.
22807         (__libc_memalign): Likewise.
22808         (__libc_memalign): Likewise.
22809         (__libc_pvalloc): Likewise.
22810         (__libc_calloc): Likewise.
22812 2012-09-05  John Tobey  <john.tobey@gmail.com>
22814         [BZ #13542]
22815         * manual/arith.texi (Operations on Complex): Fix description
22816         of carg branch cut.
22818 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22820         [BZ #10014]
22821         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22822         host name.
22824         [BZ #10038]
22825         * manual/memory.texi (Memory): Make order of menu items match
22826         order of sections.
22828 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22830         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22831         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
22832         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22834 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22836         * csu/libc-tls.c (static_dtv): Renamed to ...
22837         (_dl_static_dtv): This.  Make it global.
22838         (_dl_initial_dtv): Removed.
22839         (__libc_setup_tls): Updated.
22840         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22841         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22842         DL_INITIAL_DTV.
22844 2012-09-06  Petr Machata  <pmachata@redhat.com>
22846         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22847         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22848         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22849         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22851 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22853         [BZ #14545]
22854         * csu/libc-tls.c (_dl_initial_dtv): New variable.
22855         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22856         freeing dtv[-1].
22858 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22860         [BZ #14544]
22861         * Makeconfig (link-static-before-libc): Replace $(+prector)
22862         with $(+prectorT).
22863         (link-static-after-libc): Replace $(+postctor) with
22864         $(+postctorT).
22865         (link-bounded): Replace $(+prector)/$(+postctor) with
22866         $(+prectorT)/$(+postctorT).
22867         (+prectorT): New macro.
22868         (+postctorT): Likewise.
22870 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22872         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22873         (round_str): Handle values above the maximum for IBM long double
22874         as inexact.
22875         * stdlib/tst-strtod-round.c (tests): Regenerated.
22877 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22879         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22880         assembler flag.
22881         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22882         zarch_nohighgprs around the zarch optimized routines.
22883         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22884         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22885         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22886         for zarch.
22888 2012-09-05  David S. Miller  <davem@davemloft.net>
22890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22892         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22893         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22894         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22895         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22896         entries.
22898 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22900         * malloc/arena.c: Fold copyright years.
22901         * malloc/mcheck.c, malloc/memusage.c: Likewise.
22903 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22905         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22907 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22909         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
22911 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22913         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22914         change internal state upon failure.
22916 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22918         * malloc/mcheck.c (mcheck_check_all): Fix typo.
22919         * malloc/memusage.c (mmap): Likewise.
22920         (mmap64, mremap): Likewise.  Adjust name in comment.
22922 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22924         * libio/fileops.c: Fix typos in comments.
22925         * libio/oldfileops.c: Likewise.
22926         * libio/wfileops.c: Likewise.
22928 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22930         [BZ #1349]
22931         * malloc/Makefile (tests): Add tst-malloc-usable test case.
22932         (tst-malloc-usable-ENV): Set environment for test case.
22933         * malloc/hooks.c (malloc_check_get_size): New function to get
22934         requested size.
22935         * malloc/malloc.c (musable): Use malloc_check_get_size.
22936         * malloc/tst-malloc-usable.c: New test case.
22938 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22940         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22942 2012-09-05  Allan McRae  <allan@archlinux.org>
22944         [BZ #13966]
22945         * configure.in (CXX_SYSINCLUDES): Use compiler output to
22946         determine header location.
22947         * configure: Regenerated.
22949 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22951         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22952         float format.
22953         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22954         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22955         format.
22956         (test): Regenerate.
22958 2012-09-04  David S. Miller  <davem@davemloft.net>
22960         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22961         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22962         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22964 2012-09-04  Florian Weimer  <fweimer@redhat.com>
22966         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22967         failures.
22969         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22971 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
22973         [BZ #9914]
22974         * libio/iogetdelim.c: Include <limits.h>.
22975         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22976         + len + 1 would overflow.
22978 2012-09-03  Andreas Jaeger  <aj@suse.de>
22980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22981         * sysdeps/i386/fpu/libm-test-ulps: Update.
22983 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22985         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22986         Add s_sinf-sse2, s_conf-sse2.
22988         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22989         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22990         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22991         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22993         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22994         for using routine as __sinf_ia32.
22995         Use macro for function declaration and weak_alias.
22996         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22997         for using routine as __cosf_ia32.
22998         Use macro for function declaration and weak_alias.
23000         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23001         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23003         * sysdeps/x86_64/fpu/s_sinf.S: New file.
23004         * sysdeps/x86_64/fpu/s_cosf.S: New file.
23005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23007         * math/libm-test.inc (cos_test): Add more test cases.
23008         (sin_test): Likewise.
23009         (sincos_test): Likewise.
23011 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23013         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23014         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23015         hidden.
23016         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23018 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23020         [BZ #14538]
23021         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23022         first element of the GOT.
23023         (elf_machine_load_address): Return the difference between
23024         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23026 2012-09-01  Allan McRae  <allan@archlinux.org>
23028         [BZ #13412]
23029         * configure.in (AWK): Require gawk version 3.0 or later.
23030         * configure: Regenerated.
23032 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23034         * sysdeps/unix/sysv/linux/kernel-features.h
23035         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23036         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23037         [__NR_clock_getres]: Make code unconditional.
23038         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23039         (clock_getcpuclockid): Remove code left unreachable by removal of
23040         conditionals.
23041         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23042         code unconditional.
23043         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23044         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23045         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23046         Make code unconditional.
23047         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23048         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23049         * sysdeps/unix/sysv/linux/clock_settime.c
23050         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23051         conditional code.
23052         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23053         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23055 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23057         [BZ #14476]
23058         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23059         scripts/test-installation.pl.
23061         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23062         and $ld_so_version if it is set.
23064 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23066         [BZ #14516]
23067         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23068         failure if reading from procfs failed.
23069         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23071 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23073         * sysdeps/unix/sysv/linux/kernel-features.h
23074         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23075         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23076         Remove conditional code.
23077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23078         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23079         Remove conditional code.
23080         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23081         * sysdeps/unix/sysv/linux/i386/fxstat.c
23082         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23083         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23084         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23085         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23086         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23087         * sysdeps/unix/sysv/linux/i386/lxstat.c
23088         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23089         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23090         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23091         Remove conditional code.
23092         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23093         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23094         Remove conditional code.
23095         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23096         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23097         <kernel-features.h>.
23098         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23099         Remove.
23100         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23101         Remove conditional code.
23102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23103         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23104         Remove conditional.
23106 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23108         [BZ #5400]
23109         * NEWS: Add fixed bug number.
23111 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23113         [BZ #14519]
23114         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23115         underflowing exponent in case of negative sign.
23116         * stdlib/tst-strtod-round-data: Add more tests.
23117         * stdlib/tst-strtod-round.c (tests): Regenerated.
23119         [BZ #3479]
23120         * stdlib/strtod_l.c (NDIG): Remove.
23121         (HEXNDIG): Likewise.
23122         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23123         smallest representable value.
23124         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23125         lie within an exact representation of 1/2 ulp of the result.
23126         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23127         unconditionally.
23128         (TENS_P9_IDX): Define unconditionally.
23129         (TENS_P9_SIZE): Likewise.
23130         (TENS_P10_IDX): Likewise.
23131         (TENS_P10_SIZE): Likewise.
23132         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23133         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23134         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23135         entries for 10^2^13 and 10^2^14.
23136         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23137         (TENS_P13_IDX): Define.
23138         (TENS_P13_SIZE): Likewise.
23139         (TENS_P14_IDX): Likewise.
23140         (TENS_P14_SIZE): Likewise.
23141         (_fpioconst_pow10): Change array size to
23142         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23143         unconditional.
23144         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23145         1024]: Add entries for 10^2^13 and 10^2^14.
23146         [LAST_POW10 > _LAST_POW10]: Remove #error.
23147         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23148         (_fpioconst_pow10): Change array size to
23149         FPIOCONST_POW10_ARRAY_SIZE.
23150         * stdlib/gen-fpioconst.c: New file.
23151         * stdlib/gen-tst-strtod-round.c: Likewise.
23152         * stdlib/tst-strtod-round-data: Likewise.
23153         * stdlib/tst-strtod-round.c: Likewise.
23154         * stdlib/Makefile (tests): Add tst-strtod-round.
23156         [BZ #14459]
23157         * stdlib/strtod_l.c: Include <stdint.h>.
23158         (NDEBUG): Do not define.
23159         (round_and_return): Change EXPONENT parameter to type intmax_t.
23160         Rearrange calculations to avoid internal overflow possibilities.
23161         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23162         Rearrange calculations to avoid internal overflow possibilities.
23163         Assert that number fits inside MPNSIZE limbs.
23164         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23165         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23166         calculations and add assertions to avoid internal overflow
23167         possibilities.  Add casts to avoid signed/unsigned operations.
23168         * stdlib/tst-strtod-overflow.c: New file.
23169         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23171 2012-08-25  Marek Polacek  <polacek@redhat.com>
23173         * time/time.h: Fix some typos in comments.
23175 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23177         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23178         * posix/tst-rfc3484-2.c: Likewise.
23179         * posix/tst-rfc3484-3.c: Likewise.
23181 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23183         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23184         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23186 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23188         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23189         #include of fxstatat64.c.
23191 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23193         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23194         * shadow/getspent_r.c: Likewise.
23195         * shadow/getspnam.c: Likewise.
23196         * shadow/getspnam_r.c: Likewise.
23197         * gshadow/getsgent.c: Likewise.
23198         * gshadow/getsgent_r.c: Likewise.
23199         * gshadow/getsgnam.c: Likewise.
23200         * gshadow/getsgnam_r.c: Likewise.
23201         * inet/getnetbyad.c: Likewise.
23202         * inet/getnetbyad_r.c: Likewise.
23203         * inet/getnetbynm.c: Likewise.
23204         * inet/getnetbynm_r.c: Likewise.
23205         * inet/getnetent.c: Likewise.
23206         * inet/getnetent_r.c: Likewise.
23207         * inet/getproto.c: Likewise.
23208         * inet/getproto_r.c: Likewise.
23209         * inet/getprtent.c: Likewise.
23210         * inet/getprtent_r.c: Likewise.
23211         * inet/getprtname.c: Likewise.
23212         * inet/getprtname_r.c: Likewise.
23213         * inet/getrpcbyname.c: Likewise.
23214         * inet/getrpcbyname_r.c: Likewise.
23215         * inet/getrpcbynumber.c: Likewise.
23216         * inet/getrpcbynumber_r.c: Likewise.
23217         * inet/getrpcent.c: Likewise.
23218         * inet/getrpcent_r.c: Likewise.
23219         * inet/getaliasent.c: Likewise.
23220         * inet/getaliasent_r.c: Likewise.
23221         * inet/getaliasname.c: Likewise.
23222         * inet/getaliasname_r.c: Likewise.
23223         * nscd/getgrgid_r.c: Likewise.
23224         * nscd/getgrnam_r.c: Likewise.
23225         * nscd/gethstbyad_r.c: Likewise.
23226         * nscd/gethstbynm3_r.c: Likewise.
23227         * nscd/getpwnam_r.c: Likewise.
23228         * nscd/getpwuid_r.c: Likewise.
23229         * nscd/getsrvbynm_r.c: Likewise.
23230         * nscd/getsrvbypt_r.c: Likewise.
23231         * nscd/gai.c: Likewise.
23233         * configure.in (build_nscd): New substituted variable, set
23234         by --disable-build-nscd and defaults to $use_nscd.
23235         * configure: Regenerated.
23236         * config.make.in (build-nscd): New substituted variable.
23237         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23238         Change conditional to require [$(build-nscd) = yes] as well.
23239         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23241         [BZ# 13696]
23242         * configure.in (use_nscd): New substituted variable, set by
23243         --disable-nscd.  If enabled, define USE_NSCD.
23244         * configure: Regenerated.
23245         * config.h.in: Add USE_NSCD.
23246         * config.make.in (use-nscd): New substituted variable.
23247         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23248         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23249         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23250         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23251         (CFLAGS-getgrnam_r.c): Likewise.
23252         (CFLAGS-initgroups.c): Likewise.
23253         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23254         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23255         Variables removed.
23256         * inet/getnetgrent_r.c
23257         (nscd_setnetgrent): New function, broken out of ...
23258         (setnetgrent): ... here.  Call it.
23259         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23260         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23261         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23262         * nscd/Makefile (routines, aux): Move definitions after include of
23263         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23264         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23265         Conditionalize on [USE_NSCD].
23266         (is_nscd, nscd_init_cb): Likewise.
23267         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23268         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23269         * nss/nss_db/db-init.c: Likewise.
23270         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23271         [USE_NSCD].
23272         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23273         (make_request): Use it.
23274         (cache_valid_p): New function.
23275         (__check_pf): Use it.
23276         * NEWS: Add item for --disable-nscd.
23278 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23280         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23281         to support sed >= 4.2.1-20-ga9bf076.
23282         * configure: Regenerated.
23284 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23286         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23287         Conditionalize whole body on [IREL].
23289 2012-08-22  Jeff Law <law@redhat.com>
23291         [BZ #14505]
23292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23293         if the family is PF_UNSPEC.
23295 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23297         * Makerules (lib-version): Rename from V.
23298         (install-lib-nosubdir): Change V to lib-version.
23300 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
23302         [BZ #14252]
23303         * powerpc32/power6/wcschr.c: New file.
23304         * powerpc32/power6/wcscpy.c: New file.
23305         * powerpc32/power6/wcsrchr.c: New file.
23306         * powerpc64/power6/wcschr.c: New file.
23307         * powerpc64/power6/wcscpy.c: New file.
23308         * powerpc64/power6/wcsrchr.c: New file.
23310 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23312         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23313         (two_way_short_needle): Use it.
23314         * string/strstr.c (AVAILABLE1_USES_J): Define.
23315         * string/strcasestr.c: Likewise.
23317         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23318         array references.
23319         * string/strcasestr.c (TOLOWER): Make side-effect safe.
23321         [BZ #11607]
23322         * NEWS: Add an entry.
23323         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23324         define their defaults.
23325         (two_way_short_needle): Detect end-of-string on-the-fly.
23326         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23327         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23328         * string/bug-strcasestr1.c: New test.
23329         * string/Makefile: Run it.
23331 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23333         [BZ #11607]
23334         * string/str-two-way.h (two_way_short_needle): Optimize matching of
23335         the first character.
23337 2012-08-21  Roland McGrath  <roland@hack.frob.com>
23339         * csu/elf-init.c (__libc_csu_irel): Function removed.
23340         * csu/libc-start.c (apply_irel): New function.
23341         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23343 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
23345         * sysdeps/unix/sysv/linux/kernel-features.h
23346         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23347         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23348         <kernel-features.h>.
23349         [__NR_fadvise64_64]: Make code unconditional.
23350         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23351         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23352         !__NR_fadvise64_64)]: Likewise.
23353         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23354         !__NR_fadvise64_64))]: Likewise.
23355         [__NR_fadvise64]: Make code unconditional.
23356         [!__NR_fadvise64]: Remove conditional code.
23357         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23358         <kernel-features.h>.
23359         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23360         unconditional.
23361         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23362         conditional code.
23363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23364         not include <kernel-features.h>.
23365         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23366         unconditional.
23367         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23368         conditional code.
23369         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23370         include <kernel-features.h>.
23371         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23372         unconditional.
23373         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23374         conditional code.
23376 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23378         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23379         slight instruction rearrangements per scrollpipe analysis.
23380         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23382 2012-08-20  Roland McGrath  <roland@hack.frob.com>
23384         * manual/syslog.texi (syslog; vsyslog, closelog):
23385         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23386         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23388         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23389         DSOCAPS to match condition on defining it.
23391 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
23393         * sysdeps/unix/sysv/linux/kernel-features.h
23394         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23396         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23397         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23399         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23400         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23402         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23403         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23405         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23406         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23408         * sysdeps/unix/sysv/linux/kernel-features.h
23409         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23410         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23411         unconditional.
23412         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23413         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23414         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23415         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23416         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23417         Make code unconditional.
23418         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23419         (__mmap64) [!__NR_mmap2]: Likewise.
23420         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23421         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23422         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23423         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23424         [__NR_mmap2]: Make code unconditional.
23425         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23426         (__mmap64) [!__NR_mmap2]: Likewise.
23428 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23430         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23432 2012-08-18  Andreas Jaeger  <aj@suse.de>
23434         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23436 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23438         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23439         * include/unistd.h (__have_sock_cloexec): Likewise.
23440         (__have_pipe2): Likewise.
23441         (__have_dup3): Likewise.
23443 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23445         [BZ #9685]
23446         * include/unistd.h (__have_pipe2): Change define into an extern int.
23447         (__have_dup3): Likewise.
23448         * socket/have_sock_cloexec.c: Include fcntl.h.
23449         (__have_pipe2): New variable.
23450         (__have_dup3): Likewise.
23452 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
23454         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23456 2012-08-17  Marek Polacek  <polacek@redhat.com>
23458         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23459         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23461 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23463         * configure.in: Add AC_SUBST for sysheaders.
23464         * configure: Regenerated.
23465         * config.make.in (sysheaders): New substituted variable.
23467         * sysdeps/unix/mkfifo.c: Moved ...
23468         * sysdeps/posix/mkfifo.c: ... here.
23469         * sysdeps/unix/mkfifoat.c: Moved ...
23470         * sysdeps/posix/mkfifoat.c: ... here.
23472         * sysdeps/unix/utime.c: Moved ...
23473         * sysdeps/posix/utime.c: ... here.
23475         * sysdeps/unix/time.c: Moved ...
23476         * sysdeps/posix/time.c: ... here.
23477         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23478         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23480         * sysdeps/unix/nice.c: Moved ...
23481         * sysdeps/posix/nice.c: ... here.
23483         * sysdeps/unix/alarm.c: Moved ...
23484         * sysdeps/posix/alarm.c: ... here.
23486         * intl/Makefile ($(codeset_mo)): Depend on the input file.
23488 2012-08-17  Jeff Law <law@redhat.com>
23490         * intl/Makefile (codeset_mo): New variable.
23491         ($(codeset_mo)): New target.
23492         (tst-codeset.out): Depend on that.  Remove explicit rule.
23493         (tst-gettext3.out, tst-gettext5.out): Likewise.
23494         (LOCPATH-ENV, tst-codeset-ENV): New variables.
23495         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23496         * intl/tst-codeset.sh: Remove.
23497         * intl/tst-gettext3.sh: Likewise.
23498         * intl/tst-gettext5.sh: Likewise.
23500 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23502         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
23503         * sysdeps/unix/syscalls.list: ... here.
23505         * sysdeps/posix/getaddrinfo.c
23506         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23507         (gaiconf_init, gaiconf_reload): Use them.
23508         [!_STATBUF_ST_NSEC]
23509         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23510         Define using time_t rather than struct timespec.
23512         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23513         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23514         Macros removed.
23515         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23516         [!NO_THREADS].
23517         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23518         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23519         Likewise.
23521         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23522         __libc_cleanup_push argument.
23524         * bits/param.h: New file.
23525         * misc/sys/param.h: New file.
23526         * include/sys/param.h: New file.
23527         * misc/Makefile (headers): Add bits/param.h.
23528         * sysdeps/generic/sys/param.h: File removed.
23529         * sysdeps/unix/sysv/linux/bits/param.h: New file.
23530         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23531         * sysdeps/mach/hurd/bits/param.h: New file.
23532         * sysdeps/mach/hurd/sys/param.h: File removed.
23534         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23535         last change.
23537         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23538         [_IO_MTSAFE_IO].
23539         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23540         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23541         New macros.
23543         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23544         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23545         rather than -D_IO_MTSAFE_IO conditionally.
23546         * stdio-common/Makefile (CPPFLAGS): Likewise.
23547         * wcsmbs/Makefile (CPPFLAGS): Likewise.
23548         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23549         Use $(libio-mtsafe).
23550         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23551         of -D_IO_MTSAFE_IO.
23552         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23553         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23554         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23555         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23556         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23557         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23558         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23559         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23560         (CFLAGS-fread_u_chk.c): Likewise.
23561         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23562         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23563         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23564         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23565         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23566         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23567         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23568         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23569         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23571         * libio/Makefile: Test [$(libc-reentrant) = yes]
23572         instead of [$(filter %REENTRANT, $(defines)) nonempty].
23574         * Makeconfig
23575         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23576         * sysdeps/pthread/configure: File removed.
23577         * sysdeps/pthread/Makeconfig: New file.
23578         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23579         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23581 2012-08-16  Gary Benson  <gbenson@redhat.com>
23583         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23584         unmapping the first object in a namespace.
23586 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23588         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23589         (__internal_setnetgrent): ... this.  Add internal_function to
23590         definition.  Add libc_hidden_def.
23591         (setnetgrent): Update caller.
23592         (internal_endnetgrent): Renamed to ...
23593         (__internal_endnetgrent): ... this.  Add internal_function to
23594         definition.  Add libc_hidden_def.
23595         (endnetgrent): Update caller.
23596         (internal_getnetgrent_r): Renamed to ...
23597         (__internal_getnetgrent_r): ... this.  Add internal_function to
23598         definition.  Add libc_hidden_def.
23599         (__getnetgrent_r): Update caller.
23600         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
23602 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23604         * stdlib/longlong.h: Update from GCC.
23606 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23608         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23609         on _QL, which is set by umul_ppmm but never used.
23610         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23611         variables, which are set by GMP macros but never used.
23612         * stdio-common/_itowa.c (_itowa): Likewise.
23613         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23614         * stdlib/mod_1.c (mpn_mod_1): Likewise.
23616 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
23618         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23619         struct La_sh_regs is not constant.
23620         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23621         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23622         and struct La_sparc64_regs are not constant.
23624 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23626         * sysdeps/unix/sysv/linux/kernel-features.h
23627         (__ASSUME_POSIX_TIMERS): Remove.
23628         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23629         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23630         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23631         Make code unconditional.
23632         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23633         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23634         Make code unconditional.
23635         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23636         * sysdeps/unix/sysv/linux/clock_nanosleep.c
23637         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23638         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23639         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23640         Make code unconditional.
23641         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23642         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23643         (__libc_missing_posix_timers): Remove.
23645 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23647         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23648         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23650         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23652         * elf/dl-sym.c: Include <stdlib.h>.
23654         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23655         constants, which avoids warnings in 32-bit builds.
23657         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23658         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23660         * misc/lseek.c: File moved to ...
23661         * io/lseek.c: ... here.
23663         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23665         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23666         shifting LEN more than 31 bits at once.
23668 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23670         [BZ #14195]
23671         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23672         segmentation fault for a case of two empty input strings.
23673         * string/test-strncasecmp.c (check1): Renamed to...
23674         (bz12205): ...this.
23675         (bz14195): Add new testcase for two empty input strings and N > 0.
23676         (test_main): Call new testcase, adapt for renamed function.
23678 2012-08-15  Andreas Jaeger  <aj@suse.de>
23680         [BZ #14090]
23681         * crypt/md5test2.c: New test, based on test supplied by Serge
23682         Belyshev <belyshev@depni.sinp.msu.ru>.
23683         * crypt/Makefile (xtests): Add md5test-giant..
23684         * crypt/Makefile ($(objpfx)md5test-giant): Add.
23686 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
23688         [BZ #14090]
23689         * crypt/md5.c (md5_process_block): Don't assume the buffer
23690         length is less than 2**32.
23691         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23692         length is less than 2**64.
23694 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23696         * string/str-two-way.h: Include <sys/param.h>.
23697         (MAX): Macro removed.
23699         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23700         Move #define and #undef of memmove to just before and after
23701         including <string.h>.
23703         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23704         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23705         and after including <string.h>.  Move declarations of
23706         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23707         to before #include "string/memmove.c".
23709         * include/dirent.h: Declare __getdirentries.
23711         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23712         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23714 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
23716         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23717         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23718         * sysdeps/i386/configure: Regenerated.
23719         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23720         STABS_CURRENT_FILE, and STABS_FUN.
23721         (END): Remove call to STABS_FUN_END.
23722         (STABS_CURRENT_FILE1): Delete.
23723         (STABS_CURRENT_FILE): Likewise.
23724         (STABS_FUN): Likewise.
23725         (STABS_FUN_END): Likewise.
23726         (STABS_FUN2): Likewise.
23727         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23728         * sysdeps/x86_64/configure: Regenerated.
23730 2012-08-14  Roland McGrath  <roland@hack.frob.com>
23732         * elf/dl-open.c: Include <atomic.h>.
23733         * elf/dl-lookup.c: Likewise.
23735 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
23737         * sysdeps/unix/sysv/linux/kernel-features.h
23738         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23739         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23740         unconditionally.
23741         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23742         unconditionally.
23743         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23744         condition on __ASSUME_CLONE_THREAD_FLAGS.
23746 2012-08-14  Andreas Jaeger  <aj@suse.de>
23748         * sysdeps/i386/fpu/libm-test-ulps: Update.
23750 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
23752         * include/atomic.h (atomic_exchange_and_add): Split into ...
23753         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23754         New atomic macros.
23756 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
23758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23760 2012-08-13  Jeff Law <law@redhat.com>
23762         * manual/stdio.texi (snprintf): Clarify handling of the trailing
23763         null byte in the output string.
23765 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
23767         * sysdeps/unix/sysv/linux/kernel-features.h
23768         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23769         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23770         (__ASSUME_ARG_MAX_STACK_BASED): Define.
23771         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23772         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23773         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
23774         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23776 2012-08-09  Jeff Law <law@redhat.com>
23778         [BZ #13939]
23779         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23780         When avoid_arena is set, don't retry in the that arena.  Pick the
23781         next one, whatever it might be.
23782         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23783         (arena_lock): Pass in new parameter to arena_get2.
23784         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23785         arena_get2.
23786         (__libc_malloc): Unify retrying after main arena failure with
23787         __libc_memalign version.
23788         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23790 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
23792         [BZ #14166]
23793         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23794         to __redirect_strstr.
23795         (__strstr_sse42): Use typeof __redirect_strstr.
23796         (__strstr_ia32): Likewise.
23797         (__libc_strstr): New prototype.
23798         (strstr): Renamed to ...
23799         (__libc_strstr): This.
23800         (strstr): New strong alias of __libc_strstr.
23801         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23802         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23803         __redirect_time.
23804         Include <time.h>.
23805         (__libc_time): New prototype.
23806         (time_ifunc): Replace time with __libc_time.
23807         (time): New strong alias and hidden definition of __libc_time.
23808         (__GI_time): Remove strong alias.
23809         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23810         Include <stddef.h>.
23811         (memmove): Redefined to __redirect_memmove.
23812         (__memmove_sse2): Use typeof __redirect_memmove.
23813         (__memmove_ssse3): Likewise.
23814         (__memmove_ssse3_back): Likewise.
23815         (__libc_memmove): New prototype.
23816         (memmove): Renamed to ...
23817         (__libc_memmove): This.
23818         (memmove): New strong alias of __libc_memmove.
23820 2012-08-08  Mark Salter  <msalter@redhat.com>
23822         * elf/elf.h
23823         (R_MN10300_TLS_GD): Define.
23824         (R_MN10300_TLS_LD): Likewise.
23825         (R_MN10300_TLS_LDO): Likewise.
23826         (R_MN10300_TLS_GOTIE): Likewise.
23827         (R_MN10300_TLS_IE): Likewise.
23828         (R_MN10300_TLS_LE): Likewise.
23829         (R_MN10300_TLS_DTPMOD): Likewise.
23830         (R_MN10300_TLS_DTPOFF): Likewise.
23831         (R_MN10300_TLS_TPOFF): Likewise.
23832         (R_MN10300_SYM_DIFF): Likewise.
23833         (R_MN10300_ALIGN): Likewise.
23834         (R_MN10300_NUM): Update.
23836 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
23838         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23839         Remove.
23841 2012-08-08  Roland McGrath  <roland@hack.frob.com>
23843         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23845         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23846         sysdeps/unix -> sysdeps/posix move.
23847         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23849 2012-08-07      Allan McRae     <allan@archlinux.org>
23851         [BZ #14303]
23852         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23853         (SUNOS_CPP): Likewise.
23854         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23855         not found.
23856         (open_input): Call CPP using execvp.
23858 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23860         * sysdeps/unix/sysv/linux/kernel-features.h
23861         (__ASSUME_PROT_GROWSUPDOWN): Remove.
23862         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23863         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23864         (__ASSUME_WAITID_SYSCALL): Likewise.
23865         * sysdeps/unix/sysv/linux/dl-execstack.c
23866         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23867         code unconditional.
23868         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23869         conditional code.
23870         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23871         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23872         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23873         code.
23874         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23875         unconditional.
23876         [__ASSUME_WAITID_SYSCALL]: Likewise.
23877         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23879 2012-08-07  Roland McGrath  <roland@hack.frob.com>
23881         * sysdeps/unix/closedir.c: Renamed to ...
23882         * sysdeps/posix/closedir.c: ... here.
23883         * sysdeps/unix/dirfd.c: Renamed to ...
23884         * sysdeps/posix/dirfd.c: ... here.
23885         * sysdeps/unix/dirstream.h: Renamed to ...
23886         * sysdeps/posix/dirstream.h: ... here.
23887         * sysdeps/unix/fdopendir.c: Renamed to ...
23888         * sysdeps/posix/fdopendir.c: ... here.
23889         * sysdeps/unix/opendir.c: Renamed to ...
23890         * sysdeps/posix/opendir.c: ... here.
23891         * sysdeps/unix/readdir.c: Renamed to ...
23892         * sysdeps/posix/readdir.c: ... here.
23893         * sysdeps/unix/readdir_r.c: Renamed to ...
23894         * sysdeps/posix/readdir_r.c: ... here.
23895         * sysdeps/unix/rewinddir.c: Renamed to ...
23896         * sysdeps/posix/rewinddir.c: ... here.
23897         * sysdeps/unix/seekdir.c: Renamed to ...
23898         * sysdeps/posix/seekdir.c: ... here.
23899         * sysdeps/unix/telldir.c: Renamed to ...
23900         * sysdeps/posix/telldir.c: ... here.
23901         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23902         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23903         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23904         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23906         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23907         * bits/fcntl.h: ... here.
23909         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23910         not 0.
23911         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23912         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23913         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23914         (struct flock): Move l_start, l_len to the beginning.
23915         Use __pid_t for l_pid.
23916         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23917         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23918         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23919         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23920         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23921         [__USE_LARGEFILE64] (struct flock64): New type.
23922         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23924         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23925         * bits/dirent.h: ... here.
23927         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23928         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23930 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23932         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23933         Change from 2.6.0 to 2.6.16.
23934         * sysdeps/unix/sysv/linux/configure: Regenerated.
23935         * sysdeps/unix/sysv/linux/kernel-features.h
23936         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23937         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23938         version.
23939         (__ASSUME_UTIMES): Likewise.
23940         (__ASSUME_CLONE_STOPPED): Remove.
23941         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23942         architectures, not kernel version.
23943         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23944         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23945         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23946         (__ASSUME_WAITID_SYSCALL): Likewise.
23947         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23948         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23949         * README: State 2.6.16 as minimum Linux kernel version.  Do not
23950         refer to older versions.
23952 2012-08-06  Roland McGrath  <roland@hack.frob.com>
23954         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23955         Define alphasort64 as an alias.
23956         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23957         Define versionsort64 as an alias.
23958         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23959         Define scandir64 as an alias.
23960         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23961         Define scandirat64 as an alias.
23962         * dirent/alphasort64.c (alphasort64):
23963         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23964         * dirent/versionsort64.c: Likewise.
23965         * dirent/scandir64.c: Likewise.
23966         * dirent/scandirat64.c: Likewise.
23967         * sysdeps/wordsize-64/alphasort.c: File removed.
23968         * sysdeps/wordsize-64/alphasort64.c: File removed.
23969         * sysdeps/wordsize-64/scandir.c: File removed.
23970         * sysdeps/wordsize-64/scandir64.c: File removed.
23971         * sysdeps/wordsize-64/scandirat.c: File removed.
23972         * sysdeps/wordsize-64/scandirat64.c: File removed.
23973         * sysdeps/wordsize-64/versionsort.c: File removed.
23974         * sysdeps/wordsize-64/versionsort64.c: File removed.
23975         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23976         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23977         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23978         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23979         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23980         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23981         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23982         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23984         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23985         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23986         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23987         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23988         [defined __arch64__ || defined __sparcv9]
23989         (__INO_T_MATCHES_INO64_T): New macro.
23990         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23991         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23992         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23993         * sysdeps/unix/sysv/linux/bits/dirent.h
23994         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23995         (_DIRENT_MATCHES_DIRENT64): New macro.
23997         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23998         Define lockf64 as an alias.
23999         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24000         Define fseeko64 as an alias.
24001         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24002         Define ftello64 as an alias.
24003         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24004         Define _IO_fgetpos64 and fgetpos64 as aliases.
24005         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24006         Define _IO_fsetpos64 and fsetpos64 as aliases.
24007         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24008         Conditionalize body on this.
24009         * libio/fseeko64.c: Likewise.
24010         * libio/ftello64.c: Likewise.
24011         * libio/iofgetpos64.c: Likewise.
24012         * libio/iofsetpos64.c: Likewise.
24013         * sysdeps/wordsize-64/lockf.c: File removed.
24014         * sysdeps/wordsize-64/lockf64.c: File removed.
24015         * sysdeps/wordsize-64/fseeko.c: File removed.
24016         * sysdeps/wordsize-64/fseeko64.c: File removed.
24017         * sysdeps/wordsize-64/ftello.c: File removed.
24018         * sysdeps/wordsize-64/ftello64.c: File removed.
24019         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24020         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24021         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24022         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24023         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24024         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24025         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24026         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24027         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24028         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24029         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24030         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24031         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24032         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24034         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24035         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24036         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24037         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24038         [defined __arch64__ || defined __sparcv9]
24039         (__OFF_T_MATCHES_OFF64_T): New macro.
24040         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24041         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24043         (__OFF_T_MATCHES_OFF64_T): New macro.
24045 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24047         * stdlib/secure-getenv.c (__secure_getenv): Replace
24048         GLIBC_2_16 with GLIBC_2_17.
24050 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24052         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24053         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24055 2012-08-03  David S. Miller  <davem@davemloft.net>
24057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24059 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24061         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24062         Remove.
24063         (__ASSUME_CORRECT_SI_PID): Likewise.
24064         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24065         (__ASSUME_TMPFS_NAME): Likewise.
24066         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24067         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24068         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24069         (HAVE_AUX_SECURE): Make definition unconditional.
24070         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24071         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24073 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24075         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24076         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24077         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24078         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24079         __eloop_threshold instead of SYMLOOP_MAX.
24081         * sysdeps/generic/eloop-threshold.h: New file.
24082         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24083         of MAXSYMLINKS.
24084         * elf/chroot_canon.c (chroot_canon): Likewise.
24086 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24088         [BZ #13717]
24089         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24090         Change to 2.6.0 everywhere.
24091         * sysdeps/unix/sysv/linux/configure: Regenerated.
24092         * sysdeps/unix/sysv/linux/kernel-features.h
24093         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24094         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24095         kernel versions.
24096         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24097         (__ASSUME_FUTEX_REQUEUE): Remove.
24098         (__ASSUME_STATFS64): Define unconditionally.
24099         (__ASSUME_AT_SECURE): Likewise.
24100         (__ASSUME_CORRECT_SI_PID): Likewise.
24101         (__ASSUME_TGKILL): Define without depending on kernel version for
24102         i386.
24103         (__ASSUME_UTIMES): Likewise.
24104         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24105         kernel version.
24106         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24107         (__ASSUME_TMPFS_NAME): Likewise.
24108         * README: Update reference to Linux kernel versions.
24110 2012-08-02  Marek Polacek  <polacek@redhat.com>
24112         [BZ# 14150]
24113         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24114         libc_cv_asm_type_prefix with %.
24115         * configure: Regenerated.
24116         * include/libc-symbols.h: Remove comment about
24117         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24118         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24119         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24120         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24121         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24122         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24123         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24124         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24125         * elf/tst-unique2mod1.c: Likewise.
24126         * elf/tst-unique1mod2.c: Likewise.
24127         * elf/tst-unique1mod1.c: Likewise.
24128         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24129         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24130         Replace ASM_TYPE_DIRECTIVE with .type.
24131         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24132         * sysdeps/i386/sysdep.h: Likewise.
24133         * sysdeps/x86_64/sysdep.h: Likewise.
24134         * sysdeps/sh/sysdep.h: Likewise.
24135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24136         Do not define ASM_TYPE_DIRECTIVE.
24137         * sysdeps/powerpc/sysdep.h: Likewise.
24138         * sysdeps/powerpc/powerpc32/sysdep.h:
24139         Replace ASM_TYPE_DIRECTIVE with .type.
24140         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24141         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24142         * sysdeps/i386/fpu/e_powf.S: Likewise.
24143         * sysdeps/i386/fpu/e_expl.S: Likewise.
24144         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24145         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24146         * sysdeps/i386/fpu/e_pow.S: Likewise.
24147         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24148         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24149         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24150         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24151         * sysdeps/i386/fpu/e_log2.S: Likewise.
24152         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24153         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24154         * sysdeps/i386/fpu/e_powl.S: Likewise.
24155         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24156         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24157         * sysdeps/i386/fpu/e_logl.S: Likewise.
24158         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24159         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24160         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24161         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24162         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24163         * sysdeps/i386/fpu/e_log.S: Likewise.
24164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24165         * sysdeps/i386/fpu/e_logf.S: Likewise.
24166         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24167         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24168         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24169         * sysdeps/i386/fpu/e_log10.S: Likewise.
24170         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24171         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24172         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24173         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24174         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24175         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24176         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24177         * sysdeps/i386/i686/strtok.S: Likewise.
24178         * sysdeps/i386/i386-mcount.S: Likewise.
24179         * sysdeps/i386/strtok.S: Likewise.
24180         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24181         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24182         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24183         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24184         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24185         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24186         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24187         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24188         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24189         * sysdeps/x86_64/_mcount.S: Likewise.
24190         * sysdeps/x86_64/strtok.S: Likewise.
24191         * sysdeps/sh/_mcount.S: Likewise.
24193 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24195         * libio/iofopen.c: Include <fcntl.h>.
24196         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24197         (_IO_fopen64, fopen64): Define as aliases.
24198         * libio/iofopen64.c: Include <fcntl.h>.
24199         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24200         Conditionalize body on this.
24201         * sysdeps/wordsize-64/iofopen.c: File removed.
24202         * sysdeps/wordsize-64/iofopen64.c: File removed.
24204 2012-08-01  Marek Polacek  <polacek@redhat.com>
24206         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24207         Use dlfcn directly instead of a variable.
24208         (binfmt-subdir): Do not define.
24209         (dlfcn): Likewise.
24211 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24213         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24214         Remove all definitions.
24215         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24216         <kernel-features.h>.
24217         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24218         (miss_F_GETOWN_EX): Remove all definitions.
24219         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24220         macro definition.
24221         [!__ASSUME_FCNTL64]: Remove conditional code.
24222         [__ASSUME_FCNTL64]: Make code unconditional.
24223         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24224         <kernel-features.h>.
24225         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24226         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24227         (lockf64) [__NR_fcntl64]: Make code unconditional.
24228         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24230         * sysdeps/unix/sysv/linux/kernel-features.h
24231         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24232         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24233         Make code unconditional.
24234         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24235         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24237         [__NR_vfork]: Make code unconditional.
24238         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24239         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24241         [__NR_vfork]: Make code unconditional.
24242         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24243         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24245 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24247         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24248         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24250         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24251         Define mkstemp64 as an alias.
24252         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24253         Define mkstemps64 as an alias.
24254         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24255         Define mkostemp64 as an alias.
24256         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24257         Define mkostemps64 as an alias.
24258         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24259         Conditionalize body on this.
24260         * misc/mkostemp64.c: Likewise.
24261         * misc/mkostemps64.c: Likewise.
24262         * misc/mkstemps64.c: Likewise.
24263         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24264         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24265         * sysdeps/wordsize-64/mkostemp.c: File removed.
24266         * sysdeps/wordsize-64/mkstemp.c: File removed.
24267         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24268         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24269         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24270         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24272         [BZ #14138]
24273         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24274         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24275         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24276         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24278         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24279         compat_symbol macros from <shlib-compat.h> rather than the underlying
24280         default_symbol_version and symbol_version macros, so that DEFAULT
24281         lines in shlib-versions are respected.
24282         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24284 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24286         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24287         Declare with warn_unused_result.
24288         (setgid, setregid, setegid, setresgid): Likewise.
24289         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24290         Likewise.
24291         * WUR-REPORT: Remove set*id functions.
24293 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24295         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24297 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24299         [BZ #10191]
24300         * include/sys/socket.h (__libc_accept, __libc_accept4):
24301         Add attribute_hidden.
24302         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24304         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24305         use of PTR_MANGLE.
24306         * inet/getnetgrent_r.c (setup): Likewise.
24308         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24310 2012-07-31  David S. Miller  <davem@davemloft.net>
24312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24314 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
24316         [BZ #13629]
24317         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24318         value between 1.0 and 2.0 and smaller part has absolute value less
24319         than 1.0.
24320         * math/s_clog10.c (__clog10): Likewise.
24321         * math/s_clog10f.c (__clog10f): Likewise.
24322         * math/s_clog10l.c (__clog10l): Likewise.
24323         * math/s_clogf.c (__clogf): Likewise.
24324         * math/s_clogl.c (__clogl): Likewise.
24325         * math/libm-test.inc (clog_test): Add more tests.
24326         (clog10_test): Likewise.
24327         * sysdeps/i386/fpu/libm-test-ulps: Update.
24328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24330 2012-07-31  Florian Weimer  <fweimer@redhat.com>
24332         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24333         Exit with zero in case no suitable GID is found, and write a
24334         message to standard error.
24336 2012-07-30  Roland McGrath  <roland@hack.frob.com>
24338         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24339         rather than to 1.
24340         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24341         (MAXPATHLEN): Removed.
24342         (NOGROUP, NODEV): New macros.
24343         (setbit, clrbit, isset, isclr): New macros.
24344         (howmany, roundup, powerof2): New macros.
24345         (DEV_BSIZE): New macro.
24347         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24348         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24350         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24351         definition on [!__NO_LONG_DOUBLE_MATH].
24353         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24354         PTR_MANGLE and PTR_DEMANGLE.
24356         * socket/accept4.c (accept4): Rename to __libc_accept4.
24357         Define accept4 as a weak alias.
24359         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24360         on [_DIRENT_HAVE_D_TYPE].
24361         * io/ftw.c (ftw_dir): Likewise.
24363         * io/xmknod.c (__xmknod): Don't check PATH for being null.
24365         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24367         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24368         Use the BSD numbers rather than the arbitrary ones we had.
24369         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24370         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24371         (SIGXCPU, SIGXFSZ): New macros.
24372         (_NSIG): Now 32.
24374         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24375         initializer on [_LIBC_REENTRANT].
24377         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24378         definitions inside [_POSIX_MAPPED_FILES].
24380         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24382         * dirent/opendir.c: Include <fcntl.h>.
24384         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24385         (__libc_getspecific): Likewise.
24386         (__libc_key_create): Likewise.
24388         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24389         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24390         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24391         (tmpfile64): Define as alias.
24392         * sysdeps/wordsize-64/tmpfile.c: File removed.
24393         * sysdeps/wordsize-64/tmpfile64.c: File removed.
24394         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24395         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24397         * stdio-common/vfscanf.c: Include <stdbool.h>.
24398         * nss/makedb.c: Likewise.
24399         * stdio-common/_i18n_number.h: Likewise.
24400         * argp/argp-help.c: Likewise.
24401         * posix/wordexp.c: Likewise.
24402         * sysdeps/posix/spawni.c: Likewise.
24403         * nss/nss_files/files-initgroups.c: Likewise.
24404         * stdio-common/reg-modifier.c: Include <stdlib.h>.
24405         * nss/nss_files/files-initgroups.c: Likewise.
24406         * nss/nss_db/db-netgrp.c: Likewise.
24407         * nss/nss_db/db-initgroups.c: Likewise.
24408         * io/fchmodat.c: Include <sys/stat.h>.
24410         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24411         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24413         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24414         [HAVE_MMAP].
24416         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24417         Add multiple inclusion protection.
24419 2012-07-27  David S. Miller  <davem@davemloft.net>
24421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24423 2012-07-27  Gary Benson  <gbenson@redhat.com>
24425         [BZ #14298]
24426         * elf/rtld.c: Include <stap-probe.h>.
24427         (dl_main): Added static probes "init_start" and "init_complete".
24428         * elf/dl-load.c: Include <stap-probe.h>.
24429         (lose): Take new parameter "nsid".
24430         Added static probe "map_failed".
24431         (_dl_map_object_from_fd): Pass namespace id to lose.
24432         Added static probe "map_start".
24433         (open_verify): Pass namespace id to lose.
24434         * elf/dl-open.c: Include <stap-probe.h>.
24435         (dl_open_worker) Added static probes "map_complete", "reloc_start"
24436         and "reloc_complete".
24437         * elf/dl-close.c: Include <stap-probe.h>.
24438         (_dl_close_worker): Added static probes "unmap_start" and
24439         "unmap_complete".
24440         * elf/rtld-debugger-interface.txt: New file documenting the above.
24442 2012-07-26  Roland McGrath  <roland@hack.frob.com>
24444         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24445         rather than a string variable.
24446         * sunrpc/rpc_main.c (h_output): Likewise.
24447         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24449 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
24451         * inet/check_native.c: New file.
24453 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
24455         [BZ #13629]
24456         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24457         if larger part has absolute value 1.0.
24458         * math/s_clog10.c (__clog10): Likewise.
24459         * math/s_clog10f.c (__clog10f): Likewise.
24460         * math/s_clog10l.c (__clog10l): Likewise.
24461         * math/s_clogf.c (__clogf): Likewise.
24462         * math/s_clogl.c (__clogl): Likewise.
24463         * math/libm-test.inc (clog_test): Add more tests.
24464         (clog10_test): Likewise.
24465         * sysdeps/i386/fpu/libm-test-ulps: Update.
24466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24468         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24469         (pltexit): Likewise.
24470         (La_regs): Likewise.
24471         (La_retval): Likewise.
24472         (int_retval): Likewise.
24473         Update #error for removed macros to refer only to definitions in
24474         tst-audit.h.
24475         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24476         macro.
24477         (pltexit): Likewise.
24478         (La_regs): Likewise.
24479         (La_retval): Likewise.
24480         (int_retval): Likewise.
24481         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24482         macro.
24483         (pltexit): Likewise.
24484         (La_regs): Likewise.
24485         (La_retval): Likewise.
24486         (int_retval): Likewise.
24487         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24488         macro.
24489         (pltexit): Likewise.
24490         (La_regs): Likewise.
24491         (La_retval): Likewise.
24492         (int_retval): Likewise.
24493         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24494         macro.
24495         (pltexit): Likewise.
24496         (La_regs): Likewise.
24497         (La_retval): Likewise.
24498         (int_retval): Likewise.
24499         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24500         macro.
24501         (pltexit): Likewise.
24502         (La_regs): Likewise.
24503         (La_retval): Likewise.
24504         (int_retval): Likewise.
24505         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24506         macro.
24507         (pltexit): Likewise.
24508         (La_regs): Likewise.
24509         (La_retval): Likewise.
24510         (int_retval): Likewise.
24511         * sysdeps/generic/tst-audit.h: Update comment to refer only to
24512         macro definitions in tst-audit.h.
24513         * sysdeps/i386/tst-audit.h: New file.
24514         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24515         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24516         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24517         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24518         * sysdeps/sh/tst-audit.h: Likewise.
24519         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24520         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24521         * sysdeps/x86_64/tst-audit.h: Likewise.
24523 2012-07-26  Andreas Jaeger  <aj@suse.de>
24525         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24526         ptrace.
24528         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24529         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24530         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24531         PTRACE_O_MASK.
24532         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24533         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24534         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24536         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24537         value.
24539         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24540         _sigsys.
24541         (si_call_addr, si_syscall, si_arch): Define new macro.
24542         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24543         _sigsys.
24544         (si_call_addr, si_syscall, si_arch): Define new marcro.
24545         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24546         _sigsys.
24547         (si_call_addr, si_syscall, si_arch): Define new macro.
24548         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24549         _sigsys.
24550         (si_call_addr, si_syscall, si_arch): Define new macro.
24552 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24554         [BZ #13717]
24555         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24556         Change to 2.4.21 where previously 2.4.1.
24557         * sysdeps/unix/sysv/linux/configure: Regenerated.
24558         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24559         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24560         Linux kernel version.
24561         (__ASSUME_STD_AUXV): Remove.
24562         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24563         kernel version.
24564         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24565         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24566         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24567         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24568         (__ASSUME_NETLINK_SUPPORT): Likewise.
24569         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24570         (__no_netlink_support): Remove conditional definition.
24571         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24572         Remove.
24573         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24574         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24575         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24576         (if_nameindex_ioctl): Remove.
24577         (if_nameindex_netlink): Do not handle __no_netlink_support.
24578         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24579         code.
24580         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24581         Remove conditional code.
24582         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24583         code.
24584         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24585         unconditional.
24586         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24587         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24588         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24589         Remove.
24590         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24591         [!__ASSUME_STD_AUXV]: Remove conditional code.
24592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24593         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24594         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24596         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24597         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24598         code.
24599         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24601         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24602         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24603         conditional code.
24604         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24606         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24607         code.
24608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24609         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24610         conditional code.
24611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24612         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24613         code unconditional.
24614         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24615         conditional code.
24616         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24617         unconditional.
24618         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24619         conditional code.
24620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24621         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24622         unconditional.
24623         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24624         conditional code.
24625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24626         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24627         code unconditional.
24628         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24629         conditional code.
24630         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24631         unconditional.
24632         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24633         conditional code.
24634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24635         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24636         code unconditional.
24637         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24638         conditional code.
24639         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24640         unconditional.
24641         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24642         conditional code.
24644 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
24646         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24647         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24648         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24649         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24650         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24651         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24652         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24653         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24654         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24655         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24656         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24657         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24658         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24659         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24660         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24661         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24662         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24663         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24664         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24666         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24667         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24668         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24670 2012-07-25  Florian Weimer  <fweimer@redhat.com>
24672         * Versions.def: Add GLIBC_2.17.
24673         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24674         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24675         Introduce __libc_secure_getenv.
24676         * stdlib/Versions (2.17): Add secure_getenv
24677         (GLIBC_PRIVATE): Add __libc_secure_getenv.
24678         * stdlib/secure-getenv.c: Rename __secure_getenv to
24679         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
24680         symbol __secure_getenv for GLIBC_2.0.
24681         * stdlib/tst-secure-getenv.c: New.
24682         * stdlib/Makefile (tests): Add testcase.
24683         * manual/startup.texi (Environment Access): Document
24684         secure_getenv.
24685         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24686         __libc_secure_getenv.
24687         * inet/ruserpass.c (ruserpass): Likewise.
24688         * malloc/mtrace.c (mtrace): Likewise.
24689         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24690         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24691         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24692         * sysdeps/posix/tempname.c: Likewise.  Evaluate
24693         HAVE_SECURE_GETENV.
24694         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24695         __secure_getenv to __libc_secure_getenv.
24696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24698         Likewise.
24699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24700         Likewise.
24701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24703         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24709 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24711         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24712         (struct La_i86_retval): Likewise.
24713         (struct La_x86_64_regs): Likewise.
24714         (struct La_x86_64_retval): Likewise.
24715         (struct La_x32_regs): Likewise.
24716         (struct La_x32_retval): Likewise.
24717         (struct La_ppc32_regs): Likewise.
24718         (struct La_ppc32_retval): Likewise.
24719         (struct La_ppc64_regs): Likewise.
24720         (struct La_ppc64_retval): Likewise.
24721         (struct La_sh_regs): Likewise.
24722         (struct La_sh_retval): Likewise.
24723         (struct La_s390_32_regs): Likewise.
24724         (struct La_s390_32_retval): Likewise.
24725         (struct La_s390_64_regs): Likewise.
24726         (struct La_s390_64_retval): Likewise.
24727         (struct La_sparc32_regs): Likewise.
24728         (struct La_sparc32_retval): Likewise.
24729         (struct La_sparc64_regs): Likewise.
24730         (struct La_sparc64_retval): Likewise.
24731         (struct audit_ifaces): Remove architecture-specific pltenter and
24732         pltexit members.
24733         * sysdeps/i386/ldsodefs.h: New file.
24734         * sysdeps/powerpc/ldsodefs.h: Likewise.
24735         * sysdeps/s390/ldsodefs.h: Likewise.
24736         * sysdeps/sh/ldsodefs.h: Likewise.
24737         * sysdeps/sparc/ldsodefs.h: Likewise.
24738         * sysdeps/x86_64/ldsodefs.h: Likewise.
24740 2012-07-25  Marek Polacek  <polacek@redhat.com>
24742         [BZ #6808]
24743         * math/libm-test.inc (yn_test): Add another test.
24744         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24745         to ERANGE when the result is +-Inf.
24746         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24747         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24748         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24749         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24751 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
24753         * conform/data/time.h-data (NULL): Use macro-constant.  Require
24754         equal to 0.
24755         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
24756         clock_t.
24757         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
24759 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
24761         * configure.in <sysdeps resolving>: Correct printing
24762         Implies_before.
24763         * configure: Regenerate.
24765 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
24767         * math/w_ilogb.c: Include <limits.h>.
24768         * math/w_ilogbl.c: Likewise.
24770 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24772         * manual/lang.texi (__va_copy): Document primarily as ISO C99
24773         va_copy.  Document allowing for unavailable va_copy only as
24774         pre-C99 compatibility.
24775         * manual/string.texi (Copying and Concatenation): Use va_copy
24776         instead of __va_copy in concat example.
24778 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
24780         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24781         (__sendto): Use create_address_port.  Initialize APORT and deallocate
24782         it if not null.
24784         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24785         with O_NOLINK passed to __file_name_lookup.
24787         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24788         with O_NOLINK passed to __file_name_lookup.
24790         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24791         negative N or less than NGIDS.
24793         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24794         type to string_t.  Set ERANGE as errno and return it if NAME is not big
24795         enough.  Use memcpy instead of strncpy.
24797 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24799         * elf/Makefile (check-data): Remove.
24800         (localplt.data): New vpath directive.
24801         ($(objpfx)check-localplt.out): Use localplt.data from vpath
24802         instead of $(check-data).
24803         * scripts/data/localplt-generic.data: Move to ...
24804         * sysdeps/generic/localplt.data: ... here.
24805         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24806         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24807         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24809         ... here.
24810         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24812         ... here.
24813         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24815         ... here.
24816         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24818         ... here.
24819         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24821         ... here.
24822         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24824         ... here.
24826 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24828         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24829         PPC32 and PPC64 files.
24830         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24831         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24833 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24835         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24836         __makecontext_ret to ...
24837         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24838         ... here and call exit if uc_link is NULL.  New file.
24839         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24840         __makecontext_ret.S.
24841         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24842         __makecontext_ret to ...
24843         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24844         ... here and call exit if uc_link is NULL.  New file.
24845         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24846         __makecontext_ret.S.
24848 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24850         * elf/elf.h (R_390_IRELATIVE): New definition.
24851         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24852         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
24853         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24854         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24855         (elf_machine_lazy_rel): Likewise.
24856         * sysdeps/s390/dl-irel.h: New file.
24857         * sysdeps/s390/s390-64/memcpy.S: New asm code.
24858         * sysdeps/s390/s390-64/memset.S: New asm code.
24859         * sysdeps/s390/s390-64/memcmp.S: New asm code.
24860         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24861         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24862         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24863         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24864         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24865         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24866         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24867         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24868         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24869         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24870         * sysdeps/s390/s390-32/memcpy.S: New asm code.
24871         * sysdeps/s390/s390-32/memset.S: New asm code.
24872         * sysdeps/s390/s390-32/memcmp.S: New asm code.
24874 2012-07-17  Marek Polacek  <polacek@redhat.com>
24876         [BZ #14349]
24877         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24878         * sysdeps/s390/s390-64/configure.in: Likewise.
24879         * sysdeps/sparc/configure.in: Likewise.
24880         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24881         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24882         * sysdeps/i386/configure.in: Likewise.
24883         * sysdeps/x86_64/configure.in: Likewise.
24884         * sysdeps/sh/configure.in: Likewise.
24885         * sysdeps/s390/s390-32/configure: Regenerated.
24886         * sysdeps/s390/s390-64/configure: Likewise.
24887         * sysdeps/x86_64/configure: Likewise.
24888         * sysdeps/sh/configure: Likewise.
24889         * sysdeps/powerpc/powerpc64/configure: Likewise.
24890         * sysdeps/powerpc/powerpc32/configure: Likewise.
24891         * sysdeps/sparc/configure: Likwise.
24892         * sysdeps/i386/configure: Likewise.
24894         * elf/dl-open.c: Comment fixes.
24896 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
24898         * Makefile [CXX] (check-data): Remove.
24899         [CXX] (c++-types.data): New vpath directive.
24900         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24901         vpath.  Do not allow for C++ type data being missing.
24902         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24903         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24904         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24905         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24906         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24907         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24908         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24910         ... here.
24911         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24913         ... here.
24914         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24916         ... here.
24917         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24919         ... here.
24920         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24922         ... here.
24923         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24925         ... here.
24926         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24928         ... here.
24929         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24932         * elf/tls-macros.h (TLS_LE): Move architecture-specific
24933         definitions to architecture-specific files.
24934         (TLS_IE): Likewise.
24935         (TLS_LD): Likewise.
24936         (TLS_GD): Likewise.
24937         * sysdeps/i386/tls-macros.h: New file.
24938         * sysdeps/powerpc/tls-macros.h: Likewise.
24939         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24940         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24941         * sysdeps/sh/tls-macros.h: Likewise.
24942         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24943         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24944         * sysdeps/x86_64/tls-macros.h: Likewise.
24946 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24948         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24949         zero value for regular exit case.
24951         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24952         (__start_context): Preserve zero value for regular exit case.
24954 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24955             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24957         * manual/setjmp.texi (setcontext): Clarify normal process
24958         termination when uc_link is the null pointer.
24959         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24960         exit call.
24962 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
24964         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24965         preprocessor.  Test for each exception mask separately.
24967 2012-07-16  Andreas Jaeger  <aj@suse.de>
24969         * po/ru.po: Update from translation team.
24971 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
24973         * conform/data/string.h-data (NULL): Use macro-constant.  Require
24974         equal to 0.
24975         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24976         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24977         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24978         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24981 2012-07-13  Andreas Jaeger  <aj@suse.de>
24983         * po/fr.po: Update from translation team.
24985 2012-07-12  Marek Polacek  <polacek@redhat.com>
24987         [BZ #14173]
24988         * math/libm-test.inc (yn_test): Add test for BZ #14173.
24989         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24990         loop condition.
24992 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
24994         [BZ #13717]
24995         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24996         Change to 2.4.1 where previously 2.4.0.
24997         * sysdeps/unix/sysv/linux/configure: Regenerated.
24998         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24999         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25000         version.
25001         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25002         (__ASSUME_AT_CLKTCK): Remove.
25003         (__ASSUME_AT_PAGESIZE): Likewise.
25004         (__ASSUME_AT_XID): Likewise.
25005         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25006         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25007         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25008         unconditionally.
25009         (HAVE_AUX_PAGESIZE): Likewise.
25010         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25011         [__ASSUME_AT_CLKTCK]: Make code unconditional.
25012         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25014 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25016         [BZ #14307]
25017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25018         the temporary buffer used to invoke __gethostbyname2_r,
25019         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25020         host_data / struct gaih_addrtuple.
25021         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25022         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25023         header file nss/nsswitch.h.
25024         * nss/nsswitch.h (global scope): Add definition of implementation
25025         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25026         resolv/nss_dns/dns-host.c).
25028 2012-07-11  Andreas Jaeger  <aj@suse.de>
25030         * po/fr.po: Update from translation team.
25032         * po/sv.po: Update from translation team
25033         * po/fr.po: Another update from translation team.
25035 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25037         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25038         for subnormals or multiply small sinh result by itself.
25039         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25042 2012-07-11  David S. Miller  <davem@davemloft.net>
25044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25046 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25048         [BZ #14347]
25049         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25050         (INTERNAL_MARK): Shift it here.
25052 2012-07-10  Marek Polacek  <polacek@redhat.com>
25054         [BZ #14151]
25055         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25056         libc_cv_asm_global_directive with .globl.
25057         * configure: Regenerated.
25058         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25059         with .globl.
25060         * sysdeps/i386/configure: Regenerated.
25061         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25062         with .globl.
25063         * sysdeps/x86_64/configure: Regenerated.
25064         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25065         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25066         * elf/tst-unique2mod2.c: Likewise.
25067         * elf/tst-unique2mod1.c: Likewise.
25068         * elf/tst-unique1mod2.c: Likewise.
25069         * elf/tst-unique1mod1.c: Likewise.
25070         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25071         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25072         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25073         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25074         * sysdeps/mach/sysdep.h: Likewise.
25075         * sysdeps/i386/sysdep.h: Likewise.
25076         * sysdeps/i386/i386-mcount.S: Likewise.
25077         * sysdeps/x86_64/_mcount.S: Likewise.
25078         * sysdeps/x86_64/sysdep.h: Likewise.
25079         * sysdeps/sh/_mcount.S: Likewise.
25080         * sysdeps/sh/sysdep.h: Likewise.
25081         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25082         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25083         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25084         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25085         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25086         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25087         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25088         * locale/localeinfo.h: Likewise.
25089         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25090         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25092 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25094         [BZ #14336]
25095         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25096         system".
25097         * manual/message.texi (The Uniforum approach): Likewise.
25098         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25099         (glibc iconv Implementation): Likewise.
25101 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25103         [BZ #14337]
25104         * math/s_clog.c (__clog): Avoid scaling a value down where that
25105         could result in underflow.
25106         * math/s_clog10.c (__clog10): Likewise.
25107         * math/s_clog10f.c (__clog10f): Likewise.
25108         * math/s_clog10l.c (__clog10l): Likewise.
25109         * math/s_clogf.c (__clogf): Likewise.
25110         * math/s_clogl.c (__clogl): Likewise.
25111         * math/libm-test.inc (clog_test): Add more tests.
25112         (clog10_test): Likewise.
25113         * sysdeps/i386/fpu/libm-test-ulps: Update.
25114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25116 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25118         [BZ #14283]
25119         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25120         by 7 not 8 to examine high bit of fractional part.
25122         [BZ #14042]
25123         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25124         for call to __mcount_internal.
25125         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25126         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25127         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25129 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25131         [BZ #14154]
25132         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25133         approximation for values within 0x1p-13f of an odd multiple of
25134         pi/4.
25135         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25136         exception.  Add more tests.
25137         * sysdeps/i386/fpu/libm-test-ulps: Update.
25139         [BZ #6778]
25140         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25141         inputs and return -1 for them.  Do not check for +Inf in case not
25142         reachable for +Inf.
25143         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25144         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25145         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25146         and return -1 for them.  Do not check for +Inf in case not
25147         reachable for +Inf.
25148         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25149         define.
25150         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25151         and return -1 for them.  Do not check for +Inf in case not
25152         reachable for +Inf.
25153         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25154         spurious underflow.
25155         * sysdeps/i386/fpu/libm-test-ulps: Update.
25156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25158 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25160         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25162 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25164         [BZ #14157]
25165         [BZ #14331]
25166         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25167         could result in spurious underflow.  Scale down values above
25168         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25169         * math/s_csqrtf.c (__csqrtf): Likewise.
25170         * math/s_csqrtl.c (__csqrtl): Likewise.
25171         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25172         spurious underflow.
25173         * sysdeps/i386/fpu/libm-test-ulps: Update.
25174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25176 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25178         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25179         xopen-msg.sed.
25180         * catgets/xopen-msg.awk: New file.
25181         * catgets/xopen-msg.sed: Removed.
25183         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25184         po2text.sed.
25185         * intl/po2test.awk: New file.
25186         * intl/po2test.sed: Removed.
25188 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25190         [BZ #14328]
25191         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25192         or multiply small sinh result by itself.
25193         * math/s_ctanf.c (__ctanf): Likewise.
25194         * math/s_ctanh.c (__ctanh): Likewise.
25195         * math/s_ctanhf.c (__ctanhf): Likewise.
25196         * math/s_ctanhl.c (__ctanhl): Likewise.
25197         * math/s_ctanl.c (__ctanl): Likewise.
25198         * math/libm-test.inc (ctan_test_tonearest): New function.
25199         (ctan_test_towardzero): Likewise.
25200         (ctan_test_downward): Likewise.
25201         (ctan_test_upward): Likewise.
25202         (ctanh_test_tonearest): Likewise.
25203         (ctanh_test_towardzero): Likewise.
25204         (ctanh_test_downward): Likewise.
25205         (ctanh_test_upward): Likewise.
25206         (main): Call these new functions.
25207         * sysdeps/i386/fpu/libm-test-ulps: Update.
25208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25210 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25212         * .gitignore: Delete /ports entry.
25214 2012-07-03  Andreas Jaeger  <aj@suse.de>
25216         * po/bg.po: Update from translation team.
25217         * po/cs.po: Likewise.
25218         * po/de.po: Likewise.
25219         * po/hr.po: Likewise.
25220         * po/nl.pl: Likewise.
25221         * po/pl.po: Likewise.
25222         * po/vi.po: Likewise.
25224 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25226         * Makeconfig [!+link] (+link-before-libc): New variable.
25227         [!+link] (+link-after-libc): Likewise.
25228         [!+link] (+link-tests): Likewise.
25229         [!+link] (+link): Define in terms of $(+link-before-libc) and
25230         $(+link-after-libc).
25231         [!+link-static] (+link-static-before-libc): New variable.
25232         [!+link-static] (+link-static-after-libc): Likewise.
25233         [!+link-static] (+link-static-tests): Likewise.
25234         [!+link-static] (+link-static): Define in terms of
25235         $(+link-static-before-libc) and $(+link-static-after-libc).
25236         [build-shared] (link-libc-before-gnulib): New variable.
25237         [build-shared] (link-libc-tests): Likewise.
25238         [build-shared] (link-libc): Define in terms of
25239         $(link-libc-before-gnulib).
25240         [!build-shared] (link-libc-tests): New variable.
25241         (link-libc-static-tests): New variable.
25242         [!gnulib] (gnulib-arch): New variable.
25243         [!gnulib] (gnulib-tests): Likewise.
25244         [!gnulib] (static-gnulib-arch): Likewise.
25245         [!gnulib] (static-gnulib-tests): Likewise.
25246         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25247         Define with "=" instead of ":=".
25248         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25249         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25250         * Rules (binaries-all-notests): New variable.
25251         (binaries-all-tests): Likewise.
25252         (binaries-static-notests): Likewise.
25253         (binaries-static-tests): Likewise.
25254         (binaries-all): Define using $(binaries-all-notests) and
25255         $(binaries-all-tests).
25256         (binaries-static): Define using $(binaries-static-notests) and
25257         $(binaries-static-tests).
25258         (binaries-shared-tests): New variable.
25259         (binaries-shared-notests): Likewise.
25260         (binaries-shared): Remove variable.
25261         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25262         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25263         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25264         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25265         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25266         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25267         * elf/Makefile (sln-modules): New variable.
25268         (extra-objs): Add $(sln-modules:=.o).
25269         (ldconfig-modules): Add static-stubs.
25270         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25271         * elf/static-stubs.c: New file.
25273         [BZ #14283]
25274         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25275         by 7 not 8 to examine high bit of fractional part.  Use volatile
25276         variables when splitting into final array of floats if
25277         __FLT_EVAL_METHOD__ != 0.
25278         * math/libm-test.inc (cos_test): Add another test.
25279         (sin_test): Likewise.
25280         * sysdeps/i386/fpu/libm-test-ulps: Update.
25282         [BZ #14273]
25283         * math/libm-test.inc (cosh_test): Add more tests.
25285         * version.h (RELEASE): Set to "development".
25286         (VERSION): Set to "2.16.90".
25288 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25290         * NEWS: Update copyright. Remove last-updated date.
25291         Mention math library bug fixes and timezone data changes.
25292         * README: Mention GNU/Hurd, x32, and HPPA support status.
25294 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25296         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25298 2012-06-27  Andreas Jaeger  <aj@suse.de>
25300         * manual/contrib.texi (Contributors): Add Samuel Thibault.
25302 2012-06-25  Andreas Jaeger  <aj@suse.de>
25304         * sysdeps/s390/fpu/libm-test-ulps: Update.
25306 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
25307             Thomas Schwinge  <thomas@codesourcery.com>
25309         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25310         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25311         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25312         fanotify_mark.
25314 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
25316         * sysdeps/mach/start.c: Remove file.
25317         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25318         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25319         * sysdeps/sh/init-first.c: Likewise.
25321         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25322         registers for frame unwinding purposes, add CFI directives.
25323         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25324         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25325         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25326         Likewise.
25328         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25329         __fortify_fail returning.
25330         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25332         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25333         sysdeps/sh/____longjmp_chk.S.
25334         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25335         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25336         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25337         (gen-as-const-headers): Append sigaltstack-offsets.sym.
25339         * sysdeps/sh/abort-instr.h: New file.
25340         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25341         process in case exit returns.
25343         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25344         initialize the GOT register before use.
25346         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25347         calculation of ARGC > 4.
25349         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25350         meaningful names to some local labels.
25352 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25353             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25355         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25356         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25357         (__arch_compare_and_exchange_val_16_acq): Likewise.
25358         (__arch_compare_and_exchange_val_32_acq): Likewise.
25359         (atomic_exchange_and_add): Fix gUSA sequence.
25360         (atomic_add): Likewise.
25361         (atomic_add_negative): Likewise.
25362         (atomic_add_zero): Likewise.
25363         (atomic_bit_test_set): Likewise.
25365 2012-06-22  Andreas Schwab  <schwab@redhat.com>
25367         [BZ #13579]
25368         * include/link.h (struct link_map): Add l_free_initfini.
25369         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25370         l_initfini.
25371         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25372         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25373         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25374         set.
25376 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
25378         * configure.in: Use AC_LANG_SOURCE.
25379         * configure: Regenerate.
25381 2012-06-22  Roland McGrath  <roland@hack.frob.com>
25383         * configure.in (libc_cv_localstatedir): New substituted variable.
25384         * configure: Regenerated.
25385         * config.make.in (localstatedir): New variable, substituted from
25386         libc_cv_localstatedir.
25387         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25388         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25389         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25390         * sysdeps/gnu/configure: Regenerated.
25392 2012-06-21  Jeff Law  <law@redhat.com>
25394         [BZ #14277]
25395         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25396         free.  Simplify list management for _LIBC case.
25398 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
25400         [BZ #14273]
25401         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25402         Clear sign bit of 64-bit integer value before comparing against
25403         overflow value.
25405         * sysdeps/mach/configure: Regenerated.
25407 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
25409         [BZ #14278]
25410         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25412 2012-06-21  Jeff Law  <law@redhat.com>
25414         [BZ #13882]
25415         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
25416         uint16_t for elements in the "seen" array to avoid char overflows.
25417         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25418         * elf/dl-open.c (dl_open_worker): Likewise.
25420 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
25422         * scripts/list-sources.sh: Scan PORTS for translations.
25423         * po/libc.pot: Regenerated.
25425 2012-06-21  Andreas Jaeger  <aj@suse.de>
25427         [BZ #12194]
25428         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25429         warning.
25430         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25431         * bits/byteswap-16.h (__bswap_16): Likewise.
25432         * bits/byteswap.h (__bswap_constant_16): Likewise.
25434 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
25436         [BZ #14117]
25437         * sysdeps/i386/fpu_control.h: Removed.
25438         * sysdeps/x86_64/fpu_control.h: Moved to ...
25439         * sysdeps/x86/fpu_control.h: Here.
25441         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25442         (_FPU_SETCW): Likewise.
25444 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
25446         [BZ #14117]
25447         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25448         * sysdeps/x86/fpu/bits/mathinline.h: This.
25449         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25451         [BZ #14050]
25452         [BZ #14117]
25453         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25454         functions if __x86_64__ is defined.
25456 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
25458         * string/endian.h: Add !__ASSEMBLER__ condition for including
25459         conversion interfaces.
25461 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
25463         [BZ #14241]
25464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25465         of ABS(x) in calculating zero to negative powers other than odd
25466         integers.
25467         * math/libm-test.inc (pow_test): Add more tests.
25469 2012-06-15  Andreas Jaeger  <aj@suse.de>
25471         * manual/contrib.texi (Contributors): Update entry of Liubov
25472         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25473         Machado Filho.
25475 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
25477         * string/string.h: Add __wur to GNU version of strerror_r.
25479 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
25481         [BZ #14229]
25482         * string/Makefile (tests): Add tst-strtok_r.
25483         * string/tst-strtok_r.c: New file.
25484         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25485         RAX_LP/RDX_LP on SAVE_PTR.
25487 2012-06-14  Roland McGrath  <roland@hack.frob.com>
25489         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25491 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
25493         * libm_test.inc (csqrt_test): Allow more spurious underflow
25494         exceptions.
25495         (j0_test): Likewise.
25496         (j1_test): Likewise.
25497         (y0_test): Likewise.
25498         (y1_test): Likewise.
25500 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
25502         * po/Makefile (libc.pot): Use UTF-8 charset.
25504 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
25506         [BZ #14210]
25507         Suppress sign-conversion warning from FD_SET.
25508         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25509         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25510         not unsigned long int.
25511         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25513 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
25515         [BZ #14050]
25516         [BZ #14117]
25517         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25518         __extern_always_inline instead of __extern_inline.
25519         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25520         (__signbit): Likewise.
25521         (__signbitl): Support C++ namespace.
25522         (lrintf): New inline function.
25523         (lrint): Likewise.
25524         (llrintf): Likewise.
25525         (llrint): Likewise.
25526         (fmaxf): Likewise.
25527         (fmax): Likewise.
25528         (fminf): Likewise.
25529         (fmin): Likewise.
25530         (rint): Likewise.
25531         (rintf): Likewise.
25532         (ceil): Likewise.
25533         (ceilf): Likewise.
25534         (floor): Likewise.
25535         (floorf): Likewise.
25536         (nearbyint): Likewise.
25537         (nearbyintf): Likewise.
25539 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
25541         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25542         non-default versions.
25544 2012-06-11  Roland McGrath  <roland@hack.frob.com>
25546         [BZ #14218]
25547         * manual/argp.texi (Argp): Reword argp_parse description slightly.
25549 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
25551         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25552         (FE_UPWARD, FE_DOWNWARD): Don't define.
25553         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25554         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25556         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25557         reading it.
25558         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25559         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25561 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25563         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25564         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25565         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25566         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25568 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
25570         [BZ #14117]
25571         * sysdeps/i386/fpu/bits/fenv.h: Removed.
25572         * sysdeps/i386/fpu/Implies: New file.
25573         * sysdeps/x86_64/fpu/Implies: Likewise.
25574         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25575         * sysdeps/x86/fpu/bits/fenv.h: This.
25577         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25578         __SSE_MATH__.
25580 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25582         [BZ #14134]
25583         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25584         character 0xffff that matches the last element of the
25585         conversion table.
25587 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25589         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25590         fmodl commit.
25592 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25594         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25595         values higher than 25.6283.
25597 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25599         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25600         subnormal exponent extraction and add some __builtin_expect.
25601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25602         Fix for subnormal mantissa calculation.
25604 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
25606         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25607         cpu2 is -1 and errno is not ENOSYS.
25609 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
25611         [BZ #14117]
25612         * sysdeps/i386/i486/bits/string.h: Renamed to ...
25613         * sysdeps/x86/bits/string.h: This.
25614         * sysdeps/x86_64/bits/string.h: Removed.
25616         * sysdeps/i386/i486/bits/string.h: Define inline functions only
25617         if not compiling for x86-64, but compiling for >= i486.
25619         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25620         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25622         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25623         New macro from Linux kernel 3.4.0.
25624         (FP_XSTATE_MAGIC2): Likewise.
25625         (FP_XSTATE_MAGIC2_SIZE): Likewise.
25626         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25627         (struct _fpx_sw_bytes): New struct.
25628         (struct _xsave_hdr): Likewise.
25629         (struct _ymmh_state): Likewise.
25630         (struct _xstate): Likewise.
25632         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25633         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25634         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25635         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25636         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25637         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25639         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25640         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25641         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25642         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25643         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25644         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25646 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25648         [BZ #13743]
25649         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25650         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25651         (sysdep_headers): Include sys/platform/ppc.h.
25652         * sysdeps/powerpc/test-gettimebase.c: Test for
25653         __ppc_get_timebase() to catch future ISA opcode/insn changes.
25654         * manual/Makefile (appendices): Include platform.texi.
25655         * manual/contrib.texi (Contributors): Update @node pointers.
25656         * manual/maint.texi (Maintenance): Likewise.
25657         (Platform): New node.
25658         * manual/platform.texi: New file.  Document the new features.
25660 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25661             Jakub Jelinek  <jakub@redhat.com>
25663         [BZ #14188]
25664         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25665         where __builtin_expect is unavailable.
25667 2012-06-03  David S. Miller  <davem@davemloft.net>
25669         * stdlib/longlong.h: Updated from GCC.
25671 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
25673         [BZ #14042]
25674         * sysdeps/powerpc/powerpc32/mcount.c: New file.
25675         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25676         __mcount_internal.
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25678         (GLIBC_2.16): Likewise.
25680 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25682         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25684 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25687         (default-abi): New variable.
25688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25689         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25690         variable.
25691         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25692         Likewise.
25693         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25694         Likewise.
25695         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25696         Likewise.
25698         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25699         definition.  Document in comment.
25701 2012-06-01  David S. Miller  <davem@davemloft.net>
25703         * stdlib/longlong.h: Updated from GCC.
25705 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25707         [BZ #14117]
25708         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25709         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25710         sys/debugreg.h sys/io.h here.
25711         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25712         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25713         sys/io.h.
25714         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25715         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25716         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25717         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25718         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25719         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25721         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25722         Define only if __x86_64__ is defined.
25724 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25726         [BZ #14048]
25727         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25728         Use int64_t for variable i.
25729         * math/libm-test.inc (fmod_test): Add more tests.
25731         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25732         z computation is not scheduled after fetestexcept.
25733         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25734         Use math_force_eval instead of asm to ensure calculation scheduled
25735         before exception test.
25736         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25737         Ensure a1 + u.d computation is not scheduled after fetestexcept.
25739 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
25741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25742         computation is not scheduled after fetestexcept.
25744 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25746         [BZ #14117]
25747         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25748         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25750 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25752         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25753         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25755 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25757         [BZ #14117]
25758         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25759         <bits/wordsize.h>.
25760         (__WCHAR_MIN): Support __WORDSIZE == 64.
25761         (__WCHAR_MAX): Likewise.
25763         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25764         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25766         [BZ #14183]
25767         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25768         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25770         [BZ #14117]
25771         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25772         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25774         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25775         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25777         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25778         Defined to 1 if __x86_64__ isn't defined.
25779         (_STAT_VER_LINUX_OLD): New.
25780         (st_atime): Remove duplicate.
25781         (st_mtime): Likewise.
25782         (st_ctime): Likewise.
25784 2012-05-31  David S. Miller  <davem@davemloft.net>
25786         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25787         entries.
25789 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
25791         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25792         gen-libm-test.pl.
25794         [BZ #14132]
25795         * elf/dl-reloc.c: Include <_itoa.h>.
25796         (_dl_reloc_bad_type): Remove use of INTUSE.
25797         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25798         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25799         * stdio-common/psiginfo.c (psiginfo): Likewise.
25800         * stdio-common/psignal.c (psignal): Likewise.
25801         * string/strsignal.c (strsignal): Likewise.
25802         * include/signal.h (_sys_siglist): Declare hidden proto.
25803         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
25804         INTVARDEF with libc_hidden_data_def.
25805         * stdio-common/itoa-udigits.c: Likewise.
25806         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25807         (_itoa_lower_digits_internal): Remove declaration.
25808         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25809         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25810         (_sys_sigabbrev_internal): Remove aliases.
25811         (_sys_siglist): Define hidden alias.
25813 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
25815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25816         bits/sysctl.h.
25818 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25820         [BZ #14117]
25821         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25822         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25824         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25825         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25826         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25827         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25828         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25829         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25831         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25832         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25833         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25835         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25836         with __addr.
25837         (insw): Likewise.
25838         (insl): Likewise.
25839         (outsb): Likewise.
25840         (outsw): Likewise.
25841         (outsl): Likewise.
25843         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25844         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25845         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25847         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25848         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25849         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25850         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25851         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25852         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25854         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25855         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25857         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25858         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25860         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25861         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25862         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25864         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25865         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25866         to ...
25867         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25869         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25870         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25871         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25873         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25874         for x86-64.
25875         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25877 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
25879         * math/math.h (M_El): Use two more decimal places.
25880         (M_LOG2El): Likewise.
25881         (M_LOG10El): Likewise.
25882         (M_LN2l): Likewise.
25883         (M_LN10l): Likewise.
25884         (M_PIl): Likewise.
25885         (M_PI_2l): Likewise.
25886         (M_PI_4l): Likewise.
25887         (M_1_PIl): Likewise.
25888         (M_2_PIl): Likewise.
25889         (M_2_SQRTPIl): Likewise.
25890         (M_SQRT2l): Likewise.
25891         (M_SQRT1_2l): Likewise.
25893 2012-05-31  David S. Miller  <davem@davemloft.net>
25895         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25896         values between float registers.
25897         * sysdeps/sparc/sparc64/memset.S: Likewise.
25898         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25900 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
25902         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25903         -D_FORTIFY_SOURCE=1.
25904         (CPPFLAGS-tst-longjmp_chk.c): Define.
25905         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25906         (CPPFLAGS-tst-longjmp_chk2.c): Define.
25907         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25908         CFLAGS-tst-wchar-h.c.
25910 2012-05-31  Marek Polacek  <polacek@redhat.com>
25912         [BZ #14132]
25913         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25914         __endmntent_internal): Remove declaration.
25915         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25916         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25917         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25919 2012-05-30  David S. Miller  <davem@davemloft.net>
25921         * sysdeps/sparc/sparc32/soft-fp/q_util.c
25922         (___Q_simulate_exceptions): Use real FP ops rather than writing
25923         into the %fsr.
25924         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25925         Likewise.
25927 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25929         [BZ #14117]
25930         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25931         * sysdeps/x86/bits/xtitypes.h: This.
25933         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25934         * sysdeps/x86/bits/wordsize.h: This.
25936         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25937         * sysdeps/x86/bits/huge_vall.h: This.
25939         * sysdeps/i386/bits/select.h: Removed.
25940         * sysdeps/x86_64/bits/select.h: Renamed to ...
25941         * sysdeps/x86/bits/select.h: This.
25943         * sysdeps/i386/bits/setjmp.h: Removed.
25944         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25945         * sysdeps/x86/bits/setjmp.h: This.
25947         * sysdeps/i386/bits/mathdef.h: Removed.
25948         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25949         * sysdeps/x86/bits/mathdef.h: This.
25951 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
25953         [BZ #14132]
25954         * include/sys/socket.h (__connect_internal)
25955         (__libc_sa_len_internal): Remove declaration.
25956         (__connect, __libc_sa_len): Declare hidden_proto.
25957         (SA_LEN): Remove use of INTUSE.
25958         * socket/connect.c: Add libc_hidden_def.
25959         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25960         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25961         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25962         alias.
25963         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25964         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25965         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25966         of adding _internal alias.
25968 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25970         [BZ #14117]
25971         * sysdeps/i386/bits/link.h: Removed.
25972         * sysdeps/i386/bits/linkmap.h: Likewise.
25973         * sysdeps/x86_64/bits/link.h: Renamed to ...
25974         * sysdeps/x86/bits/link.h: This.
25975         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25976         * sysdeps/x86/bits/linkmap.h: This.
25978         * sysdeps/i386/bits/endian.h: Removed.
25979         * sysdeps/x86_64/bits/endian.h: Renamed to ...
25980         * sysdeps/x86/bits/endian.h: This.
25982         * sysdeps/i386/bits/byteswap.h: Removed.
25983         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25984         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25985         * sysdeps/x86/bits/byteswap.h: This.
25986         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25987         * sysdeps/x86/bits/byteswap-16.h: This.
25988         * sysdeps/i386/Implies: Add x86.
25989         * sysdeps/x86_64/Implies: Likewise.
25991 2012-05-30  David S. Miller  <davem@davemloft.net>
25993         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25994         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25995         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25996         (FP_TRAPPING_EXCEPTIONS): Define.
25997         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25998         (FP_TRAPPING_EXCEPTIONS): Define.
25999         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26000         subnormals only when inexact has been signalled or underflow
26001         exceptions are enabled.
26002         (_FP_PACK_CANONICAL): Likewise.
26004 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26006         [BZ #14183]
26007         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26008         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26010 2012-05-30  Richard Henderson  <rth@twiddle.net>
26012         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26013         with #ifndef NOT_IN_libc.
26015         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26016         marked to avoid plt entry.
26018 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26020         [BZ #14112]
26021         * Makeconfig (default-abi): New macro.
26022         (abi-includes): Likewise.
26023         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26024         $(abi-$(default-abi)-lib-soname) for soname if defined.
26025         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26026         abi-variants.
26027         * Makefile (installed-stubs): Likewise.
26028         * include/stubs-biarch.h: Removed.
26029         * scripts/lib-names.awk: Only handle one library at a time.
26030         * scripts/soversions.awk: Remove WORDSIZE support.
26031         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26032         entries.
26033         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26034         Removed.
26035         (syscall-list-default-condition): Likewise.
26036         (syscall-list-default-condition): Likewise.
26037         (syscall-list-includes): Likewise.
26038         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26039         syscall-list-* with abi-*.  Handle undefined abi-variants.
26040         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26041         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26042         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26043         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26044         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26045         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26046         Removed.
26047         (syscall-list-32-options): Likewise.
26048         (syscall-list-32-condition): Likewise.
26049         (syscall-list-64-options): Likewise.
26050         (syscall-list-64-condition): Likewise.
26051         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26052         macro.
26053         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26054         Renamed to ...
26055         (abi-*): This.
26056         (abi-64-ld-soname): New macro.
26057         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26058         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26059         Renamed to ...
26060         (abi-*): This.
26061         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26062         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26064 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26066         * sysdeps/unix/sysv/linux/kernel-features.h
26067         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26068         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26069         include <kernel-features.h>.
26070         [!__NR_ftruncate64]: Remove conditional code.
26071         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26072         [__NR_ftruncate64]: Make code unconditional.
26073         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26074         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26075         include <kernel-features.h>.
26076         [!__NR_ftruncate64]: Remove conditional code.
26077         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26078         [__NR_ftruncate64]: Make code unconditional.
26079         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26081         include <kernel-features.h>.
26082         [!__NR_ftruncate64]: Remove conditional code.
26083         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26084         [__NR_ftruncate64]: Make code unconditional.
26085         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26087         include <kernel-features.h>.
26088         [!__NR_ftruncate64]: Remove conditional code.
26089         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26090         [__NR_ftruncate64]: Make code unconditional.
26091         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26093         * configure.in (libc_cv_fpie): Weaken to a compile test using
26094         LIBC_TRY_CC_OPTION.
26095         * configure: Regenerated.
26097 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26103         Refreshed.
26104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26110         Refreshed.
26112 2012-05-27  David S. Miller  <davem@davemloft.net>
26114         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26115         (___Q_zero): New.
26116         (__Q_simulate_exceptions): Return void.  Change to simulate
26117         exceptions by writing into the %fsr.
26118         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26119         (__Qp_handle_exceptions): Likewise.
26120         (numbers): Delete.
26121         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26122         __Qp_handle_exceptions.
26123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26124         __Qp_handle_exceptions.
26125         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26126         as unused and give dummy FP_RND_NEAREST initializer.
26127         (FP_INHIBIT_RESULTS): Define.
26128         (___Q_simulate_exceptions): Update declaration.
26129         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26130         formatting.
26131         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26132         as unused and give dummy FP_RND_NEAREST initializer.
26133         (__Qp_handle_exceptions): Update declaration.
26134         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26135         formatting.
26137 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26139         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26140         the temporary FPU control word.
26141         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26142         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26143         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26144         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26145         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26146         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26147         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26148         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26149         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26150         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26151         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26153 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26155         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26156         fields.
26158 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26160         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26161         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26162         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26163         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26164         Likewise.
26165         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26166         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26167         Likewise.
26169 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26171         * po/h.po: Update from translation team.
26173 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26175         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26177         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26178         handling of denormals.
26179         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26180         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26181         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26182         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26183         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26185         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26186         Likewise.
26188 2012-05-26  Marek Polacek  <polacek@redhat.com>
26190         [BZ #14152]
26191         * math/libm-test.inc (fma_test): Don't always expect underflow
26192         exception.
26194 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26196         [BZ #12416]
26197         * elf/tst-execstack.c: Include stackinfo.h.
26198         (do_test): Adjust test case to ensure that pthread_getattr_np
26199         behaviour remains the same after marking stack executable.
26201 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26203         * sysdeps/unix/sysv/linux/kernel-features.h
26204         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26205         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26206         kernel-features.h.
26207         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26208         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26209         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26210         kernel-features.h.
26211         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26212         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26214 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26216         * configure.in: Define the default includes to being none.
26217         * configure: Regenerated.
26219 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26221         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26222         * sysdeps/x86_64/setjmp.S: Likewise.
26223         * sysdeps/i386/bsd-setjmp.S: Likewise.
26224         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26225         * sysdeps/i386/setjmp.S: Likewise.
26226         * sysdeps/i386/__longjmp.S: Likewise.
26227         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26228         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26230         * include/stap-probe.h: New file.
26231         * configure.in: Handle --enable-systemtap.
26232         * configure: Regenerated.
26233         * config.h.in (USE_STAP_PROBE): New #undef.
26234         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26235         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26236         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26238 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26240         [BZ #13717]
26241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26242         to 2.4.0 where earlier.
26243         * sysdeps/unix/sysv/linux/configure: Regenerated.
26244         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
26253         [__ASSUME_32BITUIDS]: Make code unconditional.
26254         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26255         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26256         <kernel-features.h>.
26257         [__ASSUME_32BITUIDS]: Make code unconditional.
26258         [!__ASSUME_32BITUIDS]: Remove conditional code.
26259         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26260         <kernel-features.h>.
26261         [__ASSUME_32BITUIDS]: Make code unconditional.
26262         [!__ASSUME_32BITUIDS]: Remove conditional code.
26263         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26264         <kernel-features.h>.
26265         [__ASSUME_32BITUIDS]: Make code unconditional.
26266         [!__ASSUME_32BITUIDS]: Remove conditional code.
26267         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26268         <kernel-features.h>.
26269         [__ASSUME_32BITUIDS]: Make code unconditional.
26270         [!__ASSUME_32BITUIDS]: Remove conditional code.
26271         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26272         <kernel-features.h>.
26273         [__ASSUME_32BITUIDS]: Make code unconditional.
26274         [!__ASSUME_32BITUIDS]: Remove conditional code.
26275         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26276         <kernel-features.h>.
26277         [__ASSUME_32BITUIDS]: Make code unconditional.
26278         [!__ASSUME_32BITUIDS]: Remove conditional code.
26279         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26280         <kernel-features.h>.
26281         [__ASSUME_32BITUIDS]: Make code unconditional.
26282         [!__ASSUME_32BITUIDS]: Remove conditional code.
26283         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26284         <kernel-features.h>.
26285         [__ASSUME_32BITUIDS]: Make code unconditional.
26286         [!__ASSUME_32BITUIDS]: Remove conditional code.
26287         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26288         <kernel-features.h>.
26289         [__ASSUME_32BITUIDS]: Make code unconditional.
26290         [!__ASSUME_32BITUIDS]: Remove conditional code.
26291         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26292         <kernel-features.h>.
26293         [__ASSUME_32BITUIDS]: Make code unconditional.
26294         [!__ASSUME_32BITUIDS]: Remove conditional code.
26295         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26296         <kernel-features.h>.
26297         [__NR_setresgid] (__setresgid): Do not declare.
26298         [__ASSUME_32BITUIDS]: Make code unconditional.
26299         [!__ASSUME_32BITUIDS]: Remove conditional code.
26300         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26301         <kernel-features.h>.
26302         [__NR_setresuid] (__setresuid): Do not declare.
26303         [__ASSUME_32BITUIDS]: Make code unconditional.
26304         [!__ASSUME_32BITUIDS]: Remove conditional code.
26305         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26306         <kernel-features.h>.
26307         [__ASSUME_32BITUIDS]: Make code unconditional.
26308         [!__ASSUME_32BITUIDS]: Remove conditional code.
26309         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26310         <kernel-features.h>.
26311         [__ASSUME_32BITUIDS]: Make code unconditional.
26312         [!__ASSUME_32BITUIDS]: Remove conditional code.
26313         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26314         <kernel-features.h>.
26315         [__ASSUME_32BITUIDS]: Make code unconditional.
26316         [!__ASSUME_32BITUIDS]: Remove conditional code.
26317         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26318         <kernel-features.h>.
26319         [__ASSUME_32BITUIDS]: Make code unconditional.
26320         [!__ASSUME_32BITUIDS]: Remove conditional code.
26321         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26322         <kernel-features.h>.
26323         [__ASSUME_32BITUIDS]: Make code unconditional.
26324         [!__ASSUME_32BITUIDS]: Remove conditional code.
26325         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26326         <kernel-features.h>.
26327         [__ASSUME_32BITUIDS]: Make code unconditional.
26328         [!__ASSUME_32BITUIDS]: Remove conditional code.
26329         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26330         <kernel-features.h>.
26331         [__ASSUME_32BITUIDS]: Make code unconditional.
26332         [!__ASSUME_32BITUIDS]: Remove conditional code.
26333         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26334         <kernel-features.h>.
26335         [__ASSUME_32BITUIDS]: Make code unconditional.
26336         [!__ASSUME_32BITUIDS]: Remove conditional code.
26337         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26338         <kernel-features.h>.
26339         [__ASSUME_32BITUIDS]: Make code unconditional.
26340         [!__ASSUME_32BITUIDS]: Remove conditional code.
26341         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26342         <kernel-features.h>.
26343         [__ASSUME_32BITUIDS]: Make code unconditional.
26344         [!__ASSUME_32BITUIDS]: Remove conditional code.
26345         * sysdeps/unix/sysv/linux/kernel-features.h
26346         (__ASSUME_SETRESUID_SYSCALL): Remove.
26347         (__ASSUME_SETRESGID_SYSCALL): Likewise.
26348         (__ASSUME_32BITUIDS): Likewise.
26349         (__ASSUME_LDT_WORKS): Likewise.
26350         (__ASSUME_O_DIRECTORY): Likewise.
26351         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26352         architecture but not kernel version.
26353         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26354         (__ASSUME_MMAP2_SYSCALL): Likewise.
26355         (__ASSUME_STAT64_SYSCALL): Likewise.
26356         (__ASSUME_IPC64): Likewise.
26357         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26358         <kernel-features.h>.
26359         [__ASSUME_32BITUIDS]: Make code unconditional.
26360         [!__ASSUME_32BITUIDS]: Remove conditional code.
26361         * sysdeps/unix/sysv/linux/opendir.c: Do not include
26362         <kernel-features.h>.
26363         [__ASSUME_O_DIRECTORY]: Make code unconditional.
26364         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26365         132096]: Remove conditional code.
26366         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26367         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26368         <kernel-features.h>.
26369         [__ASSUME_32BITUIDS]: Make code unconditional.
26370         [!__ASSUME_32BITUIDS]: Remove conditional code.
26371         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26372         <kernel-features.h>.
26373         [__ASSUME_32BITUIDS]: Make code unconditional.
26374         [!__ASSUME_32BITUIDS]: Remove conditional code.
26375         * sysdeps/unix/sysv/linux/setegid.c: Do not include
26376         <kernel-features.h>.
26377         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26378         unconditional.
26379         (__setresgid): Do not declare.
26380         [__ASSUME_32BITUIDS]: Make code unconditional.
26381         [!__ASSUME_32BITUIDS]: Remove conditional code.
26382         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26383         <kernel-features.h>.
26384         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26385         unconditional.
26386         (__setresuid): Do not declare.
26387         [__ASSUME_32BITUIDS]: Make code unconditional.
26388         [!__ASSUME_32BITUIDS]: Remove conditional code.
26389         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26390         <kernel-features.h>.
26391         [__ASSUME_32BITUIDS]: Make code unconditional.
26392         [!__ASSUME_32BITUIDS]: Remove conditional code.
26393         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26394         <kernel-features.h>.
26395         [__ASSUME_32BITUIDS]: Make code unconditional.
26396         [!__ASSUME_32BITUIDS]: Remove conditional code.
26398 2012-05-25  Richard Henderson  <rth@twiddle.net>
26400         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26401         dl_hwcap to ifunc resolver.
26402         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26403         elf_ifunc_invoke.
26404         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26405         dl_hwcap to ifunc resolver.
26406         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26408 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26410         [BZ #14153]
26411         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26412         for |x| <= 2**-26, not 2**-57.
26413         * math/libm-test.inc (acos_test): Do not allow spurious underflow
26414         exception.
26416 2012-05-24  Jeff Law  <law@redhat.com>
26418         * stdio-common/Makefile (tests): Add bug25.
26419         * stdio-common/bug25.c: New test.
26421 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26423         [BZ #13576]
26424         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26425         multiple of MALLOC_ALIGNMENT in size.
26426         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26428 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26430         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26431         Require >= 256.
26432         (FILENAME_MAX): Use macro-int-constant.
26433         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
26434         (_IOFBF): Use macro-int-constant.
26435         (_IOLBF): Likewise.
26436         (_IONBF): Likewise.
26437         (SEEK_CUR): Likewise.
26438         (SEEK_END): Likewise.
26439         (SEEK_SET): Likewise.
26440         (TMP_MAX): Likewise.
26441         (EOF): Use macro-int-constant.  Require < 0.
26442         (NULL): Use macro-constant.  Require == 0.
26443         (stdin): Require type to be FILE *.
26444         (stdout): Likewise.
26445         (stderr): Likewise.
26446         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26447         macro-int-constant.
26448         (EXIT_SUCCESS): Likewise.
26449         (NULL): Use macro-constant.  Require == 0.
26450         (RAND_MAX): Use macro-int-constant.
26451         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26452         [C99-based standards] (strtof): Require function.
26453         [C99-based standards] (strtold): Likewise.
26454         [C99-based standards] (strtoll): Likewise.
26455         [C99-based standards] (strtoull): Likewise.
26456         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26457         [ISO || ISO99 || ISO11] (limits.h): Likewise.
26458         [ISO || ISO99 || ISO11] (math.h): Likewise.
26459         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26460         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26461         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26463 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
26465         [BZ #14132]
26466         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26467         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26468         * intl/dgettext.c (DCGETTEXT): Likewise.
26469         * intl/gettext.c (DCGETTEXT): Likewise.
26470         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26471         * posix/regex_internal.h (gettext): Likewise.
26472         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26473         Remove declaration.
26474         * include/argz.h (__argz_count_internal)
26475         (__argz_stringify_internal): Remove declaration.
26476         (__argz_count, __argz_stringify): Declare hidden proto.
26477         * intl/dcgettext.c: Remove use of INTDEF.
26478         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26479         * string/argz-stringify.c: Likewise.
26480         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26481         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26482         Declare hidden proto.
26483         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26484         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26485         Declare hidden proto.
26486         * include/stdio.h (__asprintf_internal): Don't declare.
26487         (__asprintf): Don't define as macro.  Declare hidden proto.
26488         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26489         (__fsetlocking): Declare hidden proto.
26490         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26491         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26492         hidden proto.
26493         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26494         (_IO_setlinebuf): Remove use of INTUSE.
26495         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26496         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26497         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26498         Remove declaration.
26499         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26500         (_IO_do_flush): Remove use of INTUSE.
26501         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26502         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26503         (_IO_adjust_column, _IO_least_wmarker)
26504         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26505         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26506         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26507         (_IO_default_doallocate, _IO_wdefault_doallocate)
26508         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26509         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26510         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26511         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26512         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26513         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26514         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26515         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26516         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26517         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26518         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26519         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26520         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26521         proto.
26522         (_IO_flush_all_internal, _IO_adjust_column_internal)
26523         (_IO_default_uflow_internal, _IO_default_finish_internal)
26524         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26525         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26526         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26527         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26528         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26529         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26530         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26531         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26532         (_IO_file_close_internal, _IO_file_close_it_internal)
26533         (_IO_file_underflow_internal, _IO_file_overflow_internal)
26534         (_IO_file_init_internal, _IO_file_attach_internal)
26535         (_IO_file_fopen_internal, _IO_file_read_internal)
26536         (_IO_file_sync_internal, _IO_file_seek_internal)
26537         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26538         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26539         (_IO_str_underflow_internal, _IO_str_overflow_internal)
26540         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26541         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26542         (_IO_list_all_internal, _IO_link_in_internal)
26543         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26544         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26545         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26546         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26547         (_IO_do_write_internal, _IO_padn_internal)
26548         (_IO_getline_info_internal, _IO_getline_internal)
26549         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26550         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26551         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26552         (_IO_vfscanf_internal, _IO_vfprintf_internal)
26553         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26554         (_IO_init_internal, _IO_un_link_internal): Don't declare.
26555         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26556         with libc_hidden_ver, remove use of INTUSE.
26557         * libio/genops.c: Likewise.
26558         * libio/freopen.c: Likewise.
26559         * libio/freopen64.c: Likewise.
26560         * libio/iofclose.c: Likewise.
26561         * libio/iofdopen.c: Likewise.
26562         * libio/iofflush.c: Likewise.
26563         * libio/iofflush_u.c: Likewise.
26564         * libio/iofgets.c: Likewise.
26565         * libio/iofgets_u.c: Likewise.
26566         * libio/iofopen.c: Likewise.
26567         * libio/iofopncook.c: Likewise.
26568         * libio/iofread.c: Likewise.
26569         * libio/iofread_u.c: Likewise.
26570         * libio/ioftell.c: Likewise.
26571         * libio/iofwrite.c: Likewise.
26572         * libio/iogetline.c: Likewise.
26573         * libio/iogets.c: Likewise.
26574         * libio/iogetwline.c: Likewise.
26575         * libio/iopadn.c: Likewise.
26576         * libio/iopopen.c: Likewise.
26577         * libio/ioseekoff.c: Likewise.
26578         * libio/ioseekpos.c: Likewise.
26579         * libio/iosetbuffer.c: Likewise.
26580         * libio/iosetvbuf.c: Likewise.
26581         * libio/ioungetc.c: Likewise.
26582         * libio/ioungetwc.c: Likewise.
26583         * libio/iovdprintf.c: Likewise.
26584         * libio/iovsprintf.c: Likewise.
26585         * libio/iovsscanf.c: Likewise.
26586         * libio/memstream.c: Likewise.
26587         * libio/obprintf.c: Likewise.
26588         * libio/oldfileops.c: Likewise.
26589         * libio/oldiofclose.c: Likewise.
26590         * libio/oldiofdopen.c: Likewise.
26591         * libio/oldiofopen.c: Likewise.
26592         * libio/oldiopopen.c: Likewise.
26593         * libio/oldstdfiles.c: Likewise.
26594         * libio/putc.c: Likewise.
26595         * libio/setbuf.c: Likewise.
26596         * libio/setlinebuf.c: Likewise.
26597         * libio/stdfiles.c: Likewise.
26598         * libio/strops.c: Likewise.
26599         * libio/vasprintf.c: Likewise.
26600         * libio/vscanf.c: Likewise.
26601         * libio/vsnprintf.c: Likewise.
26602         * libio/vswprintf.c: Likewise.
26603         * libio/wfiledoalloc.c: Likewise.
26604         * libio/wfileops.c: Likewise.
26605         * libio/wgenops.c: Likewise.
26606         * libio/wmemstream.c: Likewise.
26607         * libio/wstrops.c: Likewise.
26608         * libio/__fpurge.c: Likewise.
26609         * libio/__fsetlocking.c: Likewise.
26610         * assert/assert.c: Likewise.
26611         * debug/fgets_chk.c: Likewise.
26612         * debug/fgets_u_chk.c: Likewise.
26613         * debug/fread_chk.c: Likewise.
26614         * debug/fread_u_chk.c: Likewise.
26615         * debug/gets_chk.c: Likewise.
26616         * debug/obprintf_chk.c: Likewise.
26617         * debug/vasprintf_chk.c: Likewise.
26618         * debug/vdprintf_chk.c: Likewise.
26619         * debug/vsnprintf_chk.c: Likewise.
26620         * debug/vsprintf_chk.c: Likewise.
26621         * malloc/mtrace.c: Likewise.
26622         * misc/error.c: Likewise.
26623         * misc/syslog.c: Likewise.
26624         * stdio-common/asprintf.c: Likewise.
26625         * stdio-common/fxprintf.c: Likewise.
26626         * stdio-common/getw.c: Likewise.
26627         * stdio-common/isoc99_fscanf.c: Likewise.
26628         * stdio-common/isoc99_scanf.c: Likewise.
26629         * stdio-common/isoc99_vfscanf.c: Likewise.
26630         * stdio-common/isoc99_vscanf.c: Likewise.
26631         * stdio-common/isoc99_vsscanf.c: Likewise.
26632         * stdio-common/printf-prs.c: Likewise.
26633         * stdio-common/printf_fp.c: Likewise.
26634         * stdio-common/printf_fphex.c: Likewise.
26635         * stdio-common/printf_size.c: Likewise.
26636         * stdio-common/putw.c: Likewise.
26637         * stdio-common/scanf.c: Likewise.
26638         * stdio-common/sprintf.c: Likewise.
26639         * stdio-common/tmpfile.c: Likewise.
26640         * stdio-common/vfprintf.c: Likewise.
26641         * stdio-common/vfscanf.c: Likewise.
26642         * stdlib/strfmon_l.c: Likewise.
26643         * sunrpc/openchild.c: Likewise.
26644         * sunrpc/xdr_stdio.c: Likewise.
26645         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26646         * sysdeps/mach/hurd/tmpfile.c: Likewise.
26648 2012-05-24  Roland McGrath  <roland@hack.frob.com>
26650         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26652         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26653         in the third column, to generate for the shared library an IFUNC
26654         that uses _dl_vdso_vsym.
26655         * Makerules (COMPILE.c, compile-stdin.c): New variables.
26656         * Makeconfig (object-suffixes-noshared): New variable.
26658         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26659         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26660         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26661         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26663         [BZ #14132]
26664         * include/sys/time.h (__gettimeofday): Remove macro.
26665         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26666         * time/gettimeofday.c (__gettimeofday): Remove #undef.
26667         Remove INTDEF.
26668         (__gettimeofday): Add libc_hidden_def.
26669         (gettimeofday): Add libc_hidden_weak.
26670         * sysdeps/mach/gettimeofday.c: Likewise.
26671         * sysdeps/posix/gettimeofday.c: Likewise.
26672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26673         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26674         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26675         (__gettimeofday_internal): Remove strong_alias.
26676         (__gettimeofday): Add libc_hidden_def.
26677         (gettimeofday): Add libc_hidden_weak.
26678         * sysdeps/unix/syscalls.list (gettimeofday):
26679         Remove __gettimeofday_internal alias.
26681 2012-05-24  Daniel Jacobowitz  <drow@false.org>
26682             H.J. Lu  <hongjiu.lu@intel.com>
26684         [BZ #12495]
26685         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26686         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26687         (largebin_index_32_big): New.
26688         (largebin_index): Use it for 16-byte alignment.
26689         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
26690         correction with front_misalign.
26692 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26696         Likewise.
26697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26698         Likewise.
26699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26700         Likewise.
26701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26702         Likewise.
26703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26704         Likewise.
26705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26706         Likewise.
26707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26708         Likewise.
26709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26710         Likewise.
26711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26712         Likewise.
26713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26714         Likewise.
26715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26716         Likewise.
26717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26718         Likewise.
26720         * scripts/data/c++-types-x32-linux-gnu.data: New file.
26721         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26723 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26725         [BZ #10846]
26726         [BZ #14036]
26727         * math/libm-test.inc (exp_test): Add test from bug 14036.
26728         (pow_test): Add test from bug 10846.
26730         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26731         and other flags.
26732         (special_function): Do not include flags in test name.
26733         (parse_args): Likewise.
26734         * sysdeps/i386/fpu/libm-test-ulps: Update.
26735         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26736         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26737         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26740         * math/gen-libm-test.pl (%beautify): Add entries for underflow
26741         exceptions.
26742         * math/libm-test.inc ("Philosophy"): Update comment about
26743         exception testing.
26744         (UNDERFLOW_EXCEPTION): New macro.
26745         (UNDERFLOW_EXCEPTION_OK): Likewise.
26746         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26747         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26748         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26749         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26750         (INVALID_EXCEPTION_OK): Update value.
26751         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26752         (OVERFLOW_EXCEPTION_OK): Likewise.
26753         (IGNORE_ZERO_INF_SIGN): Likewise.
26754         (test_exceptions): Handle underflow exceptions.
26755         (acos_test): Update for underflow exception expectations.
26756         (cexp_test): Likewise.
26757         (clog_test): Likewise.
26758         (clog10_test): Likewise.
26759         (csqrt_test): Likewise.
26760         (ctan_test): Likewise.
26761         (ctanh_test): Likewise.
26762         (exp_test): Likewise.
26763         (exp10_test): Likewise.
26764         (exp2_test): Likewise.
26765         (expm1_test): Likewise.
26766         (fma_test): Likewise.
26767         (j0_test): Likewise.
26768         (jn_test): Likewise.
26769         (nexttoward_test): Likewise.
26770         (pow_test): Likewise.
26771         (scalbn_test): Likewise.
26772         (scalbln_test): Likewise.
26773         (tan_test): Likewise.
26774         (y1_test): Likewise.
26775         * sysdeps/i386/fpu/libm-test-ulps: Update.
26776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26778 2012-05-23  David S. Miller  <davem@davemloft.net>
26780         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26781         (__libc_sigaction): Remove unused local variables.
26783 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26785         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26787 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
26789         mktime: avoid signed integer overflow
26790         * time/mktime.c (__mktime_internal): Do not mishandle the case
26791         where diff == INT_MIN.
26793         mktime: simplify computation of average
26794         * time/mktime.c (ranged_convert): Use new time_t_avg function
26795         instead of rolling our own (probably-slower) code.
26797         mktime: do not assume signed right shift propagates sign bit
26798         * time/mktime.c (isdst_differ): New static function.
26799         (__mktime_internal): No need to normalize tm_isdst now.
26800         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26801         tm_isdst values.
26803         mktime: merge another wrapv change from gnulib
26804         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26805         from some compilers.
26807         mktime: remove incorrect attempt at unusual arithmetics
26808         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26809         The code didn't really work on such machines anyway.
26810         (TYPE_MINIMUM): Assume two's complement.
26811         (twos_complement_arithmetic): Verify that long_int and time_t
26812         are two's complement (or unsigned, in the latter case).
26814         mktime: check signed shifts on long_int and time_t, too
26815         * time/mktime.c (SHR): Check that shifts work as desired
26816         on the types long_int and time_t too, as SHR is used on
26817         such types.
26819         mktime: do not assume 'long' is wide enough
26820         * time/mktime.c (verify): Move decl up.
26821         (long_int): New type.
26822         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26823         to remove assumption in the code that 'long' is wide enough to
26824         store year values.  This assumption is not true on x32 and on
26825         some non-glibc platforms.
26827         mktime: merge wrapv change from gnulib
26828         * time/mktime.c (WRAPV): New macro.
26829         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26830         (guess_time_tm, __mktime_internal): Do not assume that signed
26831         integer overflow wraps around; modern compilers generate code
26832         where this assumption is no longer valid.
26834 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26836         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26837         Replace "jmp L(pseudo_end)" with "ret".
26838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26839         Likewise.
26841 2012-05-23  Andreas Jaeger  <aj@suse.de>
26843         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26844         * sysdeps/unix/sysv/linux/poll.c: Remove file.
26846 2012-05-23  Andreas Jaeger  <aj@suse.de>
26847             Maximilian Attems  <max@stro.at>
26849         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26850         New macros.
26852 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26854         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26855         code so that pseudo_end is just ret and the stack pointer is
26856         correct also for static library in error case.
26858 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
26860         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26861         move to syscalls.list.
26862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26867         * manual/install.texi (Running make install): Do not mention Linux
26868         kernel version for which pt_chown is not needed.
26869         (Linux): Do not mention problems with nscd with 2.0 kernels.
26870         * INSTALL: Regenerated.
26872 2012-05-23  Andreas Jaeger  <aj@suse.de>
26874         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26875         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26876         macro.
26877         * sysdeps/unix/sysv/linux/s390/bits/mman.h
26878         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26879         * sysdeps/unix/sysv/linux/sh/bits/mman.h
26880         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26881         * sysdeps/unix/sysv/linux/i386/bits/mman.h
26882         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26883         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26884         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26885         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26886         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26887         * sysdeps/unix/sysv/linux/bits/in.h
26888         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26890 2012-05-22  Roland McGrath  <roland@hack.frob.com>
26892         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26893         (PREPARE_VERSION): Just use assert instead, it will be elided
26894         under [NDEBUG] anyway.
26896 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26898         * sysdeps/unix/sysv/linux/Makefile: Include
26899         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26900         (sysdep_routines): Remove sysctl.
26901         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26902         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26903         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26904         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26905         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26907 2012-05-22  Andreas Jaeger  <aj@suse.de>
26909         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26910         that pseudo_end is just ret and the stack pointer is correct also
26911         for static library in error case.
26913 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26915         [BZ #14122]
26916         * nss/nsswitch.c (defconfig_entries): New variable.
26917         (__nss_database_lookup): Don't leak defconfig entries.
26918         (nss_parse_service_list): Don't leak on error paths.
26919         (free_database_entries): New function.
26920         (free_defconfig): New function.
26921         (free_mem): Move common code to free_database_entries.
26923 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26925         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26926         Add arch_prctl.
26927         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26929         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26930         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26932         New macro.
26933         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26934         (INTERNAL_SYSCALL_TYPES): Likewise.
26935         (LOAD_ARGS_TYPES_[1-6]): Likewise.
26936         (LOAD_REGS_TYPES_[1-6]): Likewise.
26937         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26938         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26940 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26942         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26943         copysignl for GLIBC_2_0.
26944         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26945         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26946         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26947         logbl for GLIBC_2_0.
26948         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26949         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26951 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26953         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26954         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26956         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26957         Use "neg %eax".
26959         * time/mktime.c: Update copyright years.
26961 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26963         mktime: merge comment-quoting-style change from gnulib
26964         * time/mktime.c: Quote 'like this' in comments.
26965         The GNU coding standards suggest that we no longer quote `like this',
26966         as "`" and "'" are typically rendered asymmetrically nowadays.
26967         The typical gnulib style is to quote 'like this' when quoting
26968         code, and "like this" when quoting English.
26970         * time/mktime.c (compile-command): Add "-I.".
26972         mktime: merge mktime-internal.h change from gnulib
26973         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26975         mktime: merge time_r change from gnulib
26976         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26978         mktime: merge DEBUG change from gnulib
26979         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26980         case system <time.h> has a #define.
26982         mktime: merge <sys/types.h> change from gnulib
26983         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26984         since <time.t> is now guaranteed to define time_t.
26986         mktime: merge HAVE_CONFIG_H change from gnulib
26987         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26989 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26992         Use "neg %eax".
26994         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26995         __rlim_t cast.
26996         (struct rusage): Use anonymous union to pad each field to
26997         __syscall_slong_t.
26999 2012-05-21  David S. Miller  <davem@davemloft.net>
27001         * Makefules (o-iterator): Remove .s cases.
27002         (compile-command.s): Delete.
27003         (COMPILE.s): Delete.
27004         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27006 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
27008         * configure.in (libc_cv_predef_stack_protector): Only consider
27009         "foobar" and "__stack_chk_fail" lines in libc_undefs.
27010         * configure: Regenerated.
27012 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27015         New macro.  Use R*LP on int and pointer.
27016         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27017         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27018         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27019         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27021         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27022         [__WORDSIZE_TIME64_COMPAT32] instead of
27023         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27024         (struct utmp): Likewise.
27025         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27026         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27027         Renamed to ...
27028         (__WORDSIZE_TIME64_COMPAT32): This.
27029         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27030         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27031         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27032         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27033         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27034         (__WORDSIZE_TIME64_COMPAT32): New macro.
27036 2012-05-21  Andreas Jaeger  <aj@suse.de>
27038         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27039         only if [SHARED]. Add prototype for __wcschr_ia32.
27041 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27043         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27044         of %rbp unmolested in the jmp_buf while mangling the low bits.
27045         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27046         unmolested high bits of %rbp while demangling the low bits.
27047         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27049 2012-05-21  Andreas Jaeger  <aj@suse.de>
27051         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27052         * sunrpc/svc_simple.c: Use it for registerrpc.
27053         * sunrpc/xcrypt.c: Use it for passwd2des.
27055         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27057 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27059         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27060         Don't define if [__SYSCALL_WORDSIZE != 32].
27061         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27062         New macro.
27064 2012-05-21  Bruno Haible  <bruno@clisp.org>
27065             Andreas Jaeger  <aj@suse.de>
27067         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27068         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27069         inptr and inend for must_buffer_ch.
27070         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27071         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27072         * stdio-common/Makefile (tests): Remove bug15.
27073         (bug15-ENV): Remove macro.
27074         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27075         anymore.
27077 2012-05-19  Andreas Jaeger  <aj@suse.de>
27078             Roland McGrath  <roland@hack.frob.com>
27080         * manual/contrib.texi: Completely rewritten. It contains now an
27081         alphabetical list of contributors and their contributions.
27083 2012-05-21  Richard Henderson  <rth@twiddle.net>
27085         * misc/getauxval.c (__getauxval): Use unsigned long int.
27086         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27087         (getauxval): Use unsigned long int.
27089 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27091         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27093 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27095         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27096         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27097         __alignof__ (long double).
27099 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27103 2012-05-20  Richard Henderson  <rth@twiddle.net>
27105         * misc/getauxval.c: New file.
27106         * misc/sys/auxv.h: New file.
27107         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27108         (routines): Add getauxval.
27109         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27110         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27111         * elf/dl-sysdep.c (_dl_auxv): Remove.
27112         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27113         * elf/dl-support.c (_dl_auxv): New variable.
27114         (_dl_aux_init): Initialize it.
27115         * manual/startup.texi (Auxiliary Vector): New node.
27116         * sysdeps/generic/bits/hwcap.h: New file.
27117         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27118         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27119         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27120         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27121         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27122         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27124         Update.
27125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27128         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27134 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27138 2012-05-19  David S. Miller  <davem@davemloft.net>
27140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27142 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27144         [BZ #14123]
27145         * math/s_ccosh.c: Include <float.h>
27146         (__ccosh): Avoid internal overflow calculating sinh and cosh
27147         values before multiplying by sin and cos values.
27148         * math/s_ccoshf.c: Likewise.
27149         * math/s_ccoshl.c: Likewise.
27150         * math/s_csin.c: Likewise.
27151         * math/s_csinf.c: Likewise.
27152         * math/s_csinl.c: Likewise.
27153         * math/s_csinh.c: Likewise.
27154         * math/s_csinhf.c: Likewise.
27155         * math/s_csinhl.c: Likewise.
27156         * math/libm-test.inc (ccos_test): Add more tests.
27157         (ccosh_test): Likewise.
27158         (csin_test): Likewise.
27159         (csinh_test): Likewise.
27160         * sysdeps/i386/fpu/libm-test-ulps: Update.
27161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27163 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27165         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27166         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27168         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27170 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27172         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27173         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27174         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27175         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27176         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27177         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27178         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27179         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27180         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27181         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27182         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27183         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27184         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27185         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27186         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27187         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27188         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27189         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27190         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27191         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27192         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27193         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27194         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27195         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27196         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27197         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27198         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27199         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27200         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27201         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27202         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27204 2012-05-18  Andreas Jaeger  <aj@suse.de>
27206         * csu/.gitignore: Delete.
27208 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27210         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27211         (timex): Use __syscall_slong_t.
27213 2012-05-18  Andreas Jaeger  <aj@suse.de>
27214             Carlos O'Donell  <carlos_odonell@mentor.com>
27216         * manual/install.texi (Configuring and compiling): Update
27217         description about files modified in the source directory.
27218         * INSTALL: Regenerated.
27220 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27222         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27223         value.  Use "or" to set return value to -1.
27224         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27225         negate return value.
27227 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27229         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27230         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27231         failure if the compiler has Graphite support disabled.
27232         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27233         Likewise.
27234         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27235         CFLAGS-memmove.c): Likewise.
27236         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27237         Likewise.
27239 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27241         * sysdeps/x86_64/x32/_itoa.h: New file.
27243         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27244         getdents system call only if kernel and user dirents have the
27245         same d_ino and d_off.
27247         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27248         LLONG_MAX != LONG_MAX.
27249         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27250         (_fitoa_word): Likewise.
27252         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27253         years.
27254         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27255         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27256         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27258         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27259         include <bits/wordsize.h>.  Check __x86_64__ instead of
27260         __WORDSIZE.
27261         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27262         if __x86_64__ is defined.  Use anonymous union on fpstate.
27264         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27265         anonymous union.
27267 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27269         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27270         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27271         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27272         Refer to _rtld_local_ro instead of _rtld_global_ro.
27273         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27274         Likewise.
27275         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27276         Likewise.
27277         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27278         Likewise.
27279         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27280         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27281         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27283         * sysdeps/powerpc/powerpc32/dl-machine.c
27284         (__elf_machine_runtime_setup) [PROF]: Don't reference
27285         _dl_prof_resolve.
27287 2012-05-18  Andreas Jaeger  <aj@suse.de>
27289         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27290         function only available for GCCs before 3.4 since GCC 3.4
27291         introduced a builtin.
27292         (lrint): Likewise.
27293         (llrintf): Likewise.
27294         (llrint): Likewise.
27295         (fmaxf): Likewise.
27296         (fmax): Likewise.
27297         (fminf): Likewise.
27298         (fmin): Likewise.
27299         (rint): Likewise.
27300         (rintf): Likewise.
27301         (nearbyint): Likewise.
27302         (nearbyintf): Likewise.
27303         (ceil): Likewise.
27304         (ceilf): Likewise.
27305         (floor): Likewise.
27306         (floorf): Likewise.
27308 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27310         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27311         on both fields and cast pointer to __syscall_ulong_t.
27313         * bits/types.h (__fsword_t): New type.
27314         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27315         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27316         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27317         (__FSWORD_T_TYPE): Likewise.
27318         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27319         (__FSWORD_T_TYPE): Likewise.
27320         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27321         (__FSWORD_T_TYPE): Likewise.
27322         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27323         (__FSWORD_T_TYPE): Likewise.
27324         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27325         __SWORD_TYPE with __fsword_t.
27326         (statfs64): Likewise.
27328 2012-05-17  David S. Miller  <davem@davemloft.net>
27330         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27332 2012-05-17  Andreas Jaeger  <aj@suse.de>
27334         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27335         warning.
27337 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27339         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27341 2012-05-17  Andreas Jaeger  <aj@suse.de>
27343         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27344         when it is used.
27346 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27348         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27350 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27352         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27353         * sysdeps/x86_64/tst-mallocalign1.c: New file.
27355 2012-05-17  Andreas Jaeger  <aj@suse.de>
27356             Carlos O'Donell  <carlos_odonell@mentor.com>
27358         [BZ #14059]
27359         * sysdeps/x86_64/multiarch/init-arch.h
27360         (bit_YMM_Usable): Rename to...
27361         (bit_AVX_Usable): ... this.
27362         (bit_FMA4_Usable): New macro.
27363         (bit_XMM_state): New macro.
27364         (bit_YMM_state): New macro.
27365         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27366         [__ASSEMBLER__] (index_AVX_Usable): ... this.
27367         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27368         (CPUID_OSXSAVE): New macro.
27369         (CPUID_AVX): New macro.
27370         (CPUID_FMA4): New macro.
27371         (index_YMM_Usable): Rename to...
27372         (index_AVX_Usable): ... this.
27373         (HAS_AVX): Use HAS_ARCH_FEATURE.
27374         (HAS_FMA4): Likewise.
27375         (HAS_YMM_USABLE): Remove.
27376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27377         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27378         are present.
27379         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27380         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27381         * sysdeps/x86_64/multiarch/Makefile: Likewise.
27382         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27383         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27385 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27387         * math/libm-test.c: Support platforms without multiple rounding modes.
27388         * math/bug-nextafter.c: Support platforms without FP exceptions.
27389         * math/bug-nexttoward.c: Likewise.
27390         * math/test-fenv.c: Likewise.
27391         * math/test-misc.c: Likewise.
27392         * stdlib/bug-getcontext.c: Likewise.
27394 2012-05-17  Andreas Jaeger  <aj@suse.de>
27396         * manual/examples/search.c (critter_cmp): Change signature to
27397         avoid warnings.
27398         * manual/string.texi (Collation Functions): Likewise.
27400 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27402         * bits/types.h: Fold copyright years.
27403         * bits/typesizes.h: Likewise.
27404         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27405         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27406         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27407         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27408         * time/time.h: Likewise.
27410 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
27412         [BZ #208]
27413         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27414         in instead of returning them.  Return void.
27415         (__libc_mallinfo): Accumulate over all arenas.
27416         (__malloc_stats): Adjust for change in int_mallinfo interface.
27418 2012-05-16  Roland McGrath  <roland@hack.frob.com>
27420         [BZ #10375]
27421         * configure.in (NM): Add AC_CHECK_TOOL for it.
27422         (libc_extra_cflags): New substituted variable.
27423         Check for -fstack-protector being used implicitly.
27424         * configure: Regenerated.
27425         * config.make.in (config-extra-cflags): New variable,
27426         gets @libc_extra_cflags@.
27427         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27429         [BZ #10375]
27430         * configure.in: Check for _FORTIFY_SOURCE being predefined.
27431         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27432         * configure: Regenerated.
27433         * config.make.in (CPPUNDEFS): New substituted variable.
27434         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27435         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27436         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27438 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27440         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27441         (mq_attr): Use __syscall_slong_t.
27443 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27445         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27446         Check __x86_64__ instead of __WORDSIZE.
27447         (_STAT_VER_LINUX): Likewise.
27448         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
27449         __syscall_ulong_t and __syscall_slong_t.
27450         (stat64): Likewise.
27452 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27454         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27456 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27458         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27460 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27462         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27463         __syscall_ulong_t.
27465         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27466         include <bits/wordsize.h>.  Check __x86_64__ instead of
27467         __WORDSIZE.
27468         (greg_t): Use "__extension__ long long int" if __x86_64__ is
27469         defined.
27470         (mcontext_t): Replace "unsigned long" with "unsigned long long".
27472         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27473         include <bits/wordsize.h>.  Check __x86_64__ instead of
27474         __WORDSIZE.
27475         (user_regs_struct): Use "__extension__ unsigned long long"
27476         instead of "unsigned long" if __x86_64__ is defined.
27477         (user): Likewise.  Pad after pointer field if __ILP32__ is
27478         defined.
27480 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
27482         * configure.in (makeinfo): Require version 4.5 or later.  Allow
27483         versions 5 to 9.
27484         * configure: Regenerated.
27485         * manual/install.texi (texinfo): Increase version requirement to
27486         4.5 or later.
27487         * INSTALL: Regenerated.
27489         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27491 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27493         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27495         * sysdeps/x86_64/x32/ffs.c: New file.
27497         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27498         __syscall_ulong_t.
27499         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27500         defined.  Use __syscall_ulong_t.
27501         (shminfo): Use __syscall_ulong_t.
27502         (shm_info): Likewise.
27504         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27505         __syscall_ulong_t.
27507         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27508         <bits/wordsize.h>.
27509         (msgqnum_t): Use __syscall_ulong_t.
27510         (msglen_t): Likewise.
27511         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
27512         __syscall_ulong_t.
27514         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27515         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27517         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27519         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27520         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27522         * sysvipc/sys/msg.h (msgbuf): Replace long int with
27523         __syscall_slong_t.
27525         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27526         include <bits/wordsize.h>.  Check __x86_64__ instead of
27527         __WORDSIZE.
27529         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27530         "unsigned long long int" if __x86_64__ is defined.
27531         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27533         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27534         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27535         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27537         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27538         <stdint.h>.
27539         (GET_PC): Cast to uintptr_t first.
27540         (GET_FRAME): Likewise.
27541         (GET_STACK): Likewise.
27543         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27544         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27545         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27546         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27547         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27548         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27549         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27550         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27551         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27552         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27553         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27554         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27555         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27556         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27557         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27558         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27559         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27560         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27561         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27562         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27563         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27564         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27565         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27566         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27567         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27568         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27569         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27570         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27571         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27573 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
27575         * Makerules (+depfiles): Also collect depfiles from .oS in
27576         $(extra-objs).
27577         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27578         .oS, $(libnldbl-routines)).
27580         * Makerules (native-compile-mkdep-flags): Define.
27581         * sunrpc/Makefile (extra-objs): Add $(addprefix
27582         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27583         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27584         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
27585         calling $(make-target-directory).
27587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27589         * bits/types.h (__snseconds_t): Removed.
27590         * time/time.h (struct timespec): Replace __snseconds_t with
27591         __syscall_slong_t.
27592         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27593         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27594         Likewise.
27595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27596         (__SNSECONDS_T_TYPE): Likewise.
27597         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27598         (__SNSECONDS_T_TYPE): Likewise.
27599         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27600         (__SNSECONDS_T_TYPE): Likewise.
27602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27604         * sysdeps/mach/hurd/bits/typesizes.h
27605         (__SYSCALL_SLONG_TYPE): New macro.
27606         (__SYSCALL_ULONG_TYPE): Likewise.
27608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27610         * bits/types.h (__syscall_slong_t): New type.
27611         (__syscall_ulong_t): Likewise.
27613         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27614         (__SYSCALL_ULONG_TYPE): Likewise.
27615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27616         (__SYSCALL_SLONG_TYPE): Likewise.
27617         (__SYSCALL_ULONG_TYPE): Likewise.
27618         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27619         (__SYSCALL_SLONG_TYPE): Likewise.
27620         (__SYSCALL_ULONG_TYPE): Likewise.
27621         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27622         (__SYSCALL_SLONG_TYPE): Likewise.
27623         (__SYSCALL_ULONG_TYPE): Likewise.
27625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27627         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27628         Add sigaltstack-offsets.sym.
27629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27630         <sigaltstack-offsets.h>.
27631         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
27632         longjmp_msg pointer.
27633         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
27634         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27635         signal stack.
27636         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27638 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27640         * elf/stackguard-macros.h: Remove file.
27641         * sysdeps/generic/stackguard-macros.h: New file.
27642         * sysdeps/i386/stackguard-macros.h: Likewise.
27643         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27644         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27645         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27646         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27647         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27648         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27649         * sysdeps/x86_64/stackguard-macros.h: Likewise.
27650         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27651         <elf/stackguard-macros.h>.
27653         [BZ #14109]
27654         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27655         __aligned__ in attribute.
27656         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27657         (gregset_t): Likewise.
27659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27661         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27662         * sysdeps/x86_64/64/Implies-after: Here.  New file.
27663         * sysdeps/x86_64/x32/Implies-after: New file.
27665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27667         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27668         and access return value for _dl_profile_fixup.  Use R10_LP to
27669         load frame size.
27671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27673         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27677         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27678         * sysdeps/x86_64/x32/sysdep.h: New file.
27680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27682         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27683         * sysdeps/x86_64/setjmp.S: Likewise.
27685 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27687         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27688         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27689         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27690         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27691         remove unused global constant.
27693 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
27695         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27696         include of <not-cancel.h>.
27698 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27700         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27702 2012-05-15  Jeff Law  <law@redhat.com>
27703             Andreas Jaeger  <aj@suse.de>
27705         [BZ #13594]
27706         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27707         out from...
27708         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27709         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27710         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27711         code changing __hst_map_handle.map.
27713 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27715         * configure.in (sysnames): Look for Implies-before and Implies-after
27716         files.
27717         * configure: Regenerated.
27719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27721         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27722         8-byte data alignment with LP_SIZE alignment.
27724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27726         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27727         into R10_LP.
27729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27731         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27735         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27736         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27737         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27738         Likewise.
27739         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27743         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27744         (stackinfo_sub_sp): Likewise.
27746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27748         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27749         RAX_LP.
27751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27753         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27754         into R*_LP.
27756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27758         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27759         sizes into R*_LP.
27761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27763         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27767         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27768         into R11_LP and load __x86_64_shared_cache_size_half into
27769         R8_LP.
27771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27773         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27774         R8_LP.
27776 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27778         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27779         logb for POWER7.
27780         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27781         logbf for POWER7.
27782         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27783         logbl for POWER7.
27784         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27785         powerpc32/power7/fpu/s_logb.c via #include.
27786         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27787         powerpc32/power7/fpu/s_logbf.c via #include.
27788         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27789         powerpc32/power7/fpu/s_logbl.c via #include.
27791 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27793         * README.libm: Remove file.
27795 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27797         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27798         count for x32.  Use R*_LP and omit operand-size suffix.
27800 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27802         * shlib-versions: Move x86_64-.*-linux.* entries to ...
27803         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
27804         * sysdeps/x86_64/x32/shlib-versions: New file.
27806 2012-05-14  Roland McGrath  <roland@hack.frob.com>
27808         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27809         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27810         Use _dl_fatal_printf instead.
27812 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27814         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27815         set if not set by the user.  Do not allow for being unset.
27816         * sysdeps/unix/sysv/linux/configure: Regenerated.
27818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27820         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27821         the `q' suffix from lea and replace .quad with ASM_ADDR.
27823 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27826         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
27827         instead of $17.
27828         (PTR_DEMANGLE): Likewise.
27830 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27832         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27833         (LP_OP): Likewise.
27834         (ASM_ADDR): Likewise.
27835         (RAX_LP): Likewise.
27836         (RBP_LP): Likewise.
27837         (RBX_LP): Likewise.
27838         (RCX_LP): Likewise.
27839         (RDI_LP): Likewise.
27840         (RSI_LP): Likewise.
27841         (RSP_LP): Likewise.
27842         (R8_LP): Likewise.
27843         (R9_LP): Likewise.
27844         (R10_LP): Likewise.
27845         (R10_LP): Likewise.
27846         (R11_LP): Likewise.
27847         (R12_LP): Likewise.
27848         (R13_LP): Likewise.
27849         (R14_LP): Likewise.
27850         (R15_LP): Likewise.
27852 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27854         * sysdeps/x86_64/x32/dl-machine.h: New file.
27856 2012-05-14  Andreas Jaeger  <aj@suse.de>
27858         * manual/Makefile (subdir): Remove export of subdir.
27859         (all): Remove target.
27860         (.PHONY): Remove all from list.
27861         (mkinstalldirs): Remove.
27862         (.PHONY): Remove installdirs from list.
27863         ($(inst_infodir)/libc.info): Use make-target-directory.
27864         (installdirs): Remove.
27865         (subdir_%): Remove.
27866         (glibc-targets): Remove.
27867         (lib): Remove.
27868         (stubs): Remove.
27869         ($(objpfx)stubs ../po/manual.pot): Remove.
27870         ($(objpfx)stamp%): Remove.
27871         (make-target-directory): Remove.
27872         (subdir_install): Remove.
27873         (routines): Remove.
27874         (aux): Remove.
27875         (sources): Remove.
27876         (objects): Remove.
27877         (headers): Remove.
27879         [BZ #13750]
27880         * manual/.gitignore: Remove, it's not needed anymore.
27881         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27882         all files in it.
27883         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27884         directory.
27885         (texis): Renamed to $(objpfx)texis.
27886         (texis-path): New, contains path to generated files.
27887         (chapters.%): Use texis-path for complete path, add extra argument
27888         libc-texinfo.sh.
27889         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27890         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27891         (summary,texi, stamp-summary): Use complete path of
27892         files. Generate files in build dir.
27893         (dir-add.texi): Build in build dir.
27894         (libm-err.texi,stamp-libm-err): Likewise.
27895         (version.texi, stamp-version): Likewise.
27896         (.%c.texi): Likewise.
27897         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27898         (mostlyclean): Remove target.
27899         (realclean): Remove target.
27900         (generated): Add new variable with contents from mostlyclean and
27901         realclean, remove entries duplicated in common-mostlyclean, add
27902         stamp-libm-err and stamp-version.
27903         (generated-dirs): Add libc directory.
27904         ($(inst_infodir)/libc.info): Install files from build dir.
27906         * manual/install.texi (Configuring and compiling): Adjust since
27907         the info files are not part of the tar ball anymore.
27909 2012-05-14  Andreas Jaeger  <aj@suse.de>
27911         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27912         variable.
27914 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27916         [BZ #13717]
27917         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27918         to 2.2.0 where earlier.
27919         * sysdeps/unix/sysv/linux/configure: Regenerated.
27920         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27921         Remove conditional code.
27922         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27923         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27924         Remove conditional code.
27925         [!__NR_lchown]: Likewise.
27926         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27927         [__NR_lchown]: Likewise.
27928         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27929         comment referencing __ASSUME_LCHOWN_SYSCALL.
27930         * sysdeps/unix/sysv/linux/i386/sigaction.c
27931         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27932         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27933         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27934         Remove conditional code.
27935         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27936         (__protocol_available): Remove #if 0 code.
27937         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27938         conditional code.
27939         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27940         * sysdeps/unix/sysv/linux/kernel-features.h
27941         (__ASSUME_GETCWD_SYSCALL): Don't define.
27942         (__ASSUME_REALTIME_SIGNALS): Likewise.
27943         (__ASSUME_PREAD_SYSCALL): Likewise.
27944         (__ASSUME_PWRITE_SYSCALL): Likewise.
27945         (__ASSUME_POLL_SYSCALL): Likewise.
27946         (__ASSUME_LCHOWN_SYSCALL): Likewise.
27947         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27948         non-SPARC.
27949         (__ASSUME_SIOCGIFNAME): Don't define.
27950         (__ASSUME_MSG_NOSIGNAL): Likewise.
27951         (__ASSUME_SENDFILE): Define unconditionally.
27952         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27953         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27954         conditional code.
27955         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27956         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27957         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27958         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27959         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27960         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27961         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27963         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27964         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27966         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27967         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27969         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27972         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27973         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27975         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27978         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27979         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27981         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27982         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27984         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27985         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27986         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27987         Remove conditional code.
27988         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27989         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27990         Remove conditional code.
27991         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27992         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27993         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27994         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27995         Remove conditional code.
27996         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27997         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27998         Remove conditional code.
27999         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28000         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28001         Remove conditional code.
28002         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28003         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28004         Remove conditional code.
28005         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28006         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28007         Remove conditional code.
28008         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28009         * sysdeps/unix/sysv/linux/sh/pwrite64.c
28010         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28011         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28012         * sysdeps/unix/sysv/linux/sigaction.c
28013         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28014         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28015         * sysdeps/unix/sysv/linux/sigpending.c
28016         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28017         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28018         * sysdeps/unix/sysv/linux/sigprocmask.c
28019         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28020         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28021         * sysdeps/unix/sysv/linux/sigsuspend.c
28022         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28023         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28024         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28025         (__libc_missing_rt_sigs): Remove.
28026         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28027         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28028         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28029         Remove conditional code.
28030         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28031         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28032         return 1.
28033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28034         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28035         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28036         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28038 2012-05-14  Andreas Jaeger  <aj@suse.de>
28040         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28041         it's not used in glibc.
28042         (__coshm1): Likewise.
28043         (__acosh1p): Likewise.
28044         (__sgn): Likewise.
28046         * manual/string.texi (Copying and Concatenation): Add missing
28047         variable in concat example.
28048         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28052         [BZ #14103]
28053         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28054         __builtin_clzl with __builtin_clzll.
28056 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28058         [BZ #14104]
28059         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28060         libc_freeres_ptr.
28062 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28064         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28065         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28066         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28067         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28069 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28071         * NEWS: Update ia64 info.
28073 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28075         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28076         used as bcopy.
28078 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28080         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28081         * sysdeps/unix/syscalls.list (dup3): Likewise.
28082         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28083         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28085 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28087         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28088         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28090 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28092         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28093         thread pointer.
28094         (TLS_IE): Use mov/add instead of movq/addq to load thread
28095         pointer.
28096         (TLS_GD_PREFIX): New.
28097         (TLS_GD): Use it.
28099 2012-05-11  David S. Miller  <davem@davemloft.net>
28101         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28102         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28103         (_FPU_SETCW): Likewise.
28105 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28107         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28108         is 32-byte aligned.
28110 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28112         [BZ #11837]
28113         * iconvdata/gb18030.c: Update tables.
28114         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28115         characters specially.
28116         (BODY for TO_LOOP): Add encoding of missing ranges.
28118 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28120         [BZ #13673]
28121         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28122         * sysdeps/mach/hurd/dup3.c: Likewise.
28123         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28124         * sysdeps/powerpc/memmove.c:: Likewise.
28126 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28128         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28129         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28131 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28133         * elf/elf.h (R_X86_64_RELATIVE64): New.
28134         (R_X86_64_NUM): Updated.
28135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28136         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28137         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28138         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28139         tst-quad1pie tst-quad2pie
28140         (modules-names): Add tst-quadmod1 tst-quadmod2.
28141         ($(objpfx)tst-quad1): New dependency.
28142         ($(objpfx)tst-quad2): Likewise.
28143         ($(objpfx)tst-quad1pie): Likewise.
28144         ($(objpfx)tst-quad2pie): Likewise.
28145         * sysdeps/x86_64/tst-quad1.c: New file.
28146         * sysdeps/x86_64/tst-quad1pie.c: New file.
28147         * sysdeps/x86_64/tst-quad2.c: Likewise.
28148         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28149         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28150         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28151         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28152         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28154 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28156         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28157         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28158         * streams/stropts.h (t_scalar_t): Define type.
28160         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28161         (_PATH_PRESERVE): Set to "/var/lib".
28162         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28164         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28165         instead of int.
28167         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28168         if __dir_mkfile succeeded.
28170         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28171         checking for _hurd_dtablesize.  Unlock it right after having
28172         finished _hurd_dtable allocation.
28174 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28176         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28177         * sysdeps/mach/hurd/configure: Regenerated.
28178         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28179         special-casing to...
28180         * sysdeps/gnu/configure.in: ... this new file.
28181         * sysdeps/unix/sysv/linux/configure: Regenerated.
28182         * sysdeps/gnu/configure: New generated file.
28184         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28185         for Linux: use nsec instead of usec, as well as:
28186         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28187         members of type struct timespec.
28188         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28189         New macros.
28190         (struct stat64): Likewise.
28191         (_STATBUF_ST_NSEC): New macro.
28192         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28194         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28195         __strtoul_internal rather than strtoul.
28197 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28199         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28200         and reject them.
28202 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28204         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28205         which preserves existing values.
28206         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28208 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28210         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28211         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28212         greater than FD_SETSIZE.
28214 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28216         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28217         allocated, call __vm_protect to finish enabling the existing space, and
28218         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28219         allocate the remainder.
28221 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28223         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28224         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28228         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28229         sysdeps/mach/hurd/readlink.c.
28231         * posix/tst-sysconf.c (posix_options): Only use
28232         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28233         _POSIX_SYNCHRONIZED_IO when they are defined
28234         * sysdeps/mach/hurd/bits/posix_opt.h:
28235         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28236         (_XOPEN_REALTIME): Undefine macro.
28237         (_XOPEN_REALTIME_THREADS): Undefine macro.
28238         (_XOPEN_SHM): Undefine macro.
28239         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28240         macro to -1.
28241         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28242         macro to -1.
28243         (_POSIX_ASYNC_IO): Undefine macro.
28244         (_POSIX_PRIORITIZED_IO): Undefine macro.
28245         (_POSIX_SPIN_LOCKS): Define macro to -1.
28247         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28248         SA_NODEFER, SA_RESETHAND.
28249         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28250         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28251         F_DUPFD_CLOEXEC.
28253 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28255         * elf/Makefile (pldd-modules): Define unconditionally.
28257 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28259         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28263         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28264         Return ENOENT when name is empty.
28265         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28269         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28271         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28275         Fix mlock in all cases except non-readable pages.
28276         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28277         instead of VM_PROT_ALL as parameter to __vm_wire function.
28279         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28280         (__mkdir): When path is `/', just fail with EEXIST.
28281         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28285         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28286         <sys/uio.h> (for writev).
28287         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28288         and <sys/param.h> (for MIN).
28290 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28292         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28293         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28294         if interrupted.
28296 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28298         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28299         Depend on against $(link-rpcuserlibs).
28301 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28303         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28304         (__libc_stack_end): Do not use attribute_relro.
28305         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28306         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28307         to libthread-provided value.
28308         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28309         attribute_relro.
28311 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28313         [BZ #3748]
28314         * bits/libc-lock.h (__libc_once_get): New macro.
28315         * sysdeps/mach/bits/libc-lock.h: Likewise.
28316         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28318         instead of using implementation details.
28320         * libio/fileops.c: Unconditionally include <kernel-features.h>.
28321         * libio/freopen.c: Likewise.
28322         * libio/freopen64.c: Likewise.
28323         * misc/syslog.c: Likewise.
28324         * nscd/connections.c: Likewise.
28325         * nscd/netgroupcache.c: Likewise.
28326         * sysdeps/posix/getcwd.c: Likewise.
28328 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28330         * math/w_ilogbf.c: Add #include <limits.h>.
28332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28334         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28335         path instead of returning without unlocking.
28337         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28338         immediate-write ioctls.
28339         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28343         * sysdeps/mach/hurd/i386/init-first.c (init): Use
28344         __builtin_frame_address instead of making assumptions about the
28345         location of the return address relative to DATA.  Force early load of
28346         the return address.
28347         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28348         __builtin_frame_address.
28350         dup3 for GNU Hurd.
28351         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28352         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
28353         implement dup3 and do some further code clean-ups.
28354         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28355         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28359         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28361         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28362         HURD_CRITICAL_END around holding _hurd_dtable_lock.
28363         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28364         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28365         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28366         d->port.lock.
28368         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28369         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
28370         when handler == SIG_ERR, not when handler != SIG_ERR.
28372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28374         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28375         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28376         definitions.
28378         accept4 for GNU Hurd.
28379         * include/sys/socket.h (__libc_accept4): New prototype.
28380         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
28381         to implement __libc_accept4.
28382         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28383         __libc_accept4.
28384         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28386         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28387         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28388         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28389         signal-defines.sym.
28391 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28393         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28397         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28398         assertion on O_CLOEXEC flag.
28399         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28400         * hurd/intern-fd.c: Likewise.
28401         * hurd/port2fd.c: Likewise.
28403 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28405         [BZ #3906]
28406         * bits/in.h (IPV6_PKTINFO): Define new macro.
28407         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28409 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28411         [BZ #13954]
28412         [BZ #13955]
28413         [BZ #13956]
28414         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28415         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28416         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28417         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28418         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28419         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28420         * math/libm-test.inc (logb_test) : Additional logb tests.
28422 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
28423             Andreas Jaeger  <aj@suse.de>
28425         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28426         * configure: Regenerated.
28427         * config.h.in (LINK_OBSOLETE_RPC): New macro.
28428         * config.make.in (link-obsolete-rpc): New substituted variable.
28429         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28430         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28431         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28432         (shared-only-routines): Don't set it under [link-obsolete-rpc],
28433         so that libc.a contains the symbols.
28434         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28435         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28436         * sunrpc/auth_none.c: Likewise.
28437         * sunrpc/auth_unix.c: Likewise.
28438         * sunrpc/authdes_prot.c: Likewise.
28439         * sunrpc/authuxprot.c: Likewise.
28440         * sunrpc/clnt_gen.c: Likewise.
28441         * sunrpc/clnt_perr.c: Likewise.
28442         * sunrpc/clnt_raw.c: Likewise.
28443         * sunrpc/clnt_simp.c: Likewise.
28444         * sunrpc/clnt_tcp.c: Likewise.
28445         * sunrpc/clnt_udp.c: Likewise.
28446         * sunrpc/clnt_unix.c: Likewise.
28447         * sunrpc/des_crypt.c: Likewise.
28448         * sunrpc/des_soft.c: Likewise.
28449         * sunrpc/get_myaddr.c: Likewise.
28450         * sunrpc/key_call.c: Likewise.
28451         * sunrpc/key_prot.c: Likewise.
28452         * sunrpc/netname.c: Likewise.
28453         * sunrpc/pm_getmaps.c: Likewise.
28454         * sunrpc/pm_getport.c: Likewise.
28455         * sunrpc/pmap_clnt.c: Likewise.
28456         * sunrpc/pmap_prot.c: Likewise.
28457         * sunrpc/pmap_prot2.c: Likewise.
28458         * sunrpc/pmap_rmt.c: Likewise.
28459         * sunrpc/publickey.c: Likewise.
28460         * sunrpc/rpc_cmsg.c: Likewise.
28461         * sunrpc/rpc_common.c: Likewise.
28462         * sunrpc/rpc_dtable.c: Likewise.
28463         * sunrpc/rpc_prot.c: Likewise.
28464         * sunrpc/rpc_thread.c: Likewise.
28465         * sunrpc/rtime.c: Likewise.
28466         * sunrpc/svc.c: Likewise.
28467         * sunrpc/svc_auth.c: Likewise.
28468         * sunrpc/svc_raw.c: Likewise.
28469         * sunrpc/svc_run.c: Likewise.
28470         * sunrpc/svc_tcp.c: Likewise.
28471         * sunrpc/svc_udp.c: Likewise.
28472         * sunrpc/svc_unix.c: Likewise.
28473         * sunrpc/svcauth_des.c: Likewise.
28474         * sunrpc/xcrypt.c: Likewise.
28475         * sunrpc/xdr.c: Likewise.
28476         * sunrpc/xdr_array.c: Likewise.
28477         * sunrpc/xdr_float.c: Likewise.
28478         * sunrpc/xdr_intXX_t.c: Likewise.
28479         * sunrpc/xdr_mem.c: Likewise.
28480         * sunrpc/xdr_rec.c: Likewise.
28481         * sunrpc/xdr_ref.c: Likewise.
28482         * sunrpc/xdr_sizeof.c: Likewise.
28483         * sunrpc/xdr_stdio.c: Likewise.
28485 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28487         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28488         change.  Update copyright years.
28490 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28492         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28494 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
28495             Joseph Myers  <joseph@codesourcery.com>
28496             Paul Pluzhnikov  <ppluzhnikov@google.com>
28498         [BZ #14012]
28499         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28500         requiring rpcgen.
28501         [cross-compiling] (extra-libs): Likewise.
28502         [cross-compiling] (extra-libs-others): Likewise.
28503         [cross-compiling] (librpcsvc-routines): Likewise.
28504         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28505         [cross-compiling] (omit-deps): Likewise.
28506         (sunrpc-CPPFLAGS): New variable.
28507         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28508         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28509         (cross-rpcgen-objs): New variable.
28510         (extra-objs): Append $(cross-rpcgen-objs).
28511         ($(cross-rpcgen-objs)): New rule.
28512         ($(objpfx)cross-rpcgen): Likewise.
28513         (rpcgen-cmd): Define to use $(built-program-file).  Expand
28514         comment.
28515         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28516         ($(objpfx)x%.stmp): Likewise.
28517         * sunrpc/proto.h [IS_IN_build] (_): Define.
28518         [IS_IN_build] (_libc_intl_domainname): Likewise.
28520 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28522         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28523         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28524         and R_X86_64_TPOFF64.
28526 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28528         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28529         sysdeps/unix/sysv/syscalls.list.
28530         (stime): Likewise.
28531         (utime): Likewise.
28532         * sysdeps/unix/sysv/syscalls.list: Remove file.
28534 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
28536         [BZ #3440]
28537         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28538         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28539         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28540         (__LC_IDENTIFICATION): Make these macros useful in #if
28541         expressions, as required by C99.
28543 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
28545         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28546         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
28547         after this.
28549 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
28551         * stdlib/longlong.h: Updated from GCC.
28553 2012-05-09  Andreas Jaeger  <aj@suse.de>
28555         * nscd/nscd.c (run_modes): Make named enum, reorder so that
28556         default is first entry.
28557         (run_mode): Set type.
28558         (main): Remove informal message about syslog.
28559         (options): Fix typo.
28561         [BZ #14053]
28562         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28563         to asm.
28564         (lrint): Likewise.
28565         (llrintf): Likewise.
28566         (llrint): Likewise.
28567         (rint): Likewise.
28568         (rintf): Likewise.
28569         (nearbyint): Likewise.
28570         (nearbyintf): Likewise.
28572 2012-05-09  Andreas Jaeger  <aj@suse.de>
28573             Pedro Alves  <palves@redhat.com>
28575         * nscd/nscd.c (run_mode): Use enum.
28576         (main): Cleanup coding style issue.
28578 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
28579             Andreas Jaeger  <aj@suse.de>
28581         * nscd/nscd.c (go_background): Replaced with...
28582         (run_mode): ... this.
28583         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28584         (options): Add -F --foreground.
28585         (main): Implement it.
28586         (parse_opt): Parse it.
28588 2012-05-09  Andreas Jaeger  <aj@suse.de>
28590         [BZ #14083]
28591         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28592         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28593         -Wconversion warning.
28594         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28595         Likewise.
28597 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
28599         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
28600         == 0.
28601         (LC_ALL): Use macro-int-constant.
28602         (LC_COLLATE): Likewise.
28603         (LC_CTYPE): Likewise.
28604         (LC_MESSAGES): Likewise.
28605         (LC_MONETARY): Likewise.
28606         (LC_NUMERIC): Likewise.
28607         (LC_TIME): Likewise.
28608         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28609         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28610         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28611         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28612         Specify type.
28613         [C99-based standards] (float_t): Expect type.
28614         [C99-based standards] (double_t): Expect type.
28615         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
28616         type.
28617         [C99-based standards] (HUGE_VALL): Likewise.
28618         [C99-based standards] (INFINITY): Likewise.
28619         [C99-based standards] (NAN): Likewise.
28620         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28621         [C99-based standards] (FP_NAN): Likewise.
28622         [C99-based standards] (FP_NORMAL): Likewise.
28623         [C99-based standards] (FP_SUBNORMAL): Likewise.
28624         [C99-based standards] (FP_ZERO): Likewise.
28625         [C99-based standards] (FP_FAST_FMA): Use
28626         optional-macro-int-constant.  Specify type.  Require == 1.
28627         [C99-based standards] (FP_FAST_FMAF): Likewise.
28628         [C99-based standards] (FP_FAST_FMAL): Likewise.
28629         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28630         [C99-based standards] (FP_ILOGBNAN): Likewise.
28631         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28632         Specify type.
28633         [C99-based standards] (MATH_ERREXCEPT): Likewise.
28634         [C99-based standards] (math_errhandling): Specify type.
28635         [ISO99 || ISO11] (signgam): Do not allow.
28636         [non-C99-based standards] (copysignf): Do not allow.
28637         [non-C99-based standards] (exp2f): Likewise.
28638         [non-C99-based standards] (log2f): Likewise.
28639         [non-C99-based standards] (modff): Allow.
28640         [non-C99-based standards] (erff): Do not allow.
28641         [non-C99-based standards] (erfcf): Likewise.
28642         [non-C99-based standards] (gammaf): Likewise.
28643         [non-C99-based standards] (hypotf): Likewise.
28644         [non-C99-based standards] (j0f): Likewise.
28645         [non-C99-based standards] (j1f): Likewise.
28646         [non-C99-based standards] (jnf): Likewise.
28647         [non-C99-based standards] (lgammaf): Likewise.
28648         [non-C99-based standards] (tgammaf): Likewise.
28649         [non-C99-based standards] (y0f): Likewise.
28650         [non-C99-based standards] (y1f): Likewise.
28651         [non-C99-based standards] (ynf): Likewise.
28652         [non-C99-based standards] (isnanf): Likewise.
28653         [non-C99-based standards] (acoshf): Likewise.
28654         [non-C99-based standards] (asinhf): Likewise.
28655         [non-C99-based standards] (atanhf): Likewise.
28656         [non-C99-based standards] (cbrtf): Likewise.
28657         [non-C99-based standards] (expm1f): Likewise.
28658         [non-C99-based standards] (ilogbf): Likewise.
28659         [non-C99-based standards] (log1pf): Likewise.
28660         [non-C99-based standards] (logbf): Likewise.
28661         [non-C99-based standards] (nextafterf): Likewise.
28662         [non-C99-based standards] (remainderf): Likewise.
28663         [non-C99-based standards] (rintf): Likewise.
28664         [non-C99-based standards] (scalbf): Likewise.
28665         [non-C99-based standards] (copysignl): Likewise.
28666         [non-C99-based standards] (exp2l): Likewise.
28667         [non-C99-based standards] (log2l): Likewise.
28668         [non-C99-based standards] (modfl): Allow.
28669         [non-C99-based standards] (erfl): Do not allow.
28670         [non-C99-based standards] (erfcl): Likewise.
28671         [non-C99-based standards] (gammal): Likewise.
28672         [non-C99-based standards] (hypotl): Likewise.
28673         [non-C99-based standards] (j0l): Likewise.
28674         [non-C99-based standards] (j1l): Likewise.
28675         [non-C99-based standards] (jnl): Likewise.
28676         [non-C99-based standards] (lgammal): Likewise.
28677         [non-C99-based standards] (tgammal): Likewise.
28678         [non-C99-based standards] (y0l): Likewise.
28679         [non-C99-based standards] (y1l): Likewise.
28680         [non-C99-based standards] (ynl): Likewise.
28681         [non-C99-based standards] (isnanl): Likewise.
28682         [non-C99-based standards] (acoshl): Likewise.
28683         [non-C99-based standards] (asinhl): Likewise.
28684         [non-C99-based standards] (atanhl): Likewise.
28685         [non-C99-based standards] (cbrtl): Likewise.
28686         [non-C99-based standards] (expm1l): Likewise.
28687         [non-C99-based standards] (ilogbl): Likewise.
28688         [non-C99-based standards] (log1pl): Likewise.
28689         [non-C99-based standards] (logbl): Likewise.
28690         [non-C99-based standards] (nextafterl): Likewise.
28691         [non-C99-based standards] (remainderl): Likewise.
28692         [non-C99-based standards] (rintl): Likewise.
28693         [non-C99-based standards] (scalbl): Likewise.
28694         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28695         [non-C99-based standards] (FP_*): Do not allow.
28696         [C99-based standards] (FP_*): Change to
28697         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28698         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28699         allow.
28700         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28701         (SIG_ERR): Likewise.
28702         [X/Open-based standards] (SIG_HOLD): Likewise.
28703         (SIG_IGN): Likewise.
28704         (SIGABRT): Use macro-int-constant.  Specify type.  Require
28705         positive value.
28706         (SIGFPE): Likewise.
28707         (SIGILL): Likewise.
28708         (SIGINT): Likewise.
28709         (SIGSEGV): Likewise.
28710         (SIGTER): Likewise.
28711         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28712         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28713         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28714         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28715         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28716         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28717         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28718         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28719         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28720         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28721         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28722         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28723         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28724         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28725         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28726         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28727         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28728         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28729         [X/Open-based standards] (SIGTRAP): Likewise.
28730         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28731         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28732         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28733         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28734         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28735         allow.
28737 2012-05-08  Ian Wienand  <ianw@vmware.com>
28739         [BZ #14080]
28740         * time/tzset.c (__tzset_parse_tz): Update default rules for
28741         daylight time changes in the Energy Policy Act of 2005.
28743 2012-05-09  Andreas Jaeger  <aj@suse.de>
28745         [BZ #13983]
28746         * elf/ldconfig.c (parse_conf): Change string to make clear that
28747         ldconfig only issued a warning if ld.so.conf does not exist.
28749 2012-05-08  David S. Miller  <davem@davemloft.net>
28751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28752         movxtod instead of popping the value on the stack.
28754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28756 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
28758         * config.h.in: Add HAVE_ARM_PCS_VFP.
28760 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
28762         [BZ #13979]
28763         * include/features.h: Warn if user requests __FORTIFY_SOURCE
28764         checking but the checks are disabled for any reason.
28766 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
28768         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28769         and ELF64_R_TYPE with ELFW(R_TYPE).
28771 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
28773         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28774         (ulimit): Likewise.
28776         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28777         (settimeofday): Likewise.
28779 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
28781         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
28782         a struct th_u2 inside the union, and move tu_block/tu_code into
28783         a new th_u3 union of tu_block/tu_code inside of that.  Move
28784         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
28785         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
28786         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28787         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28788         (th_stuff): Change to th_u1.tu_stuff.
28789         (th_data): Define.
28790         (th_msg): Change to th_u1.th_u2.tu_data.
28792 2012-05-07  David S. Miller  <davem@davemloft.net>
28794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28796         [BZ #14074]
28797         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28798         (SETUP_PIC_REG): Use it.
28799         (SETUP_PIC_REG_LEAF): Use it.
28801 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
28803         [BZ #13885]
28804         [BZ #13923]
28805         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28806         USE_AS_EXPM1L.
28807         (EXPL_FINITE): Likewise.
28808         (FLDLOG): Likewise.
28809         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28810         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28811         e_expl.S.
28812         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28813         USE_AS_EXPM1L.
28814         (EXPL_FINITE): Likewise.
28815         (FLDLOG): Likewise.
28816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28817         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28818         e_expl.S.
28819         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
28820         test of -max_value argument for long double.
28821         * sysdeps/i386/fpu/libm-test-ulps: Update.
28822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28824 2012-05-06  David S. Miller  <davem@davemloft.net>
28826         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28827         quad soft-float symbols whose references which are compiler
28828         generated.
28829         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28831 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
28833         [BZ #13884]
28834         [BZ #13914]
28835         * sysdeps/i386/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         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28845         e_expl.S.
28846         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28847         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28848         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28849         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28850         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28851         USE_AS_EXP10L.
28852         (EXPL_FINITE): Likewise.
28853         (FLDLOG): Likewise.
28854         (c0): Likewise.
28855         (c1): Likewise.
28856         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28857         Adjust comments for base varying.
28858         (__expl_finite): Change alias to EXPL_FINITE.
28859         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
28860         tests for bugs.
28861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28863         [BZ #14064]
28864         * math/libm-test.inc (check_float_internal): Correct ulp
28865         calculation for subnormal expected results.
28867 2012-05-06  Andreas Jaeger  <aj@suse.de>
28869         * Makeconfig (+math-flags): New, set to -frounding-math.
28870         (+cflags): Add +math-flags so that all of glibc gets compiled with
28871         it.
28873         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28875 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
28877         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28878         Disable one test.
28880         [BZ #13787]
28881         [BZ #13922]
28882         [BZ #14036]
28883         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28884         (__ieee754_expl): Allow for and saturate large arguments.
28885         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28886         (u_threshold): Likewise.
28887         (__exp): Call __ieee754_exp before checking for overflow and
28888         underflow.
28889         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28890         (u_threshold): Likewise.
28891         (__expf): Call __ieee754_expf before checking for overflow and
28892         underflow.
28893         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28894         (u_threshold): Likewise.
28895         (__expl): Call __ieee754_expl before checking for overflow and
28896         underflow.
28897         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28898         (__ieee754_expl): Allow for and saturate large arguments.
28899         * math/libm-test.inc (exp_test): Add another test.  Do not allow
28900         missing overflow exception on overflow.
28901         (expm1_test): Do not allow missing overflow exception on overflow.
28903         * sysdeps/i386/fpu/e_expl.c: Move to ...
28904         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
28905         rather than using inline asm.
28906         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28907         * sysdeps/x86_64/fpu/e_expl.S: Copy from
28908         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28910         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28911         (nice): Likewise.
28912         (poll): Likewise.
28913         (signal): Likewise.
28914         (time): Likewise.
28915         (times): Likewise.
28917 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28919         * sysdeps/unix/syscalls.list (adjtime): Add entry from
28920         sysdeps/unix/common/syscalls.list.
28921         (fchmod): Likewise.
28922         (fchown): Likewise.
28923         (ftruncate): Likewise.
28924         (getrusage): Likewise.
28925         (gettimeofday): Likewise.
28926         (setpgid): Likewise.
28927         (setregid): Likewise.
28928         (setreuid): Likewise.
28929         (sigaction): Likewise.
28930         (truncate): Likewise.
28931         (vhangup): Likewise.
28932         * sysdeps/unix/common/syscalls.list: Remove file.
28933         * sysdeps/unix/bsd/Implies: Don't include unix/common.
28934         * sysdeps/unix/sysv/linux/Implies: Likewise.
28936 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
28938         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28940         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28941         Moved to ...
28942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28943         Here.
28944         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28945         to ...
28946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28947         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28948         to ...
28949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28950         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28951         to ...
28952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28953         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28954         to ...
28955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28956         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28957         to ...
28958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28959         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28960         to ...
28961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28962         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28963         to ...
28964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28965         Here.
28966         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28967         to ...
28968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28969         Here.
28970         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28971         to ...
28972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28973         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28974         Moved to ...
28975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28976         Here.
28977         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28978         to ...
28979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28981 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28983         * sysdeps/unix/common/bits/dirent.h: Remove file.
28984         * sysdeps/unix/common/bits/fcntl.h: Likewise.
28986         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28987         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28988         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28989         * sysdeps/unix/bsd/isatty.c: Likewise.
28990         * sysdeps/unix/bsd/tcdrain.c: Likewise.
28991         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28992         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28994 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28996         [BZ #13563]
28997         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28998         long double comparison inaccuracies.
28999         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29002 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
29004         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29005         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29007 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29009         [BZ #14049]
29010         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29011         nonzero digits before rounding a hex value.
29012         * stdlib/tst-strtod.c (tests): Add another test.
29014 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29016         * sysdeps/s390/fpu/libm-test-ulps: Update.
29018 2012-05-03  Andreas Jaeger  <aj@suse.de>
29020         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29021         does not get optimized out.
29022         (malloc_opt_barrier): New.
29024 2012-05-03  Andreas Jaeger  <aj@suse.de>
29025             Roland McGrath  <roland@hack.frob.com>
29027         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29028         intermediate file deletion.
29029         (generated): Add .symlist files.
29031 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29033         [BZ #13775]
29034         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29035         Redirect under this condition.
29036         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29037         [__USE_GNU] (__dprintf_chk): Not under this condition.
29038         [__USE_GNU] (__vdprintf_chk): Likewise.
29039         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29040         under this condition.
29041         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29042         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29043         [__USE_XOPEN2K8] (vdprintf): Likewise.
29044         [__USE_GNU] (__dprintf_chk): Not under this condition.
29045         [__USE_GNU] (__vdprintf_chk): Likewise.
29046         [__USE_GNU] (dprintf): Likewise.
29047         [__USE_GNU] (vdprintf): Likewise.
29049 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29051         * elf/Makefile (common-generated): Set this instead of generated for
29052         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29053         $(all-built-dso)-derived lists.
29055 2012-05-03  Andreas Jaeger  <aj@suse.de>
29057         * sysdeps/i386/fpu/libm-test-ulps: Update.
29059         * FAQ: Removed.
29060         * FAQ.in: Likewise.
29061         * scripts/gen-FAQ.pl: Likewise.
29062         * manual/install.texi (Installation): Point to online location of
29063         FAQ.
29064         * Makefile (files-for-dist): Remove FAQ.
29065         (FAQ): Remove.
29067 2012-05-02  Allan McRae  <allan@archlinux.org>
29069         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29070         (LDFLAGS-reldepmod5.so): Likewise.
29071         (LDFLAGS-reldep6mod1.so): Likewise.
29072         (LDFLAGS-reldep6mod4.so): Likewise.
29073         (LDFLAGS-reldep8mod3.so): Likewise.
29074         (LDFLAGS-unload4mod1.so): Likewise.
29075         (LDFLAGS-unload4mod2.so): Likewise.
29076         (LDFLAGS-tst-initorder): Likewise.
29077         (LDFLAGS-tst-initordera2.so): Likewise.
29078         (LDFLAGS-tst-initordera3.so): Likewise.
29079         (LDFLAGS-tst-initordera4.so): Likewise.
29080         (LDFLAGS-tst-initorderb2.so): Likewise.
29081         (LDFLAGS-noload): Likewise.
29082         (LDFLAGS-next): Likewise.
29083         (LDFLAGS-order2mod1.so): Likewise.
29084         (LDFLAGS-order2mod2.so): Likewise.
29085         (LDFLAGS-tst-initorder2): Likewise.
29086         (LDFLAGS-tst-initorder2a.so): Likewise.
29087         (LDFLAGS-tst-initorder2b.so): Likewise.
29088         (LDFLAGS-tst-initorder2c.so): Likewise.
29089         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29091 2012-05-02  David S. Miller  <davem@davemloft.net>
29093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29095 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29097         [BZ #14055]
29098         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29100 2012-05-02  Andreas Jaeger  <aj@suse.de>
29102         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29103         since we manipulate rounding mode.
29104         (CPPFLAGS-test-idouble.c): Likewise.
29105         (CPPFLAGS-test-ifloat.c): Likewise.
29106         (CFLAGS-test-ldouble.c): Likewise.
29107         (CFLAGS-test-double.c): Likewise.
29108         (CFLAGS-test-float.c): Likewise.
29109         (CFLAGS-test-misc.c): Likewise.
29110         (CFLAGS-test-test-fenv.c): Likewise.
29112 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29114         [BZ #2550]
29115         [BZ #2570]
29116         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29117         comparisons to determine direction to adjust input.
29119 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29121         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29122         output to the target.
29124         * scripts/localplt.awk: New file.
29125         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29126         (check-localplt-CFLAGS): Variable removed.
29127         ($(all-built-dso:=.jmprel)): New static pattern rule.
29128         (generated): Add those targets.
29129         (localplt-built-dso): New variable.
29130         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29132         * elf/check-localplt.c: File removed.
29134         * scripts/check-execstack.awk: New file.
29135         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29136         (check-execstack-CFLAGS): Variable removed.
29137         ($(objpfx)check-execstack.h): Target removed.
29138         ($(objpfx)execstack-default): New target.
29139         (generated): Add that instead of check-execstack.h.
29140         ($(all-built-dso:=.phdr)): New static pattern rule.
29141         (generated): Add those targets.
29142         * elf/check-execstack.c: File removed.
29144         * scripts/check-textrel.awk: New file.
29145         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29146         (check-textrel-CFLAGS): Variable removed.
29147         (all-built-dso): Use := to define.o
29148         ($(all-built-dso:=.dyn)): New static pattern rule.
29149         (generated): Add those targets.
29150         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29151         * config.make.in (READELF): New substituted variable.
29152         * elf/check-textrel.c: File removed.
29154 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29156         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29157         allow.
29158         * conform/data/ctype.h-data [C99-based standards] (isblank):
29159         Expect function.
29160         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29161         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29162         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29163         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29164         Specify type.  Require positive value.
29165         (EILSEQ): Likewise.
29166         (ERANGE): Likewise.
29167         [ISO || POSIX] (EILSEQ): Do not expect.
29168         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29169         Specify type.  Require positive value.
29170         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29171         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29172         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29173         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29174         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29175         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29176         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29177         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29178         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29179         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29180         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29181         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29182         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29183         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29184         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29185         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29186         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29187         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29188         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29189         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29190         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29191         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29192         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29193         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29194         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29195         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29196         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29197         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29198         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29199         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29200         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29201         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29202         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29203         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29204         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29205         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29206         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29207         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29208         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29209         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29210         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29211         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29212         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29213         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29214         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29215         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29216         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29217         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29218         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29219         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29220         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29221         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29222         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29223         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29224         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29225         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29226         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29227         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29228         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29229         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29230         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29231         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29232         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29233         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29234         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29235         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29236         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29237         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29238         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29239         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29240         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29241         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29242         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29243         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29244         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29245         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29246         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29247         Require >= 2.
29248         (FLT_ROUNDS): Expect as macro, not constant.
29249         (FLT_MANT_DIG): Use macro-int-constant.
29250         (DBL_MANT_DIG): Likewise.
29251         (LDBL_MANT_DIG): Likewise.
29252         (FLT_DIG): Likewise.
29253         (DBL_DIG): Likewise.
29254         (LDBL_DIG): Likewise.
29255         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29256         (DBL_MIN_EXP): Likewise.
29257         (LDBL_MIN_EXP): Likewise.
29258         (FLT_MAX_EXP): Use macro-int-constant.
29259         (DBL_MAX_EXP): Likewise.
29260         (LDBL_MAX_EXP): Likewise.
29261         (FLT_MAX_10_EXP): Likewise.
29262         (DBL_MAX_10_EXP): Likewise.
29263         (LDBL_MAX_10_EXP): Likewise.
29264         (FLT_MAX): Use macro-constant.
29265         (DBL_MAX): Likewise.
29266         (LDBL_MAX): Likewise.
29267         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29268         (DBL_EPSILON): Likewise.
29269         (LDBL_EPSILON): Likewise.
29270         (FLT_MIN): Likewise.
29271         (DBL_MIN): Likewise.
29272         (LDBL_MIN): Likewise.
29273         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29274         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29275         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29276         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29277         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29278         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29279         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29280         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29281         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29282         [ISO11] (FLT_TRUE_MIN): Likewise.
29283         [ISO11] (LDBL_TRUE_MIN): Likewise.
29284         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29285         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29286         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29287         (SCHAR_MAX): Likewise.
29288         (UCHAR_MAX): Likewise.
29289         (CHAR_MIN): Likewise.
29290         (CHAR_MAX): Likewise.
29291         (MB_LEN_MAX): Use macro-int-constant.
29292         (SHRT_MIN): Use macro-int-constant.  Specify type.
29293         (SHRT_MAX): Likewise.
29294         (USHRT_MAX): Likewise.
29295         (INT_MAX): Likewise.
29296         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29297         bound negative.
29298         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29299         bound with "U".
29300         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29301         bound with "L".
29302         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
29303         bound negative.  Suffix upper bound with "L".
29304         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29305         bound with "UL".
29306         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29307         Specify type.
29308         [C99-based standards] (LLONG_MAX): Likewise.
29309         [C99-based standards] (ULLONG_MAX): Likewise.
29310         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
29311         == 0.
29312         [ISO11] (max_align_t): Require type.
29313         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29315         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29316         from $CFLAGS, without defining away __attribute__ calls.
29317         (checknamespace): Use $CFLAGS_namespace.
29319         * conform/conformtest.pl (@keywords): Only include C99 keywords
29320         for standards based on C99 or C11.
29322         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29323         Disable tests.
29324         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29325         UNIX98]: Likewise.
29327         * conform/conformtest.pl: Handle "macro-int-constant" and test for
29328         usability of symbols in #if.
29330         * conform/conformtest.pl: If macro or constant types start
29331         "promoted:", expect the symbol to be of the following type
29332         promoted by the integer promotions.
29334         * conform/conformtest.pl: Parse all "constant" and "macro" lines
29335         in one place.  Also handle "macro-constant".
29337         * conform/conformtest.pl: Only accept expected macro values with
29338         "==".  Parse all "macro" lines in one place.
29339         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29341         * conform/conformtest.pl: Handle braced types on "constant" lines
29342         instead of handling "typed-constant".
29343         * conform/data/signal.h-data: Use "constant" instead of
29344         "typed-constant".
29346         * conform/conformtest.pl: Handle "optional-" at start of lines in
29347         one place rather than duplicating several cases.  Handle each
29348         format of "macro" line with initial "optional-".
29350         * conform/conformtest.pl: Only accept expected constant or
29351         optional-constant values with "==".  Parse all "constant" lines in
29352         one place.  Parse all "optional-constant" lines in one place.
29353         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29354         * conform/data/fmtmsg.h-data: Likewise.
29355         * conform/data/netinet/in.h-data: Likewise.
29356         * conform/data/tar.h-data: Likewise.
29357         * conform/data/limits.h-data: Use "==" form on "constant" and
29358         "optional-constant" lines.
29360         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29361         Use -std=c99 for XOPEN2K.
29362         (@knownproblems): Remove.
29363         (newtoken): Don't check %isknown.
29365         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29366         Do not expect macro.
29367         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29368         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29369         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29370         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29371         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29372         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29373         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29374         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29375         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29376         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29377         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29378         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29379         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29380         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29381         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29382         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29383         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29384         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29385         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29386         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29387         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29388         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29389         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29390         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29391         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29392         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29393         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29394         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29395         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29396         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29397         [XPG3] (acosh): Likewise.
29398         [XPG3] (asinh): Likewise.
29399         [XPG3] (atanh): Likewise.
29400         [XPG3] (cbrt): Likewise.
29401         [XPG3] (expm1): Likewise.
29402         [XPG3] (ilogb): Likewise.
29403         [XPG3] (log1p): Likewise.
29404         [XPG3] (logb): Likewise.
29405         [XPG3] (nextafter): Likewise.
29406         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29407         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29408         [XPG3] (remainder): Likewise.
29409         [XPG3] (rint): Likewise.
29410         [XPG3 || XPG4 || UNIX98] (round): Likewise.
29411         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29412         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29413         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29414         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29415         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29416         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29417         [UNIX98 || XOPEN2K] (scalb): Expect.
29418         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29419         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29420         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29421         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29422         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29423         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29424         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29425         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29426         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29427         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29428         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29429         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29430         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29431         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29432         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29433         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29434         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29435         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29436         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29437         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29438         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29439         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29440         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29441         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29442         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29443         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29444         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29445         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29446         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29447         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29448         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29449         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29450         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29451         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29452         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29453         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29454         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29455         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29456         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29457         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29458         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29459         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29460         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29461         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29462         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29463         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29464         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29465         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29466         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29467         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29468         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29469         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29470         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29471         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29472         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29473         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29474         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29475         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29476         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29477         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29478         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29479         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29480         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29481         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29482         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29483         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29484         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29485         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29486         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29487         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29488         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29489         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29490         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29491         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29492         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29493         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29494         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29495         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29496         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29497         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29498         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29499         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29500         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29501         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29502         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29503         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29504         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29505         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29506         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29507         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29508         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29509         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29510         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29511         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29512         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29513         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29514         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29515         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29516         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29517         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29518         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29519         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29520         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29521         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29522         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29523         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29524         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29525         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29526         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29527         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29528         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29529         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29530         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29531         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29532         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29533         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29534         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29535         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29536         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29537         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29538         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29539         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29540         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29541         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29542         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29543         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29544         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29545         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29546         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29547         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29548         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29549         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29550         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29551         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29552         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29553         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29554         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29556         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29557         _XOPEN_SOURCE_EXTENDED for XPG4.
29559         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29561         * Makeconfig (localtime): Remove variable.
29562         (inst_localtime-file): Likewise.
29564 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29567         Update.
29568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29569         Update.
29570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29571         Update.
29572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29573         Update.
29574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29575         Update.
29576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29577         Update.
29578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29579         Update.
29580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29581         Update.
29582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29583         Update.
29585 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29587         [BZ #2550]
29588         [BZ #2570]
29589         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29590         comparisons to determine direction to adjust input.
29591         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29592         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29593         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29594         Likewise.
29595         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29596         Likewise.
29597         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29598         Likewise.
29599         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29600         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29601         Likewise.
29602         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29603         Likewise.
29604         * math/libm-test.inc (nexttoward_test): Add more tests.
29606 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29608         [BZ #14040]
29609         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29610         in version GLIBC_2.1, not GLIBC_2.0.
29611         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29612         Likewise.
29614 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
29616         [BZ #13942]
29617         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29618         (1 - x) * (1 + x).
29619         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29620         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29621         * math/libm-test.inc (acos_test): Add more tests.
29622         (asin_test): Likewise.
29623         * sysdeps/i386/fpu/libm-test-ulps: Update.
29624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29626         [BZ #14034]
29627         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29628         of square root.
29629         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29630         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29631         * math/libm-test.inc (acos_test_tonearest): New function.
29632         (acos_test_towardzero): Likewise.
29633         (acos_test_downward): Likewise.
29634         (acos_test_upward): Likewise.
29635         (asin_test_tonearest): Likewise.
29636         (asin_test_towardzero): Likewise.
29637         (asin_test_downward): Likewise.
29638         (asin_test_upward): Likewise.
29639         (main): Call the new functions.
29640         * sysdeps/i386/fpu/libm-test-ulps: Update.
29641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29643         [BZ #13884]
29644         [BZ #13924]
29645         * math/e_exp10.c: Include <float.h>.
29646         (__ieee754_exp10): Handle underflow here rather than multiplying
29647         large negative argument by M_LN10.
29648         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29649         of __ieee754_expf.
29650         * math/e_exp10l.c: Include <float.h>.
29651         (__ieee754_exp10l): Handle underflow here rather than multiplying
29652         large negative argument by M_LN10l.
29653         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
29654         spurious overflow exception on underflow.
29656 2012-04-29  Marek Polacek  <polacek@redhat.com>
29658         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29659         (__fortify_function): New macro.
29660         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29661         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29662         __extern_always_inline.
29663         * libio/bits/stdio2.h: Likewise.
29664         * libio/bits/stdio.h: Likewise.
29665         * string/string.h: Likewise.
29666         * string/bits/string3.h: Likewise.
29667         * include/stdio.h: Likewise.
29668         * stdlib/bits/stdlib.h: Likewise.
29669         * stdlib/stdlib.h: Likewise.
29670         * rt/bits/mqueue2.h: Likewise.
29671         * rt/mqueue.h: Likewise.
29672         * posix/bits/unistd.h: Likewise.
29673         * posix/unistd.h: Likewise.
29674         * io/bits/poll2.h: Likewise.
29675         * io/bits/fcntl2.h: Likewise.
29676         * io/fcntl.h: Likewise.
29677         * io/sys/poll.h: Likewise.
29678         * misc/bits/syslog.h: Likewise.
29679         * misc/bits/syslog-ldbl.h: Likewise.
29680         * misc/sys/syslog.h: Likewise.
29681         * socket/bits/socket2.h: Likewise.
29682         * socket/sys/socket.h: Likewise.
29683         * debug/tst-chk1.c: Likewise.
29684         * wcsmbs/bits/wchar2.h: Likewise.
29685         * wcsmbs/bits/wchar-ldbl.h: Likewise.
29686         * wcsmbs/wchar.h: Likewise.
29688 2012-04-29  Andreas Jaeger  <aj@suse.de>
29690         * Makerules (tests): Remove enable-check-abi protection.
29691         (check-abi-warn): Remove.
29692         (check-abi-%): Remove check-abi-warn usage.
29694         * configure.in: Remove check-abi configure option.
29695         * configure: Regenerated.
29696         * config.make.in (enable-check-abi): Remove.
29698 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
29700         [BZ #14033]
29701         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29702         double functions to double *_finite functions.
29704         [BZ #13941]
29705         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29706         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29707         LDBL_MIN_EXP.
29708         * stdio-common/Makefile (tests): Add tst-sprintf3.
29709         * stdio-common/tst-sprintf3.c: New file.
29711         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29712         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29714 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29716         * conform/conformtest.pl: Remove duplicate typed-constant
29717         handling.
29719 2012-04-28  David S. Miller  <davem@davemloft.net>
29721         * Makerules (%.abilist): Add vpath on sysdep_dirs.
29722         (check-abi-%): Remove AWK script prerequisite and explicit
29723         abilist directory.
29724         (check-abi): Rewrite to just diff the symlist with the abilist.
29725         (config-tls, config-abi-config): Delete, no longer used.
29726         (update-abi-%): Remove AWK script and explicit abilist directory.
29727         (update-abi): Rewrite to simply compare and conditionally copy the
29728         symlist and the sysdep abilist file.  Remove update-abi-config
29729         checks.
29730         * abilist/ld.abilist: Remove.
29731         * abilist/libBrokenLocale.abilist: Remove.
29732         * abilist/libanl.abilist: Remove.
29733         * abilist/libcrypt.abilist: Remove.
29734         * abilist/libdl.abilist: Remove.
29735         * abilist/librt.abilist: Remove.
29736         * abilist/libthread_db.abilist: Remove.
29737         * abilist/libutil.abilist: Remove.
29738         * scripts/extract-abilist.awk: Remove.
29739         * scripts/merge-abilist.awk: Remove.
29740         * sysdeps/generic/libcidn.abilist: New file.
29741         * sysdeps/generic/libnss_compat.abilist: New file.
29742         * sysdeps/generic/libnss_db.abilist: New file.
29743         * sysdeps/generic/libnss_dns.abilist: New file.
29744         * sysdeps/generic/libnss_files.abilist: New file.
29745         * sysdeps/generic/libnss_hesiod.abilist: New file.
29746         * sysdeps/generic/libnss_nis.abilist: New file.
29747         * sysdeps/generic/libnss_nisplus.abilist: New file.
29748         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29749         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29750         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29751         file.
29752         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29753         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29754         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29755         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29756         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29757         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29758         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29759         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29760         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29761         file.
29762         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29763         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29764         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29765         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29766         file.
29767         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29768         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29769         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29770         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29771         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29772         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29773         file.
29774         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29775         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29776         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29777         file.
29778         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29779         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29780         New file.
29781         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29782         New file.
29783         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29784         New file.
29785         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29786         New file.
29787         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29788         New file.
29789         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29790         New file.
29791         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29792         New file.
29793         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29794         New file.
29795         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29796         New file.
29797         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29798         New file.
29799         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29800         New file.
29801         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29802         New file.
29803         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29804         New file.
29805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29806         file.
29807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29808         New file.
29809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29810         New file.
29811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29812         file.
29813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29814         New file.
29815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29816         New file.
29817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29818         file.
29819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29820         New file.
29821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29822         New file.
29823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29824         New file.
29825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29826         New file.
29827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29828         New file.
29829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29830         New file.
29831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29833         file.
29834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29835         New file.
29836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29837         file.
29838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29839         file.
29840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29841         file.
29842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29843         file.
29844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29845         file.
29846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29847         New file.
29848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29849         file.
29850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29851         file.
29852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29853         New file.
29854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29855         file.
29856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29858         file.
29859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29860         New file.
29861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29862         file.
29863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29864         file.
29865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29866         file.
29867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29868         file.
29869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29870         file.
29871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29872         New file.
29873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29874         file.
29875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29876         file.
29877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29878         New file.
29879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29880         file.
29881         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29882         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29883         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29884         file.
29885         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29886         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29887         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29888         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29889         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29890         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29891         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29892         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29893         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29894         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29897         file.
29898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29899         New file.
29900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29901         file.
29902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29903         file.
29904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29905         file.
29906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29907         file.
29908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29909         file.
29910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29911         New file.
29912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29913         New file.
29914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29915         file.
29916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29917         New file.
29918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29919         file.
29920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29922         file.
29923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29924         New file.
29925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29926         file.
29927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29928         file.
29929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29930         file.
29931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29932         file.
29933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29934         file.
29935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29936         New file.
29937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29938         New file.
29939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29940         file.
29941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29942         New file.
29943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29944         file.
29946 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29948         * conform/conformtest.pl: Fix typo in handling typed-constant from
29949         allow-header.
29951 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29953         * README: Cut down references to pre-2.6 Linux kernels and
29954         Linuxthreads.  Update lists of configurations in libc and ports
29955         and sort alphabetically.  Say "or newer" with Linux kernel version
29956         requirements.
29958         * config.h.in [IS_IN_build]: Allow compiling without optimization.
29960 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29962         [BZ #887]
29963         * math/libm-test.inc (logb_test_downward): New test to expose
29964         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29965         rounding mode.
29967 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29969         [BZ #14027]
29970         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29971         to be done.
29972         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29973         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29975 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
29977         * sysdeps/unix/i386/brk.S: Remove file.
29978         * sysdeps/unix/i386/dl-brk.S: Likewise.
29979         * sysdeps/unix/i386/pipe.S: Likewise.
29980         * sysdeps/unix/i386/sigreturn.S: Likewise.
29981         * sysdeps/unix/i386/syscall.S: Likewise.
29982         * sysdeps/unix/i386/vfork.S: Likewise.
29983         * sysdeps/unix/i386/wait.S: Likewise.
29985         * sysdeps/unix/common/tcsendbrk.c: Move to ...
29986         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29988         * configure.in (arm*-none*): Do not allow without
29989         --enable-hacker-mode.
29990         (netbsd*): Remove case setting base_os.
29991         (386bsd*): Likewise.
29992         (freebsd*): Likewise.
29993         (bsdi*): Likewise.
29994         (osf*): Likewise.
29995         (sunos*): Likewise.
29996         (ultrix*): Likewise.
29997         (newsos*): Likewise.
29998         (dynix*): Likewise.
29999         (*bsd*): Likewise.
30000         (sysv*): Likewise.
30001         (isc*): Likewise.
30002         (esix*): Likewise.
30003         (sco*): Likewise.
30004         (minix*): Likewise.
30005         (irix4*): Likewise.
30006         (irix6*): Likewise.
30007         (solaris[2-9]*): Likewise.
30008         (none): Likewise.
30009         * configure: Regenerated.
30011 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30013         [BZ #11521]
30014         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30015         overflow or cancellation in calculating denominator.
30016         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30017         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30018         down expression to avoid unexpected rounding in newer GCCs.
30019         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30021 2012-04-26  David S. Miller  <davem@davemloft.net>
30023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30024         long-double compat symbols.
30025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30039 2012-04-25  David S. Miller  <davem@davemloft.net>
30041         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30042         HWCAP_* values only after the memory barriers have been defined.
30043         (atomic_full_barrier): Define.
30044         (atomic_read_barrier): Define.
30045         (atomic_write_barrier): Define.
30047 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30049         * shlib-versions: Add libgcc_s version information.
30050         * sysdeps/generic/libgcc_s.h: Remove.
30051         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30052         libgcc_s.h.
30053         * sysdeps/gnu/unwind-resume.c: Likewise.
30054         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30056 2012-04-25  David S. Miller  <davem@davemloft.net>
30058         * sysdeps/unix/sparc/brk.S: Delete.
30059         * sysdeps/unix/sparc/dl-brk.S: Delete.
30060         * sysdeps/unix/sparc/pipe.S: Delete.
30061         * sysdeps/unix/sparc/sysdep.S: Delete.
30062         * sysdeps/unix/sparc/sysdep.h: Delete.
30063         * sysdeps/unix/sparc/vfork.S: Delete.
30064         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30065         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30066         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30067         ret_ERRVAL, r0, r1, MOVE): Define.
30068         (JUMPTARGET): Remove.
30069         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30070         sysdeps/unix/sparc/sysdep.h
30071         (ENTRY, END): Remove.
30072         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30074 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30076         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30077         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30078         -DIS_IN_build.
30080         * timezone/README: Update upstream location and email address for
30081         tzcode and tzdata.
30082         * timezone/zdump.c: Update from tzcode 2012b.
30083         * timezone/zic.c: Likewise.
30085         * configure.in (libc_cv_as_needed): Remove test.
30086         * configure: Regenerated.
30087         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30088         conditional definition.
30089         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30090         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30091         * config.make.in (have-as-needed): Remove variable.
30093 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30094             Paul Pluzhnikov  <ppluzhnikov@google.com>
30096         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30097         strings correctly.
30099 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30101         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30102         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30103         * sysdeps/sh/strlen.S: Likewise.
30105 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30107         * sysdeps/unix/fork.S: Remove file.
30108         * sysdeps/unix/i386/fork.S: Likewise.
30109         * sysdeps/unix/sparc/fork.S: Likewise.
30111         * sysdeps/unix/system.c: Remove file.
30112         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30114         * sysdeps/unix/getegid.S: Remove file.
30115         * sysdeps/unix/geteuid.S: Likewise.
30117 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30119         * scripts/check-localplt.awk: New file.
30120         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30121         of diff.
30122         * scripts/data/localplt-generic.data: Add a comment.
30124         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30125         NODE when __dir_mkfile failed.
30126         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30127         Reported by Ludovic Courtès <ludo@gnu.org>.
30129 2012-04-24  Andreas Jaeger  <aj@suse.de>
30131         * Makerules (common-clean): Also remove gen-as-const-headers
30132         files.
30134 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30136         * Makerules (native-compile): Do not change working directory for
30137         build.  Use $(OUTPUT_OPTION) in command.
30138         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30140 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30142         [BZ #13886]
30143         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30144         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30145         * math/libm-test.inc (floor_test): Add more tests.
30146         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30148 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30150         * sysdeps/unix/getdents.c: Remove file.
30151         * sysdeps/unix/sysv/getdents.c: Likewise.
30152         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30154         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30155         sysdeps/unix/mman/syscalls.list.
30156         (mmap): Likewise.
30157         (mprotect): Likewise.
30158         (msync): Likewise.
30159         (munmap): Likewise.
30160         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30161         * sysdeps/unix/mman/syscalls.list: Remove.
30162         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30164         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30165         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30166         * configure: Regenerated.
30167         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30168         $(libgcc_s_suffix).
30169         * config.make.in (libgcc_s_suffix): Remove variable.
30171 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30173         * sysdeps/unix/sysv/gethostname.c: Move to ...
30174         * sysdeps/posix/gethostname.c: ... here.
30176         * sysdeps/unix/execve.S: Remove file.
30178         * sysdeps/unix/_exit.S: Remove file.
30180 2012-04-23  Andreas Jaeger  <aj@suse.de>
30182         [BZ #13739]
30183         * manual/Makefile: Remove make dist support, there's no
30184         need for a stand-alone documentation tar ball.
30185         (TEXI2DVI): Define always, it's not in Makeconfig.
30186         (dist): Removed.
30187         (tar-it): Removed.
30188         (edition): Removed.
30189         (glibc-doc-$(edition).tar): Removed
30190         (%.Z): Removed.
30191         (%.gz): Removed.
30192         (%.uu): Removed.
30193         (ETAGS): Remove, it's in Makeconfig.
30194         (move-if-change): Remove, it's in Makeconfig.
30196 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30198         [BZ #13970]
30199         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30200         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30201         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30202         (strtod_l, strtof_l, strtold_l): Remove __wur.
30203         It is not necessarily an error to ignore strtol's return value.
30204         One can reliably look at the stored endptr to decide whether
30205         the number had valid syntax.
30207 2012-04-21  Andreas Jaeger  <aj@suse.de>
30209         [BZ #13739]
30210         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30212 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30214         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30215         * sysdeps/unix/sysv/Versions: Remove file.
30217 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30219         [BZ #13927]
30220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30222 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30224         [BZ #7064]
30225         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30226         version from __vm86.
30228 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30230         * sysdeps/unix/common/lxstat.c: Remove file.
30231         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30233         * sysdeps/unix/sysv/Makefile: Remove file.
30235         * sysdeps/unix/sysv/direct.h: Remove file.
30237         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30238         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30239         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30240         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30241         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30242         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30243         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30245         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30247         * sysdeps/unix/xmknod.c: Remove file.
30248         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30250         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30252         * sysdeps/unix/sysv/i386/time.S: Remove file.
30254         * sysdeps/unix/fxstat.c: Remove file.
30255         * sysdeps/unix/xstat.c: Likewise.
30256         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30258         * sysdeps/unix/sysv/sigaction.c: Remove file.
30260         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30261         (sysdep_headers): Remove variable.
30262         [termio.h not in sysdep_headers] (generated): Likewise.
30263         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30264         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30265         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30266         * sysdeps/unix/sysv/tcflow.c: Likewise.
30267         * sysdeps/unix/sysv/tcflush.c: Likewise.
30268         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30269         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30270         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30271         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30272         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30274         * sysdeps/unix/siglist.c: Remove file.
30276         * sysdeps/unix/getppid.S: Remove file.
30278         * sysdeps/unix/mkdir.c: Remove file.
30279         * sysdeps/unix/rmdir.c: Likewise.
30281 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30283         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30284         ERR_MAX value.
30285         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30286         errlist-compat value.
30288 2012-04-18  David S. Miller  <davem@davemloft.net>
30290         * sysdeps/generic/memcopy.h (reg_char): Delete.
30291         * debug/strcat_chk.c: Use char, not reg_char.
30292         * debug/strcpy_chk.c: Likewise.
30293         * debug/strncat_chk.c: Likewise.
30294         * debug/strncpy_chk.c: Likewise.
30295         * string/memchr.c: Likewise.
30296         * string/memrchr.c: Likewise.
30297         * string/rawmemchr.c: Likewise.
30298         * string/strcat.c: Likewise.
30299         * string/strchr.c: Likewise.
30300         * string/strchrnul.c: Likewise.
30301         * string/strcmp.c: Likewise.
30302         * string/strcpy.c: Likewise.
30303         * string/strncat.c: Likewise.
30304         * string/strncmp.c: Likewise.
30305         * string/strncpy.c: Likewise.
30307 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30309         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30310         __builtin_memcopy is called when src and dest ranges are known to not
30311         overlap.
30313 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30315         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30316         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30317         fwd_align_merge macro call.
30318         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30319         bwd_align_merge macro call.
30320         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30322 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30324         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30325         bwd_align_merge macros.
30326         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30327         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30328         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30330 2012-04-18  David S. Miller  <davem@davemloft.net>
30332         * sysdeps/sparc/sparc64/memcopy.h: Delete.
30334 2012-04-18  Andreas Jaeger  <aj@suse.de>
30336         [BZ# 6794]
30337         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30338         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30339         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30341         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30342         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30343         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30345         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30346         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30347         Adjust for changed ldbl-128 files.
30349         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30350         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30351         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30353 2012-04-17  David S. Miller  <davem@davemloft.net>
30355         * sysdeps/sparc/sparc32/memcopy.h: Delete.
30357 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
30359         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30360         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30361         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30362         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30363         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30364         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30366 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30368         [BZ #6794]
30369         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30370         * math/libm-test.inc: Add ilogb errno and exception tests.
30371         * math/w_ilogb.c: New file: ilogb wrapper.
30372         * math/w_ilogbf.c: New file: ilogbf wrapper.
30373         * math/w_ilogbl.c: New file: ilogbl wrapper.
30374         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30375         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30376         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30377         exception being thrown with 0.0 as argument.
30378         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30379         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30380         exception being thrown with 0.0 as argument.
30381         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30382         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30383         exception being thrown with 0.0 as argument.
30384         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30385         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30386         exception being thrown with 0.0 as argument.
30387         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30388         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30389         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30390         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30391         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30392         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30393         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30394         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30395         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30397 2012-04-17  Petr Baudis  <pasky@ucw.cz>
30399         * include/sys/uio.h: Change __vector to __iovec to avoid clash
30400         with altivec.
30402 2012-04-16  Marek Polacek  <polacek@redhat.com>
30404         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30406 2012-04-16  Marek Polacek  <polacek@redhat.com>
30408         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30409         operands of fdivp instruction.
30411 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30413         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30414         * elf/tst-auditmod3b.c: Likewise.
30415         * elf/tst-auditmod4b.c: Likewise.
30416         * elf/tst-auditmod5b.c: Likewise.
30417         * elf/tst-auditmod6b.c: Likewise.
30418         * elf/tst-auditmod6c.c: Likewise.
30419         * elf/tst-auditmod7b.c: Likewise.
30420         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30421         * sysdeps/x86_64/preconfigure.in: Likewise.
30422         * sysdeps/x86_64/preconfigure: Regenerated.
30424 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30426         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30427         __ILP32__.
30429 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
30431         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30432         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30434 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
30436         [BZ #13973]
30437         * locale/iso-639.def: Fix gl language name. Spotted by
30438         Yaron Shahrabani.
30440 2012-04-12  Roland McGrath  <roland@hack.frob.com>
30442         [BZ #2074]
30443         * libio/libio.h (__io_write_fn): Update comment.
30445 2012-04-12  Petr Baudis  <pasky@ucw.cz>
30447         [BZ #2074]
30448         * stdio.texi (Hook Functions): The user provided writer function
30449         is not allowed to return -1.
30451 2012-04-11  David S. Miller  <davem@davemloft.net>
30453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30455 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
30457         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30458         Add a leading slash to rtkaio.
30460 2012-04-11  Jim Meyering  <meyering@redhat.com>
30462         [BZ #11959]
30463         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30464         It is not necessarily an error to ignore fwrite's return
30465         value.  One can reliably use ferror to test for errors after
30466         the fact.
30468 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30470         * bits/types.h (__snseconds_t): New type.
30471         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30473         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30475         (__SNSECONDS_T_TYPE): Likewise.
30476         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30477         (__SNSECONDS_T_TYPE): Likewise.
30478         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30479         (__SNSECONDS_T_TYPE): Likewise.
30481 2012-04-10  Andreas Jaeger  <aj@suse.de>
30483         [BZ #2636]
30484         * manual/time.texi (Processor Time): Return type of times is
30485         elapsed real time since an arbitrary point in the past.
30486         (CPU Time): Move CLK_TCK from here...
30487         (Processor Time): ...to here.  Correct description.
30488         * manual/conf.texi (Constants for Sysconf): Correct description of
30489         _SC_CLK_TCK.
30491 2012-04-10  David S. Miller  <davem@davemloft.net>
30493         [BZ #13967]
30494         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30495         where the is a gap between DT_REL(A) and DT_JMPREL.
30497 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30499         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30500         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30501         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30503 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30505         * elf/dl-support.c (_dl_inhibit_cache): New variable.
30506         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30507         (dl_main): Handle --inhibit-cache.
30508         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30509         _dl_inhibit_cache.
30510         * elf/dl-load.c (_dl_map_object): Use it.
30511         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30513 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30515         [BZ #13872]
30516         * sysdeps/i386/fpu/e_powl.S (p78): New object.
30517         (__ieee754_powl): Saturate large exponents rather than testing for
30518         overflow of y*log2(x).
30519         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30520         * math/libm-test.inc (pow_test): Do not permit spurious overflow
30521         exceptions.
30523         [BZ #11521]
30524         * math/s_ctan.c: Include <float.h>.
30525         (__ctan): Avoid internal overflow or cancellation in calculating
30526         denominator.
30527         * math/s_ctanf.c: Likewise.
30528         * math/s_ctanl.c: Likewise.
30529         * math/s_ctanh.c: Likewise.
30530         * math/s_ctanhf.c: Likewise.
30531         * math/s_ctanhl.c: Likewise.
30532         * math/libm-test.inc (ctan_test): Add more tests.
30533         (ctanh_test): Likewise.
30534         * sysdeps/i386/fpu/libm-test-ulps: Update.
30535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30537 2012-04-09  Andreas Jaeger  <aj@suse.de>
30539         [BZ #6894]
30540         * manual/filesys.texi (Directory Entries): Mention that d_namlen
30541         is an optional BSD extension.
30543         [BZ #10254]
30544         * manual/stdio.texi (Opening Streams): Document additional fopen
30545         parameters.
30547 2012-04-09  Roland McGrath  <roland@hack.frob.com>
30549         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30550         %eax without telling the compiler.
30552 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
30554         [BZ # 13963]
30555         * manual/install.texi: Use sourceware.org.
30557 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30559         [BZ #13873]
30560         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30561         (__ieee754_pow): Generate overflow and underflow using huge*huge
30562         and tiny*tiny rather than just returning constant infinity or zero
30563         for large exponents.
30564         * math/libm-test.inc (pow_test): Require overflow exceptions for
30565         applicable cases of large exponents.
30567         [BZ #706]
30568         * sysdeps/i386/fpu/e_pow.S (p10): New object.
30569         (__ieee754_pow): Use iterative multiplication algorithm only for
30570         integer exponents with absolute value below 1024.  Check for odd
30571         integer exponents when using algorithm for real exponents.
30572         * math/libm-test.inc (pow_test): Add more tests.
30573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30575 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
30577         [BZ #13705]
30578         * math/libm-test.inc (exp_test): Do not allow overflow exception
30579         on underflow test.
30581 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
30583         [BZ #13705]
30584         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30585         instead of __kernel_standard_f.
30587 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
30589         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30590         * sysdeps/x86_64/memset_chk.S: Likewise.
30592 2012-04-08  Andreas Jaeger  <aj@suse.de>
30594         [BZ #10153]
30595         * manual/startup.texi (Environment Access): Describe return value
30596         for putenv and setenv.
30598         [BZ #6895]
30599         * manual/filesys.texi (Directory Entries): Add description for
30600         DT_LNK.
30602         [BZ #6890]
30603         * manual/filesys.texi (Directory Entries): Clarify that it's file
30604         system not operating system in the description of DT_UNKNOWN.
30606         [BZ #6578]
30607         * manual/syslog.texi (closelog): Fix reference, it's openlog.
30609 2012-04-08  Stephen Compall  <s11@member.fsf.org>
30611         [BZ #6649]
30612         * manual/llio.texi (Opening and Closing Files): Add cross
30613         reference to explain mode argument.
30615 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
30617         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30618         * sysdeps/x86_64/memset_chk.S: Likewise.
30620 2012-04-07  David S. Miller  <davem@davemloft.net>
30622         * elf/elf.h (R_SPARC_WDISP10): Define.
30623         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30624         R_SPARC_SIZE32.
30625         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30626         R_SPARC_SIZE64 and R_SPARC_H34.
30628 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
30630         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30631         conditions and remove no longer applicable assertion.
30633 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30635         * bits/byteswap.h: Include <features.h>.
30636         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30637         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30639 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30641         * bits/byteswap.h (__bswap_16): Removed.
30642         Include <bits/byteswap-16.h> to get __bswap_16.
30643         * sysdeps/i386/bits/byteswap.h: Likewise.
30644         * sysdeps/s390/bits/byteswap.h: Likewise.
30645         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30646         * bits/byteswap-16.h: New file.
30647         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30648         * sysdeps/s390/bits/byteswap-16.h: Likewise.
30649         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30650         * string/Makefile (headers): Add bits/byteswap-16.h.
30652 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30654         [BZ #13895]
30655         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30656         extra indirection.
30657         * nss/Makefile (tests-static, tests): Add tst-nss-static.
30658         * nss/tst-nss-static.c: New.
30660 2012-04-06  Robert Millan  <rmh@gnu.org>
30662         [BZ #6486]
30663         * manual/llio.texi (File Position Primitive): lseek
30664         refers to WHENCE when it really means OFFSET.
30666 2012-04-06  Andreas Jaeger  <aj@suse.de>
30668         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30669         strncmp declarations.
30671         * abilist/libc.abilist: Add __poll and __ppoll.
30673 2012-04-05  David S. Miller  <davem@davemloft.net>
30675         * scripts/check-local-headers.sh: Accept a host triplet in the
30676         path matched by the exclude regexp.
30678         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30679         definition.
30680         * sysdeps/powerpc/powerpc32/dl-machine.h
30681         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30682         * sysdeps/s390/s390-32/dl-machine.h
30683         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30684         * sysdeps/sparc/sparc32/dl-machine.h
30685         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30686         * sysdeps/sparc/sparc64/dl-machine.h
30687         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30689         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30690         lazy binding.
30691         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30692         undefined symbol errors.
30694         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30695         DT_NEEDED entries.
30697 2012-04-05  Michael Matz  <matz@suse.de>
30699         [BZ #13592]
30700         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30702 2012-04-05  Andreas Jaeger  <aj@suse.de>
30704         [BZ #13908]
30705         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30706         comment.
30708 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30710         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30711         which ROUND is no valid rounding mode.
30713 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30715         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30716         read again.
30717         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30719 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30721         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30722         an exception using FPU order intentionally.
30724 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30726         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30727         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30728         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30729         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30731 2012-04-05  Simon Josefsson  <simon@josefsson.org>
30733         [BZ #12340]
30734         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30735         EINVAL when BUFLEN is too smal.
30737 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30739         [BZ #13553]
30740         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30741         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30743 2012-04-03  Andreas Jaeger  <aj@suse.de>
30745         [BZ #13938]
30746         * manual/setjmp.texi (System V contexts): Fix sentence.
30748         [BZ #13926]
30749         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30750         New macro for this case.
30751         [!__GNUC__] (__bswap_64): New inline function for this case.
30752         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30753         * bits/byteswap.h: Likewise.
30754         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30755         ull, guard with __GLIBC_HAVE_LONG_LONG.
30757         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30758         __GLIBC_HAVE_LONG_LONG.
30760         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30761         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30763 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30765         [BZ #13691]
30766         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30767         inptr and inend, rather than using last_ch.
30769 2012-04-02  David S. Miller  <davem@davemloft.net>
30771         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30772         * stdio-common/printf-parse.h (read_int): Change return type to
30773         'int', return -1 on INT_MAX overflow.
30774         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30775         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
30776         overflows INT_MAX.  Check for overflow of in-format-string precision
30777         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
30778         SIZE_MAX not INT_MAX for integer overflow test.
30779         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30780         skip the construct in the format string but do not record anything.
30781         * stdio-common/bug22.c: Adjust to test both width/prevision
30782         INT_MAX overflow as well as total length INT_MAX overflow.  Check
30783         explicitly for proper errno values.
30785 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30787         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30788         CHAR_MAX.
30789         * string/test-strcmp.c [! WIDE]: Likewise.
30790         * time/tst-mktime2.c: Likewise for INT_MAX.
30791         * string/test-string.h: #include <sys/param.h> for MIN.
30793         * csu/init-first.c (__libc_init_first): Call __ctype_init.
30794         * sysdeps/i386/init-first.c (init): Likewise.
30795         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30796         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30797         * sysdeps/sh/init-first.c (init): Likewise.
30799 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
30801         * po/ru.po: Update from translation team.
30802         * po/vi.po: Likewise.
30804 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30806         * resolv/nss_dns/dns-host.c: Merge copyright years.
30808 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30810         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30811         Optimize memcpy with prefetch if
30812         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
30813         src, dst pointers have unequal 16 byte alignments.
30815 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30817         [BZ #13928]
30818         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30819         from a CNAME entry and return the minimum ttl for the query.
30820         (gaih_getanswer_slice): Likewise.
30822 2012-03-30  Jeff Law  <law@redhat.com>
30824         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30825         due to long keys.
30826         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30827         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30829         * resolv/nss_dns/dns-host.c: Update copyright year.
30831 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
30833         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30834         requests to save a system call.  Fix check that all bytes are sent.
30836         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30837         comments for sendmmsg.
30839 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30841         [BZ #13691]
30842         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30843         with only 1 character between 0x0041 and 0x01b0.
30844         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30845         * wcsmbs/tst-mbsnrtowcs.c: New file.
30847 2012-03-29  David S. Miller  <davem@davemloft.net>
30849         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30850         small copies by hand.
30852 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30854         [BZ #13761]
30855         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30856         _nss_compat_initgroups_dyn): Fall back to malloc/free
30857         for large group memberships.
30859 2012-03-28  David S. Miller  <davem@davemloft.net>
30861         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30862         that branches into memcpy.
30863         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30864         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30865         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30866         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30867         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30868         bits.
30869         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30870         implementation too.
30871         * sysdeps/sparc/mempcpy.S: New file.
30873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30874         the IFUNC routine in the libc case.
30875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30877         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30878         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30879         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30880         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30881         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30882         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30883         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30884         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30886         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30887         loop to 256 bytes instead of 64 bytes and fix test signedness.
30889         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30890         * sysdeps/sparc/sparc32/Makefile: rather than here...
30891         * sysdeps/sparc/sparc64/Makefile: and here.
30893 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
30895         * malloc/mallocbug.c: Avoid warnings about unused variables.
30897 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30899         [BZ #13760]
30900         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30901         in the right place. Discard and retry query if response is
30902         larger than input buffer size.
30904 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #369]
30907         [BZ #2678]
30908         [BZ #3866]
30909         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30910         x for large integer exponent.
30911         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30912         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
30913         sign of result as needed afterwards.
30914         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30915         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30916         result for underflowing pow the same as for overflow.
30917         (__kernel_standard_l): Handle powl overflow and underflow here
30918         rather than calling __kernel_standard.
30919         * math/libm-test.inc (pow_test): Add more tests.
30921         [BZ #3868]
30922         [BZ #13879]
30923         [BZ #13910]
30924         [BZ #13911]
30925         [BZ #13912]
30926         [BZ #13913]
30927         [BZ #13915]
30928         [BZ #13916]
30929         [BZ #13917]
30930         [BZ #13918]
30931         [BZ #13919]
30932         [BZ #13920]
30933         [BZ #13921]
30934         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30935         * sysdeps/ieee754/k_standard.c: Include <float.h>.
30936         (__kernel_standard_l): New function.
30937         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30938         __kernel_standard.
30939         * math/w_acosl.c (__acosl): Likewise.
30940         * math/w_asinl.c (__asinl): Likewise.
30941         * math/w_atan2l.c (__atan2l): Likewise.
30942         * math/w_atanhl.c (__atanhl): Likewise.
30943         * math/w_coshl.c (__coshl): Likewise.
30944         * math/w_exp10l.c (__exp10l): Likewise.
30945         * math/w_exp2l.c (__exp2l): Likewise.
30946         * math/w_fmodl.c (__fmodl): Likewise.
30947         * math/w_hypotl.c (__hypotl): Likewise.
30948         * math/w_j0l.c (__j0l, __y0l): Likewise.
30949         * math/w_j1l.c (__j1l, __y1l): Likewise.
30950         * math/w_jnl.c (__jnl, __ynl): Likewise.
30951         * math/w_lgammal.c (__lgammal): Likewise.
30952         * math/w_log10l.c (__log10l): Likewise.
30953         * math/w_log2l.c (__log2l): Likewise.
30954         * math/w_logl.c (__logl): Likewise.
30955         * math/w_powl.c (__powl): Likewise.
30956         * math/w_remainderl.c (__remainderl): Likewise.
30957         * math/w_scalbl.c (sysv_scalbl): Likewise.
30958         * math/w_sinhl.c (__sinhl): Likewise.
30959         * math/w_sqrtl.c (__sqrtl): Likewise.
30960         * math/w_tgammal.c (__tgammal): Likewise.
30961         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30962         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30963         * math/libm-test.inc (acos_test): Add more tests.
30964         (acosh_test): Likewise.
30965         (asin_test): Likewise.
30966         (atanh_test): Likewise.
30967         (exp_test): Likewise.
30968         (exp10_test): Likewise.
30969         (exp2_test): Likewise.
30970         (expm1_test): Likewise.
30971         (lgamma_test): Likewise.
30972         (log_test): Likewise.
30973         (log10_test): Likewise.
30974         (log1p_test): Likewise.
30975         (log2_test): Likewise.
30976         (pow_test): Do not allow some spurious overflow exceptions.
30977         (sqrt_test): Add more tests.
30978         (tgamma_test): Likewise.
30979         (y0_test): Likewise.
30980         (y1_test): Likewise.
30981         (yn_test): Likewise.
30983 2012-03-27  Anton Blanchard  <anton@samba.org>
30985         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30986         MAP_HUGETLB.
30987         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30988         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30989         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30991 2012-03-27  David S. Miller  <davem@davemloft.net>
30993         * conform/Makefile: Run run-conformtest.sh using $(BASH).
30995         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30996         have-as-vis3 check.
30998 2012-03-27  Andreas Jaeger  <aj@suse.de>
31000         * sysdeps/x86_64/elf/configure.in: Moved to ...
31001         * sysdeps/x86_64/configure.in: ... here.
31002         * sysdeps/x86_64/elf/start.S: Moved to ...
31003         * sysdeps/x86_64/start.S: ... here.
31004         * sysdeps/x86_64/elf/configure: Delete.
31006         * sysdeps/x86_64/configure.in: Merge contents from
31007         sysdeps/i386/configure.in (without i686 check).
31009         * sysdeps/i386/elf/Versions: Merge into ...
31010         * sysdeps/i386/Versions: ... this.
31011         * sysdeps/i386/elf/Versions: Delete file.
31012         * sysdeps/i386/elf/start.S: Moved to ...
31013         * sysdeps/i386/start.S: ...here.
31014         * sysdeps/i386/elf/configure.in: Merge into...
31015         * sysdeps/i386/configure.in: ...here.
31016         * sysdeps/i386/elf/configure.in: Delete file.
31017         * sysdeps/i386/elf/configure: Delete file.
31019         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31020         * debug/backtracesyms.c: ... here.
31021         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31022         * debug/backtracesymsfd.c: ... here.
31023         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31024         * sysdeps/generic/ifunc-sel.h: ... here.
31026         * sysdeps/unix/i386/start.c: Delete file.
31027         * sysdeps/unix/sparc/start.c: Delete file.
31028         * sysdeps/unix/start.c: Delete file.
31030         * sysdeps/sh/elf/configure.in: Moved to ...
31031         * sysdeps/sh/configure.in: ... here.
31032         * sysdeps/sh/elf/start.S: Moved to ...
31033         * sysdeps/sh/start.S: ... here.
31034         * sysdeps/sh/elf/configure: Delete file.
31036         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31037         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31038         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31039         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31040         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31041         * sysdeps/powerpc/powerpc64/start.S: here.
31042         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31043         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31044         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31045         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31046         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31048         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31049         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31050         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31051         * sysdeps/powerpc/powerpc32/start.S: ... here.
31052         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31053         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31054         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31056         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31057         * sysdeps/powerpc/ifunc-sel.h: ... here.
31058         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31059         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31061         * sysdeps/sparc/elf/configure.in: Moved to ...
31062         * sysdeps/sparc/configure.in: ... here.
31063         * sysdeps/sparc/elf/configure: Delete file.
31064         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31065         * sysdeps/sparc/sparc32/start.S: ... here.
31066         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31067         * sysdeps/sparc/sparc64/start.S: ... here.
31068         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31069         * sysdeps/sparc/sparc32/Makefile: ... this.
31070         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31071         * sysdeps/sparc/sparc64/Makefile: ... this.
31073         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31074         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31075         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31076         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31077         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31078         * sysdeps/s390/s390-32/setjmp.S: ... here.
31079         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31080         * sysdeps/s390/s390-32/configure.in: ... here.
31081         * sysdeps/s390/s390-32/elf/configure: Delete file.
31082         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31083         * sysdeps/s390/s390-32/start.S: ... here.
31085         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31086         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31087         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31088         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31089         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31090         * sysdeps/s390/s390-64/setjmp.S: ... here.
31091         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31092         * sysdeps/s390/s390-64/configure.in: ... here
31093         * sysdeps/s390/s390-64/elf/configure: Delete file.
31094         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31095         * sysdeps/s390/s390-64/start.S: ... here.
31096         * sysdeps/s390/s390-64/elf/configure: Delete.
31098         * configure.in: Remove support for elf directories in sysdeps.
31100         * configure: Regenerated.
31101         * sysdeps/i386/configure: Regenerated.
31102         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31103         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31104         * sysdeps/s390/s390-32/configure: Regenerated.
31105         * sysdeps/s390/s390-64/configure: Regenerated.
31106         * sysdeps/sh/configure: Regenerated.
31107         * sysdeps/sparc/configure: Regenerated.
31108         * sysdeps/x86_64/configure: Regenerated.
31110 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31114         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31115         denormal result into account.
31117 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31119         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31120         Reported by Allan McRae <allan@archlinux.org>.
31122 2012-03-23  Jeff Law  <law@redhat.com>
31124         * nss/getnssent.c (__nss_getent): Fix typo.
31126 2012-03-23  David S. Miller  <davem@davemloft.net>
31128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31130 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31132         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31133         to pad to uint64_t for each field.
31134         (dl_tls_index): Replace unsigned long with uint64_t.
31136 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31137         Paul Pluzhnikov  <ppluzhnikov@google.com>
31139         [BZ #6528]
31140         * grp/Makefile (otherlibs): Don't set it.
31141         * inet/Makefile (otherlibs): Likewise.
31142         * login/Makefile (otherlibs): Likewise.
31143         * nscd/Makefile (otherlibs): Likewise.
31144         * posix/Makefile (otherlibs): Likewise.
31145         * pwd/Makefile (otherlibs): Likewise.
31146         * rt/Makefile (otherlibs): Likewise.
31147         * sunrpc/Makefile (otherlibs): Likewise.
31148         * nss/Makefile (otherlibs): Likewise.
31149         Add libnss_files to routines and static-only-routines.
31150         ($(objpfx)getent): Remove rule.
31151         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31152         static-only-routines.
31154 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31156         [BZ #13892]
31157         * math/s_cexp.c: Include <float.h>.
31158         (__cexp): Handle exp result overflowing not necessarily
31159         overflowing both real and imaginary parts of result.
31160         * math/s_cexpf.c: Likewise.
31161         * math/s_cexpl.c: Likewise.
31162         * math/libm-test.inc (cexp_test): Add more tests.
31163         * sysdeps/i386/fpu/libm-test-ulps: Update.
31164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31166 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31168         * include/link.h (ELFW): New macro.
31169         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31170         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31172 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31174         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31175         with uint64_t.
31177 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31179         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31180         declaration.
31181         (struct La_x32_retval): Likewise.
31183 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31185         * sysdeps/x86_64/preconfigure.in: New file.
31186         * sysdeps/x86_64/preconfigure: New generated file.
31188 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31190         [BZ #13824]
31191         * math/e_exp2l.c: Include <float.h>.
31192         (__ieee754_exp2l): Handle overflow and underflow cases
31193         separately.  Only pass fractional part of argument to
31194         __ieee754_expl.
31195         * math/libm-test.inc (exp2_test): Add more tests.
31197         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31198         negating x to take absolute value.
31199         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31200         Likewise.
31201         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31202         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31203         Likewise.
31204         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31205         computing low part if x was negated.
31206         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31208 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31210         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31211         la_x32_gnu_pltexit.
31212         (pltexit): Cast int_retval to ptrdiff_t.
31213         * elf/tst-auditmod3b.c: Likewise.
31214         * elf/tst-auditmod4b.c: Likewise.
31215         * elf/tst-auditmod5b.c: Likewise.
31216         * elf/tst-auditmod6b.c: Likewise.
31217         * elf/tst-auditmod6c.c: Likewise.
31218         * elf/tst-auditmod7b.c: Likewise.
31220         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31221         and x32_gnu_pltexit.
31223         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31224         __ELF_NATIVE_CLASS.
31225         (La_x32_regs): New macro.
31226         (La_x32_retval): Likewise.
31227         (la_x32_gnu_pltenter): New function prototype.
31228         (la_x32_gnu_pltexit): Likewise.
31230 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31232         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31233         exponent.
31235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31237         * configure.in (libc_cv_cc_nofma): Check for option to disable
31238         generation of FMA instructions.
31239         * configure: Regenerate.
31240         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31241         * sysdeps/ieee754/dbl-64/Makefile: New file.
31242         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31243         Remove brandred-fma4.
31244         (CFLAGS-brandred-fma4.c): Remove.
31245         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31246         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31247         define.
31248         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31249         define.
31251 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31253         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31254         LLONG_MAX != LONG_MAX.
31255         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31256         (_fitoa_word): Likewise.
31257         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31258         LLONG_MAX != LONG_MAX.
31259         * stdio-common/_itowa.h: Include <_itoa.h>.
31260         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31261         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31262         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31263         only if not defined.
31264         (_ITOA_WORD_TYPE): Likewise.
31265         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31266         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31268 2012-03-21  David S. Miller  <davem@davemloft.net>
31270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31272 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31274         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31275         of x86_64 when setting libc_cv_slibdir, libdir and
31276         libc_cv_localedir.
31277         * sysdeps/unix/sysv/linux/configure: Regenerated.
31279 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31281         * manual/lang.texi (Old Varargs): Remove section.
31282         (How Variadic): Update menu.
31283         (va_start): Do not mention varargs.h.
31285 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31286             Joseph Myers  <joseph@codesourcery.com>
31288         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31289         link test.
31290         * configure: Regenerated.
31292 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31294         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31295         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31296         conformtest.pl
31298 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31300         * NOTES: Remove.
31301         * Makefile (files-for-dist): Remove NOTES.
31302         (NOTES): Remove rule.
31303         * README: Don't refer to NOTES.
31304         * manual/creature.texi: Don't include macros.texi.
31305         * manual/intro.texi (creature.texi): Remove comment referring to
31306         NOTES.
31308         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31309         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31310         * configure: Regenerated.
31311         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31312         LIBC_TRY_CC_OPTION.
31313         (libc_cv_as_i686): Likewise.
31314         (libc_cv_cc_avx): Likewise.
31315         (libc_cv_cc_sse2avx): Likewise.
31316         (libc_cv_cc_fma4): Likewise.
31317         (libc_cv_cc_novzeroupper): Likewise.
31318         * sysdeps/i386/configure: Regenerated.
31320         [BZ #13883]
31321         * sysdeps/i386/fpu/s_cexp.S: Remove.
31322         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31323         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31324         * math/libm-test.inc (cexp_test): Add more tests.
31325         * sysdeps/i386/fpu/libm-test-ulps: Update.
31326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31328 2012-03-21  Allan McRae  <allan@archlinux.org>
31330         * timezone/Makefile: Do not install iso3166.tab and zone.tab
31332 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31334         [BZ #13871]
31335         * math/w_exp2.c: Do not include <float.h>.
31336         (o_threshold, u_threshold): Remove.
31337         (__exp2): Calculate result before checking finiteness and calling
31338         __kernel_standard.
31339         * math/w_exp2f.c: Likewise.
31340         * math/w_exp2l.c: Likewise.
31341         * math/libm-test.inc (exp2_test): Require overflow exception for
31342         1e6 input.
31344         [BZ #3866]
31345         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31346         range of signed 64-bit integers before using fistpll.  Remove
31347         checks for whether integers fit in mantissa bits.
31348         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31349         the range of signed 32-bit integers before using fistpl.  Remove
31350         checks for whether integers fit in mantissa bits.
31351         * sysdeps/i386/fpu/e_powl.S (p64): New object.
31352         (__ieee754_powl): Test for y outside the range of signed 64-bit
31353         integers before using fistpll.  Reduce 64-bit values to 63-bit
31354         ones as needed.
31355         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31356         divide-by-zero is raised for zero to large negative powers.
31357         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31358         (__ieee754_powl): Test for y outside the range of signed 64-bit
31359         integers before using fistpll.  Reduce 64-bit values to 63-bit
31360         ones as needed.
31361         * math/libm-test.inc (pow_test): Add more tests.
31363 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31365         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31366         <stdio-common/_itoa.h>.
31367         * debug/segfault.c: Likewise.
31368         * elf/dl-cache.c: Likewise.
31369         * elf/dl-minimal.c: Likewise.
31370         * elf/dl-misc.c: Likewise.
31371         * elf/dl-sysdep.c: Likewise.
31372         * elf/dl-version.c: Likewise.
31373         * elf/rtld.c: Likewise.
31374         * hurd/hurdsock.c: Likewise.
31375         * hurd/lookup-retry.c: Likewise.
31376         * malloc/malloc.c: Likewise.
31377         * malloc/mtrace.c: Likewise.
31378         * nscd/nscd_getgr_r.c: Likewise.
31379         * nscd/nscd_getpw_r.c: Likewise.
31380         * nscd/nscd_getserv_r.c: Likewise.
31381         * posix/getopt_init.c: Likewise.
31382         * posix/wordexp.c: Likewise.
31383         * stdio-common/_itoa.c: Likewise.
31384         * stdio-common/printf_fphex.c: Likewise.
31385         * stdio-common/vfprintf.c: Likewise.
31386         * string/_strerror.c: Likewise.
31387         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31388         * sysdeps/i386/i686/hp-timing.h: Likewise.
31389         * sysdeps/mach/_strerror.c: Likewise.
31390         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31391         * sysdeps/mach/hurd/sethostid.c: Likewise.
31392         * sysdeps/mach/hurd/xmknodat.c: Likewise.
31393         * sysdeps/mach/xpg-strerror.c: Likewise.
31394         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31395         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31396         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31397         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31398         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31399         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31400         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31401         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31402         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31403         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31404         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31405         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31406         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31407         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31408         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31409         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31410         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31411         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31412         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31413         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31414         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31416         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31418         * stdio-common/_itoa.h: Moved to ...
31419         * sysdeps/generic/_itoa.h: Here.
31421         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31423         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31424         instead of "_itoa.h" and "_itowa.h".
31425         * stdio-common/vfprintf.: Likewise.
31427 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31429         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31430         <bits/wordsize.h>.
31431         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31432         (__signbit): Likwise.
31433         (llrintf): Likwise.
31434         (llrint): Likwise.
31436 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31438         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31439         __WORDSIZE != 64.
31441 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
31443         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31444         OVERFLOW_EXCEPTION_OK.
31445         * math/libm-test.inc ("Philosophy"): Update comment about
31446         exception testing.
31447         (OVERFLOW_EXCEPTION): Define.
31448         (OVERFLOW_EXCEPTION_OK): Likewise.
31449         (INVALID_EXCEPTION_OK): Renumber.
31450         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31451         (IGNORE_ZERO_INF_SIGN): Likewise.
31452         (test_exceptions): Handle FE_OVERFLOW.
31453         (exp10_test): Expect overflow exceptions.
31454         (exp2_test): Likewise.
31455         (expm1_test): Likewise.
31456         (nextafter_test): Likewise.
31457         (pow_test): Likewise.
31458         (scalbn_test): Likewise.
31459         (scalbln_test): Likewise.
31461 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31463         * sysdeps/x86_64/bits/atomic.h
31464         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31465         64bit integer.
31466         (atomic_exchange_acq): Likewise.
31467         (__arch_exchange_and_add_body): Likewise.
31468         (__arch_add_body): Likewise.
31469         (atomic_add_negative): Likewise.
31470         (atomic_add_zero): Likewise.
31472 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31474         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31475         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31477 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31479         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31480         Check __x86_64__ instead of __WORDSIZE.
31482 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31484         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31486 2012-03-19  David S. Miller  <davem@davemloft.net>
31488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31490         * sysdeps/sparc/fpu/fenv_private.h: New file.
31491         * sysdeps/sparc/fpu/math_private.h: Use it.
31492         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31493         Remove.
31494         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31495         (libc_feholdexcept_setroundl): Remove.
31496         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31497         Remove.
31498         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31499         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31501 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31503         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31504         int64_t instead of long int.
31505         (INSERT_WORDS64): Likwise.
31507 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31509         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31510         _Unwind_GetCFA return to _Unwind_Ptr first.
31512 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
31514         [BZ #13629]
31515         * math/s_clog.c: Include <float.h>.
31516         (__clog): Scale large or subnormal inputs.
31517         * math/s_clogf.c: Likewise.
31518         * math/s_clogl.c: Likewise.
31519         * math/s_clog10.c: Include <float.h>.
31520         (M_LOG10_2): Define.
31521         (__clog10): Scale large or subnormal inputs.
31522         * math/s_clog10f.c: Likewise.
31523         * math/s_clog10l.c: Likewise.
31524         * math/libm-test.inc (clog_test): Add more tests.
31525         (clog10_test): Likewise.
31526         * sysdeps/i386/fpu/libm-test-ulps: Update.
31527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31529         [BZ #11451]
31530         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31531         x and y.
31532         * math/libm-test.inc (atan2_test): Add another test.
31534         * Makerules (common-objdir-compile): Remove.
31535         * sysdeps/unix/Makefile (config-generated): Do not add
31536         $(unix-generated) to variable.
31537         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31538         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31539         Remove rule.
31540         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31541         Likewise.
31542         [generic bits/local_lim.h] (before-compile): Do not append to
31543         variable.
31544         [generic bits/local_lim.h] (common-generated): Likewise.
31545         [generic sys/param.h] (before-compile): Do not append to variable.
31546         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31547         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31548         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31549         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31550         include.
31551         [generic sys/param.h] (sys/param.h-includes): Remove variable.
31552         [generic sys/param.h] (sys/param.h-includes): Remove rule.
31553         [generic sys/param.h] ($(addprefix
31554         $(common-objpfx),$(sys/param.h-includes))): Likewise.
31555         [generic sys/param.h] (common-generated): Do not append to
31556         variable.
31557         [generic sys/param.h] (sysdep_headers): Likewise.
31558         [generic bits/errno.h] (before-compile): Do not append to
31559         variable.
31560         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31561         rule.
31562         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31563         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31564         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31565         [generic bits/errno.h] (common-generated): Do not append to
31566         variable.
31567         [generic bits/ioctls.h] (before-compile): Do not append to
31568         variable.
31569         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31570         rule.
31571         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31572         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31573         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31574         rule.
31575         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31576         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31577         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31578         [generic bits/ioctls.h] (common-generated): Do not append to
31579         variable.
31580         [generic sys/syscall.h] (syscall.h): Remove variable.
31581         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31582         rule.
31583         [generic sys/syscall.h] (before-compile): Do not append to
31584         variable.
31585         [generic sys/syscall.h] (common-generated): Likewise.
31586         * sysdeps/unix/errnos-tmpl.c: Remove file.
31587         * sysdeps/unix/errnos.awk: Likewise.
31588         * sysdeps/unix/ioctls-tmpl.c: Likewise.
31589         * sysdeps/unix/ioctls.awk: Likewise.
31590         * sysdeps/unix/mk-local_lim.c: Likewise.
31591         * sysdeps/unix/snarf-ioctls: Likewise.
31593 2012-03-19  Richard Henderson  <rth@twiddle.net>
31595         * sysdeps/i386/fpu/fenv_private.h: New file.
31596         * sysdeps/i386/fpu/math_private.h: Use it.
31597         (math_opt_barrier, math_force_eval): Remove.
31598         (libc_feholdexcept_setround_53bit): Remove.
31599         (libc_feupdateenv_53bit): Remove.
31600         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31601         (math_opt_barrier, math_force_eval): Remove.
31602         (libc_feholdexcept): Remove.
31603         (libc_feholdexcept_setround): Remove.
31604         (libc_fetestexcept, libc_fesetenv): Remove.
31605         (libc_feupdateenv_test): Remove.
31606         (libc_feupdateenv, libc_feholdsetround): Remove.
31607         (libc_feresetround): Remove.
31609         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31610         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31612         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31613         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31614         (libc_feupdateenv_testl): New.
31615         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31616         (libc_feupdateenv_testf): New.
31617         (libc_feupdateenv): Use libc_feupdateenv_test.
31618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31619         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31621         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31622         (libc_feholdsetroundf, libc_feholdsetroundl): New.
31623         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31624         (libc_feresetround_noex): New.
31625         (libc_feresetround_noexf): New.
31626         (libc_feresetround_noexl): New.
31627         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31628         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31629         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31630         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31631         SET_RESTORE_ROUND.
31632         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31633         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31634         (__cos): Likewise.
31635         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31636         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31637         SET_RESTORE_ROUND_NOEX.
31638         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31639         SET_RESTORE_ROUND_NOEXF.
31640         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31641         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31642         (libc_feholdsetroundf): New.
31643         (libc_feresetround, libc_feresetroundf): New.
31645         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31646         (libc_feholdexcept_setround_53bit): Convert from macro to function.
31647         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
31649         * sysdeps/generic/math_private.h: Include <fenv.h>.
31650         (default_libc_feholdexcept): New.
31651         (default_libc_feholdexcept_setround): New.
31652         (default_libc_fesetenv, default_libc_feupdateenv): New.
31653         (libc_feholdexcept): Only define if undefined.
31654         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31655         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31656         (libc_feholdexcept_setroundl): Likewise.
31657         (libc_feholdexcept_setround_53bit): Likewise.
31658         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31659         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31660         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31661         (libc_feupdateenv_53bit): Likewise.
31662         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31663         (libc_feholdexcept): Convert from macro to inline function.
31664         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31665         (libc_fesetenv, libc_feupdateenv): Likewise.
31667         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31668         not previously defined.
31669         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31670         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31671         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31672         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31673         * sysdeps/ieee754/flt-32/math_private.h: New file.
31674         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31675         math_private.h below SET_FLOAT_WORD.
31676         (__isnan, __isinf_ns, __finite): Remove.
31677         (__isnanf, __isinf_nsf, __finitef): Remove.
31679 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
31681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31683 2012-03-17  David S. Miller  <davem@davemloft.net>
31685         [BZ #6471]
31686         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31687         for 2.16.
31689 2012-03-16  David S. Miller  <davem@davemloft.net>
31691         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31692         warnings.
31694         [BZ #6471]
31695         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31696         properly.
31697         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31698         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31699         sysdep_routines when subdir is sysvipc.
31700         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31701         __getshmlba helper.
31703         * sysdeps/sparc/fpu/libm-test/ulps: Update.
31705 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31707         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31708         [__LP64__].
31710 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31712         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31713         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31714         (__lround): Renamed to ...
31715         (__llround): This.  Replace long int with long long int.
31716         Define lround functions as aliases of llround functions.
31717         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31719 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31721         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31722         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
31723         adresses to uintptr_t.  Replace "long int" and "unsigned long
31724         int" with "greg_t" on va_arg.
31726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31728         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31729         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31731         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31732         Move e_machine check before EI_CLASS check.  Handle x32
31733         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31734         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31735         SKIP_EM_IA_64 and include
31736         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31738         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31739         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31740         (add_system_dir): New macro.
31742         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31743         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31745 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31747         [BZ #2551]
31748         [BZ #2552]
31749         [BZ #2553]
31750         [BZ #2554]
31751         [BZ #2562]
31752         [BZ #2563]
31753         [BZ #2565]
31754         [BZ #2566]
31755         [BZ #2576]
31756         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31757         (y0): Likewise.
31758         * math/w_j0f.c (j0f): Likewise.
31759         (y0f): Likewise.
31760         * math/w_j0l.c (__j0l): Likewise.
31761         (__y0l): Likewise.
31762         * math/w_j1.c (j1): Likewise.
31763         (y1): Likewise.
31764         * math/w_j1f.c (j1f): Likewise.
31765         (y1f): Likewise.
31766         * math/w_j1l.c (__j1l): Likewise.
31767         (__y1l): Likewise.
31768         * math/w_jn.c (jn): Likewise.
31769         (yn): Likewise.
31770         * math/w_jnf.c (jnf): Likewise.
31771         (ynf): Likewise.
31772         * math/w_jnl.c (__jnl): Likewise.
31773         (__ynl): Likewise.
31774         * math/libm-test.inc (j0_test): Add more tests.
31775         (j1_test): Likewise.
31776         (jn_test): Likewise.  Add trailing semicolon to existing test.
31777         (y0_test): Likewise.
31778         (y1_test): Likewise.
31779         * sysdeps/i386/fpu/libm-test-ulps: Update.
31780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31782         [BZ #13851]
31783         [BZ #13854]
31784         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31785         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31786         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31787         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31788         (__tanl): Set errno for infinite argument.
31789         * sysdeps/i386/fpu/mptan.c: Remove.
31790         * sysdeps/i386/fpu/s_tan.S: Likewise.
31791         * sysdeps/i386/fpu/s_tanl.S: Likewise.
31792         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31793         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31794         * math/libm-test.inc (tan_test): Add more tests and enable more
31795         tests for double and long double.
31796         * sysdeps/i386/fpu/libm-test-ulps: Update.
31797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31799 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
31801         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31802         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31804 2012-03-16  Roland McGrath  <roland@hack.frob.com>
31806         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31807         * configure.in: Use it for both main tree and add-ons.
31808         * configure: Regenerated.
31810 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31812         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31814 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31816         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31817         in comment.
31819         [BZ #13851]
31820         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31821         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31822         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31823         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31824         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31825         infinite argument.
31826         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31827         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31828         != 0 for prec == 2.
31829         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31830         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31831         * sysdeps/i386/fpu/s_cosl.S: Likewise.
31832         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31833         * sysdeps/i386/fpu/s_sinl.S: Likewise.
31834         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31835         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31836         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31837         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31838         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31839         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31840         * math/libm-test.inc (cos_test): Add more tests and enable more
31841         tests for long double.
31842         (sin_test): Likewise.
31843         (sincos_test): Likewise.
31844         * sysdeps/i386/fpu/libm-test-ulps: Update.
31845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31847 2012-03-16  David S. Miller  <davem@davemloft.net>
31849         * sysdeps/sparc/fpu/math_private.h: New file.
31851 2012-03-15  David S. Miller  <davem@davemloft.net>
31853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31854         file.
31855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31857         file.
31858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31864         sysdep routines.
31865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31867         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31868         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31870         * sysdeps/sparc/sparc-ifunc.h: New file.
31871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31872         sparc-ifunc.h
31873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31875         Likewise.
31876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31877         Likewise.
31878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31882         Likewise.
31883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31888         Likewise.
31889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31890         Likewise.
31891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31897         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31898         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31909         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31910         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31912         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31913         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31914         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31916 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31918         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31919         scaling.
31920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31922 2012-03-15  Andreas Jaeger  <aj@suse.de>
31924         [BZ #13852]
31925         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31926         ieee754/flt-32 implementation for sin, cos and sincos.
31927         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31928         * sysdeps/i386/fpu/s_cosf.S: Likewise.
31929         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31930         * sysdeps/i386/fpu/s_sinf.S: Likewise.
31931         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31932         ieee754/flt-32 implementation for tan.
31934         * math/libm-test.inc (cos_test): Enable some large input tests for
31935         float as well
31936         (sin_test): Likewise.
31937         (sincos_test): Likewise.
31938         (tan_test): Add tests for large input.
31940         * sysdeps/i386/fpu/libm-test-ulps: Update.
31942 2012-03-15  Andreas Jaeger  <aj@suse.de>
31944         [BZ #13658]
31945         * math/libm-test.inc (cos_test): Add more test cases.
31946         (sin_test): Likewise.
31947         (sincos_test): Likewise.
31949 2012-03-15  Andreas Jaeger  <aj@suse.de>
31951         [BZ #13837]
31952         * math/libm-test.inc (cos_test): Add a test case for large input
31953         value.
31954         (sin_test): Likewise.
31955         (sincos_test): Likewise.
31957 2012-03-15  Andreas Jaeger  <aj@suse.de>,
31958         Joseph Myers  <joseph@codesourcery.com>
31960         [BZ #13658]
31961         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31962         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31963         * sysdeps/i386/fpu/branred.c: Likewise.
31964         * sysdeps/i386/fpu/dosincos.c: Likewise.
31965         * sysdeps/i386/fpu/mpa.c: Likewise.
31966         * sysdeps/i386/fpu/s_cos.S: Likewise.
31967         * sysdeps/i386/fpu/s_sin.S: Likewise.
31968         * sysdeps/i386/fpu/s_sincos.S: Likewise.
31969         * sysdeps/i386/fpu/sincos32.c: Likewise.
31971         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31972         Define.
31973         (libc_feupdateenv_53bit): Define.
31974         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31975         Define.
31976         (libc_feupdateenv_53bit): Define.
31978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31979         53 bit (without extend i386 double precision).
31981         * math/libm-test.inc (sincos_test): Add tests for large input.
31982         (sin): Likewise.
31983         (cos): Likewise.
31985         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31987 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31991 2012-03-15  David S. Miller  <davem@davemloft.net>
31993         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31994         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31995         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31996         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32009         file.
32010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32012         file.
32013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32015         file.
32016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32018         file.
32019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32020         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32021         fmin/fmax sysdep routines.
32022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32024 2012-03-14  David S. Miller  <davem@davemloft.net>
32026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32030         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32031         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32032         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32033         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32039         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32046         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32047         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32048         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32049         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32050         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32051         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32052         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32053         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32055         routines.
32056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32057         file.
32058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32060         file.
32061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32063         file.
32064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32066         file.
32067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32069         file.
32070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32072         file.
32073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32074         file.
32075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32076         file.
32077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32078         file.
32079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32080         New file.
32081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32082         file.
32083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32084         file.
32085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32087         file.
32088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32090         file.
32091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32093         file.
32094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32096         VIS3 routines.
32098         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32099         New file.
32101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32103         * sysdeps/sparc/configure.in: New file.
32104         * sysdeps/sparc/configure: Generate.
32105         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32106         * configure: Regenerate.
32107         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32108         * config.make.in (have-as-vis3): New.
32109         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32110         available use -Av9d instead of -Av9a.
32111         * sysdeps/sparc/sparc64/Makefile: Likewise.
32112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32114         New file.
32115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32116         file.
32117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32118         New file.
32119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32120         file.
32121         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32122         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32123         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32124         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32125         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32127         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32128         fzeros/fnegs to load 0x80000000 into a float register instead of
32129         using the stack.
32130         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32132 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32135         bits/syscall.h.
32136         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32137         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32138         ($(inst_includedir)/bits/syscall.h): Remove rule.
32139         ($(objpfx)bits/syscall.d): Include instead of
32140         $(objpfx)syscall-list.d.
32141         (generated): Change syscall-list.h and syscall-list.d to
32142         bits/syscall.h and bits/syscall.d.
32144 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32146         [BZ #13846]
32147         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32149 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32151         [BZ #13841]
32152         * math/s_csqrt.c: Include <float.h>.
32153         (__csqrt): Scale large or subnormal inputs.
32154         * math/s_csqrtf.c: Likewise.
32155         * math/s_csqrtl.c: Likewise.
32156         * math/libm-test.inc (csqrt_test): Add more tests.
32157         * sysdeps/i386/fpu/libm-test-ulps: Update.
32158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32160         [BZ #13840]
32161         * math/libm-test.inc (hypot_test): Add more tests.
32163 2012-03-13  David S. Miller  <davem@davemloft.net>
32165         [BZ #13840]
32166         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32167         double-precision for the calculation instead of scaling.
32169 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32171         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32172         manipulate bits before adding and subtracting TWO52[sx].
32173         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32174         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32175         Likewise.
32176         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32178 2012-03-13  David S. Miller  <davem@davemloft.net>
32180         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32181         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32182         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32183         rtld-global-offsets.h
32184         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32186         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32187         large parameters.
32189         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32191         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32192         'err' in the ifdef scope in which it is actually used.
32194         * nss/nss_db/db-init.c: Include string.h
32196 2012-03-12  David S. Miller  <davem@davemloft.net>
32198         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32199         masking out of the most significant byte of random value used.
32200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32201         Fix coding style in previous change.
32203         * sysdeps/unix/sysv/linux/kernel-features.h
32204         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32205         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32206         expression.
32207         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32208         later.
32210 2012-03-11  David S. Miller  <davem@davemloft.net>
32212         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32213         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32214         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32215         for 'resultvar' otherwise things get truncated on 64-bit.
32217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32218         Fix masking out of the most significant byte of random value used.
32220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32222 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32226 2012-03-09  David S. Miller  <davem@davemloft.net>
32228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32229         variables with appropriate CPP guards.
32230         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32231         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32232         on resulting framesize and the management of the outregs buffer for pltexit.
32233         Preserve floating point return values across _dl_call_pltexit call.
32234         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32235         framesize and the management of the outregs buffer for pltexit.
32236         Preserve floating point return values across _dl_call_pltexit
32237         call.
32238         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32239         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32240         (print_exit): Fix format string for return register value.
32242 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32244         * sunrpc/Makefile (others): Add rpcgen.
32245         ($(objpfx)rpcgen): Remove special build rule and dependency on
32246         libc.
32247         * sunrpc/rpcgen.c: New file.
32249 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32251         [BZ #13673]
32252         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32253         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32254         * sysdeps/i386/crti.S: Likewise.
32255         * sysdeps/i386/crtn.S: Likewise.
32256         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32257         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32258         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32259         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32260         * sysdeps/sh/crti.S: Likewise.
32261         * sysdeps/sh/crtn.S: Likewise.
32262         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32264         [BZ #13673]
32265         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32266         with URL.
32267         * locale/programs/locfile-kw.gperf: Likewise.
32268         * locale/programs/charmap-kw.h: Regenerated.
32269         * locale/programs/locfile-kw.h: Likewise.
32271         [BZ #13673]
32272         * intl/plural.y: Replace FSF snail mail address with URL.
32273         * intl/plural.c: Regenerated.
32275 2012-03-09  Richard Henderson  <rth@twiddle.net>
32277         * include/math_private.h: Remove file.
32278         * math/math_private.h: Move file ...
32279         * sysdeps/generic/math_private.h: ... here.
32281         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32282         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32283         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32285         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32286         and <math_private.h>.
32287         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32288         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32289         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32290         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32291         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32292         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32293         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32295         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32296         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32298         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32299         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32300         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32301         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32302         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32303         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32306         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32308         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32309         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32311         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32312         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32313         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32314         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32315         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32316         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32317         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32318         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32319         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32320         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32321         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32322         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32323         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32324         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32325         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32326         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32327         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32328         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32329         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32330         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32331         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32332         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32333         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32334         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32335         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32336         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32337         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32338         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32339         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32340         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32341         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32342         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32343         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32344         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32345         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32346         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32347         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32348         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32350         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32351         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32352         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32353         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32354         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32355         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32356         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32357         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32358         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32359         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32360         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32361         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32362         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32363         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32364         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32365         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32366         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32367         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32368         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32369         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32370         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32371         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32373         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32374         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32375         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32376         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32377         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32378         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32379         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32380         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32381         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32382         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32383         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32384         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32385         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32386         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32387         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32388         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32389         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32390         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32391         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32392         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32393         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32394         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32395         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32396         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32397         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32398         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32399         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32400         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32401         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32402         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32403         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32404         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32405         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32406         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32407         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32408         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32409         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32410         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32411         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32412         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32413         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32414         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32415         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32416         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32417         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32418         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32419         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32420         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32421         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32422         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32423         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32424         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32425         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32426         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32427         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32428         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32429         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32430         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32431         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32432         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32433         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32434         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32435         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32436         * sysdeps/ieee754/k_standard.c: Likewise.
32437         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32438         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32439         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32440         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32441         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32442         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32443         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32444         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32445         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32446         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32447         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32448         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32449         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32450         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32451         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32452         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32453         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32454         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32455         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32456         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32457         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32458         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32459         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32460         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32461         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32462         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32463         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32464         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32465         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32467         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32468         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32469         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32470         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32471         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32472         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32473         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32474         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32475         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32476         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32477         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32478         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32479         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32480         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32481         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32482         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32483         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32484         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32485         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32486         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32487         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32488         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32489         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32490         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32491         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32492         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32493         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32494         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32495         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32496         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32497         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32498         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32499         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32500         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32505         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32506         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32507         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32508         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32509         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32510         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32513         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32514         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32515         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32516         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32517         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32518         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32519         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32520         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32521         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32522         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32523         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32524         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32525         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32526         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32527         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32528         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32529         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32530         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32531         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32532         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32533         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32534         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32535         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32536         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32537         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32538         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32539         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32540         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32541         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32542         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32543         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32544         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32545         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32546         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32547         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32548         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32549         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32550         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32551         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32552         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32553         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32554         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32555         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32556         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32557         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32558         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32559         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32560         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32561         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32562         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32563         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32564         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32565         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32566         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32567         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32568         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32569         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32570         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32571         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32572         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32573         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32574         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32575         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32576         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32577         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32578         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32579         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32580         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32581         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32582         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32583         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32584         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32585         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32586         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32587         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32588         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32589         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32590         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32591         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32592         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32593         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32594         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32595         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32596         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32597         * sysdeps/ieee754/s_lib_version.c: Likewise.
32598         * sysdeps/ieee754/s_matherr.c: Likewise.
32599         * sysdeps/ieee754/s_signgam.c: Likewise.
32600         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32601         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32602         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32603         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32604         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32605         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32606         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32607         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32608         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32609         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32610         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32611         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32612         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32613         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32614         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32615         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32616         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32617         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32618         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32619         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32620         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32622 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32624         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32625         * sunrpc/rpc_main.c: Likewise.
32626         * sunrpc/rpc_svcout.c: Likewise.
32628 2012-03-09  David S. Miller  <davem@davemloft.net>
32630         * include/math_private.h: New file.
32632 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32634         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32635         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32636         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32637         from <bits/socket_type.h>.
32638         (enum __socket_type): Don't define here.
32639         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32641         bits/socket_type.h.
32643         [BZ #13566]
32644         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32645         checking __USE_GNU.
32647         * Makerules ($(inst_includedir)/%.h): New rule.
32648         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32649         (install-others): Remove variable setting.
32650         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32652 2012-03-08  Richard Henderson  <rth@twiddle.net>
32654         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32655         from macro to inline function; merge with the
32656         !__LIBC_INTERNAL_MATH_INLINES version.
32657         (__ieee754_sqrtf): Likewise.
32659         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32660         to inline function.
32661         (__rintf, __floor, __floorf): Likewise.
32663         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32664         macro to inline function.
32665         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32667         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32668         not <math/math_private.h>.
32670 2012-03-08  David S. Miller  <davem@davemloft.net>
32672         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32673         copyright year.
32674         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32676 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
32678         * resolv/gai_misc.c (handle_requests): Fix struct timespec
32679         normalization.
32680         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32681         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32683 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
32685         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
32686         be defined individually, they must be defined as a block.  Define
32687         S for printing a string instead of hidint the different by using a
32688         macro for adding the 'l'.
32689         * stdio-common/tst-fphex-wide.c: Adjust.
32691 2012-03-07  Marek Polacek  <polacek@redhat.com>
32693         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32695 2012-03-08  Marek Polacek  <polacek@redhat.com>
32697         [BZ #13806]
32698         * stdio-common/Makefile (tests): Add tst-fphex-wide.
32699         * stdio-common/tst-fphex.c: Define a few macros to make the
32700         test reusable.  Use them.
32701         * stdio-common/tst-fphex-wide.c: New file.
32703 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
32705         [BZ #6911]
32706         * manual/macros.texi (gnusystems): New macro.
32707         (nongnusystems): Likewise.
32708         (gnulinuxhurdsystems): Likewise.
32709         (gnuhurdsystems): Likewise..
32710         (gnulinuxsystems): Likewise.
32711         * manual/charset.texi: Use new macros or @theglibc{} to refer to
32712         variants of the GNU system, not "GNU system".
32713         * manual/conf.texi: Likewise.
32714         * manual/errno.texi: Likewise.  Update example of errno macro
32715         expansion.
32716         * manual/filesys.texi: Likewise.
32717         (getumask): Document as specific to GNU/Hurd.
32718         * manual/install.texi: Likewise.  Reword some references to
32719         GNU/Linux.
32720         * manual/intro.texi: Likewise.
32721         * manual/io.texi: Likewise.
32722         (File Name Portability): Detail which constraints are inapplicable
32723         to all GNU systems and which are only inapplicable to GNU/Hurd.
32724         * manual/job.texi: Likewise.
32725         * manual/llio.texi: Likewise.
32726         (O_NOCTTY): Document as present on GNU/Linux.
32727         * manual/maint.texi: Likewise.
32728         * manual/memory.texi: Likewise.
32729         * manual/pattern.texi: Likewise.
32730         * manual/pipe.texi: Likewise.
32731         * manual/process.texi: Likewise.
32732         * manual/resource.texi: Likewise.
32733         (RUSAGE_CHILDREN): Remove statement about specifying a particular
32734         child on GNU/Hurd.
32735         * manual/setjmp.texi: Likewise.
32736         * manual/signal.texi: Likewise.
32737         * manual/startup.texi: Likewise.
32738         * manual/stdio.texi: Likewise.
32739         * manual/terminal.texi: Likewise.
32740         (ONLCR): Document as POSIX.
32741         (OXTABS): Document availability on GNU/Linux as XTABS.
32742         (ONOEOT): Document availability separately from other bits.
32743         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32744         * manual/time.texi: Likewise.
32745         * manual/users.texi: Likewise.
32746         * INSTALL: Regenerated.
32747         * sysdeps/gnu/errlist.c: Regenerated.
32749         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32750         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32751         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
32752         puts.
32753         * configure: Regenerated.
32755 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
32757         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32758         default includes instead of AC_HEADER_CHECK.
32759         * sysdeps/i386/configure: Regenerated.
32761         [BZ #10716]
32762         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32763         * math/s_cacoshf.c (__cacoshf): Likewise.
32764         * math/s_cacoshl.c (__cacoshl): Likewise.
32765         * math/s_casinh.c (__casinh): Set signs of result from argument.
32766         * math/s_casinhf.c (__casinhf): Likewise.
32767         * math/s_casinhl.c (__casinhl): Likewise.
32768         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32769         (casinh_test): Add more tests.
32770         * sysdeps/i386/fpu/libm-test-ulps: Update.
32771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32773 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
32775         * po/zh_TW.po: Update from translation team.
32777         * login/Makefile (distribute): Remove variable.
32778         * catgets/Makefile: Likewise.
32779         * mach/Makefile: Likewise.
32780         * malloc/Makefile: Likewise.
32781         * misc/Makefile: Likewise.
32782         * iconv/Makefile: Likewise.
32783         * nscd/Makefile: Likewise.
32784         * hurd/Makefile: Likewise.
32785         * manual/Makefile: Likewise.
32786         * locale/Makefile: Likewise.
32787         * intl/Makefile: Likewise.
32788         * conform/Makefile: Likewise.
32789         * nss/Makefile: Likewise.
32790         * time/Makefile: Likewise.
32791         * soft-fp/Makefile: Likewise.
32792         * dirent/Makefile: Likewise.
32793         * gmon/Makefile: Likewise.
32794         * po/Makefile: Likewise.
32795         * rt/Makefile: Likewise.
32796         * socket/Makefile: Likewise.
32797         * math/Makefile: Likewise.
32798         * signal/Makefile: Likewise.
32799         * debug/Makefile: Likewise.
32800         * elf/Makefile: Likewise.
32801         * timezone/Makefile: Likewise.
32802         * stdlib/Makefile: Likewise.
32803         * iconvdata/Makefile: Likewise.
32804         * sunrpc/Makefile: Likewise.
32805         * io/Makefile: Likewise.
32806         * argp/Makefile: Likewise.
32807         * inet/Makefile: Likewise.
32808         * hesiod/Makefile: Likewise.
32809         * grp/Makefile: Likewise.
32810         * csu/Makefile: Likewise.
32811         * wctype/Makefile: Likewise.
32812         * crypt/Makefile: Likewise.
32813         * libio/Makefile: Likewise.
32814         * string/Makefile: Likewise.
32815         * nis/Makefile: Likewise.
32816         * resolv/Makefile: Likewise.
32817         * stdio-common/Makefile: Likewise.
32818         * wcsmbs/Makefile: Likewise.
32819         * dlfcn/Makefile: Likewise.
32820         * posix/Makefile: Likewise.
32822         [BZ #6959]
32823         * timezone/Makefile: Don't install timezone files, just the programs
32824         and scripts.
32826 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
32828         * nss/databases.def: Add missing gshadow entry.
32830         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
32832 2012-03-06  Marek Polacek  <polacek@redhat.com>
32834         [BZ #13726]
32835         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32836         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32837         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32838         * stdio-common/tst-long-dbl-fphex.c: New file.
32840 2012-03-06  David S. Miller  <davem@davemloft.net>
32842         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32843         (set_obp_int): New function.
32844         (get_obp_int): New function.
32845         (__get_clockfreq_via_dev_openprom): Likewise.
32846         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32847         Avoid unused variable warnings on 'val' and use builtin_expect.
32848         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32849         __builtin_expect.
32850         (INLINE_CLONE_SYSCALL): Likewise.
32852 2012-03-05  David S. Miller  <davem@davemloft.net>
32854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32856 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
32858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32860         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32861         only for |x| >= 40.
32862         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32864 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32866         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32867         Replace gettimeofday with __vdso_gettimeofday.
32869         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32870         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32871         __vdso_clock_gettime and __vdso_getcpu.
32873         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32874         time with __vdso_time.
32876 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32878         * manual/lang.texi (size_t): Note types to which size_t may be
32879         equivalent with the GNU C Library, but do not describe when
32880         differences between them are significant.
32882 2012-03-05  Andreas Jaeger  <aj@suse.de>
32884         * sysdeps/i386/fpu/libm-test-ulps: Update.
32886 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32888         [BZ #3976]
32889         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32890         (__ieee754_pow): Save and restore rounding mode and use
32891         round-to-nearest for main computations.
32892         * math/libm-test.inc (pow_test_tonearest): New function.
32893         (pow_test_towardzero): Likewise.
32894         (pow_test_downward): Likewise.
32895         (pow_test_upward): Likewise.
32896         (main): Call the new functions.
32897         * sysdeps/i386/fpu/libm-test-ulps: Update.
32898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32900         [BZ #3976]
32901         * math/libm-test.inc (cosh_test_tonearest): New function.
32902         (cosh_test_towardzero): Likewise.
32903         (cosh_test_downward): Likewise.
32904         (cosh_test_upward): Likewise.
32905         (sinh_test_tonearest): Likewise.
32906         (sinh_test_towardzero): Likewise.
32907         (sinh_test_downward): Likewise.
32908         (sinh_test_upward): Likewise.
32909         (main): Call the new functions.
32910         * sysdeps/i386/fpu/libm-test-ulps: Update.
32911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32913 2012-03-05  Tom de Vries  <tom@codesourcery.com>
32915         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32916         default stack guard is set in last bytes.
32917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32919 2012-03-05  Kees Cook  <keescook@chromium.org>
32921         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32923         [BZ #13656]
32924         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32925         possibly allocate from heap instead of stack.
32926         * stdio-common/bug-vfprintf-nargs.c: New file.
32927         * stdio-common/Makefile (tests): Add nargs overflow test.
32929 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
32931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32933 2012-03-03  Marek Polacek  <polacek@redhat.com>
32935         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32936         * math/math_private.h: Likewise.
32937         * stdlib/tst-strtod.c: Likewise.
32938         * sysdeps/i386/i486/bits/atomic.h: Likewise.
32939         * sysdeps/x86_64/bits/atomic.h: Likewise.
32941 2012-03-02  David S. Miller  <davem@davemloft.net>
32943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32947         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32948         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32949         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32950         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32952 2012-03-02  Roland McGrath  <roland@hack.frob.com>
32954         [BZ #13792]
32955         * manual/examples/README: New file, says the example source files
32956         can be used under GPL>=2.
32957         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32958         line containing just "*/".
32959         * manual/examples/add.c: Add copyright header (GPL>=2).
32960         * manual/examples/argp-ex1.c: Likewise.
32961         * manual/examples/argp-ex2.c: Likewise.
32962         * manual/examples/argp-ex3.c: Likewise.
32963         * manual/examples/argp-ex4.c: Likewise.
32964         * manual/examples/atexit.c: Likewise.
32965         * manual/examples/db.c: Likewise.
32966         * manual/examples/dir.c: Likewise.
32967         * manual/examples/dir2.c: Likewise.
32968         * manual/examples/execinfo.c: Likewise.
32969         * manual/examples/filecli.c: Likewise.
32970         * manual/examples/filesrv.c: Likewise.
32971         * manual/examples/fmtmsgexpl.c: Likewise.
32972         * manual/examples/genpass.c: Likewise.
32973         * manual/examples/inetcli.c: Likewise.
32974         * manual/examples/inetsrv.c: Likewise.
32975         * manual/examples/isockad.c: Likewise.
32976         * manual/examples/longopt.c: Likewise.
32977         * manual/examples/memopen.c: Likewise.
32978         * manual/examples/memstrm.c: Likewise.
32979         * manual/examples/mkfsock.c: Likewise.
32980         * manual/examples/mkisock.c: Likewise.
32981         * manual/examples/mygetpass.c: Likewise.
32982         * manual/examples/pipe.c: Likewise.
32983         * manual/examples/popen.c: Likewise.
32984         * manual/examples/rprintf.c: Likewise.
32985         * manual/examples/search.c: Likewise.
32986         * manual/examples/select.c: Likewise.
32987         * manual/examples/setjmp.c: Likewise.
32988         * manual/examples/sigh1.c: Likewise.
32989         * manual/examples/sigusr.c: Likewise.
32990         * manual/examples/stpcpy.c: Likewise.
32991         * manual/examples/strdupa.c: Likewise.
32992         * manual/examples/strftim.c: Likewise.
32993         * manual/examples/strncat.c: Likewise.
32994         * manual/examples/subopt.c: Likewise.
32995         * manual/examples/swapcontext.c: Likewise.
32996         * manual/examples/termios.c: Likewise.
32997         * manual/examples/testopt.c: Likewise.
32998         * manual/examples/testpass.c: Likewise.
32999         * manual/examples/timeval_subtract.c: Likewise.
33001         [BZ #13792]
33002         * manual/time.texi (Elapsed Time): Move timeval_subtract example
33003         function to ...
33004         * manual/timeval_subtract.c.texi: ... here, new file.
33006 2012-03-02  David S. Miller  <davem@davemloft.net>
33008         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33010 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
33012         [BZ #3976]
33013         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33014         (__sin): Save and restore rounding mode and use round-to-nearest
33015         for all computations.
33016         (__cos): Save and restore rounding mode and use round-to-nearest
33017         for all computations.
33018         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33019         <fenv.h>.
33020         (tan): Save and restore rounding mode and use round-to-nearest for
33021         all computations.
33022         * math/libm-test.inc (cos_test_tonearest): New function.
33023         (cos_test_towardzero): Likewise.
33024         (cos_test_downward): Likewise.
33025         (cos_test_upward): Likewise.
33026         (sin_test_tonearest): Likewise.
33027         (sin_test_towardzero): Likewise.
33028         (sin_test_downward): Likewise.
33029         (sin_test_upward): Likewise.
33030         (tan_test_tonearest): Likewise.
33031         (tan_test_towardzero): Likewise.
33032         (tan_test_downward): Likewise.
33033         (tan_test_upward): Likewise.
33034         (main): Call the new functions.
33035         * sysdeps/i386/fpu/libm-test-ulps: Update.
33036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33038         [BZ #10135]
33039         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33040         small n, then large n, before computing and testing k+n.
33041         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33042         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33043         Likewise.
33044         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33045         Likewise.
33046         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33047         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33048         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33049         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33050         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33051         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33052         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33053         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33054         * math/libm-test.inc (scalbn_test): Add more tests.
33055         (scalbln_test): Likewise.
33057         * manual/filesys.texi (mode_t): Describe constraints on size and
33058         signedness, not exact equivalence to a particular type.
33059         (ino_t): Likewise.
33060         (ino64_t): Likewise.
33061         (dev_t): Likewise.
33062         (nlink_t): Likewise.
33063         (blkcnt_t): Likewise.
33064         (blkcnt64_t): Likewise.
33065         * manual/llio.texi (off_t): Likewise.
33067         [BZ #3976]
33068         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33069         (__ieee754_exp): Save and restore rounding mode and use
33070         round-to-nearest for all computations.
33071         * math/libm-test.inc (exp_test_tonearest): New function.
33072         (exp_test_towardzero): Likewise.
33073         (exp_test_downward): Likewise.
33074         (exp_test_upward): Likewise.
33075         (main): Call the new functions.
33076         * sysdeps/i386/fpu/libm-test-ulps: Update.
33077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33079 2012-03-01  Chris Demetriou  <cgd@google.com>
33081         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33082         have predictable order.
33084 2012-03-01  David S. Miller  <davem@davemloft.net>
33086         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33088         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33089         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33090         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33091         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33093         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33094         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33095         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33097         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33098         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33099         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33100         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33101         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33105         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33106         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33107         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33109         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33110         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33111         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33112         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33113         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33114         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33115         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33116         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33117         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33118         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33119         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33120         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33121         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33122         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33123         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33125         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33126         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33127         * sysdeps/sparc/elf/configure: Regenerated.
33129 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33131         * configure.in (AS, LD): Require binutils 2.20 or later.
33132         * configure: Regenerated.
33133         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33134         as required minimum version.
33135         * INSTALL: Regenerated.
33137         [BZ #2541]
33138         [BZ #4108]
33139         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33140         before squaring exponent.
33141         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33142         bottom long double and 27 bits of top long double before squaring
33143         exponent.
33144         * math/libm-test.inc (erfc_test): Add more tests.
33145         * sysdeps/i386/fpu/libm-test-ulps: Update.
33146         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33149 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33151         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33152         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33153         containing bit-fields.
33154         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33155         * soft-fp/single.h (_FP_UNION_S): Likewise.
33156         * soft-fp/double.h (_FP_UNION_D): Likewise.
33158 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33160         [BZ #13786]
33161         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33162         not include ../strcmp.S.
33163         [USE_AS_STRNCASECMP_L]: Likewise.
33164         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33165         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33166         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33167         (__strncasecmp_l_ia32): Define as alias to
33168         __strncasecmp_l_nonascii.
33170         [BZ #5794]
33171         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33172         * sysdeps/i386/fpu/libm-test-ulps: Update.
33173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33175         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33178 2012-02-29  Jeff Law  <law@redhat.com>
33180         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33181         out of bounds read.
33183 2012-02-29  Marek Polacek  <polacek@redhat.com>
33185         [BZ #13706]
33186         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33187         * elf/Makefile: Add rules to run tst-unused-dep.out.
33189 2012-02-28  David S. Miller  <davem@davemloft.net>
33191         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33192         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33193         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33194         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33195         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33196         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33198 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33200         * math/libm-test.inc (llround_test): Move one test from
33201         lround_test.  Use TEST_f_L in moved test.
33202         (lround_test): Move misplaced test to llround_test.  Add testcase
33203         from bug 2561.
33205 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33207         * sysdeps/x86_64/fpu/e_expf.S: New file.
33208         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33210 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33212         [BZ #13637]
33213         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33214         of remain_len that may cause incomplete multi-byte character and
33215         false match.
33216         * posix/bug-regex33.c: New file.
33217         * posix/Makefile (tests): Add bug-regex33.
33219 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33221         * manual/macros.texi: New file.
33222         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33223         * manual/libc.texinfo: Include macros.texi.
33224         * manual/creatute.texi: Likewise.
33225         * manual/install.texi: Likewise.
33226         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33227         @glibcadj{} in references to the GNU C Library.
33228         * manual/charset.texi: Likewise.
33229         * manual/conf.texi: Likewise.
33230         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33231         when not using those macros.
33232         * manual/creature.texi: Likewise.
33233         * manual/crypt.texi: Likewise.
33234         * manual/errno.texi: Likewise.
33235         * manual/filesys.texi: Likewise.
33236         * manual/header.texi: Likewise.
33237         * manual/install.texi: Likewise.
33238         * manual/intro.texi: Likewise.
33239         * manual/io.texi: Likewise.
33240         * manual/job.texi: Likewise.
33241         * manual/lang.texi: Likewise.
33242         * manual/libc.texiinfo: Likewise.
33243         * manual/llio.texi: Likewise.
33244         * manual/locale.texi: Likewise.
33245         * manual/maint.texi: Likewise.
33246         * manual/math.texi: Likewise.
33247         * manual/memory.texi: Likewise.
33248         * manual/message.texi: Likewise.
33249         * manual/nss.texi: Likewise.
33250         * manual/pattern.texi: Likewise.
33251         * manual/process.texi: Likewise.
33252         * manual/resource.texi: Likewise.
33253         * manual/search.texi: Likewise.
33254         * manual/setjmp.texi: Likewise.
33255         * manual/signal.texi: Likewise.
33256         * manual/socket.texi: Likewise.
33257         * manual/startup.texi: Likewise.
33258         * manual/stdio.texi: Likewise.
33259         * manual/string.texi: Likewise.
33260         * manual/sysinfo.texi: Likewise.
33261         * manual/syslog.texi: Likewise.
33262         * manual/terminal.texi: Likewise.
33263         * manual/time.texi: Likewise.
33264         * manual/users.texi: Likewise.
33265         * INSTALL: Regenerated.
33266         * NOTES: Regenerated.
33267         * sysdeps/gnu/errlist.c: Regenerated.
33269 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33271         * include/dirent.h: Include <dirstream.h> before
33272         <dirent/dirent.h>.
33274 2012-02-28  David S. Miller  <davem@davemloft.net>
33276         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33277         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33278         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33279         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33281 2012-02-27  David S. Miller  <davem@davemloft.net>
33283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33285         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33286         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33289         frame pointer instead of stack pointer relative arg slot.
33290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33291         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33292         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33294 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33296         [BZ #3992]
33297         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33299 2012-02-27  David S. Miller  <davem@davemloft.net>
33301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33305         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33306         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33307         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33308         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33310 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33312         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33313         later.  Allow versions 5-9.
33314         * configure: Regenerated.
33315         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33316         required minimum version and 4.6 as recommended version.  Do not
33317         mention bugs in GCC 2.7 and 2.8.
33318         * INSTALL: Regenerated.
33320 2012-02-27  David S. Miller  <davem@davemloft.net>
33322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33326         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33327         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33328         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33329         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33331         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33332         manipulate bits before adding and subtracting TWO112[sx].
33333         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33335 2012-02-27  Roland McGrath  <roland@hack.frob.com>
33337         [BZ #13775]
33338         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33339         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33340         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33341         being in POSIX, because they are in 1003.1-2008.
33343         * rt/tst-aio.c: Include <fcntl.h>.
33344         * rt/tst-aio7.c: Likewise.
33345         * rt/tst-aio64.c: Likewise.
33347         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33349 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33351         * manual/install.texi (--with-headers): Describe headers as
33352         interface headers, not private headers.
33353         (Specific advice for GNU/Linux systems): Describe use of headers
33354         from "make headers_install", not private headers from older
33355         kernels.
33356         * INSTALL: Regenerated.
33357         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33358         Change to 2.6.19.
33359         * sysdeps/unix/sysv/linux/configure: Regenerated.
33361         * manual/llio.texi (fclean): Remove documentation.
33363         * manual/Makefile (libc-texi-generated): New variable.  Include
33364         version.texi.
33365         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33366         $(libc-texi-generated), not duplicated list of files.
33367         (version.texi, stamp-version): New rules.
33368         (realclean): Remove $(libc-texi-generated), not individual files
33369         from that list.  Do not remove dir-add.texinfo.
33370         * manual/libc.texinfo: Comment out uses of edition numbers and
33371         references to printed manual.  Remove last-updated dates.
33372         (EDITION): Comment out.
33373         (ISBN): Likewise.
33374         (VERSION, UPDATED): Remove.
33375         (version.texi): Include.
33377 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
33379         * sysdeps/posix/spawni.c: Include <signal.h>.
33380         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33381         * sysdeps/pthread/aio_fsync.c: Likewise.
33383 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
33385         * conform/Makefile (tests): Run only when not cross-compiling and
33386         when fast-check is not defined.
33388         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33389         * conform/data/limits.h-data: Fixes for POSIX2008.
33390         * conform/run-conformtest.sh: Run all tests.
33391         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33392         headers.
33393         * include/bits/dlfcn.h: Likewise.
33394         * include/langinfo.h: Likewise.
33395         * include/monetary.h: Likewise.
33396         * include/sys/poll.h: Likewise.
33398         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33399         for __USE_GNU.
33400         * posix/spawn.h: Define __need_sigset_t.
33401         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33402         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33403         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
33404         to get sigevent_t only.
33405         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33406         only for __USE_GNU.
33407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33408         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33409         process_vm_writev only for __USE_GNU.
33410         * termios/termios.h: Declare tcgetsid also for POSIX2008.
33412         * conform/Makefile: For now ignore errors from run-conformtest.
33413         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
33414         POSIX to avoid namespace pollution.  Don't prepend headers.
33415         * conform/data/aio.h-data: Fixes for POSIX testing.
33416         * conform/data/fcntl.h-data: Likewise.
33417         * conform/data/glob.h-data: Likewise.
33418         * conform/data/grp.h-data: Likewise.
33419         * conform/data/pthread.h-data: Likewise.
33420         * conform/data/pwd.h-data: Likewise.
33421         * conform/data/signal.h-data: Likewise.
33422         * conform/data/spawn.h-data: Likewise.
33423         * conform/data/stdio.h-data: Likewise.
33424         * conform/data/stdlib.h-data: Likewise.
33425         * conform/data/stropts.h-data: Likewise.
33426         * conform/data/sys/mman.h-data: Likewise.
33427         * conform/data/sys/stat.h-data: Likewise.
33428         * conform/data/sys/types.h-data: Likewise.
33429         * conform/data/sys/wait.h-data: Likewise.
33430         * conform/data/time.h-data: Likewise.
33431         * conform/data/unistd.h-data: Likewise.
33432         * conform/data/utime.h-data: Likewise.
33434         * io/sys/stat.h: fchmod was always in POSIX.
33435         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33436         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33437         * rt/aio.h: Define __need_timespec before including <time.h>.
33438         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33439         struct.  Add forward declaration of pthread_attr_t and use it in
33440         sigevent.
33441         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33442         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33443         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33444         always remove CLK_TCK definition.
33446 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
33448         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33450 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
33452         * conform/run-conformtest.sh: New file.
33453         * conform/Makefile: Run run-conformtest for tests.
33454         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
33455         support.
33457         * conform/data/uchar.h-data: New file.
33458         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33459         * conform/data/arpa/inet.h-data: Likewise.
33460         * conform/data/assert.h-data: Likewise.
33461         * conform/data/complex.h-data: Likewise.
33462         * conform/data/cpio.h-data: Likewise.
33463         * conform/data/ctype.h-data: Likewise.
33464         * conform/data/dirent.h-data: Likewise.
33465         * conform/data/dlfcn.h-data: Likewise.
33466         * conform/data/errno.h-data: Likewise.
33467         * conform/data/fcntl.h-data: Likewise.
33468         * conform/data/float.h-data: Likewise.
33469         * conform/data/fmtmsg.h-data: Likewise.
33470         * conform/data/fnmatch.h-data: Likewise.
33471         * conform/data/ftw.h-data: Likewise.
33472         * conform/data/glob.h-data: Likewise.
33473         * conform/data/grp.h-data: Likewise.
33474         * conform/data/iconv.h-data: Likewise.
33475         * conform/data/inttypes.h-data: Likewise.
33476         * conform/data/langinfo.h-data: Likewise.
33477         * conform/data/libgen.h-data: Likewise.
33478         * conform/data/limits.h-data: Likewise.
33479         * conform/data/locale.h-data: Likewise.
33480         * conform/data/math.h-data: Likewise.
33481         * conform/data/monetary.h-data: Likewise.
33482         * conform/data/mqueue.h-data: Likewise.
33483         * conform/data/ndbm.h-data: Likewise.
33484         * conform/data/net/if.h-data: Likewise.
33485         * conform/data/netdb.h-data: Likewise.
33486         * conform/data/netinet/in.h-data: Likewise.
33487         * conform/data/nl_types.h-data: Likewise.
33488         * conform/data/poll.h-data: Likewise.
33489         * conform/data/pthread.h-data: Likewise.
33490         * conform/data/pwd.h-data: Likewise.
33491         * conform/data/regex.h-data: Likewise.
33492         * conform/data/sched.h-data: Likewise.
33493         * conform/data/search.h-data: Likewise.
33494         * conform/data/semaphore.h-data: Likewise.
33495         * conform/data/setjmp.h-data: Likewise.
33496         * conform/data/signal.h-data: Likewise.
33497         * conform/data/spawn.h-data: Likewise.
33498         * conform/data/stdarg.h-data: Likewise.
33499         * conform/data/stdio.h-data: Likewise.
33500         * conform/data/stdlib.h-data: Likewise.
33501         * conform/data/string.h-data: Likewise.
33502         * conform/data/strings.h-data: Likewise.
33503         * conform/data/stropts.h-data: Likewise.
33504         * conform/data/sys/ipc.h-data: Likewise.
33505         * conform/data/sys/mman.h-data: Likewise.
33506         * conform/data/sys/msg.h-data: Likewise.
33507         * conform/data/sys/resource.h-data: Likewise.
33508         * conform/data/sys/select.h-data: Likewise.
33509         * conform/data/sys/sem.h-data: Likewise.
33510         * conform/data/sys/shm.h-data: Likewise.
33511         * conform/data/sys/socket.h-data: Likewise.
33512         * conform/data/sys/stat.h-data: Likewise.
33513         * conform/data/sys/statvfs.h-data: Likewise.
33514         * conform/data/sys/time.h-data: Likewise.
33515         * conform/data/sys/timeb.h-data: Likewise.
33516         * conform/data/sys/times.h-data: Likewise.
33517         * conform/data/sys/types.h-data: Likewise.
33518         * conform/data/sys/uio.h-data: Likewise.
33519         * conform/data/sys/un.h-data: Likewise.
33520         * conform/data/sys/utsname.h-data: Likewise.
33521         * conform/data/sys/wait.h-data: Likewise.
33522         * conform/data/syslog.h-data: Likewise.
33523         * conform/data/tar.h-data: Likewise.
33524         * conform/data/termios.h-data: Likewise.
33525         * conform/data/utime.h-data: Likewise.
33526         * conform/data/utmpx.h-data: Likewise.
33527         * conform/data/varargs.h-data: Likewise.
33528         * conform/data/wchar.h-data: Likewise.
33529         * conform/data/wctype.h-data: Likewise.
33530         * conform/data/wordexp.h-data: Likewise.
33532         * include/stropts.h: New file.
33533         * include/uchar.h: New file.
33534         * include/aio.h: Changes to allow conformtest.pl to use the headers.
33535         * include/assert.h: Likewise.
33536         * include/ctype.h: Likewise.
33537         * include/dirent.h: Likewise.
33538         * include/dlfcn.h: Likewise.
33539         * include/fcntl.h: Likewise.
33540         * include/fnmatch.h: Likewise.
33541         * include/glob.h: Likewise.
33542         * include/grp.h: Likewise.
33543         * include/libio.h: Likewise.
33544         * include/locale.h: Likewise.
33545         * include/math.h: Likewise.
33546         * include/net/if.h: Likewise.
33547         * include/netdb.h: Likewise.
33548         * include/netinet/in.h: Likewise.
33549         * include/pthread.h: Likewise.
33550         * include/pwd.h: Likewise.
33551         * include/regex.h: Likewise.
33552         * include/sched.h: Likewise.
33553         * include/search.h: Likewise.
33554         * include/setjmp.h: Likewise.
33555         * include/signal.h: Likewise.
33556         * include/stdio.h: Likewise.
33557         * include/stdlib.h: Likewise.
33558         * include/string.h: Likewise.
33559         * include/sys/cdefs.h: Likewise.
33560         * include/sys/mman.h: Likewise.
33561         * include/sys/msg.h: Likewise.
33562         * include/sys/resource.h: Likewise.
33563         * include/sys/select.h: Likewise.
33564         * include/sys/socket.h: Likewise.
33565         * include/sys/stat.h: Likewise.
33566         * include/sys/statvfs.h: Likewise.
33567         * include/sys/time.h: Likewise.
33568         * include/sys/times.h: Likewise.
33569         * include/sys/uio.h: Likewise.
33570         * include/sys/utsname.h: Likewise.
33571         * include/sys/wait.h: Likewise.
33572         * include/termios.h: Likewise.
33573         * include/time.h: Likewise.
33574         * include/ulimit.h: Likewise.
33575         * include/unistd.h: Likewise.
33576         * include/utime.h: Likewise.
33577         * include/wchar.h: Likewise.
33578         * include/wctype.h: Likewise.
33579         * include/wordexp.h: Likewise.
33581         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33583         * time/time.h: TIME_UTC must be a macro.
33584         Make timespec_get available for ISO C11 only as well.
33586 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
33588         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33589         Reported by Peng Haitao <penght@cn.fujitsu.com>.
33591 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33593         * configure.in: Use -o not -a in test for unsupported multi-arch.
33595 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33597         * manual/texinfo.tex: Update to version 2012-01-19.16.
33599 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33601         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33603 2012-02-24  Roland McGrath  <roland@hack.frob.com>
33605         [BZ #13738]
33606         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33607         * manual/fdl-1.3.texi: New file.
33608         * manual/fdl-1.1.texi: File removed.
33610         [BZ #13738]
33611         * manual/libc.texinfo (FDL_VERSION): New @set.
33612         Use it for mention of FDL in cover text.
33613         (Documentation License): Use it in @include file name.
33615 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33616             Roland McGrath  <roland@hack.frob.com>
33618         [BZ #5461]
33619         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33620         not LONG_LONG_MAX and LONG_LONG_MIN.
33621         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33622         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
33623         name.
33624         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33626 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33628         [BZ #2547]
33629         [BZ #11365]
33630         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33631         manipulate bits before adding and subtracting TWO23[sx].
33632         * math/libm-test.inc (nearbyint_test): Add more tests.
33634 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33636         [BZ #2548]
33637         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33638         bits before adding and subtracting TWO23[sx].
33639         * math/libm-test.inc (rint_test): Add more tests.
33640         (rint_test_tonearest): Likewise.
33641         (rint_test_towardzero): Likewise.
33642         (rint_test_downward): Likewise.
33643         (rint_test_upward: Likewise.
33645 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33647         [BZ #10110]
33648         * include/stdc-predef.h: New file.  Extracted from features.h.
33649         * include/features.h: Include stdc-predef.h.
33650         * Makefile (headers): Add stdc-predef.h.
33651         * CONFORMANCE (Compiler limitations): Update.
33653 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33655         * manual/libc.texinfo (VERSION, UPDATED): Revert.
33657 2012-02-21  David S. Miller  <davem@davemloft.net>
33659         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33660         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33662 2012-02-20  David S. Miller  <davem@davemloft.net>
33664         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33665         using a normal save/restore sequence, rather than allocating a
33666         dummy stack frame just to store a frame pointer and restore.
33667         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33669 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33671         * manual/install.texi: Fix stray word in line-wrapped comment.
33673 2012-02-20  David S. Miller  <davem@davemloft.net>
33675         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33676         both binutils and gcc support GOTDATA.
33678         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33679         "rd %pc" in the PIC register setup sequences.
33681         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33682         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33683         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33684         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33685         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33686         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33687         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33688         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33690         (SYSCALL_ERROR_HANDLER): Likewise.
33691         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33692         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33693         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33694         (SYSCALL_ERROR_HANDLER): Likewise.
33696         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33697         (HAVE_GCC_GOTDATA): New.
33698         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33699         relocation support in both binutils and gcc.
33700         * sysdeps/sparc/elf/configure: Regenerate.
33702         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33703         * sysdeps/sparc/sparc32/elf/configure: Delete.
33704         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33705         * sysdeps/sparc/sparc64/elf/configure: Delete.
33706         * sysdeps/sparc/elf/configure.in: New file.
33707         * sysdeps/sparc/elf/configure: Generate.
33709         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33710         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33711         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33712         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33713         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33715 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33717         * manual/install.texi: Do not mention specific glibc version
33718         numbers.
33719         * manual/libc.texinfo (VERSION, UPDATED): Update.
33720         (@copying): Use @copyright{} and range of years.
33722 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33724         [BZ #13695]
33725         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33726         [crti.S not in sysdirs] (generated): Do not append.
33727         [crti.S not in sysdirs] (omit-deps): Likewise.
33728         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33729         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33730         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33731         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33732         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33733         Likewise.
33734         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33735         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33736         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33737         * csu/defs.awk: Remove file.
33738         * sysdeps/generic/initfini.c: Likewise.
33739         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33740         variable.
33741         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33742         Likewise.
33744 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33746         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33747         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33748         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33749         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33750         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33751         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33752         <bits/epoll.h>.
33753         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33754         (__EPOLL_PACKED): Define to empty if not defined by
33755         <bits/epoll.h>.
33756         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33757         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33758         bits/epoll.h.
33760 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33762         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33763         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33764         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33765         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33766         <bits/timerfd.h>.
33767         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33769         bits/timerfd.h.
33771 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33773         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33774         in C locale.
33775         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33776         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33777         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33780 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
33782         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33783         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33785 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
33787         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33788         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33789         defined.
33790         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33791         Likewise.
33792         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33793         entry for 2.16.
33795 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
33797         * math/w_acos.c: Use non-signaling floating-point comparisons.
33798         * math/w_acosf.c: Likewise.
33799         * math/w_acosh.c: Likewise.
33800         * math/w_acoshf.c: Likewise.
33801         * math/w_acoshl.c: Likewise.
33802         * math/w_acosl.c: Likewise.
33803         * math/w_asin.c: Likewise.
33804         * math/w_asinf.c: Likewise.
33805         * math/w_asinl.c: Likewise.
33806         * math/w_atanh.c: Likewise.
33807         * math/w_atanhf.c: Likewise.
33808         * math/w_atanhl.c: Likewise.
33809         * math/w_exp2.c: Likewise.
33810         * math/w_exp2f.c: Likewise.
33811         * math/w_exp2l.c: Likewise.
33812         * math/w_j0.c: Likewise.
33813         * math/w_j0f.c: Likewise.
33814         * math/w_j0l.c: Likewise.
33815         * math/w_j1.c: Likewise.
33816         * math/w_j1f.c: Likewise.
33817         * math/w_j1l.c: Likewise.
33818         * math/w_jn.c: Likewise.
33819         * math/w_jnf.c: Likewise.
33820         * math/w_log.c: Likewise.
33821         * math/w_log10.c: Likewise.
33822         * math/w_log10f.c: Likewise.
33823         * math/w_log10l.c: Likewise.
33824         * math/w_log2.c: Likewise.
33825         * math/w_log2f.c: Likewise.
33826         * math/w_log2l.c: Likewise.
33827         * math/w_logf.c: Likewise.
33828         * math/w_logl.c: Likewise.
33829         * math/w_sqrt.c: Likewise.
33830         * math/w_sqrtf.c: Likewise.
33831         * math/w_sqrtl.c: Likewise.
33832         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33833         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33834         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33835         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33836         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33838 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33840         [BZ #9739]
33841         * manual/string.texi (strnlen): Use correct parameter name in
33842         equivalent expression.
33844 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33846         [BZ #11174]
33847         * manual/users.texi (seteuid): Consistently use neweuid for
33848         argument name.
33850 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33852         [BZ #13704]
33853         * manual/nss.texi (Services in the NSS configuration): Correct
33854         list of services in example configuration file.
33856 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
33858         [BZ #11322]
33859         * manual/arith.texi: Remove statements about negative zero
33860         behaving identically to zero.
33862 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33864         [BZ #5993]
33865         * manual/install.texi: Do not document upgrading from libc5.
33867 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33869         [BZ #4596]
33870         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33872 2012-02-18  David S. Miller  <davem@davemloft.net>
33874         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33875         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33876         %o7 across the call.
33877         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33878         instead.
33879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33880         SETUP_PIC_REG_LEAF.
33881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33882         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33883         * sysdeps/sparc/crtn.S: Likewise.
33885 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
33887         * aout/Makefile: Remove.
33889 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
33891         [BZ #13058]
33892         * manual/examples/argp-ex1.c (main): Format definition in GNU
33893         style.
33894         * manual/examples/argp-ex2.c (main): Likewise.
33895         * manual/examples/argp-ex3.c (main): Likewise.
33896         * manual/examples/argp-ex4.c (main): Likewise.
33897         * manual/examples/longopt.c (main): Use new-style prototype
33898         definition.
33899         * manual/examples/strncat.c (main): Specify return type and use
33900         (void) for arguments.
33901         * manual/examples/subopt.c (main): Use char **argv argument.
33903 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33905         [BZ #5077]
33906         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33907         rounding modes.
33909 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
33911         [BZ #6907]
33912         * manual/string.texi (strchr): Change when strchrnul is
33913         recommended.
33915 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
33917         [BZ #174]
33918         * manual/locale.texi (setlocale): Document LOCPATH.
33920 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33922         [BZ #10210]
33923         * manual/process.texi (execle): Move @dots{} before last argument.
33925 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
33927         [BZ #12047]
33928         * manual/charset.texi (Generic Charset Conversion): Fix typo
33929         (LC_TYPE -> LC_CTYPE).
33931 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
33933         [BZ #5805]
33934         * manual/arith.texi (scalbn): Use @var{} on parameter names.
33935         (scalbnf): Likewise.
33936         (scalbnl): Likewise.
33937         (scalbln): Likewise.
33938         (scalblnf): Likewise.
33939         (scalblnl): Likewise.
33940         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33941         (vwarnx): Likewise.
33942         (verr): Likewise.
33943         (verrx): Likewise.
33944         * manual/filesys.texi (telldir): Use braces around return type.
33945         * manual/llio.texi (mmap): Add space after comma.
33946         (mmap64): Likewise.
33947         * manual/math.texi (jn): Use @var{} on parameter names.
33948         (jnf): Likewise.
33949         (jnl): Likewise.
33950         (yn): Likewise.
33951         (ynf): Likewise.
33952         (ynl): Likewise.
33953         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33954         line.
33955         * manual/resource.texi (ulimit): Use @dots{} instead of literal
33956         "...".
33957         (sched_get_priority_min): Remove semicolon on @deftypefun line.
33958         (sched_get_priority_max): Likewise.
33959         * manual/signal.texi (sigvec): Add space after comma.
33960         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33961         names.
33962         (if_indextoname): Likewise.
33963         (if_freenameindex): Likewise.
33964         (sendto): Use ',' instead of '.' in prototype.
33965         * manual/startup.texi (syscall): Use @dots{} instead of literal
33966         "...".
33967         * manual/stdio.texi (__fpending): Separate initial words of
33968         paragraph from @deftypefun line.
33969         * manual/syslog.texi (syslog): Use @dots{} instead of literal
33970         "...".
33971         (vsyslog): Use @var{} on parameter names.
33972         * manual/terminal.texi (stty): Use @var{} on parameter names.
33973         * manual/users.texi (getutmp): Use @var{} on parameter names.
33974         (getutmpx): Likewise.
33976 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33978         [BZ #6884]
33979         * manual/stdio.texi (fopen): Fix typos in description of
33980         ",ccs=STRING".
33982 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
33984         [BZ #4026]
33985         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33986         get clock_id definition.
33988 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
33990         [BZ #4822]
33991         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33992         (madvise): Cast every argument to void on its own.
33994 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33996         [BZ #9902]
33997         * manual/startup.texi (Exit Status): Fix typo.
33999 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34001         [BZ #10140]
34002         * manual/examples/argp-ex1.c: Include <stdlib.h>.
34003         * manual/examples/argp-ex2.c: Likewise.
34004         * manual/examples/argp-ex3.c: Likewise.
34006 2012-02-16  Richard Henderson  <rth@redhat.com>
34008         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34009         * sysdeps/s390/s390-32/initfini.c: Remove.
34010         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34011         * sysdeps/s390/s390-64/initfini.c: Remove.
34013 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34015         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34016         compiler output for sysdeps/generic/initfini.c.
34017         * sysdeps/sh/elf/initfini.c: Remove file.
34019 2012-02-16  David S. Miller  <davem@davemloft.net>
34021         [BZ #11494]
34022         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34024         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34025         * sysdeps/sparc/crti.S: New file.
34026         * sysdeps/sparc/crtn.S: New file.
34027         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34028         * sysdeps/sparc/sparc64/Makefile: Likewise.
34030 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34032         [BZ #3335]
34033         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34035 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34037         [BZ #4822]
34038         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34040         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34041         (write, read, close): Likewise.
34042         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34044 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34046         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34047         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34048         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34049         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34050         <bits/signalfd.h>.
34051         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34053         bits/signalfd.h.
34055 2012-02-14  Marek Polacek  <polacek@redhat.com>
34057         * sysdeps/x86_64/crti.S: New file.
34058         * sysdeps/x86_64/crtn.S: New file.
34059         * sysdeps/x86_64/elf/initfini.c: Remove file.
34061 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34063         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34064         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34065         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34066         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34067         <bits/inotify.h>.
34068         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34070         bits/inotify.h.
34072 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34074         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34075         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34076         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34077         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34078         <bits/eventfd.h>.
34079         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34081         bits/eventfd.h.
34083 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34085         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34086         __feraiseexcept instead of feraiseexcept.
34088         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34089         nanosleep invocations.
34090         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34091         strings, and add error checking for a nanosleep invocations.
34093 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34095         Replace FSF snail mail address with URLs, as per GNU coding standards.
34096         Most of the snail mail addresses were wrong anyway, and omitting
34097         them makes the source code easier to maintain.  Almost all of the
34098         changes are to license notices and to locale LC_IDENTIFICATION
34099         addresses, except for this one:
34100         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34101         not its snail mail address.
34103 2012-02-09  Richard Henderson  <rth@twiddle.net>
34105         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34106         of kernel-features.h.
34108         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34110 2012-02-08  Marek Polacek  <polacek@redhat.com>
34112         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34113         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34114         * sysdeps/gnu/_G_config.h: Likewise.
34115         * sysdeps/generic/_G_config.h: Likewise.
34117 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34119         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34120         tests.
34121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34123         * sysdeps/powerpc/powerpc32/crti.S: New file.
34124         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34125         * sysdeps/powerpc/powerpc64/crti.S: New file.
34126         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34128         * Makeconfig (have-initfini): Don't set.
34129         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34130         * configure.in (nopic_initfini): Don't substitute.
34131         * config.h.in (HAVE_INITFINI): Don't #undef.
34132         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34133         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34135 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34137         Support crti.S and crtn.S provided directly by architectures.
34138         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34139         [crti.S in sysdirs] (omit-deps): Likewise.
34140         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34141         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34142         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34143         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34144         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34145         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34146         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34147         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34148         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34149         compiler output for sysdeps/generic/initfini.c.
34150         * sysdeps/i386/elf/Makefile: Remove file.
34151         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34153 2012-02-07  Marek Polacek  <polacek@redhat.com>
34155         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34156         * sysdeps/gnu/_G_config.h: Likewise.
34157         * sysdeps/mach/hurd/_G_config.h: Likewise.
34159 2012-02-07  Marek Polacek  <polacek@redhat.com>
34161         * math/Makefile (tests): Add tst-CMPLX2.
34162         * math/tst-CMPLX2.c: New file.
34164 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34166         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34168         * math/libm-test.inc (jn_test): Add missing L suffix.
34170 2012-02-06  Marek Polacek  <polacek@redhat.com>
34172         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34173         * sysdeps/i386/fpu/e_powf.S: Likewise.
34174         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34175         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34176         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34177         * sysdeps/i386/fpu/e_pow.S: Likewise.
34178         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34179         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34180         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34181         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34182         * sysdeps/i386/fpu/e_log2.S: Likewise.
34183         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34184         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34185         * sysdeps/i386/fpu/e_powl.S: Likewise.
34186         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34187         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34188         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34189         * sysdeps/i386/fpu/e_logl.S: Likewise.
34190         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34191         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34192         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34193         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34194         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34195         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34196         * sysdeps/i386/fpu/e_log.S: Likewise.
34197         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34198         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34199         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34200         * sysdeps/i386/fpu/e_logf.S: Likewise.
34201         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34202         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34203         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34204         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34205         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34206         * sysdeps/i386/fpu/e_log10.S: Likewise.
34207         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34208         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34209         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34210         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34211         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34212         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34213         * sysdeps/i386/asm-syntax.h: Likewise.
34214         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34215         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34216         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34217         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34218         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34219         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34220         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34221         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34222         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34223         * sysdeps/powerpc/sysdep.h: Likewise.
34224         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34225         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34227 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34229         [BZ #411]
34230         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34232 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34234         * sysdeps/i386/sysdep.h: Include <features.h>.
34235         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34236         version.
34238 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34240         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34241         Define.
34242         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34243         LOAD_PIC_REG_STR.
34245 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34247         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34248         (SETUP_PIC_REG): Use GET_PC_THUNK.
34249         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34250         macro.
34252 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34254         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34255         for non-PIC compilation.
34256         (SETUP_PIC_REG): Add .p2align directive.
34257         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34258         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34259         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34260         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34261         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34262         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34263         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34265         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34266         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34267         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34268         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34269         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34270         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34271         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34272         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34273         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34274         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34275         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34276         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34277         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34278         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34279         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34280         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34281         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34282         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34283         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34284         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34285         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34286         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34287         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34288         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34289         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34290         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34291         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34292         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34293         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34294         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34295         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34296         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34297         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34299 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34301         * math/tst-CMPLX.c: Include <stdio.h>.
34303 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
34305         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34306         float.
34307         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34308         * sysdeps/sparc/bits/mathdef.h: Likewise.
34310 2012-01-31  Marek Polacek  <polacek@redhat.com>
34312         * libio/libio.h: Don't define _PARAMS.
34313         * locale/programs/config.h: Don't define PARAMS.
34314         * stdlib/strtol_l.c: Likewise.
34315         (__strtol_l): Remove PARAMS from the prototype.
34317 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
34319         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
34320         names.  Just use the correct names.  Remove unnecessary wrapper
34321         functions.
34322         * malloc/arena.c: Likewise.
34323         * malloc/hooks.c: Likewise.
34325         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34326         ARENA_TEST says not to.  Simplify test for creation of a new arena.
34327         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34329 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
34331         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34332         into tail calls.
34333         (update_get_addr): New function.
34334         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34335         GET_ADDR_MODULE parameter.
34337 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34339         * crypt/cert.c: Remove __STDC__ conditionals.
34340         * crypt/crypt-entry.c: Likewise.
34341         * crypt/crypt_util.c: Likewise.
34342         * libio/filedoalloc.c: Likewise.
34343         * libio/fileops.c: Likewise.
34344         * libio/genops.c: Likewise.
34345         * libio/iofclose.c: Likewise.
34346         * libio/iofdopen.c: Likewise.
34347         * libio/iofopen.c: Likewise.
34348         * libio/iofopen64.c: Likewise.
34349         * libio/iogetdelim.c: Likewise.
34350         * libio/iopopen.c: Likewise.
34351         * libio/obprintf.c: Likewise.
34352         * libio/oldfileops.c: Likewise.
34353         * libio/oldiofclose.c: Likewise.
34354         * libio/oldiofdopen.c: Likewise.
34355         * libio/oldiofopen.c: Likewise.
34356         * libio/oldiopopen.c: Likewise.
34357         * libio/wfiledoalloc.c: Likewise.
34358         * libio/wgenops.c: Likewise.
34359         * locale/programs/xmalloc.c: Likewise.
34360         * misc/syslog.c: Likewise.
34361         * stdio-common/xbug.c: Likewise.
34362         * string/memchr.c: Likewise.
34363         * string/memcmp.c: Likewise.
34364         * string/memrchr.c: Likewise.
34365         * string/rawmemchr.c: Likewise.
34366         * sysdeps/posix/getcwd.c: Likewise.
34367         * time/strftime_l.c: Likewise.
34369 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34371         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34372         * config.make.in (config-cflags-sse2avx): Define.
34373         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34374         Fix typo.
34376 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
34378         * scripts/config.guess: Update from upstream config git repository.
34379         * scripts/config.sub: Likewise.
34381 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
34383         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34384         (EM_NUM): Update.
34385         (R_TILEPRO_*, R_TILEGX_*): New macros.
34387         * scripts/firstversions.awk: Fix bug in version range handling.
34389         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34391         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34393         * include/sys/epoll.h: New file.
34394         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34395         libc_hidden_def.
34397 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
34399         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34400         Avoid unnecessary __WORDSIZE == 64 test.
34401         (fmaxf): Use VEX format if possible.
34402         (fmax): Likewise.
34403         (fminf): Likewise.
34404         (fmin): Likewise.
34406         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34407         * math/math_private.h: Remove libc_fegetround* and
34408         libc_fesetround*.
34409         * sysdeps/i386/configure.in: Check for -msse2avx.
34410         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34411         also if SSE2AVX is defined.
34412         Remove libc_fegetround* and libc_fesetround*.
34413         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34414         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
34415         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34416         of HAS_YMM_USABLE.
34417         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34418         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34419         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34420         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34421         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34423         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34425 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34427         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34428         size is not set.
34429         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34431 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
34433         [BZ #13618]
34434         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34435         relocation.
34436         * Makeconfig (libm): Define.
34437         * elf/Makefile: Add rules to build and run tst-relsort1.
34438         * elf/tst-relsort1.c: New file.
34439         * elf/tst-relsort1mod1.c: New file.
34440         * elf/tst-relsort1mod2.c: New file.
34442 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
34444         * math/s_ldexp.c: Remove __STDC__ conditionals.
34445         * math/s_ldexpf.c: Likewise.
34446         * math/s_ldexpl.c: Likewise.
34447         * math/s_nextafter.c: Likewise.
34448         * math/s_nexttowardf.c: Likewise.
34449         * math/s_significand.c: Likewise.
34450         * math/s_significandf.c: Likewise.
34451         * math/s_significandl.c: Likewise.
34452         * math/w_jnl.c: Likewise.
34453         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34454         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34455         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34456         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34457         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34459         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34460         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34461         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34462         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34463         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34464         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34465         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34466         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34467         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34468         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34469         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34470         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34472         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34473         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34474         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34475         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34476         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34477         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34478         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34479         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34480         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34481         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34482         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34483         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34484         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34485         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34486         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34487         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34488         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34489         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34490         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34491         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34492         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34493         * sysdeps/ieee754/k_standard.c: Likewise.
34494         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34495         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34496         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34497         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34498         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34499         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34500         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34501         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34502         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34503         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34504         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34505         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34506         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34507         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34508         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34510         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34511         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34512         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34513         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34514         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34515         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34516         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34517         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34518         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34519         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34520         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34522         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34523         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34524         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34525         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34526         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34527         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34529         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34530         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34531         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34532         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34533         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34534         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34536         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34537         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34538         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34539         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34540         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34541         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34542         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34543         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34544         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34545         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34546         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34547         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34548         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34549         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34550         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34551         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34552         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34553         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34554         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34555         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34556         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34557         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34558         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34559         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34560         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34561         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34562         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34563         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34564         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34565         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34566         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34567         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34568         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34569         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34570         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34571         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34572         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34573         * sysdeps/ieee754/s_matherr.c: Likewise.
34574         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34575         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34576         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34577         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34579 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34581         * crypt/md5.h: Remove __STDC__ conditionals.
34582         * libio/libioP.h: Likewise.
34583         * locale/programs/config.h: Likewise.
34584         * sysdeps/generic/sysdep.h: Likewise.
34585         * sysdeps/i386/asm-syntax.h: Likewise.
34586         * sysdeps/s390/asm-syntax.h: Likewise.
34587         * sysdeps/unix/sysdep.h: Likewise.
34588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34591 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34593         * libio/libio.h: Remove __STDC__ conditionals.
34594         * malloc/obstack.h: Likewise.
34595         * math/complex.h: Likewise.
34596         * math/math.h: Likewise.
34597         * sysdeps/generic/_G_config.h: Likewise.
34598         * sysdeps/gnu/_G_config.h: Likewise.
34599         * sysdeps/mach/hurd/_G_config.h: Likewise.
34600         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34601         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34602         * sysdeps/sparc/bits/mathdef.h: Likewise.
34604 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
34606         [BZ #13583]
34607         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34608         Clean up HAS_* macros.
34609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34610         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34611         possible.
34612         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34613         HAS_AVX.
34614         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34615         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34616         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34617         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34618         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34620 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
34622         * elf/tst-unique3.cc (gets): Remove declaration.
34623         * elf/tst-unique3lib.cc (gets): Likewise.
34624         * elf/tst-unique3lib2.cc (gets): Likewise.
34625         * elf/tst-unique4.cc (gets): Likewise.
34627 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
34629         * include/stdio.h: Add C++ protection.  Add gets declarations and
34630         definitions.
34631         * debug/tst-chk1.c: Don't declare gets here.
34632         * stdio-common/tst-gets.c: Likewise.
34634 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34636         * posix/glob: Remove directory.
34638 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34640         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34642 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
34644         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34645         of the non-standard EPFNOSUPPORT.
34647 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34649         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34650         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34651         ANYWHERE set to 1 only on KERN_NO_SPACE error.
34653 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
34655         * wcsmbs/uchar.h: Test __STDC_VERSION__.
34657 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
34659         * nscd/aicache.c (addhstaiX): Do not cache negative results of
34660         transient errors.
34661         * nscd/grpcache.c (cache_addgr): Likewise.
34662         * nscd/hstcache.c (cache_addhst): Likewise.
34663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34664         * nscd/pwdcache.c (cache_addpw): Likewise.
34665         * nscd/servicescache.c (cache_addserv): Likewise.
34667 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
34669         * malloc/malloc.c: Various cleanups.
34670         * malloc/hooks.c: Likewise.
34672         * stdlib/Makefile (tests): Add bug-fmtmsg1.
34673         * stdlib/bug-fmtmsg1.c: New file.
34675         * stdlib/fmtmsg.c (init): Add missing unlock.
34676         Patch by Peng Haitao <penght@cn.fujitsu.com>.
34678 2012-01-12  Marek Polacek  <polacek@redhat.com>
34680         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34681         and _GNU_SOURCE.
34683 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34685         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34686         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34687         macro to ensure uniqueness of label name.
34688         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34689         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34691 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
34693         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34695         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34696         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34697         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34698         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34700 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
34702         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34704         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34705         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34706         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34708         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34710         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34711         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34712         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34713         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34715         * math/bits/math-finite.h: Add ldexp support.
34717 2012-01-10  Marek Polacek  <polacek@redhat.com>
34719         * locale/programs/localedef.h (show_archive_content): Add noreturn
34720         attribute.
34722 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
34724         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34726 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34728         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34730         * io/Makefile (headers): Add bits/poll2.h.
34732 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
34734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34735         typo #include statement.
34737 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34739         * include/sys/cdefs.h: Define __attribute_alloc_size.
34740         * catgets/gencat.c: Add alloc_size attribute and apply consistently
34741         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34742         * elf/pldd.c: Likewise.
34743         * iconv/iconv_charmap.c: Likewise.
34744         * iconv/iconvconfig.c: Likewise.
34745         * iconv/strtab.c: Likewise.
34746         * locale/programs/locale.c: Likewise.
34747         * locale/programs/localedef.h: Likewise.
34748         * locale/programs/simple-hash.c: Likewise.
34749         * nscd/nscd.h: Likewise.
34750         * nss/makedb.c: Likewise.
34751         * sysdeps/generic/ldconfig.h: Likewise.
34752         * locale/programs/localedef.c: Remove xmalloc prototype.
34753         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34755 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34757         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34758         appropriate.
34760 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34762         * math/Makefile (tests): Add tst-CMPLX.
34763         * math/tst-CMPLX.c: New file.
34765         * math/complex.h (CMPLXL): Fix typo.
34767         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34768         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34769         GLIBC_2.16.
34770         * debug/tst-chk1.c: Add poll and ppoll tests.
34771         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34772         * include/sys/poll.h: Add hidden proto for ppoll.
34773         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34774         * sysdeps/mach/hurd/ppoll.c: Likewise.
34775         * io/ppoll.c: Likewise.
34776         * debug/poll_chk.c: New file.
34777         * debug/ppoll_chk.c: New file.
34778         * include/bits/poll2.h: New file.
34779         * io/bits/poll2.h: New file.
34781         [BZ #1350]
34782         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34784         * configure.in: static is always set to yes.  Remove.
34785         * config.make.in: Don't set build-static.
34786         * Makeconfig: Remove use of build-static.
34787         * dlfcn/Makefile: Likewise.
34788         * elf/Makefile: Likewise.
34789         * math/Makefile: Likewise.
34790         * misc/Makefile: Likewise.
34791         * nptl/Makefile: Likewise.
34792         * sysdeps/mach/hurd/Makefile: Likewise.
34794         * configure.in: PWD_P is not used anymore.
34795         * config.make.in: Remove PWD_P entry.
34797         * configure.in: Remove last remnants of RANLIB.
34798         No need to check for signed size_t anymore.
34799         Don't set libc_commonpagesize and libc_relro_required here for Alpha
34800         and IA-64.
34801         Remove __builtin_expect test because we require at least gcc 3.4.
34802         * aclocal.m4: Likewise.
34804         * wcsmbs/mbrtoc16.c: Implement using towc function.
34805         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34806         * wcsmbs/wcsmbsload.c: Likewise.
34807         * iconv/gconv_simple.c: Likewise.
34808         * iconv/gconv_int.h: Likewise.
34809         * iconv/gconv_builtin.h: Likewise.
34810         * iconv/iconv_prog.c: Remove CHAR16 handling.
34812         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34814         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34816         * configure.in: Remove --with-elf and --enable-bounded options.
34817         Dont set base_machine for ia64.  More non-ELF conditions removed.
34818         Remove testing and setting of leading underscore information.
34819         * config.make.in (build-bounded): Set to no.
34820         * config.h.in: Remove NO_UNDERSCORES entry.
34821         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
34822         them.
34823         * csu/start.c: Remove !NO_UNDERSCORE code.
34824         * locale/localeinfo.h: Likewise.
34825         * sysdeps/generic/machine-gmon.h: Likewise.
34826         * sysdeps/generic/sysdep.h: Likewise.
34827         * sysdeps/i386/sysdep.h: Likewise.
34828         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34829         * sysdeps/mach/sysdep.h: Likewise.
34830         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34831         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34832         * sysdeps/sh/sysdep.h: Likewise.
34833         * sysdeps/sparc/sparc32/alloca.S: Likewise.
34834         * sysdeps/unix/i386/sysdep.S: Likewise.
34835         * sysdeps/unix/sparc/start.c: Likewise.
34836         * sysdeps/unix/sparc/sysdep.S: Likewise.
34837         * sysdeps/unix/sparc/sysdep.h: Likewise.
34838         * sysdeps/unix/start.c: Likewise.
34839         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34840         * sysdeps/x86_64/sysdep.h: Likewise.
34842 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
34844         [BZ #13553]
34845         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34846         for non-gcc.
34847         * argp/argp-fmtstream.h: Use const instead __const.
34848         * argp/argp.h: Likewise.
34849         * assert/assert.h: Likewise.
34850         * bits/fenv.h: Likewise.
34851         * bits/sched.h: Likewise.
34852         * bits/sigset.h: Likewise.
34853         * bits/sigthread.h: Likewise.
34854         * catgets/nl_types.h: Likewise.
34855         * conform/data/pthread.h-data: Likewise.
34856         * crypt/crypt-private.h: Likewise.
34857         * crypt/crypt.h: Likewise.
34858         * crypt/crypt_util.c: Likewise.
34859         * ctype/ctype.h: Likewise.
34860         * debug/execinfo.h: Likewise.
34861         * debug/mbsnrtowcs_chk.c: Likewise.
34862         * debug/mbsrtowcs_chk.c: Likewise.
34863         * debug/wcsnrtombs_chk.c: Likewise.
34864         * debug/wcsrtombs_chk.c: Likewise.
34865         * debug/wcstombs_chk.c: Likewise.
34866         * dirent/dirent.h: Likewise.
34867         * dlfcn/dlfcn.h: Likewise.
34868         * elf/neededtest4.c: Likewise.
34869         * grp/grp.h: Likewise.
34870         * gshadow/gshadow.h: Likewise.
34871         * iconv/gconv.h: Likewise.
34872         * iconv/gconv_int.h: Likewise.
34873         * iconv/gconv_simple.c: Likewise.
34874         * iconv/iconv.h: Likewise.
34875         * iconv/loop.c: Likewise.
34876         * iconv/skeleton.c: Likewise.
34877         * include/aio.h: Likewise.
34878         * include/aliases.h: Likewise.
34879         * include/argz.h: Likewise.
34880         * include/arpa/inet.h: Likewise.
34881         * include/assert.h: Likewise.
34882         * include/dirent.h: Likewise.
34883         * include/dlfcn.h: Likewise.
34884         * include/execinfo.h: Likewise.
34885         * include/fcntl.h: Likewise.
34886         * include/fenv.h: Likewise.
34887         * include/glob.h: Likewise.
34888         * include/grp.h: Likewise.
34889         * include/libintl.h: Likewise.
34890         * include/mntent.h: Likewise.
34891         * include/netdb.h: Likewise.
34892         * include/pwd.h: Likewise.
34893         * include/rpc/netdb.h: Likewise.
34894         * include/sched.h: Likewise.
34895         * include/search.h: Likewise.
34896         * include/shadow.h: Likewise.
34897         * include/signal.h: Likewise.
34898         * include/stdio.h: Likewise.
34899         * include/stdlib.h: Likewise.
34900         * include/string.h: Likewise.
34901         * include/sys/socket.h: Likewise.
34902         * include/sys/stat.h: Likewise.
34903         * include/sys/statfs.h: Likewise.
34904         * include/sys/statvfs.h: Likewise.
34905         * include/sys/syslog.h: Likewise.
34906         * include/sys/time.h: Likewise.
34907         * include/sys/uio.h: Likewise.
34908         * include/time.h: Likewise.
34909         * include/unistd.h: Likewise.
34910         * include/utmp.h: Likewise.
34911         * include/wchar.h: Likewise.
34912         * include/wctype.h: Likewise.
34913         * inet/aliases.h: Likewise.
34914         * inet/arpa/inet.h: Likewise.
34915         * inet/netinet/ether.h: Likewise.
34916         * inet/netinet/in.h: Likewise.
34917         * intl/libintl.h: Likewise.
34918         * io/bits/fcntl2.h: Likewise.
34919         * io/fcntl.h: Likewise.
34920         * io/ftw.h: Likewise.
34921         * io/sys/poll.h: Likewise.
34922         * io/sys/stat.h: Likewise.
34923         * io/sys/statfs.h: Likewise.
34924         * io/sys/statvfs.h: Likewise.
34925         * io/utime.h: Likewise.
34926         * libio/bits/stdio.h: Likewise.
34927         * libio/bits/stdio2.h: Likewise.
34928         * libio/libio.h: Likewise.
34929         * libio/libioP.h: Likewise.
34930         * libio/stdio.h: Likewise.
34931         * locale/lc-ctype.c: Likewise.
34932         * locale/locale.h: Likewise.
34933         * login/utmp.h: Likewise.
34934         * malloc/arena.c: Likewise.
34935         * malloc/malloc.c: Likewise.
34936         * malloc/malloc.h: Likewise.
34937         * malloc/mcheck.c: Likewise.
34938         * malloc/mtrace.c: Likewise.
34939         * math/bits/mathcalls.h: Likewise.
34940         * math/fenv.h: Likewise.
34941         * math/math_private.h: Likewise.
34942         * misc/bits/error.h: Likewise.
34943         * misc/bits/syslog.h: Likewise.
34944         * misc/err.h: Likewise.
34945         * misc/error.h: Likewise.
34946         * misc/fstab.h: Likewise.
34947         * misc/mntent.h: Likewise.
34948         * misc/regexp.h: Likewise.
34949         * misc/search.h: Likewise.
34950         * misc/sgtty.h: Likewise.
34951         * misc/sys/mman.h: Likewise.
34952         * misc/sys/syslog.h: Likewise.
34953         * misc/sys/uio.h: Likewise.
34954         * misc/sys/xattr.h: Likewise.
34955         * misc/ttyent.h: Likewise.
34956         * nis/rpcsvc/ypclnt.h: Likewise.
34957         * nss/nss.h: Likewise.
34958         * posix/bits/unistd.h: Likewise.
34959         * posix/fnmatch.h: Likewise.
34960         * posix/glob.h: Likewise.
34961         * posix/sched.h: Likewise.
34962         * posix/spawn.h: Likewise.
34963         * posix/sys/wait.h: Likewise.
34964         * posix/unistd.h: Likewise.
34965         * posix/wordexp.h: Likewise.
34966         * pwd/pwd.h: Likewise.
34967         * resolv/netdb.h: Likewise.
34968         * resource/sys/resource.h: Likewise.
34969         * rt/aio.h: Likewise.
34970         * rt/bits/mqueue2.h: Likewise.
34971         * rt/mqueue.h: Likewise.
34972         * shadow/shadow.h: Likewise.
34973         * signal/signal.h: Likewise.
34974         * socket/send.c: Likewise.
34975         * socket/sendto.c: Likewise.
34976         * socket/sys/socket.h: Likewise.
34977         * stdio-common/printf.h: Likewise.
34978         * stdlib/bits/stdlib.h: Likewise.
34979         * stdlib/fmtmsg.h: Likewise.
34980         * stdlib/monetary.h: Likewise.
34981         * stdlib/stdlib.h: Likewise.
34982         * stdlib/ucontext.h: Likewise.
34983         * streams/stropts.h: Likewise.
34984         * string/argz.h: Likewise.
34985         * string/bits/string2.h: Likewise.
34986         * string/string.h: Likewise.
34987         * string/strings.h: Likewise.
34988         * sunrpc/rpc/auth.h: Likewise.
34989         * sunrpc/rpc/auth_des.h: Likewise.
34990         * sunrpc/rpc/clnt.h: Likewise.
34991         * sunrpc/rpc/netdb.h: Likewise.
34992         * sunrpc/rpc/pmap_clnt.h: Likewise.
34993         * sunrpc/rpc/xdr.h: Likewise.
34994         * sysdeps/generic/inttypes.h: Likewise.
34995         * sysdeps/generic/net/if.h: Likewise.
34996         * sysdeps/generic/sys/swap.h: Likewise.
34997         * sysdeps/gnu/net/if.h: Likewise.
34998         * sysdeps/gnu/utmpx.h: Likewise.
34999         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35000         * sysdeps/i386/i486/bits/string.h: Likewise.
35001         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35002         * sysdeps/s390/bits/string.h: Likewise.
35003         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35004         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35005         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35006         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35007         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35008         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35009         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35010         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35011         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35012         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35013         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35014         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35015         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35016         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35017         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35018         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35019         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35020         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35021         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35022         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35023         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35024         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35025         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35026         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35027         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35028         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35029         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35030         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35031         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35032         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35033         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35034         * sysvipc/sys/ipc.h: Likewise.
35035         * sysvipc/sys/msg.h: Likewise.
35036         * sysvipc/sys/sem.h: Likewise.
35037         * sysvipc/sys/shm.h: Likewise.
35038         * termios/termios.h: Likewise.
35039         * time/sys/time.h: Likewise.
35040         * time/time.h: Likewise.
35041         * wcsmbs/bits/wchar2.h: Likewise.
35042         * wcsmbs/uchar.h: Likewise.
35043         * wcsmbs/wchar.h: Likewise.
35044         * wctype/wctype.h: Likewise.
35046         [BZ #13551]
35047         * Makeconfig: Remove all but ELF support including AIX support.
35048         * Makerules: Likewise.
35049         * config.h.in: Likewise.
35050         * config.make.in: Likewise.
35051         * configure: Likewise.
35052         * configure.in: Likewise.
35053         * csu/Makefile: Likewise.
35054         * csu/version.c: Likewise.
35055         * debug/Makefile: Likewise.
35056         * dlfcn/Makefile: Likewise.
35057         * elf/Makefile: Likewise.
35058         * extra-lib.mk: Likewise.
35059         * iconv/Makefile: Likewise.
35060         * include/libc-symbols.h: Likewise.
35061         * include/shlib-compat.h: Likewise.
35062         * resolv/Makefile: Likewise.
35063         * resolv/res_libc.c: Likewise.
35064         * rt/Makefile: Likewise.
35065         * sysdeps/i386/asm-syntax.h: Likewise.
35066         * sysdeps/i386/sysdep.h: Likewise.
35067         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35068         * sysdeps/mach/sysdep.h: Likewise.
35069         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35070         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35071         * sysdeps/s390/asm-syntax.h: Likewise.
35072         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35073         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35074         * sysdeps/sh/sysdep.h: Likewise.
35075         * sysdeps/unix/sparc/sysdep.h: Likewise.
35076         * sysdeps/wordsize-32/divdi3.c: Likewise.
35077         * sysdeps/x86_64/sysdep.h: Likewise.
35079         * argp/Versions: Remove _argp_unlock_xxx.
35081         [BZ #13559]
35082         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35083         * abilist/libBrokenLocale.abilist: Likewise.
35084         * abilist/libanl.abilist: Likewise.
35085         * abilist/libc.abilist: Likewise.
35086         * abilist/libcrypt.abilist: Likewise.
35087         * abilist/libdl.abilist: Likewise.
35088         * abilist/libm.abilist: Likewise.
35089         * abilist/libnsl.abilist: Likewise.
35090         * abilist/libpthread.abilist: Likewise.
35091         * abilist/libresolv.abilist: Likewise.
35092         * abilist/librt.abilist: Likewise.
35093         * abilist/libthread_db.abilist: Likewise.
35094         * abilist/libutil.abilist: Likewise.
35095         * abilist/libnss_db.abilist: New file.
35097         * scripts/abilist.awk: Add support for indirect functions.
35099         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35101         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35103         * shlib-versions: Remove entries for ports architectures.
35105         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35106         files in ports.
35107         * elf/stackguard-macros.h: Remove support for IA-64.
35108         * elf/tst-auditmod1.c: Likewise.
35109         * sysdeps/generic/ldsodefs.h: Likewise.
35111         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35112         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35113         configure files.
35115         [BZ #13552]
35116         * configure.in: Remove --enable-omitfp support.
35117         * FAQ.in: Adjust.
35118         * config.make.in: Likewise.
35119         * Makeconfig: Likewise.
35120         * manual/install.texi: Likewise.
35122         In case anyone cares, the IA-64 architecture could move to ports.
35123         * sysdeps/ia64/*: Removed.
35124         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35125         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35127         [BZ #13555]
35128         * configure.in: Remove entries for unsupported architectures.
35130         [BZ #13533]
35131         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35132         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35133         routines.
35134         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35135         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35136         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35137         fall back to using wcrtomb.
35138         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35139         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35140         renaming.
35141         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35142         * wcsmbs/tst-c16c32-1.c: New file.
35144         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35145         local variable.
35147         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35149         * elf/tst-unique3.cc: Add explicit declaration of gets.
35150         * elf/tst-unique3lib.cc: Likewise.
35151         * elf/tst-unique3lib2.cc: Likewise.
35152         * elf/tst-unique4.cc: Likewise.
35154         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35156 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35158         [BZ #13566]
35159         * assert/assert.h (static_assert): Don't define for C++.
35160         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35161         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35163 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35165         * iconv/loop.c (single loop): Fix assertion in storing of
35166         remaining bytes.
35168         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35170 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35172         * posix/getconf.c: Update copyright year.
35173         * nss/getent.c: Likewise.
35174         * nss/makedb.c: Likewise.
35175         * iconv/iconvconfig.c: Likewise.
35176         * iconv/iconv_prog.c: Likewise.
35177         * elf/ldconfig.c: Likewise.
35178         * elf/pldd.c: Likewise.
35179         * elf/sotruss.ksh: Likewise.
35180         * catgets/gencat.c: Likewise.
35181         * csu/version.c: Likewise.
35182         * elf/ldd.bash.in: Likewise.
35183         * elf/sprof.c (print_version): Likewise.
35184         * locale/programs/locale.c: Likewise.
35185         * locale/programs/localedef.c: Likewise.
35186         * login/programs/pt_chown.c: Likewise.
35187         * nscd/nscd.c (print_version): Likewise.
35188         * debug/xtrace.sh: Likewise.
35189         * malloc/memusage.sh: Likewise.
35190         * malloc/mtrace.pl: Likewise.
35191         * debug/catchsegv.sh: Likewise.
35193 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35195         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35196         pure attribute.
35198 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35200         [BZ #13533]
35201         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35202         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35203         transformations.
35204         * iconv/gconv_int.h: Likewise.
35205         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35206         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35207         from libc for GLIBC_2.16.
35208         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35209         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35210         * wcsmbs/uchar.h: Really define mbstate_t.
35211         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35212         * wcsmbs/c16rtomb.c: New file.
35213         * wcsmbs/mbrtoc16.c: New file.
35214         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35215         for C/POSIX locale.
35216         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35217         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35219         * wcsmbs/wchar.h: Add missing __restrict.
35221 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35223         [BZ #13532]
35224         * time/Makefile (routines): Add timespec_get.
35225         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35226         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35227         timespec for ISO C11.
35228         * time/timespec_get.c: New file.
35229         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35230         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35232         [BZ #13531]
35233         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35234         * stdlib/stdlib.h: Declare aligned_alloc.
35235         * Versions.def: Add GLIBC_2.16 for libc.
35236         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35238         [BZ 13527]
35239         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35240         ISO C11.
35242         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35243         code.
35245         [BZ #13528]
35246         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35248         [BZ #13529]
35249         * assert/assert.h (static_assert): Define.
35251         * version.h: Update for 2.16 development version.
35253         [BZ #13526]
35254         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35255         _ISOC11_SOURCE.
35257         * version.h (RELEASE): Bump for 2.15 release.
35258         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35260         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35261         Patch by Marek Polacek <mpolacek@redhat.com>.
35263         * bits/byteswap.h: Protect long long constants with __extension__.
35264         * sysdeps/i386/bits/byteswap.h: Likewise.
35265         * sysdeps/ia64/bits/byteswap.h: Likewise.
35266         * sysdeps/s390/bits/byteswap.h: Likewise.
35267         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35269 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35271         [BZ #13540]
35272         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35273         destination buffer.
35274         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35276 2011-12-23  Marek Polacek  <polacek@redhat.com>
35278         * elf/dl-addr.c (determine_info): Add inline keyword.
35279         * elf/tst-auditmod4b.c (check_avx): Likewise.
35280         * elf/tst-auditmod6b.c (check_avx): Likewise.
35281         * elf/tst-auditmod6c.c (check_avx): Likewise.
35282         * elf/tst-auditmod7b.c (check_avx): Likewise.
35284 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35286         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35287         !__SSE_MATH__.
35289 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35291         [BZ #13540]
35292         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35293         processing for last bytes.
35295 2011-08-06  Bruno Haible  <bruno@clisp.org>
35297         [BZ #13061]
35298         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35299         U+0385, not to U+1FEE.
35301         [BZ #13062]
35302         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35303         entry for U+00A5 U+0301.
35305 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35307         [BZ #13166]
35308         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35309         buffer for the output is too small.
35311         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35312         optimization.
35314         [BZ #13185]
35315         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35316         SSE flags if possible.
35318 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35320         [BZ #13540]
35321         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35322         processing for last bytes.
35324 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
35326         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35327         (syscall-list-default-options, syscall-list-default-condition)
35328         (syscall-list-includes): Define.
35329         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35330         list of ABIs and options and #if conditions for each ABI.  Do not
35331         handle common syscalls between ABIs specially.
35332         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35333         Remove.
35334         (syscall-list-variants, syscall-list-32bit-options)
35335         (syscall-list-32bit-condition, syscall-list-64bit-options)
35336         (syscall-list-64bit-condition): Define.
35337         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35338         (syscall-list-variants, syscall-list-32bit-options)
35339         (syscall-list-32bit-condition, syscall-list-64bit-options)
35340         (syscall-list-64bit-condition): Define.
35341         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35342         Remove.
35343         (syscall-list-variants, syscall-list-32bit-options)
35344         (syscall-list-32bit-condition, syscall-list-64bit-options)
35345         (syscall-list-64bit-condition): Define.
35346         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35347         Remove.
35348         (syscall-list-variants, syscall-list-32bit-options)
35349         (syscall-list-32bit-condition, syscall-list-64bit-options)
35350         (syscall-list-64bit-condition): Define.
35352 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35354         * locale/iso-639.def: Add brx entry.
35356         [BZ #13328]
35357         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35358         Proposed by Mariusz_Cukr <marcukr@op.pl>.
35360         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35361         __feraiseexcept_renamed.
35363 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35365         [BZ #13538]
35366         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35367         EPOLLET with unsigned values.
35368         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35369         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35371         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35372         to large cancellation.
35373         * math/s_cacoshf.c: Likewise.
35374         * math/s_cacoshl.c: Likewise.
35376 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
35378         [BZ #13305]
35379         [BZ #12786]
35380         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35381         * math/s_cacoshf.c: Likewise.
35382         * math/s_cacoshl.c: Likewise.
35384 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35386         [BZ #13439]
35387         * iconv/gconv.h: Define __GCONV_SWAP.
35388         * iconvdata/unicode.c: The swap bit must be stored in __flags.
35389         * iconvdata/utf-16.c: Likewise.
35390         * iconvdata/utf-32.c: Likewise.
35392 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35394         [BZ #13524]
35395         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35396         numerator after shifting it by one limb.
35398 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
35400         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35401         under [__USE_EXTERN_INLINES].
35403 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35405         [BZ #13446]
35406         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35408 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35410         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35411         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35412         optimized code.
35413         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35414         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35415         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35416         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35417         for strncasecmp/strncasecmp_l compilation.
35418         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35419         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35421 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
35423         [BZ #13484]
35424         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35425         of __asm__.
35427 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35429         [BZ #13506]
35430         * time/tzfile.c (__tzfile_read): Check values from file header.
35432 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35434         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35435         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35436         * powerpc/powerpc32/dl-start.S: Likewise.
35437         * powerpc/powerpc32/elf/start.S: Likewise.
35438         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35439         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35440         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35441         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35442         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35443         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35444         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35445         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35446         * powerpc/powerpc32/fpu/s_round.S: Likewise.
35447         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35448         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35449         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35450         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35451         * powerpc/powerpc32/memset.S: Likewise.
35452         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35453         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35454         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35455         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35456         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35457         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35458         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35459         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35460         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35461         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35462         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35463         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35464         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35466 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35468         * math/libm-test.inc: Added more nearbyint tests.
35469         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35470         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35471         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35472         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35474 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
35476         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35477         FD_CLOEXEC.
35479 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35481         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35482         Add wcscpy-ssse3 wcscpy-c.
35483         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35484         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35485         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35486         * sysdeps/x86_64/wcschr.S: New file.
35487         * sysdeps/x86_64/wcsrchr.S: New file.
35488         * string/test-strcmp.c: Remove checking of wcscmp function for
35489         wrong alignments.
35490         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35491         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35492         wcsrchr-sse2 wcsrchr-c.
35493         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35494         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35495         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35496         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35497         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35498         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35499         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35500         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35501         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35502         * wcsmbc/wcschr.c (WCSCHR): New macro.
35504 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35506         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35507         * wcsmbs/test-wcsrchr.c: New file.
35508         * string/test-strrchr.c: Add wcsrchr support.
35509         (WIDE): New macro.
35510         * wcsmbs/test-wcscpy.c: New file.
35511         * string/test-strcpy.c: Add wcscpy support.
35512         (WIDE): New macro.
35514 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
35516         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35517         the inner loop.
35519 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
35521         [BZ #13472]
35522         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35524 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
35526         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35527         Minor optimizations.
35529         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35530         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35531         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35533 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
35535         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35536         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35537         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35538         for gcc to avoid warnings.
35539         * inet/Makefile (tests): Add tst-checks.
35540         * inet/tst-checks.c: New file.
35542         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35543         warning.
35545         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35546         __wmemcmp_sse2.
35548         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35549         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35551         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35553 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
35555         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35556         problem.
35558         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35560 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
35562         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35563         conditional on GCC version.
35564         (__arch_compare_and_exchange_val_8_acq)
35565         (__arch_compare_and_exchange_val_16_acq)
35566         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35567         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35568         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35570 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
35572         * sysdeps/sh/backtrace.c: New file.
35574 2011-12-02  Andreas Schwab  <schwab@redhat.com>
35576         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
35577         parenthesis.
35579 2011-12-01  Andreas Schwab  <schwab@redhat.com>
35581         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35582         falling back to utime.
35584 2011-11-30  Andreas Schwab  <schwab@redhat.com>
35586         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35587         expectations for float.
35589 2011-11-29  Andreas Schwab  <schwab@redhat.com>
35591         * locale/weight.h (findidx): Add parameter len.
35592         * locale/weightwc.h (findidx): Likewise.
35593         * posix/fnmatch_loop.c (FCT): Adjust caller.
35594         * posix/regcomp.c (build_equiv_class): Likewise.
35595         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35596         * posix/regexec.c (check_node_accept_bytes): Likewise.
35597         * string/strcoll_l.c (STRCOLL): Likewise.
35598         * string/strxfrm_l.c (STRXFRM): Likewise.
35600 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
35602         * Makefile.in: Remove CVSOPT handling.
35603         * configure.in: Remove use of AC_REVISION.
35604         * iconvdata/Makefile (distribute): No need to filter out CVS.
35605         * scripts/list-sources.sh: Remove CVS, subversion and monotone
35606         handling.
35608 2011-11-16  Andreas Schwab  <schwab@redhat.com>
35610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35611         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35612         [USE_AS_STRNCASECMP_L]: Likewise.
35613         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35614         NO_TLS_DIRECT_SEG_REFS.
35615         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35616         Fix argument offsets for non-PIC.
35617         [USE_AS_STRNCASECMP_L]: Likewise.
35618         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35619         NO_TLS_DIRECT_SEG_REFS.
35621 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35623         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35624         O_CLOEXEC.
35625         * locale/loadlocale.c (_nl_load_locale): Likewise.
35627 2011-11-15  Andreas Schwab  <schwab@redhat.com>
35629         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35630         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35631         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35632         (SYSCALL_GETTIME): Set errno on error.
35634         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35635         count references to noai6ai_cached.
35637 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35639         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35641         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35642         FD_CLOEXEC for /proc/self/maps.
35644         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35645         FD_CLOEXEC for /proc/meminfo.
35647         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35648         gai.conf.
35650         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
35651         FD_CLOEXEC for given file.
35653         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35655         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35656         FD_CLOEXEC for /etc/hosts.
35657         (_gethtent): Likewise.
35659         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35661         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35662         cancellation and set FD_CLOEXEC for /etc/netgroup.
35664         * nss/nss_files/files-key.c (search): Don't allow cancellation when
35665         reading /etc/publickey.
35667         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35668         allow cancellation when reading /etc/group.
35670         * nss/nss_files/files-alias.c (internal_setent): Don't allow
35671         cancellation.
35672         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
35674         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35675         when using data file.
35677         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35679         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35680         (write_nis_obj): Use "c" and "e" in fopen.
35682         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35684         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35686         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35688         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35690         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35691         locale.alias.
35693         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35695         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35697         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35699         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35700         file parsing and set FD_CLOEXEC.
35702 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35704         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35706 2011-11-14  Andreas Schwab  <schwab@redhat.com>
35708         * malloc/arena.c (arena_get2): Don't call reused_arena when
35709         _int_new_arena failed.
35711 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35713         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35714         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35715         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35716         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35717         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35718         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35719         to compile strcasecmp and strncasecmp.
35720         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35721         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35723         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35725 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
35727         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35728         locale-defines.sym to gen-as-const-headers.
35729         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35730         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35732         to compile strcasecmp and strncasecmp.
35733         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35734         strcasecmp_l and strncasecmp_l.
35735         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35736         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35737         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35738         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35739         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35740         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35741         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35742         * sysdeps/i386/i686/multiarch/strncase.S: New file.
35743         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35744         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35745         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35747 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
35749         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35750         result of SYSDEP_GETTIME_CPU to retval.
35751         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35752         parameter list to macro.  Remove trailing semicolon.  Adjust users.
35754         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35755         variable.
35757         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35758         mantissa words.
35759         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35761         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35762         from unused variable.
35764         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35765         DWARF definitions.
35766         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35767         for assembling.
35769         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35770         over namespaces.
35772         * sunrpc/rpc_prot.c (rejected): Fix case value.
35774         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35775         unsigned long long int to avoid warnings in shift.
35777         * posix/regex_internal.c (re_string_reconstruct): Actually use result
35778         of use of trans.
35779         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35780         variable tmp.
35782         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35783         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35784         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35786         * nis/nis_table.c (nis_list): Use variable of correct type for
35787         result of __follow_path call.
35789 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35791         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35792         of math functions ceil, trunc, floor, round, and sqrt, when
35793         avaliable on the platform.
35794         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35795         name clash.
35796         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35797         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35798         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35800 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
35802         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35803         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35805 2011-11-11  Roland McGrath  <roland@hack.frob.com>
35807         * include/unistd.h: Fix __readlink return type.
35808         Reported by Chris Metcalf <cmetcalf@tilera.com>.
35810 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
35812         * stdlib/ucontext.h: Undo last change for makecontext.
35814 2011-11-11  Andreas Schwab  <schwab@redhat.com>
35816         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35818         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35819         * setjmp/setjmp.h: Mark functions as non-leaf.
35820         * setjmp/bits/setjmp2.h: Likewise.
35821         * stdlib/ucontext.h: Likewise.
35823 2011-11-10  Andreas Schwab  <schwab@redhat.com>
35825         * malloc/arena.c (_int_new_arena): Don't increment narenas.
35826         (reused_arena): Don't check arena limit.
35827         (arena_get2): Atomically check arena limit.
35829 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
35831         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35832         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35834         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35835         instructions.
35837 2011-11-07  Andreas Schwab  <schwab@redhat.com>
35839         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35840         handler when locking.
35842         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35843         Fix size of allocated buffer.
35845 2011-11-04  Andreas Schwab  <schwab@redhat.com>
35847         [BZ #10103]
35848         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35849         declarations for long double functions.
35850         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35852         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35854 2011-11-03  Andreas Schwab  <schwab@redhat.com>
35856         * nscd/nscd.c (main): Don't start AVC thread until credentials are
35857         installed.
35859         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35860         is disabled.
35862 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35864         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35866 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35868         * include/alloca.h (stackinfo_alloca_round): Define.
35869         (extend_alloca): Use it.
35870         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35871         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35872         here.
35874         * scripts/check-local-headers.sh: Ignore libaudit.h.
35876         * nscd/Makefile (extra-objs): Make recursively expanded.
35878 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
35880         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35881         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35883         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35884         * posix/tst-rfc3484-2.c: Likewise.
35885         * posix/tst-rfc3484-3.c: Likewise.
35887         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35888         process_vm_writev.
35889         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35890         process_vm_writev.
35891         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35892         process_vm_writev from libc using GLIBC_2.15 version.
35894         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35896 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
35898         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35899         stack usage.
35901 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
35903         [BZ #13367]
35904         * nss/getent.c (initgroups_keys): Show error message in case no group
35905         names are given.
35907         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35908         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35909         __bump_nl_timestamp.
35910         * nscd/connections (nscd_init): When host database is served open
35911         netlink socket and request notification about configuration changes.
35912         (main_loop_poll): Track netlink file descriptor and bump timestamp
35913         in case data becomes available.
35914         (main_loop_epoll): Likewise.
35915         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35916         (database_pers_head): Add extra_data fileds.
35917         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35918         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35919         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35920         Adjust caller.
35921         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35922         in6ai data, call __free_in6ai.
35923         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35924         Add -DHAVE_NETLINK.
35925         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
35926         interface information.  Reuse previous data if netlink timestamp
35927         is not changed.
35928         (__bump_nl_timestamp): New function.
35929         (__free_in6ai): New function.
35931 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
35933         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35934         close_not_cancel_no_status here.
35935         (__check_pf): Reorganize code a bit to not call close twice if OOM.
35937 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35939         [BZ #13276]
35940         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35941         return value.
35943         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35944         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35945         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35947 2011-07-03  Andreas Jaeger  <aj@suse.de>
35949         [BZ #10709]
35950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35951         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35952         * math/libm-test.inc (sin_test): Add test case.
35954 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35956         [BZ #13337]
35957         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35958         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35960         * elf/chroot_canon.c (chroot_canon): Cleanups.
35962         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35964         [BZ #13335]
35965         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35966         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35968         * string/test-strchr.c: Make usable for strchrnul testing.
35969         * string/test-strchrnul.c: New file.
35970         * string/Makefile (strop-tests): Add strchrnul.
35972         * po/it.po: Update from translation team.
35973         * po/es.po: Likewise.
35975 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
35977         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35978         the three constants needed as parameters.  Drop the others.
35979         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35980         __m128i_strloadu_tolower.
35981         Create and initialize variable zero and use it in all the places
35982         where _mm_setzero_si128 was used.
35984         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35985         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35986         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35987         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35988         anymore.
35989         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35990         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35991         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35992         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35993         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35994         __mpranred, __mptan.
35995         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35996         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35997         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35998         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35999         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36000         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36001         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36002         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36003         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36005 2011-10-28  Andreas Schwab  <schwab@redhat.com>
36007         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36008         redefine if SHARED.
36009         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36012         wide char related routines to wcsmbs subdir.
36014 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36016         [BZ #13344]
36017         * misc/sys/cdefs.h (__THROWNL): Define.
36018         * posix/unistd.h: Use __THREADNL instead of __THREAD
36019         for memory synchronization functions.
36021 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36023         [BZ #13349]
36024         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36025         doesn't exist.
36026         * manual/stdio.texi (Obstack Streams): Node removed.
36028 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36030         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36031         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36032         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36034         * math/math_private.h (math_force_eval): Allow non-addressable
36035         arguments.
36036         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36038 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36040         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36041         file is not needed.
36043         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36044         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36045         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36046         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36047         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36048         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36049         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36050         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36051         Add AVX variants.
36052         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36053         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36054         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36055         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36056         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36057         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36058         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36059         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36060         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36061         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36062         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36063         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36064         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36065         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36066         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36067         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36068         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36069         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36070         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36072         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36073         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36075         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36076         place.  Use VEX encoding when compiling for AVX.
36078 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36080         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36081         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36083         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36085 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36087         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36088         useless if() expression.
36089         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36090         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36091         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36092         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36093         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36094         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36095         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36096         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36097         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36098         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36099         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36100         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36101         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36102         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36103         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36104         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36105         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36106         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36107         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36109         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36111 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36113         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36114         condition.
36115         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36117 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36119         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36120         .text section.  Avoid duplicate constants.
36121         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36122         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36123         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36124         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36125         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36126         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36127         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36128         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36129         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36130         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36131         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36132         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36133         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36134         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36135         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36136         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36137         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36138         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36139         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36140         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36141         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36142         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36143         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36144         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36145         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36146         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36147         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36148         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36149         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36150         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36151         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36152         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36153         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36154         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36155         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36156         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36157         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36158         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36159         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36160         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36161         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36162         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36163         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36164         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36165         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36167 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36169         * sysdeps/x86_64/dla.h: Move to ...
36170         * sysdeps/x86_64/fpu/dla.h: ...here.
36171         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36172         situations.  Use __builtin_fma only for gcc 4.6 and up.
36174         * config.make.in: Add have-mfma4 entry.
36175         * configure.in: Substitute libc_cv_cc_fma4.
36176         * math/Makefile (dbl-only-routines): Add sincostab.
36177         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36178         Use __sincostab not sincos.
36179         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36180         name is a macro.
36181         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36182         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36183         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36185         using __copysign.
36186         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36187         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36188         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36189         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36190         and __inv.
36191         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36192         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36193         __copysign.
36194         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36195         define aliases when function name is a macro.
36196         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36197         sysdeps/ieee754/dbl-64/sincos.tbl.
36198         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36199         fma4-enabled routines.
36200         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36201         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36202         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36203         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36204         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36205         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36206         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36207         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36208         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36209         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36210         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36211         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36212         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36213         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36214         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36215         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36216         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36217         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36218         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36219         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36220         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36221         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36222         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36223         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36224         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36225         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36226         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36227         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36228         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36229         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36231         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36232         rename.
36233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36238         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36242 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36244         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36246 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36250         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36251         prediction.
36252         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36254         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36255         Remove unused variable magic_bits.
36256         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36258         * string/strnlen.c: Define and use STRNLEN macro.
36259         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36260         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36261         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36262         * wcsmbs/wcslen.c: Define and use WCSLEN.
36263         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36264         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36265         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36266         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36267         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36268         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36269         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36271 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36274         strnlen-sse2-no-bsf.
36275         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36276         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36277         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36278         Add strnlen support.
36279         (USE_AS_STRNLEN): New macro.
36280         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36281         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36282         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36283         * sysdeps/x86_64/wcslen.S: New file.
36285 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36287         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36288         XMM-moves are used for copying on small sizes.
36290 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36292         * wcsmbs/Makefile (strop-tests): Add wcschr.
36293         * wcsmbs/test-wcschr.c: New file.
36294         * string/test-strchr.c: Update.
36295         Add wcschr support.
36296         (WIDE): New macro.
36298 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36300         * wcsmbs/Makefile (strop-tests): Add wcslen.
36301         * wcsmbs/test-wcslen.c: New file.
36302         * string/test-strlen.c: Update.
36303         Add wcslen support.
36304         (WIDE): New macro.
36306 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36308         * po/it.po: Update from translation team.
36310 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36312         * sysdeps/x86_64/wcscmp.S: Update.
36313         Fix wrong comparison semantics.
36314         wcscmp shall use signed comparison not unsigned.
36315         Don't use substraction to avoid overflow bug.
36316         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36317         * wcsmbc/wcscmp.c: Likewise.
36318         * string/test-strcmp.c: Likewise.
36319         Add new tests to check cases with negative values.
36321 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36323         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36324         * sysdeps/x86_64/dla.h: ...here.  New file.
36325         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36326         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36327         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36328         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36329         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36330         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36331         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36332         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36333         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36335 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
36337         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36338         __ynl_finite aliases.
36340 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36344         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36345         define DLA_FMA.
36346         [DLA_FMA] (EMULV): Use DLA_FMA.
36347         [DLA_FMA] (MUL12): Use EMULV.
36348         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36349         that are not needed.
36350         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36351         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36352         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36353         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36354         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36355         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36356         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36358 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
36360         * math/s_nan.c: Undef __nan.
36361         * math/s_nanf.c: Undef __nanf.
36362         * math/s_nanl.c: Undef __nanl.
36363         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36364         "math_private.h".
36366 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36368         * math/s_catan.c: Add branch predictions.
36369         * math/s_catanf.c: Likewise.
36370         * math/s_catanh.c: Likewise.
36371         * math/s_catanhf.c: Likewise.
36372         * math/s_catanhl.c: Likewise.
36373         * math/s_catanl.c: Likewise.
36374         * math/s_cexp.c: Likewise.
36375         * math/s_cexpf.c: Likewise.
36376         * math/s_cexpl.c: Likewise.
36377         * math/s_clog.c: Likewise.
36378         * math/s_clog10.c: Likewise.
36379         * math/s_clog10f.c: Likewise.
36380         * math/s_clog10l.c: Likewise.
36381         * math/s_clogf.c: Likewise.
36382         * math/s_clogl.c: Likewise.
36383         * math/s_csqrt.c: Likewise.
36384         * math/s_csqrtf.c: Likewise.
36385         * math/s_csqrtl.c: Likewise.
36386         * math/s_ctanf.c: Likewise.
36387         * math/s_ctanh.c: Likewise.
36388         * math/s_ctanhf.c: Likewise.
36389         * math/s_ctanhl.c: Likewise.
36390         * math/s_ctanl.c: Likewise.
36392         * math/math_private.h: Define __nan, __nanf, __nanl.
36393         * math/s_cacosh.c: Include <math_private.h>.
36394         * math/s_cacoshl.c: Likewise.
36395         * math/s_casinh.c: Likewise.
36396         * math/s_casinhf.c: Likewise.
36397         * math/s_casinhl.c: Likewise.
36398         * math/s_ccos.c: Rely entire on ccosh.
36399         * math/s_ccosf.c: Rely entire on ccoshf.
36400         * math/s_ccosl.c: Rely entirely on ccoshl.
36401         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
36402         Remove tests for FE_INVALID.
36403         * math/s_ccoshf.c: Likewise.
36404         * math/s_ccoshl.c: Likewise.
36405         * math/s_csin.c: Likewise.
36406         * math/s_csinf.c: Likewise.
36407         * math/s_csinh.c Likewise.
36408         * math/s_csinhf.c: Likewise.
36409         * math/s_csinhl.c: Likewise.
36410         * math/s_csinl.c: Likewise.
36411         * math/s_ctan.c: Likewise.
36412         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36413         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36414         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36416 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
36418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36419         compilation problems.
36421         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36422         __builtin_expect.
36424 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
36426         * sysdeps/i386/configure.in: Test for -mfma4 option.
36427         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36428         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36429         COMMON_CPUID_INDEX_80000001.
36430         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36431         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36432         use it if FMA3 is not supported.
36433         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36435         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36436         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36438 2011-10-20  Andreas Schwab  <schwab@redhat.com>
36440         [BZ #12892]
36441         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36442         it would create a cycle with a link time dependency.
36444 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
36446         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36447         instruction.
36448         * string/Makefile (strop-tests): Add rawmemchr.
36449         * string/test-rawmemchr.c: New file.
36451         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36452         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
36453         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
36454         when compiling str{,n}casecmp and when AVX is available.  Hook up
36455         new optimized code in initializers.
36457 2011-10-19  Andreas Schwab  <schwab@redhat.com>
36459         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36460         __feraiseexcept instead of feraiseexcept.
36462 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
36464         * math/math_private.h: Define defaults for libc_fetestexcept and
36465         libc_feupdateenv.
36466         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36467         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36468         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36469         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36470         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36471         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36472         libc_fetestexcept and libc_feupdateenv.
36474         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36475         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36476         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36477         * sysdeps/x86_64/fpu/math_private.h: Define special version of
36478         libc_feholdexcept_setround.
36480         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36481         Add s_nearbyint-c and s_nearbyintf-c.
36482         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36483         nearbyintf inlines.
36484         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36485         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36486         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36487         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36489         * math/math_private.h: Define defaults for libc_fegetround,
36490         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36491         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36492         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36493         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36494         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36495         standard functions.
36496         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36497         Remove comments and hacks for old compiler versions.
36498         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36499         libc_fegetround, libc_fesetround, libc_feholdexcept, and
36500         libc_feholdexceptl.
36502 2011-10-18  Andreas Schwab  <schwab@redhat.com>
36504         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36505         (__feraiseexcept_renamed): Add __NTH.
36506         (feraiseexcept): Add __NTH.  Rename local variables to fix
36507         namespace violations.
36509 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
36511         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36513         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36515         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36516         recently added interfaces.
36517         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36519         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36520         about macro parameter expansion.
36522         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36523         __NO_MATH_INLINES is defined.  Cleanups.
36525         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36526         and __floorf is target has SSE4.1.
36527         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36528         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36529         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36530         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36532         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36533         name.
36534         (floorf): Likewise.
36536         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36538 2011-10-17  Andreas Schwab  <schwab@redhat.com>
36540         * misc/sys/cdefs.h: Fix last change.
36542         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36543         database lookup.
36545 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
36547         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36549         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36550         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36551         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36552         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36553         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36554         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36555         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36556         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36557         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36558         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36559         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36560         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36561         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36562         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36563         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36564         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36565         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36566         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36567         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36568         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36569         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36570         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36572         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36573         ceil, ceilf, floor, floorf.
36575         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36576         Perform IRELATIVE relocations last.
36578         * elf/do-rel.h: Add another parameter nrelative, replacing the
36579         local variable with the same name.  Change name of the function
36580         to end in Rel or Rela (uppercase).
36581         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36582         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
36583         elf_dynamic_do_##reloc function.
36585 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36587         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36588         is sufficient, at least on modern CPUs.
36590         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36592         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36593         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36595         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36596         __expl_finite.
36597         * math/bits/math-finite.h: Add entries for exp.
36598         * math/e_expl.c: Add __*_finite alias.
36599         * sysdeps/i386/fpu/e_exp.S: Likewise.
36600         * sysdeps/i386/fpu/e_expf.S: Likewise.
36601         * sysdeps/i386/fpu/e_expl.c: Likewise.
36602         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36603         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36604         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36605         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36606         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36607         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36608         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36610         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36611         is sufficient, at least on modern CPUs.
36613         * ctype/ctype-info.c (__ctype_init): Define.
36614         * include/ctype.h (__ctype_init): Declare.
36615         (__ctype_b_loc): The variable is always initialized.
36616         (__ctype_toupper_loc): Likewise.
36617         (__ctype_tolower_loc): Likewise.
36618         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36619         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36621 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
36623         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36625         * configure.in: Also look in $cxxmachine/include for C++ system
36626         headers.
36628 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36630         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36631         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36632         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36633         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
36634         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36635         (USE_AS_WMEMCMP): New macro.
36636         Fixing indents.
36637         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36638         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36639         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36640         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36641         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36642         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36643         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36644         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36645         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36646         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36647         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36648         (USE_AS_WMEMCMP): New macro.
36649         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36650         * sysdeps/string/test-memcmp.c: Update.
36651         Fix simple_wmemcmp.
36652         Add new tests.
36653         * wcsmbs/wmemcmp.c: Update.
36654         (WMEMCMP): New macro.
36655         Fix overflow bug.
36657 2011-10-12  Andreas Jaeger  <aj@suse.de>
36659         [BZ #13268]
36660         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36662 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36664         * libio/iofwide.c (do_length): Avoid warning.
36666         * ctype/ctype.h (__isctype_f): Add missing __THROW.
36668 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
36670         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36672         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36673         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36674         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36675         * sysdeps/i386/i686/fpu/e_log.S: New file.
36676         * sysdeps/i386/i686/fpu/e_logf.S: New file.
36677         * sysdeps/i386/i686/fpu/e_logl.S: New file.
36679         * ctype/ctype.h: Add support for inlined isXXX functions when
36680         compiling C++ code.
36682 2011-10-14  Andreas Schwab  <schwab@redhat.com>
36684         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36686         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36688 2011-10-13  Roland McGrath  <roland@hack.frob.com>
36690         [BZ #13291]
36691         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36693 2011-10-13  Andreas Schwab  <schwab@redhat.com>
36695         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36696         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36697         feraiseexcept.
36699         * sysdeps/x86_64/memrchr.S: Check for zero size.
36701         * string/stratcliff.c: Add memrchr tests.
36703 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36706         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36707         rawmemchr-sse2 rawmemchr-sse2-bsf.
36708         * sysdeps/i386/i686/multiarch/memchr.S: New file.
36709         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36710         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36711         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36712         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36713         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36714         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36715         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36716         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36717         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36718         * string/memrchr.c (MEMRCHR): New macro.
36720 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
36722         Add integration with gcc's -ffinite-math-only and optimize wrapper
36723         functions in libm.
36724         * Versions.def: Define GLIBC_2.15 version for libm.
36725         * math/Makefile (headers): Add bits/math-finite.h.
36726         * math/bits/math-finite.h: New file.
36727         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36728         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36729         * math/e_acoshl.c: Add __*_finite alias.
36730         * math/e_acosl.c: Likewise.
36731         * math/e_asinl.c: Likewise.
36732         * math/e_atan2l.c: Likewise.
36733         * math/e_atanhl.c: Likewise.
36734         * math/e_coshl.c: Likewise.
36735         * math/e_exp10.c: Likewise.
36736         * math/e_exp10f.c: Likewise.
36737         * math/e_exp10l.c: Likewise.
36738         * math/e_exp2l.c: Likewise.
36739         * math/e_fmodl.c: Likewise.
36740         * math/e_gammal_r.c: Likewise.
36741         * math/e_hypotl.c: Likewise.
36742         * math/e_j0l.c: Likewise.
36743         * math/e_j1l.c: Likewise.
36744         * math/e_jnl.c: Likewise.
36745         * math/e_lgammal_r.c: Likewise.
36746         * math/e_log10l.c: Likewise.
36747         * math/e_log2l.c: Likewise.
36748         * math/e_logl.c: Likewise.
36749         * math/e_powl.c: Likewise.
36750         * math/e_sinhl.c: Likewise.
36751         * math/e_sqrtl.c: Likewise.
36752         * math/e_scalb.c: Completely rewritten and optimized.
36753         * math/e_scalbf.c: Likewise.
36754         * math/e_scalbl.c: Likewise.
36755         * math/w_acos.c: Likewise.
36756         * math/w_acosf.c: Likewise.
36757         * math/w_acosl.c: Likewise.
36758         * math/w_acosh.c: Likewise.
36759         * math/w_acoshf.c: Likewise.
36760         * math/w_acoshl.c: Likewise.
36761         * math/w_asin.c: Likewise.
36762         * math/w_asinf.c: Likewise.
36763         * math/w_asinl.c: Likewise.
36764         * math/w_atan2.c: Likewise.
36765         * math/w_atan2f.c: Likewise.
36766         * math/w_atan2l.c: Likewise.
36767         * math/w_atanh.c: Likewise.
36768         * math/w_atanhf.c: Likewise.
36769         * math/w_atanhl.c: Likewise.
36770         * math/w_exp10.c: Likewise.
36771         * math/w_exp10f.c: Likewise.
36772         * math/w_exp10l.c: Likewise.
36773         * math/w_fmod.c: Likewise.
36774         * math/w_fmodf.c: Likewise.
36775         * math/w_fmodl.c: Likewise.
36776         * math/w_j0.c: Likewise.
36777         * math/w_j0f.c: Likewise.
36778         * math/w_j0l.c: Likewise.
36779         * math/w_j1.c: Likewise.
36780         * math/w_j1f.c: Likewise.
36781         * math/w_j1l.c: Likewise.
36782         * math/w_jn.c: Likewise.
36783         * math/w_jnf.c: Likewise.
36784         * math/w_log.c: Likewise.
36785         * math/w_logf.c: Likewise.
36786         * math/w_logl.c: Likewise.
36787         * math/w_log10.c: Likewise.
36788         * math/w_log10f.c: Likewise.
36789         * math/w_log10l.c: Likewise.
36790         * math/w_log2.c: Likewise.
36791         * math/w_log2f.c: Likewise.
36792         * math/w_log2l.c: Likewise.
36793         * math/w_pow.c: Likewise.
36794         * math/w_powf.c: Likewise.
36795         * math/w_powl.c: Likewise.
36796         * math/w_remainder.c: Likewise.
36797         * math/w_remainderf.c: Likewise.
36798         * math/w_remainderl.c: Likewise.
36799         * math/w_scalb.c: Likewise.
36800         * math/w_scalbf.c: Likewise.
36801         * math/w_scalbl.c: Likewise.
36802         * math/w_sqrt.c: Likewise.
36803         * math/w_sqrtf.c: Likewise.
36804         * math/w_sqrtl.c: Likewise.
36805         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36806         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
36807         used.
36808         * math/math_private.h: Declare __kernel_standard_f.
36809         * math/w_cosh.c: Remove cruft and optimize a bit.
36810         * math/w_coshf.c: Likewise.
36811         * math/w_coshl.c: Likewise.
36812         * math/w_exp2.c: Likewise.
36813         * math/w_exp2f.c: Likewise.
36814         * math/w_exp2l.c: Likewise.
36815         * math/w_hypot.c: Likewise.
36816         * math/w_hypotf.c: Likewise.
36817         * math/w_hypotl.c: Likewise.
36818         * math/w_lgamma.c: Likewise.
36819         * math/w_lgamma_r.c: Likewise.
36820         * math/w_lgammaf.c: Likewise.
36821         * math/w_lgammaf_r.c: Likewise.
36822         * math/w_lgammal.c: Likewise.
36823         * math/w_lgammal_r.c: Likewise.
36824         * math/w_sinh.c: Likewise.
36825         * math/w_sinhf.c: Likewise.
36826         * math/w_sinhl.c: Likewise.
36827         * math/w_tgamma.c: Likewise.
36828         * math/w_tgammaf.c: Likewise.
36829         * math/w_tgammal.c: Likewise.
36830         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36831         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36832         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36833         Minor optimizations.  Pretty printing.  Remove cruft.
36834         * sysdeps/i386/fpu/e_acosf.S: Likewise.
36835         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36836         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36837         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36838         * sysdeps/i386/fpu/e_acosl.c: Likewise.
36839         * sysdeps/i386/fpu/e_asin.S: Likewise.
36840         * sysdeps/i386/fpu/e_asinf.S: Likewise.
36841         * sysdeps/i386/fpu/e_atan2.S: Likewise.
36842         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36843         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36844         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36845         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36846         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36847         * sysdeps/i386/fpu/e_exp10.S: Likewise.
36848         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36849         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36850         * sysdeps/i386/fpu/e_exp2.S: Likewise.
36851         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36852         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36853         * sysdeps/i386/fpu/e_fmod.S: Likewise.
36854         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36855         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36856         * sysdeps/i386/fpu/e_hypot.S: Likewise.
36857         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36858         * sysdeps/i386/fpu/e_log.S: Likewise.
36859         * sysdeps/i386/fpu/e_log10.S: Likewise.
36860         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36861         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36862         * sysdeps/i386/fpu/e_log2.S: Likewise.
36863         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36864         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36865         * sysdeps/i386/fpu/e_logf.S: Likewise.
36866         * sysdeps/i386/fpu/e_logl.S: Likewise.
36867         * sysdeps/i386/fpu/e_pow.S: Likewise.
36868         * sysdeps/i386/fpu/e_powf.S: Likewise.
36869         * sysdeps/i386/fpu/e_powl.S: Likewise.
36870         * sysdeps/i386/fpu/e_remainder.S: Likewise.
36871         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36872         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36873         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36874         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36875         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36876         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36877         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36878         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36879         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36880         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36882         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36883         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36884         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36885         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36886         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36887         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36888         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36889         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36890         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36892         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36893         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36895         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36896         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36897         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36898         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36899         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36900         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36901         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36902         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36903         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36904         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36905         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36906         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36907         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36908         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36909         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36910         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36911         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36912         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36913         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36914         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36915         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36916         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36917         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36918         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36919         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36920         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36921         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36922         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36925         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36929         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36930         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36931         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36932         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36933         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36934         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36935         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36936         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36938         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36939         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36940         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36941         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36942         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36943         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36944         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36945         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36946         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36947         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36948         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36949         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36950         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36951         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36952         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36953         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36955         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36956         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36957         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36958         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36959         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36960         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36961         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36962         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36963         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36964         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36965         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36966         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36967         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36968         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36969         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36970         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36971         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36972         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36973         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36974         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36975         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36976         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36977         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36978         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36979         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36980         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36981         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36982         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36983         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36984         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36985         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36986         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36987         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36988         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36989         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
36990         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36991         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36992         (__isnanf): Likewise.
36993         (__isinf_ns): Likewise.
36994         (__isinf_nsf): Likewise.
36995         (__finite): Likewise.
36996         (__finitef): Likewise.
36997         (__ieee754_sqrt): Define as macro.
36998         (__ieee754_sqrtf): Define as macro.
36999         (__ieee754_sqrtl): Define as macro.
37000         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37001         inlined copy.
37002         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37003         __FINITE_MATH_ONLY__ consistent.
37004         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37006 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
37008         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37009         of rawmemchr.
37011         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37013 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37015         * po/ja.po: Update from translation team.
37017 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37019         * locale/programs/locarchive.c (prepare_address_space): New function.
37020         (create_archive, enlarge_archive, open_archive): Use it.
37022         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37023         inside [SHARED], where it is used.
37025         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37027         * nss/getent.c (netgroup_keys): Remove unused variable.
37028         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37030 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37032         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37033         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37034         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37035         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37036         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37037         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37038         * math/Makefile (libm-calls): Add s_isinf_ns.
37039         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37040         * math/multc3.c: Likewise.
37041         * math/s_casin.c: Likewise.
37042         * math/s_casinf.c: Likewise.
37043         * math/s_casinl.c: Likewise.
37044         * math/s_ccos.c: Likewise.
37045         * math/s_ccosf.c: Likewise.
37046         * math/s_ccosl.c: Likewise.
37047         * math/s_ctan.c: Likewise.
37048         * math/s_ctanf.c: Likewise.
37049         * math/s_ctanh.c: Likewise.
37050         * math/s_ctanhf.c: Likewise.
37051         * math/s_ctanhl.c: Likewise.
37052         * math/s_ctanl.c: Likewise.
37053         * math/w_fmod.c: Likewise.
37054         * math/w_fmodf.c: Likewise.
37055         * math/w_fmodl.c: Likewise.
37056         * math/w_remainder.c: Likewise.
37057         * math/w_remainderf.c: Likewise.
37058         * math/w_remainderl.c: Likewise.
37059         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37060         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37061         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37062         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37063         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37064         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37065         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37066         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37068         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37069         of the number.
37070         * stdio-common/printf_fphex.c: Likewise.
37071         * stdio-common/printf_size.c: Likewise.
37073         * math/e_exp10.c: Include math_private.h using <...> not "...".
37074         * math/e_exp10f.c: Likewise.
37075         * math/e_exp10l.c: Likewise.
37076         * math/e_exp2l.c: Likewise.
37077         * math/e_j0l.c: Likewise.
37078         * math/e_j1l.c: Likewise.
37079         * math/e_jnl.c: Likewise.
37080         * math/e_lgammal_r.c: Likewise.
37081         * math/e_rem_pio2l.c: Likewise.
37082         * math/e_scalb.c: Likewise.
37083         * math/e_scalbf.c: Likewise.
37084         * math/e_scalbl.c: Likewise.
37085         * math/k_cosl.c: Likewise.
37086         * math/k_sinl.c: Likewise.
37087         * math/k_tanl.c: Likewise.
37088         * math/s_cacoshf.c: Likewise.
37089         * math/s_catan.c: Likewise.
37090         * math/s_catanf.c: Likewise.
37091         * math/s_catanh.c: Likewise.
37092         * math/s_catanhf.c: Likewise.
37093         * math/s_catanhl.c: Likewise.
37094         * math/s_catanl.c: Likewise.
37095         * math/s_ccosh.c: Likewise.
37096         * math/s_ccoshf.c: Likewise.
37097         * math/s_ccoshl.c: Likewise.
37098         * math/s_cexp.c: Likewise.
37099         * math/s_cexpf.c: Likewise.
37100         * math/s_cexpl.c: Likewise.
37101         * math/s_clog.c: Likewise.
37102         * math/s_clog10.c: Likewise.
37103         * math/s_clog10f.c: Likewise.
37104         * math/s_clog10l.c: Likewise.
37105         * math/s_clogf.c: Likewise.
37106         * math/s_clogl.c: Likewise.
37107         * math/s_csin.c: Likewise.
37108         * math/s_csinf.c: Likewise.
37109         * math/s_csinh.c: Likewise.
37110         * math/s_csinhf.c: Likewise.
37111         * math/s_csinhl.c: Likewise.
37112         * math/s_csinl.c: Likewise.
37113         * math/s_csqrt.c: Likewise.
37114         * math/s_csqrtf.c: Likewise.
37115         * math/s_csqrtl.c: Likewise.
37116         * math/s_ctan.c: Likewise.
37117         * math/s_ctanf.c: Likewise.
37118         * math/s_ctanh.c: Likewise.
37119         * math/s_ctanhf.c: Likewise.
37120         * math/s_ctanhl.c: Likewise.
37121         * math/s_ctanl.c: Likewise.
37122         * math/s_ldexp.c: Likewise.
37123         * math/s_ldexpf.c: Likewise.
37124         * math/s_ldexpl.c: Likewise.
37125         * math/s_significand.c: Likewise.
37126         * math/s_significandf.c: Likewise.
37127         * math/s_significandl.c: Likewise.
37128         * math/w_acos.c: Likewise.
37129         * math/w_acosf.c: Likewise.
37130         * math/w_acosh.c: Likewise.
37131         * math/w_acoshf.c: Likewise.
37132         * math/w_acoshl.c: Likewise.
37133         * math/w_acosl.c: Likewise.
37134         * math/w_asin.c: Likewise.
37135         * math/w_asinf.c: Likewise.
37136         * math/w_asinl.c: Likewise.
37137         * math/w_atan2.c: Likewise.
37138         * math/w_atan2f.c: Likewise.
37139         * math/w_atan2l.c: Likewise.
37140         * math/w_atanh.c: Likewise.
37141         * math/w_atanhf.c: Likewise.
37142         * math/w_atanhl.c: Likewise.
37143         * math/w_cosh.c: Likewise.
37144         * math/w_coshf.c: Likewise.
37145         * math/w_coshl.c: Likewise.
37146         * math/w_dremf.c: Likewise.
37147         * math/w_exp10.c: Likewise.
37148         * math/w_exp10f.c: Likewise.
37149         * math/w_exp10l.c: Likewise.
37150         * math/w_exp2.c: Likewise.
37151         * math/w_exp2f.c: Likewise.
37152         * math/w_fmod.c: Likewise.
37153         * math/w_fmodf.c: Likewise.
37154         * math/w_fmodl.c: Likewise.
37155         * math/w_hypot.c: Likewise.
37156         * math/w_hypotf.c: Likewise.
37157         * math/w_hypotl.c: Likewise.
37158         * math/w_j0.c: Likewise.
37159         * math/w_j0f.c: Likewise.
37160         * math/w_j0l.c: Likewise.
37161         * math/w_j1.c: Likewise.
37162         * math/w_j1f.c: Likewise.
37163         * math/w_j1l.c: Likewise.
37164         * math/w_jn.c: Likewise.
37165         * math/w_jnf.c: Likewise.
37166         * math/w_jnl.c: Likewise.
37167         * math/w_lgamma.c: Likewise.
37168         * math/w_lgamma_r.c: Likewise.
37169         * math/w_lgammaf.c: Likewise.
37170         * math/w_lgammaf_r.c: Likewise.
37171         * math/w_lgammal.c: Likewise.
37172         * math/w_lgammal_r.c: Likewise.
37173         * math/w_log.c: Likewise.
37174         * math/w_log10.c: Likewise.
37175         * math/w_log10f.c: Likewise.
37176         * math/w_log10l.c: Likewise.
37177         * math/w_log2.c: Likewise.
37178         * math/w_log2f.c: Likewise.
37179         * math/w_log2l.c: Likewise.
37180         * math/w_logf.c: Likewise.
37181         * math/w_logl.c: Likewise.
37182         * math/w_pow.c: Likewise.
37183         * math/w_powf.c: Likewise.
37184         * math/w_powl.c: Likewise.
37185         * math/w_remainder.c: Likewise.
37186         * math/w_remainderf.c: Likewise.
37187         * math/w_remainderl.c: Likewise.
37188         * math/w_scalb.c: Likewise.
37189         * math/w_scalbf.c: Likewise.
37190         * math/w_scalbl.c: Likewise.
37191         * math/w_sinh.c: Likewise.
37192         * math/w_sinhf.c: Likewise.
37193         * math/w_sinhl.c: Likewise.
37194         * math/w_sqrt.c: Likewise.
37195         * math/w_sqrtf.c: Likewise.
37196         * math/w_sqrtl.c: Likewise.
37197         * math/w_tgamma.c: Likewise.
37198         * math/w_tgammaf.c: Likewise.
37199         * math/w_tgammal.c: Likewise.
37201         * po/ja.po: Update from translation team.
37203 2011-09-29  Andreas Jaeger  <aj@suse.de>
37205         [BZ #13179]
37206         * sunrpc/netname.c (netname2host): Fix logic.
37208         [BZ #6779]
37209         [BZ #6783]
37210         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37211         correctly.
37212         * math/w_remainder.c (__remainder): Likewise.
37213         * math/w_remainderf.c (__remainderf): Likewise.
37214         * math/libm-test.inc (remainder_test): Add test cases.
37216 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37218         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37219         sdiv_qrnnd.
37221 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37223         * string/test-memcmp.c: Avoid unncessary #defines.
37224         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37226 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37228         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37229         Use new sse2 version for core i3 - i7 as it's faster
37230         than sse42 version.
37231         (bit_Prefer_PMINUB_for_stringop): New.
37232         * sysdeps/x86_64/rawmemchr.S: Update.
37233         Replace with faster SSE2 version.
37234         * sysdeps/x86_64/memrchr.S: New file.
37235         * sysdeps/x86_64/memchr.S: Update.
37236         Replace with faster SSE2 version.
37238 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37240         * elf/dl-load.c (lose): Add cast to avoid warning.
37242 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37244         * po/ca.po: Update from translation team.
37246         * inet/getnetgrent_r.c: Hook up nscd.
37247         * nscd/Makefile (routines): Add nscd_netgroup.
37248         (nscd-modules): Add netgroupcache.
37249         (CFLAGS-netgroupcache.c): Define.
37250         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37251         (cache_search): Add const to second parameter.
37252         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37253         INNETGR.
37254         (dbs): Add netgrdb entry.
37255         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37256         (verify_persistent_db): Handle netgrdb.
37257         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37258         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37259         GETFDNETGR.
37260         (netgroup_response_header): Define.
37261         (innetgroup_response_header): Define.
37262         (datahead): Add netgroup_response_header and innetgroup_response_header
37263         elements.
37264         * nscd/nscd.conf: Add entries for netgroup cache.
37265         * nscd/nscd.h (dbtype): Add netgrdb.
37266         (_PATH_NSCD_NETGROUP_DB): Define.
37267         (netgroup_iov_disabled): Declare.
37268         (xmalloc, xcalloc, xrealloc): Move declarations here.
37269         (cache_search): Adjust prototype.
37270         Add netgroup-related prototypes.
37271         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37272         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37273         (__nscd_innetgr): Declare.
37274         * nscd/selinux.c (perms): Use access_vector_t as element type and
37275         add netgroup-related initializers.
37276         * nscd/netgroupcache.c: New file.
37277         * nscd/nscd_netgroup.c: New file.
37278         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37279         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37280         For four parameters use innetgr.
37281         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37282         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37283         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37284         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37286         * nscd/connections.c (register_traced_file): Don't register file
37287         for disabled databases.
37289 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37291         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37293         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37294         from tree and freeing node.
37296 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37298         * nss/nsswitch.c (__nss_database_lookup): Handle
37299         nss_parse_service_list out of memory case.
37301 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
37303         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37304         out of memory case.
37306 2011-10-04  Andreas Schwab  <schwab@redhat.com>
37308         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37309         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37310         pass it down.
37311         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37312         elf_machine_rela, elf_machine_lazy_rel.
37313         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37314         (ELF_DYNAMIC_DO_REL): Likewise.
37315         (ELF_DYNAMIC_DO_RELA): Likewise.
37316         (ELF_DYNAMIC_RELOCATE): Likewise.
37317         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37318         to ELF_DYNAMIC_DO_REL.
37319         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37320         (dl_main): In trace mode always set __RTLD_NOIFUNC.
37321         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37322         elf_machine_rela.
37323         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37324         skip_ifunc, don't call ifunc function if non-zero.
37325         (elf_machine_rela): Likewise.
37326         (elf_machine_lazy_rel): Likewise.
37327         (elf_machine_lazy_rela): Likewise.
37328         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37329         (elf_machine_lazy_rel): Likewise.
37330         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37331         Likewise.
37332         (elf_machine_lazy_rel): Likewise.
37333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37334         Likewise.
37335         (elf_machine_lazy_rel): Likewise.
37336         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37337         (elf_machine_lazy_rel): Likewise.
37338         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37339         (elf_machine_lazy_rel): Likewise.
37340         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37341         (elf_machine_lazy_rel): Likewise.
37342         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37343         (elf_machine_lazy_rel): Likewise.
37344         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37345         (elf_machine_lazy_rel): Likewise.
37346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37347         (elf_machine_lazy_rel): Likewise.
37349 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
37351         * nss/nss_files/files-init.c (_nss_files_init): Use static
37352         initialization for all the *_traced_file variables.
37354 2011-09-28  Andreas Schwab  <schwab@redhat.com>
37356         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37358 2011-09-27  Roland McGrath  <roland@hack.frob.com>
37360         [BZ #13226]
37361         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37363 2011-09-27  Andreas Schwab  <schwab@redhat.com>
37365         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37366         Reread the line before reparsing it.
37368 2011-09-26  Andreas Schwab  <schwab@redhat.com>
37370         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37372 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
37373             Maxim Kuvyrkov  <maxim@codesourcery.com>
37374             Joseph Myers  <joseph@codesourcery.com>
37376         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37377         if needed for __stack_chk_guard.
37379 2011-09-19  Roland McGrath  <roland@hack.frob.com>
37381         * sysdeps/posix/spawni.c (script_execute): Always define it.
37382         It will be optimized away if unused.
37383         (maybe_script_execute): New function.
37384         (__spawni): Call it.
37386         * Makerules: Don't include tls.make.
37387         (config-tls): Always set to thread.
37388         * tls.make.c: File removed.
37390 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
37392         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37393         * config.make.in (CPPFLAGS-config): New substituted variable.
37395 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37397         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37399         [BZ #13192]
37400         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37401         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37403 2011-09-15  Roland McGrath  <roland@hack.frob.com>
37405         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37406         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37407         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37408         (CALL_FAIL): Likewise.
37409         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37410         (CALL_FAIL): Macro removed.
37411         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37413 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37415         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37416         for __FINITE_MATH_ONLY__ == 1.
37418 2011-09-15  Andreas Schwab  <schwab@redhat.com>
37420         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37421         __ieee754_sqrt instead of sqrt.
37422         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37423         __ieee754_sqrtf instead of sqrtf.
37424         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37425         __floorf instead of floorf.
37426         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37427         __floorf, __truncf instead of floorf, truncf.
37429 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
37431         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37433         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37434         __extern_always_inline.
37435         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37436         32-bit.
37438 2011-09-14  Andreas Schwab  <schwab@redhat.com>
37440         * elf/rtld.c (dl_main): Also relocate in dependency order when
37441         doing symbol dependency testing.
37443 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
37445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37446         Always define `refsym'.
37448 2011-09-13  Andreas Schwab  <schwab@redhat.com>
37450         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37451         (__FD_ELT): Renamed from __FDELT.
37452         * misc/bits/select2.h (__FD_ELT): Likewise.
37453         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37454         __FD_MASK instead of __FDELT, __FDMASK.
37455         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37456         Likewise.
37457         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37458         Likewise.
37460         * elf/Makefile (gen-ldd): Fix pattern.
37462         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37463         (init_tls): Likewise.
37465 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
37467         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37469 2011-09-12  Andreas Schwab  <schwab@redhat.com>
37471         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37472         `struct cmsghdr *' instead of `void *'.
37473         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37474         Likewise.
37476 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
37478         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37479         if non-absolute.
37480         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37481         ldd_rewrite_script.
37483 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
37485         * configure.in: Remove --with-tls option.
37486         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37487         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37488         out in case it is missing.
37489         * sysdeps/ia64/elf/configure.in: Likewise.
37490         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37491         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37492         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37493         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37494         * sysdeps/sh/elf/configure.in: Likewise.
37495         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37496         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37497         * sysdeps/x86_64/elf/configure.in: Likewise.
37498         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37499         * sysdeps/mach/hurd/tls.h: Likewise.
37501         [BZ #13067]
37502         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37504         [BZ #13090]
37505         * configure.in: Fix use of AC_INIT.
37507         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37509 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
37511         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37512         __set_errno.
37513         * malloc/hooks.c: Likewise.
37515         [BZ #11929]
37516         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
37517         variables statically.
37518         (narenas): Initialize.
37519         (list_lock): Initialize.
37520         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
37521         initializtion of main_arena and list_lock.  Small cleanups.
37522         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37523         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
37524         Add initializers to main_arena and mp_.
37525         (malloc_state): Remove pagesize member.  Change all users to use
37526         GLRO(dl_pagesize).
37528         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37529         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
37530         is always initialized.
37532         * malloc/malloc.c: Removed unused configurations and dead code.
37533         * malloc/arena.c: Likewise.
37534         * malloc/hooks.c: Likewise.
37535         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37537         * include/tls.h: Removed.  USE___THREAD must always be defined.
37538         * bits/libc-tsd.h: Don't handle !USE___THREAD.
37539         * elf/dl-libc.c: Likewise.
37540         * elf/dl-tsd.c: Likewise.
37541         * include/errno.h: Likewise.
37542         * include/netdb.h: Likewise.
37543         * include/resolv.h: Likewise.
37544         * inet/herrno-loc.c: Likewise.
37545         * inet/herrno.c: Likewise.
37546         * malloc/arena.c: Likewise.
37547         * malloc/hooks.c: Likewise.
37548         * malloc/malloc.c: Likewise.
37549         * resolv/res-state.c: Likewise.
37550         * resolv/res_libc.c: Likewise.
37551         * sysdeps/i386/dl-machine.h: Likewise.
37552         * sysdeps/ia64/dl-machine.h: Likewise.
37553         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37554         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37555         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37556         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37557         * sysdeps/sh/dl-machine.h: Likewise.
37558         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37559         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37560         * sysdeps/unix/i386/sysdep.S: Likewise.
37561         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37562         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37566         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37567         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37571         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37572         * sysdeps/x86_64/dl-machine.h: Likewise.
37573         * tls.make.c: Likewise.
37575         * configure.in: Remove --with-__thread option.  Make tests for
37576         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37577         tls_model attribute fail if no support is available.  Remove
37578         USE_IN_LIBIO.
37579         * Makeconfig: Adjust for dropped configure option.  All features are
37580         now mandatory.
37581         * Makerules: Likewise.
37582         * Versions.def: Likewise.
37583         * argp/argp-fmtstream.c: Likewise.
37584         * argp/argp-fmtstream.h: Likewise.
37585         * argp/argp-help.c: Likewise.
37586         * assert/assert.c: Likewise.
37587         * config.h.in: Likewise.
37588         * config.make.in: Likewise.
37589         * configure: Likewise.
37590         * configure.in: Likewise.
37591         * csu/Versions: Likewise.
37592         * csu/init.c: Likewise.
37593         * elf/tst-audit2.c: Likewise.
37594         * elf/tst-tls10.c: Likewise.
37595         * elf/tst-tls10.h: Likewise.
37596         * elf/tst-tls11.c: Likewise.
37597         * elf/tst-tls12.c: Likewise.
37598         * elf/tst-tls14.c: Likewise.
37599         * elf/tst-tlsmod11.c: Likewise.
37600         * elf/tst-tlsmod12.c: Likewise.
37601         * elf/tst-tlsmod13.c: Likewise.
37602         * elf/tst-tlsmod13a.c: Likewise.
37603         * elf/tst-tlsmod14a.c: Likewise.
37604         * elf/tst-tlsmod15b.c: Likewise.
37605         * elf/tst-tlsmod16a.c: Likewise.
37606         * elf/tst-tlsmod16b.c: Likewise.
37607         * elf/tst-tlsmod7.c: Likewise.
37608         * elf/tst-tlsmod8.c: Likewise.
37609         * elf/tst-tlsmod9.c: Likewise.
37610         * gmon/gmon.c: Likewise.
37611         * grp/fgetgrent_r.c: Likewise.
37612         * grp/putgrent.c: Likewise.
37613         * hurd/fopenport.c: Likewise.
37614         * include/libc-symbols.h: Likewise.
37615         * include/tls.h: Likewise.
37616         * intl/gettextP.h: Likewise.
37617         * intl/loadinfo.h: Likewise.
37618         * locale/global-locale.c: Likewise.
37619         * locale/localeinfo.h: Likewise.
37620         * mach/devstream.c: Likewise.
37621         * malloc/arena.c: Likewise.
37622         * malloc/set-freeres.c: Likewise.
37623         * misc/err.c: Likewise.
37624         * misc/getttyent.c: Likewise.
37625         * misc/mntent_r.c: Likewise.
37626         * posix/getopt.c: Likewise.
37627         * posix/wordexp.c: Likewise.
37628         * pwd/fgetpwent_r.c: Likewise.
37629         * resolv/Versions: Likewise.
37630         * resolv/res_hconf.c: Likewise.
37631         * shadow/fgetspent_r.c: Likewise.
37632         * shadow/putspent.c: Likewise.
37633         * stdio-common/printf_fphex.c: Likewise.
37634         * stdio-common/tmpfile.c: Likewise.
37635         * stdlib/abort.c: Likewise.
37636         * stdlib/fmtmsg.c: Likewise.
37637         * sunrpc/auth_unix.c: Likewise.
37638         * sunrpc/clnt_perr.c: Likewise.
37639         * sunrpc/clnt_tcp.c: Likewise.
37640         * sunrpc/clnt_udp.c: Likewise.
37641         * sunrpc/clnt_unix.c: Likewise.
37642         * sunrpc/openchild.c: Likewise.
37643         * sunrpc/svc_simple.c: Likewise.
37644         * sunrpc/svc_tcp.c: Likewise.
37645         * sunrpc/svc_udp.c: Likewise.
37646         * sunrpc/svc_unix.c: Likewise.
37647         * sunrpc/xdr.c: Likewise.
37648         * sunrpc/xdr_array.c: Likewise.
37649         * sunrpc/xdr_rec.c: Likewise.
37650         * sunrpc/xdr_ref.c: Likewise.
37651         * sunrpc/xdr_stdio.c: Likewise.
37653 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37655         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37657 2011-07-03  Andreas Jaeger  <aj@suse.de>
37659         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37660         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37661         regenerate with gen-libm-tests.pl.
37663 2010-05-12  Petr Baudis  <pasky@suse.cz>
37665         [BZ #11589]
37666         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37667         around j0() zero points by switching to j1().
37668         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37669         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37670         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37671         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37673 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37675         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37676         instead of 0.
37677         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37678         instead of 0.
37679         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37680         Patch in part by Pavel Roskin <proski@gnu.org>.
37682         [BZ #13138]
37683         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37684         realloc.
37685         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
37686         Free memory block if necessary.
37688         [BZ #12847]
37689         * libio/genops.c (INTDEF): For string streams the _lock pointer can
37690         be NULL.  Don't lock in this case.
37692 2011-09-09  Roland McGrath  <roland@hack.frob.com>
37694         * elf/elf.h (ELFOSABI_GNU): New macro.
37695         (ELFOSABI_LINUX): Define to that.
37697 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
37699         * string/strncat.c (strncat): Undef the symbol in case it has been
37700         defined in bits/string.h.
37702 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37704         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37706         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37707         link map.
37709 2011-08-17  Andreas Jaeger  <aj@suse.de>
37711         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37713 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37714             Ian Lance Taylor  <iant@google.com>
37716         * math/libm-test.inc (lround_test): New testcase.
37717         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37719 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
37721         * Makefile: Remove support for automatic cvs check-ins.
37722         * Makerules: Likewise.
37723         * config.make.in: Likewise.
37724         * configure.in: Likewise.
37725         * intl/Makefile: Likewise.
37726         * locale/Makefile: Likewise.
37727         * po/Makefile: Likewise.
37728         * posix/Makefile: Likewise.
37729         * sysdeps/gnu/Makefile: Likewise.
37730         * sysdeps/mach/hurd/Makefile: Likewise.
37731         * sysdeps/sparc/sparc32/Makefile: Likewise.
37733         [BZ #13118]
37734         * posix/Makefile (bug-regex32-ENV): Define.
37735         Patch by John Stanley <jpsinthemix@verizon.net>.
37737         * misc/Makefile (headers): Add bits/select2.h.
37738         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37739         * misc/bits/select2.h: New file.
37740         * include/bits/select2.h: New file.
37741         * debug/Makefile (routines): Add fdelt_chk.
37742         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37743         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37744         FD_ISSET.
37745         * debug/fdelt_chk.c: New file.
37747         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
37748         * wcsmbs/test-wmemcmp.c: Likewise.
37749         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37750         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37752 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37754         * string/Makefile (strop-tests): Add memcmp.
37755         * string/test-wmemcmp.c: New file.
37756         * string/test-memcmp.c: Add wmemcmp support.
37758 2011-09-08  Roland McGrath  <roland@hack.frob.com>
37760         [BZ #13153]
37761         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37762         2011-07-19 change.
37764         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37765         garbage value in a __mach_port_mod_refs call in the cases of the
37766         task-self and thread-self ports.
37768 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37770         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37772 2011-09-08  Andreas Schwab  <schwab@redhat.com>
37774         * elf/dl-load.c (lose): Check for non-null L.
37776 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37778         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37780         * elf/dl-libc.c (dlerror_run): Pass back error code from
37781         dl_catch_error.
37783         [BZ #13123]
37784         * elf/dl-load.c (lose): Free l_origin if it is valid.
37786         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37787         names.
37788         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37789         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37791         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37792         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37793         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37795 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37797         * sysdeps/powerpc/fpu/e_hypot.c: New file.
37798         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37799         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37800         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37801         * sysdeps/powerpc/fpu/k_cosf.c: New file.
37802         * sysdeps/powerpc/fpu/k_sinf.c: New file.
37803         * sysdeps/powerpc/fpu/s_cosf.c: New file.
37804         * sysdeps/powerpc/fpu/s_sinf.c: New file.
37805         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37806         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37808 2011-08-15  Alan Modra  <amodra@gmail.com>
37810         [BZ #13092]
37811         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37812         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37813         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
37814         ppc_mcount to static-only-routines.
37815         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37816         __mcount_internal.
37817         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37818         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
37820 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
37822         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37823         for finite and infinity parameters.
37825 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37827         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37828         and add nop instructions for throughput optimization.
37829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37831 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
37833         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37834         aligned copy for power7 with vector-scalar instructions.
37835         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37837 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
37839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37840         AVX check.
37842 2011-09-07  Andreas Schwab  <schwab@redhat.com>
37844         [BZ #13144]
37845         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37846         last change.
37848 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37850         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37851         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37852         syscall wrapper around clock_gettime in __vdso_clock_gettime.
37853         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37854         clock_gettime.
37856 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37858         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37859         Forgot to demangle the pointer.
37861         * sysdeps/i386/sysdep.h: Define atom_text_section.
37862         * sysdeps/x86_64/sysdep.h: Likewise.
37863         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37864         section with atom_text_section.
37865         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37866         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37867         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37868         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37869         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37871         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37872         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37873         already be defined.  Change to take two parameters and don't assign
37874         result to variable.  Adjust all users.
37875         Define INTERNAL_GETTIME if not already defined.
37876         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37877         call.
37878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37879         HAVE_CLOCK_GETTIME_VSYSCALL.
37880         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37882         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37883         gettimeofday vsyscall, just use time.
37885 2011-09-06  Andreas Schwab  <schwab@redhat.com>
37887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37888         <errno.h>.
37890 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37892         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37893         syscall on x86-64.
37894         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37895         syscall.
37896         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37897         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37898         syscall if possible.
37900 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37902         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37903         e_ident.  Don't pass to find_mapsXX.
37904         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37906 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37909         strchr-sse2-no-bsf strrchr-sse2-no-bsf
37910         * sysdeps/x86_64/multiarch/strchr.S: Update.
37911         Check bit_slow_BSF bit.
37912         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37913         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37914         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37916 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37918         [BZ #13134]
37919         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37920         before glibc 2.15.
37921         (tryshell): Define.
37922         (__spawni): Change last parameter to be flag.  Test
37923         SPAWN_XFLAGS_USE_PATH flag to use path or not.
37924         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37925         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37926         * posix/spawni.c: Likewise.
37927         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37928         * posix/spawnp.c: Likewise.  Change normal version to use
37929         SPAWN_XFLAGS_USE_PATH.
37930         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37931         SPAWN_XFLAGS_TRY_SHELL.
37933         [BZ #13150]
37934         * posix/glob.h: Remove gcc 1.x support.
37936         [BZ #13068]
37937         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37939 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37941         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37942         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37943         strrchr-sse2-bsf
37944         * sysdeps/i386/i686/multiarch/strchr.S: New file.
37945         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37946         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37947         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37948         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37949         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37951 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37953         * sysdeps/x86_64/wcscmp.S: New file.
37955         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37956         wcscmp-c wcscmp-sse2
37957         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37958         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37959         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37960         * wcsmbs/wcscmp.c: Allow renaming.
37962 2011-09-05  David S. Miller  <davem@davemloft.net>
37964         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37965         stack slot, rather than the struct return pointer slot.
37966         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37967         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37969         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37971 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37973         * po/ja.po: Update from translation team.
37975         [BZ #13144]
37976         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37977         kernel in 64-bit binaries.
37979 2011-09-01  David S. Miller  <davem@davemloft.net>
37981         * elf/elf.h (HWCAP_SPARC_*): Move to..
37982         * sysdeps/sparc/sysdep.h: this new file and add new values.
37983         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37984         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37985         _DL_HWCAP_COUNT to 24.
37986         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37987         entries.
37988         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37989         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37990         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37991         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37992         instead of magic constants.
37993         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37995 2011-08-31  David S. Miller  <davem@davemloft.net>
37997         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37998         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37999         Reimplement to do errno handling inline.
38000         (SYSCALL_ERROR_HANDLER): New macro.
38001         (__SYSCALL_STRING): Do not do errno handling in asm.
38002         (__CLONE_SYSCALL_STRING): Delete.
38003         (__INTERNAL_SYSCALL_STRING): Delete.
38004         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38005         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38006         (PSEUDO): Reimplement to do errno handling inline.
38007         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38008         (SYSCALL_ERROR_HANDLER): New macro.
38009         (__SYSCALL_STRING): Do not do errno handling in asm.
38010         (__CLONE_SYSCALL_STRING): Delete.
38011         (__INTERNAL_SYSCALL_STRING): Delete.
38012         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38013         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38014         i386.
38015         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38016         (inline_syscall*): Add 'err' argument.
38017         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38018         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38019         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38020         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38022         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38023         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38025 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38027         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38029 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38031         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38032         directive.
38034 2011-08-24  David S. Miller  <davem@davemloft.net>
38036         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38038 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38040         * elf/Makefile: Add rules to build and run unload8 test.
38041         * elf/unload8.c: New file.
38042         * elf/unload8mod1.c: New file.
38043         * elf/unload8mod1x.c: New file.
38044         * elf/unload8mod2.c: New file.
38045         * elf/unload8mod3.c: New file.
38047         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38048         it wasn't used.
38050 2011-08-23  David S. Miller  <davem@davemloft.net>
38052         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38053         subtract stack bias.
38054         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38055         %sp not %fp in calculations.
38056         (_JMPBUF_UNWINDS_ADJ): Likewise.
38058         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38059         (aio_suspend): Call it to force an exception region around the
38060         AIO_MISC_WAIT() invocation.
38062 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38064         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38065         backslash.
38067 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38069         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38070         protection macro.
38071         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38072         and <dl-machine.h>.
38073         (Elf64_FuncDesc): Remove.
38075 2011-08-22  David S. Miller  <davem@davemloft.net>
38077         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38078         sigaltstack check, add missing cfi directives.
38079         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38080         missing cfi directives, and sigaltstack handling.
38082 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38084         [BZ #11724]
38085         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38086         object is seen twice.
38087         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38089         * elf/Makefile (distribute): Add tst-initorder2.c.
38090         (tests): Add tst-initorder2.
38091         (modules-names): Add tst-initorder2a tst-initorder2b
38092         tst-initorder2c tst-initorder2d.  Add rules to build them.
38093         ($(objpfx)tst-initorder2.out): New rule.
38094         * elf/tst-initorder2.c: New file.
38095         * elf/tst-initorder2.exp: New file.
38097 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38099         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38101         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38102         dependencies back to end of function.
38104         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38105         $(elfobjdir)/ld.so.
38107 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38109         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38110         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38112         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38113         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38114         of __vdso_gettimeofday.
38115         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38116         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38117         attribute_hidden.
38118         (_libc_vdso_platform_setup): Remove initialization of
38119         __vdso_gettimeofday and __vdso_time.
38121 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38123         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38124         and fgetc_unlocked.
38125         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38126         getc_unlocked.
38128         * elf/dl-open.c (add_to_global): Report additions to the global scope
38129         for LD_DEBUG=scopes.
38130         (dl_open_worker): Also print scope of newly loaded dependencies.
38131         (_dl_show_scope): Indicate if there is no scope.
38133         [BZ #13114]
38134         * stdio-common/Makefile (tests): Add bug24.
38135         * stdio-common/bug24.c: New file.
38137 2011-08-19  Andreas Jaeger  <aj@suse.de>
38139         [BZ #13114]
38140         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38141         non-existant file when using close-on-exec mode.
38143 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38145         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38146         the very first instruction.
38148         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38149         the CFI state in the end.
38150         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38151         inclusion of dl-trampoline.h.
38152         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38154 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38156         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38157         expectations for long double.
38159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38160         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38162 2011-08-14  David S. Miller  <davem@davemloft.net>
38164         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38165         artificual limit depends upon the system page size.
38167 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38169         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38170         * resolv/Makefile: Define CFLAGS-libresolv.
38172 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38174         * nss/makedb.c (compute_tables): Make variables used in nested
38175         function static.
38177 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38179         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38180         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38181         if buffer was too small.
38183         * elf/pldd.c (main): Attach to all threads in the process.
38184         Rewrite /proc handling to use *at functions.
38186 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38188         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38189         specifies first scope to show.
38190         (dl_open_worker): Update callers.  Move printing scope of new
38191         object to before the relocation.
38192         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38193         * sysdeps/generic/ldsodefs.h: Update declaration.
38195         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38196         string for the scope number.
38198 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38200         * nscd/servicescache.c (cache_addserv): Make sure written is always
38201         initialized.
38203 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38205         * sysdeps/i386/i486/bits/atomic.h
38206         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38207         statement expression, so as to suppress "set but not used" warning.
38208         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38210         * string/strncat.c (STRNCAT): Use prototype definition.
38212         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38213         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38214         -Iprograms here.
38215         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38216         (localedef-modules): Add localedef.
38217         (locale-modules): Add locale.
38219         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38220         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38221         to avoid a warning.
38223 2011-08-14  David S. Miller  <davem@davemloft.net>
38225         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38226         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38228 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38230         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38231         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38232         * elf/rtld.c (dl_main): Set l_name of vDSO.
38233         Call _dl_show_scope when DL_DEBUG_SCOPES.
38234         (process_dl_debug): Recognize scopes flag and also set it for all.
38235         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38236         Declare _dl_show_scope.
38238         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38239         (do_dlopen): Pass caller_dlopen to dl_open.
38240         (__libc_dlopen_mode): Initialize caller_dlopen.
38242         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38243         of libc.  Make tolower call locale-independent.  Optimize a bit by
38244         using isdigit instead of isalnum.
38245         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38247 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38249         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38250         was a dependency or dynamically loaded.
38252 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38254         * intl/l10nflist.c: Allow architecture-specific pop function.
38255         * sysdeps/x86_64/l10nflist.c: New file.
38257         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38258         classification.
38260 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38262         * include/dirent.h: Add libc_hidden_proto for scandirat and
38263         scandirat64.  Don't declare __scandirat64.
38264         * dirent/scandirat.c: Add libc_hidden_def.
38265         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38266         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38268 2011-08-10  David S. Miller  <davem@davemloft.net>
38270         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38271         enum.
38272         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38273         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38274         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38276 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38278         * Versions.def [libc]: Add GLIBC_2.15.
38279         * dirent/Makefile (routines): Add scandirat and scandirat64.
38280         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38281         GLIBC_2.15.
38282         * dirent/dirent.h: Declare scandirat and scandirat64.
38283         * dirent/scandirat.c: New file.
38284         * dirent/scandirat64.c: New file.
38285         * sysdeps/wordsize-64/scandirat.c: New file.
38286         * sysdeps/wordsize-64/scandirat64.c: New file.
38287         * dirent/opendir.c: Define opendirat.
38288         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38289         using scandirat.
38290         * dirent/scandir64.c: Adjust for scandir.c change.
38291         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38292         __scandirat64, and __scandir_cancel_handler.
38293         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38294         additional parameter and use openat instead of open (outside of ld.so).
38295         Add new __opendir as wrapper around __opendirat.
38296         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38297         here without requiring old scandirat implementation.
38299 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
38301         * dirent/scandir.c (cancel_handler): Renamed to
38302         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
38303         defined.  Adjust users.
38304         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38305         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38307 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
38309         * string/test-string.h (IMPL): Use __STRING to expand name and then
38310         stringify it.
38312         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
38313         of cleanups.
38315 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38317         * string/Makefile: Update.
38318         (strop-tests): Append strncat.
38319         * string/test-wcscmp.c: New file.
38320         New comprehensive test for wcscmp.
38321         * string/test-strcmp.c: Update.
38322         (WIDE): New define.
38324 2011-07-22  Andreas Schwab  <schwab@redhat.com>
38326         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38327         line.
38329 2011-07-26  Andreas Schwab  <schwab@redhat.com>
38331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38332         encoding to ACE if AI_IDN.
38334 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
38336         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38337         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38339 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38341         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38342         Fix overflow bug in strncat.
38343         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38345         * string/test-strncat.c: Update.
38346         Add new tests for checking overflow bugs.
38348 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38350         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38351         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38352         * sysdeps/i386/i686/multiarch/strcat.S: New file.
38353         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38354         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38355         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38356         * sysdeps/i386/i686/multiarch/strncat.S: New file.
38357         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38358         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38360         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38361         (USE_AS_STRCAT): Define.
38362         Add strcat and strncat support.
38363         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38365 2011-07-25  Andreas Schwab  <schwab@redhat.com>
38367         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38368         __n bigger than INT_MAX+1.
38369         (__strncmp_g): Likewise.
38371 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
38373         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38374         * libio/stido.h: Likewise.
38376         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38377         (AF_NFC): Define.
38378         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38379         (AF_NFC): Define.
38381         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38382         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38383         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38384         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38387         [BZ #13021]
38388         * scripts/test-installation.pl: Don't expect libnss_test1 to be
38389         installed.
38391         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38392         typo.
38393         (_dl_x86_64_save_sse): Likewise.
38395 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
38397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38398         OSXSAVE.
38399         (_dl_x86_64_save_sse): Likewise.
38401         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38403         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38405 2011-07-21  Andreas Schwab  <schwab@redhat.com>
38407         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38408         change.
38409         (_dl_x86_64_save_sse): Use correct AVX check.
38411 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38413         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38414         bug in strncpy/strncat.
38415         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38417 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
38419         * string/tester.c (test_strcat): Add tests for different alignments
38420         of source and destination.
38421         (test_strncat): Likewise.
38423 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38425         [BZ #12852]
38426         * posix/glob.c (glob): Check passed in values before using them in
38427         expressions to avoid some overflows.
38428         (glob_in_dir): Likewise.
38430         [BZ #13007]
38431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38432         check for AVX enablement so that we don't crash with old kernels and
38433         new hardware.
38434         * elf/tst-audit4.c: Add same checks here.
38435         * elf/tst-audit6.c: Likewise.
38437         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38439 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
38441         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38443 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38445         * po/cs.po: Update from translation team.
38446         * po/bg.po: Likewise.
38448 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
38450         * misc/sys/cdefs.h: Add support for const attribute.
38451         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38452         to gnu_dev_{major,minor,makedev} functions.
38454 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
38456         * intl/dcigettext.c (get_output_charset): Add missing bracket.
38458 2011-07-20  Andreas Schwab  <schwab@redhat.com>
38460         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38461         strlen results.
38463 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38466         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38467         register in order to avoid conflicts with the soft frame pointer
38468         being held in r11 when necessary.
38469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38470         (INTERNAL_VSYSCALL_NCS): Likewise.
38472 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
38474         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38475         * elf/dl-fini.c (_dl_fini): Adjust caller.
38476         * elf/dl-close.c (_dl_close_worker): Likewise.
38477         * sysdeps/generic/ldsodefs.h: Adjust declaration.
38479 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38481         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38482         "aux_cache->nlibs < 0".
38484         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38485         in the reload-count case.
38487 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38490         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38491         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38492         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38493         * sysdeps/x86_64/multiarch/strcat.S: New file.
38494         * sysdeps/x86_64/multiarch/strncat.S: New file.
38495         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38496         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38497         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38498         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38499         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38500         (USE_AS_STRCAT): Define.
38501         Add strcat and strncat support.
38502         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38503         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38504         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38505         * string/strncat.c: Update.
38506         (USE_AS_STRNCAT): Define.
38507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38508         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38509         and i7.
38510         * sysdeps/x86_64/multiarch/init-arch.h
38511         (bit_Prefer_PMINUB_for_stringop): New.
38512         (index_Prefer_PMINUB_for_stringop): Likewise.
38513         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38514         bit_Prefer_PMINUB_for_stringop.
38516 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38518         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38519         buffer64.
38520         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38521         of casting of buffer.
38522         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38523         buffer32 and buffer64.
38524         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38525         writes instead of casting of buffer.
38526         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38527         buffer32.
38528         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38529         casting of buffer.
38531 2011-07-19  Andreas Schwab  <schwab@redhat.com>
38533         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38535 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38537         * nscd/nscd.c (termination_handler): Don't do anything for a database
38538         if it has not yet been initialized.
38540 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38542         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38544 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38546         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38548 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38550         * po/nl.po: Update from translation team.
38551         * po/sv.po: Likewise.
38553 2011-07-16  Roland McGrath  <roland@hack.frob.com>
38555         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38556         now disallowed by GCC.
38558         * configure.in (use-default-link): Default to yes if a test -shared
38559         link meets our qualifications.
38560         * configure: Regenerated.
38562         * config.make.in (output-format): New variable.
38563         * configure.in: Check for ld --print-output-format support.
38564         * configure: Regenerated.
38565         * Makerules ($(common-objpfx)format.lds)
38566         [$(output-format) != unknown]: Just use $(output-format),
38567         instead of the linker-script munging.
38569 2011-07-14  Roland McGrath  <roland@hack.frob.com>
38571         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38572         of $(common-objpfx)shlib.lds.
38573         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38575         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38576         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38578         * configure.in (-z relro check): Adjust test code to add a large
38579         writable data section after it.
38580         * configure: Regenerated.
38582 2011-07-11  Roland McGrath  <roland@hack.frob.com>
38584         * configure.in (-z relro check): Fix test code to make the variable
38585         truly const.
38586         * configure: Regenerated.
38588 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
38590         * nscd/nscd.h (struct traced_file): Define.
38591         (struct database_dyn): Remove inotify_descr, reset_res, and filename
38592         elements.  Add traced_files.
38593         (inotify_fd): Declare.
38594         (register_traced_file): Declare.
38595         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38596         (inotify_fd): Export.
38597         (resolv_conf_descr): Remove.
38598         (nscd_init): Move inotify descriptor creation to main.
38599         Don't register files for notification here.
38600         (register_traced_file): New function.
38601         (invalidate_cache): Don't use reset_res to determine whether to call
38602         res_init, go through the list of registered files.
38603         (main_loop_poll): The inotify descriptors are now stored in the
38604         structures for the traced files.
38605         (main_loop_epoll): Likewise
38606         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
38607         to __nss_disable_nscd.
38608         * nscd/cache.c (prune_cache): There is no single inotify descriptor
38609         for a database anymore.  Check the records for all the registered
38610         files instead.
38611         * nss/Makefile (libnss_files-routines): Add files-init.
38612         (libnss_db-routines): Add db-init.
38613         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38614         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38615         * nss/nss_db/db-init.c: New file.
38616         * nss/nss_files/files-init.c: New file.
38617         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
38618         __nss_lookup_function.
38619         (__nss_lookup_function): Call nss_load_library.
38620         (nss_load_all_libraries): New function.
38621         (__nss_disable_nscd): Take parameter with callback function for files
38622         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
38623         used for the cached services.
38624         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38625         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38626         options for features to all the files in nscd.
38628         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38630 2011-07-10  Roland McGrath  <roland@hack.frob.com>
38632         * csu/elf-init.c (__libc_csu_init): Comment typo.
38634 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
38636         * po/pl.po: Update from translation team.
38637         * po/ja.po: Likewise.
38638         * po/ru.po: Likewise.
38639         * po/ko.po: Likewise.
38640         * po/fr.po: Likewise.
38642 2011-07-09  Roland McGrath  <roland@hack.frob.com>
38644         * configure.in (.ctors/.dtors header and trailer check):
38645         Use an empirical test on a built program.
38646         * configure: Regenerated.
38648         * configure.in (-z relro check): Use an empirical test on a built DSO.
38649         Detect, but do not require, on ia64.
38650         * configure: Regenerated.
38652         * configure.in (READELF): Find it with AC_CHECK_TOOL.
38653         Update tests that use readelf to use $READELF instead.
38654         * configure: Regenerated.
38656 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
38658         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38659         if the result is not used.
38661 2011-07-05  Andreas Jaeger  <aj@suse.de>
38663         [BZ#9696]
38664         * stdlib/tst-strtod.c: Add testcase.
38666 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
38668         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38669         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38670         The latter has a higher limit.  Take additional parameter to pass to
38671         the new function.
38672         (__pathconf): Pass file to __statfs_link_max.
38673         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38674         __statfs_link_max.
38675         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38676         __statfs_link_max.
38678         [BZ #12868]
38679         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38680         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38681         Handle Lustre.
38682         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38683         (__statfs_filesize_max): Likewise.
38684         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38686 2011-07-05  Andreas Jaeger  <aj@suse.de>
38688         * resolv/res_comp.c (dn_skipname): Remove unused variable.
38690 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
38692         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38693         `status' variable.
38694         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38695         Likewise.
38697 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
38699         * Makefile (strop-tests): Add strncat.
38700         * string/test-strncat.c: New file.
38702 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
38704         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38706 2011-06-21  Andreas Jaeger  <aj@suse.de>
38708         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38709         Copy rule from iconvdata/Makefile.
38711 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38713         [BZ #12922]
38714         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38715         but no long options are defined, just return 'W'.
38717 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
38719         [BZ #9696]
38720         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38722 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38724         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38725         netgroups to read.
38726         (innetgr): Likewise.
38728 2011-07-05  Roland McGrath  <roland@hack.frob.com>
38730         * config.make.in (install_root): Default to $(DESTDIR).
38732 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
38734         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38736 2011-07-02  Roland McGrath  <roland@hack.frob.com>
38738         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38740         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38741         containing directory rather than embedding absolute directory names.
38743         * scripts/check-local-headers.sh: Rewritten using awk.
38744         Match by word, not by line.  Print error messages for matches.
38745         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38747         * Makerules [shlib-lds-flags empty]:
38748         ($(common-objpfx)libc_pic.opts): New target.
38749         ($(common-objpfx)libc_pic.os.clean): New target.
38750         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38752         * config.make.in (OBJCOPY): New variable.
38753         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38754         * configure: Regenerated.
38756         * config.make.in (use-default-link): New variable.
38757         * configure.in (use_default_link): Grok --with-default-link to set it.
38758         * configure: Regenerated.
38759         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38760         (shlib-lds, shlib-lds-flags): Define to empty.
38762         * Makerules (shlib-lds): New variable.
38763         (shlib-lds-flags): New variable.
38764         (build-shlib, build-moduile, build-module-asneeded): Use it.
38765         ($(common-objpfx)libc.so): Use $(shlib-lds).
38766         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38767         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38769         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38770         DT_FLAGS/DT_FLAGS_1 with zero flags.
38772         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38773         linker script munging.
38775 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
38777         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38778         as 128-bit value.
38779         * crypt/sha512.c (sha512_process_block): Perform total addition using
38780         128-bit if possible.
38781         (__sha512_finish_ctx): Likewise.
38782         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38783         as 64-bit value.
38784         * crypt/sha256.c (SWAP64): Define.
38785         (sha256_process_block): Perform total addition using 64-bit if
38786         possible.
38787         (__sha256_finish_ctx): Likewise.
38789 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
38791         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
38792         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38793         * nscd/hstcache.c (cache_addhst): Likewise.
38794         * nscd/grpcache.c (cache_addgr): Likewise.
38795         * nscd/aicache.c (addhstaiX): Likewise
38796         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38798 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
38800         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38802         * nscd/hstcache.c (cache_addhst): Likewise.
38803         * nscd/grpcache.c (cache_addgr): Likewise.
38804         * nscd/aicache.c (addhstaiX): Likewise
38806 2011-07-01  Andreas Schwab  <schwab@redhat.com>
38808         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38809         domain only when needed.
38811 2011-06-30  Andreas Schwab  <schwab@redhat.com>
38813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38814         is always restored.
38816 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
38818         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38819         are re-adding the entry.
38820         * nscd/servicescache.c (cache_addserv): Likewise.
38822 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
38824         * sysdeps/generic/dl-irel.h: fix protection against multiple
38825         inclusions.
38826         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38828 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
38830         [BZ #12935]
38831         * malloc/memusage.sh: Fix quoting in message.
38832         * debug/xtrace.sh: Likewise.
38834         * configure.in: Remove support for --experimental-malloc option, make
38835         it the default.
38836         * config.make.in: Likewise.
38837         * malloc/Makefile: Likewise.
38839 2011-06-27  Andreas Schwab  <schwab@redhat.com>
38841         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38842         two-byte characters.
38844 2011-06-27  Roland McGrath  <roland@hack.frob.com>
38846         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38847         AC_CACHE_CHECK invocation.
38848         * configure: Regenerated.
38850         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38852 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
38854         [BZ #12350]
38855         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
38856         bit from old_res_options.
38858         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38860         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38861         value type for setfct.
38863 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
38865         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38866         __gettimeofday instead of gettimeofday.
38868 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
38870         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38872 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
38874         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38876         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38877         info.
38879 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38882         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38883         strcpy-sse2-unaligned strncpy-sse2-unaligned
38884         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38885         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38886         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38887         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38888         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38889         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38890         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38891         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38892         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38893         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38894         (STRCPY): Support SSE2 and SSSE3 versions.
38896 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
38898         [BZ #12874]
38899         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38900         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38901         kernels which artificially limit size of requests.
38903 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38905         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38906         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38907         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38908         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38909         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38910         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38911         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38912         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38913         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38914         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38915         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38916         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38917         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38918         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38919         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38921         Enable unaligned load optimization for Intel Core i3, i5 and i7
38922         processors.
38923         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38924         Define.
38925         (index_Fast_Unaligned_Load): Define.
38926         (HAS_FAST_UNALIGNED_LOAD): Define.
38928 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
38930         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38932 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38934         [BZ #12907]
38935         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38936         until it is clear that the information is realy needed.
38937         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38939 2011-06-22  Andreas Schwab  <schwab@redhat.com>
38941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38943 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38945         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38946         /sys/devices/system/cpu/online if it is usable.
38948         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38949         reading the information from the /proc filesystem to once a second.
38951 2011-06-21  Andreas Jaeger  <aj@suse.de>
38953         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38954         NULL after inclusion of kernel headers.
38956 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
38958         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38959         calls to internal_setent.
38961         [BZ #12885]
38962         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38963         addresses using gethostbyname4_r ignore IPv4 addresses.
38965         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38966         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
38968         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38970 2011-06-20  David S. Miller  <davem@davemloft.net>
38972         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38973         inclusions.
38974         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38976         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38977         (elf_irel): Use it.
38978         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38979         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38980         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38981         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38982         * sysdeps/x86_64/dl-irel.h: Likewise.
38984         * elf/dl-runtime.c: Use elf_ifunc_invoke.
38985         * elf/dl-sym.c: Likewise.
38987 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38989         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
38990         need to dereference resplen2.
38992 2011-06-14  Andreas Schwab  <schwab@redhat.com>
38994         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38996 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38998         * Makeconfig: Define vardbdir and inst_vardbdir.
38999         * nss/Makefile: Add rules to install db-Makefile.
39001         * nss/nss_db/db-XXX.c: Cleanup.
39003         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39004         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39005         GLIBC_PRIVATE.
39006         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39007         * nss/makedb.c: Implement -g option to specify that value strings
39008         are generated and should not be added to table iterated over for
39009         get*ent calls.
39010         * nss/nss_db/db-initgroups.c: New file.
39012         * nss/getent.c: Add support for initgroups lookups through getgrouplist
39013         interface.
39015         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39016         (internal_getgrouplist): Adjust to name change.
39017         Update use_initgroups_entry if this is not the first call.
39018         * nss/databases.def: Add initgroups entry.
39020         * nss/makedb.c (compute_tables): Check result of multiple hash table
39021         sizes to minimize maximum chain length.
39023 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39025         * Versions.def: Add entry for libnss_db.
39026         * shlib-versions: Likewise.
39027         * nss/Makefile: Add rules to build libnss_db.
39028         * nss/Versions: Add libnss_db information.  Organize libnss_files
39029         entries better.
39030         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39031         makedb progra.  Some minor improvements to generate smaller files.
39032         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39033         here from...
39034         * nss/makedb.c: ...here.
39035         Improve database format to be smaller and require less memory at
39036         runtime.
39037         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39038         db anymore.
39039         * nss/nss_db/db-netgrp.c: Likewise.
39040         * nss/nss_db/db-open.c: Likewise.
39041         * nss/nss_files/flies-XXX.x: Adjust comments.
39042         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39043         * nss/nss_files/files-grp.c: Likewise.
39044         * nss/nss_files/files-hosts.c: Likewise.
39045         * nss/nss_files/files-network.c: Likewise.
39046         * nss/nss_files/files-proto.c: Likewise.
39047         * nss/nss_files/files-pwd.c: Likewise.
39048         * nss/nss_files/files-rpc.c: Likewise.
39049         * nss/nss_files/files-service.c: Likewise.
39050         * nss/nss_files/files-sgrp.c: Likewise.
39051         * nss/nss_files/files-spwd.c: Likewise.
39052         * nss/nss_db/db-alias.c: Removed.
39053         * nss/nss_db/dummy-db.h: Removed.
39055 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39057         * nss/makedb.c: Rewritten to not use database library.
39058         * nss/Makefile: Update to build new makedb program.
39060 2011-06-14  Andreas Jaeger  <aj@suse.de>
39062         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39063         memset declaration.
39065 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39068         tmpbuf.
39070 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39072         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39073         * elf/Makefile ($(objpfx)ld.so): Likewise.
39075         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39076         Don't list ld.so twice in dependencies.
39078         * posix/bug-regex31.c: Include <stdlib.h>.
39080         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39082         * nis/nss_compat/compat-spwd.c
39083         (getspent_next_nss_netgr): Remove unused variable.
39084         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39086         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39087         nonmembers" output to use the right array.
39089         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39091         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39093         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39094         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39095         * catgets/gencat.c (read_input_file): Likewise.
39096         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39098         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39099         variable definition inside #if's controlling its use.
39101         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39103         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39105         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39107         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39108         unreachable code.
39110         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39112         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39113         * configure: Regenerated.
39115         * Makerules: Revert last change.
39116         * elf/Makefile: Likewise.
39118 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39120         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39121         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39122         (reloc-link): Likewise.
39124 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39126         * elf/Makefile: Add rules to build pldd.
39127         * elf/pldd.c: New file.
39128         * elf/pldd-xx.c: New file.
39130 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39132         * version.h: Update for 2.15 development version.
39134 2011-06-07  David S. Miller  <davem@davemloft.net>
39136         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39137         ifuncs.
39138         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39139         elf_machine_lazy_rel): Likewise.
39140         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39141         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39142         elf_machine_lazy_rel): Likewise.
39143         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39144         dl_hwcap via passed in argument.
39145         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39146         Likewise.
39148 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39150         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39152 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39154         [BZ #12849]
39155         * manual/fdl-1.1.texi: New file, verbatim from:
39156         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39157         * manual/lgpl-2.1.texi: New file, verbatim from:
39158         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39159         * manual/Makefile (licenses): New variable, list those new file names.
39160         (texis): Use it.
39161         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39163         * manual/fdl.texi: File removed.
39164         * manual/lesser.texi: File removed.
39165         * manual/libc.texinfo (Copying, Documentation License):
39166         Use new @include file names, put @appendix directive before @include.
39168 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39170         [BZ #12841]
39171         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39172         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39173         (mq_open): Add __NTH.
39175 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39178         Assume Intel Core i3/i5/i7 processor if AVX is available.
39180 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39183         typo.
39185 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39187         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39188         memory.  Use alloca_account.  Fix memory leak when retrying.
39190 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39192         * version.h (RELEASE): Bump for 2.14 release.
39193         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39195         * config.make.in (RANLIB): Remove entry.
39197 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39199         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39200         (libc.pot): Work around missing support for .ksh extension in xgettext.
39202         [BZ #12684]
39203         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39204         if both request failed.
39205         (send_dg): In case of server errors clear resplen or *resplen2.
39207         [BZ #12454]
39208         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39209         when there are multiple maps.
39210         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39211         (_dl_fini): Remove test here.
39213         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39215 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39217         [BZ #12350]
39218         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39219         bit from old_res_options.
39220         (gaih_inet): Likewise.
39222         [BZ #11099]
39223         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39224         as signed.
39226         * resolv/res_init.c (res_setoptions): Make the code more compact.
39228         [BZ #11558]
39229         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39230         set RES_USEVC.
39232         [BZ #11634]
39233         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39235         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39237         [BZ #11781]
39238         * malloc/malloc.h: Declare malloc hook variables as volatile.
39240         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39241         in last patch.
39243         [BZ #11799]
39244         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39245         raise in the comment.
39246         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39247         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39248         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39250 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39252         [BZ #12811]
39253         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39254         grow the buffers more if it already has to be sufficient.
39255         (build_wcs_upper_buffer): Likewise.
39256         * posix/regexec.c (check_matching): Likewise.
39257         (clean_state_log_if_needed): Likewise.
39258         (extend_buffers): Don't enlarge buffers beyond size of the input
39259         buffer.
39260         Patches mostly by Emil Wojak <emil@wojak.eu>.
39261         * posix/bug-regex32.c: New file.
39262         * posix/Makefile (tests): Add bug-regex32.
39264         * locale/findlocale.c (_nl_find_locale): Return right away if
39265         _nl_explode_name failed.
39266         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39268         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39270         * debug/xtrace.sh: Unify messages.
39271         * malloc/memusage.sh: Likewise.
39273         [BZ #12813]
39274         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39275         time symbol from vDSO.  Substitute with vsyscall if not available.
39276         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39277         __vdso_time.
39279         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39280         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39281         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39282         Add sendmmsg and internal_sendmmsg.
39283         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39284         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39285         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39287         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39288         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39289         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39291 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39293         [BZ #12813]
39294         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39295         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39296         available.
39297         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39298         __vdso_getcpu.
39300         [BZ #12814]
39301         * iconvdata/Makefile (tests): Add bug-iconv9.
39302         * iconvdata/bug-iconv9.c: New file.
39304 2011-05-27  Andreas Schwab  <schwab@redhat.com>
39306         [BZ #12814]
39307         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39309 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
39311         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39312         (struct user_regs_struct): Change intcs field back to cs.
39314 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
39316         * po/ja.po: Update from translation team.
39318 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
39320         [BZ #12795]
39321         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39322         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39324 2011-05-20  Andreas Schwab  <schwab@redhat.com>
39326         * stdlib/longlong.h: Update from GCC.
39328 2011-05-23  Andreas Schwab  <schwab@redhat.com>
39330         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39331         parameter name.
39332         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39333         Add parameter name.
39334         (__sysconf): Pass it down.
39336 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
39338         [BZ #12671]
39339         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39340         some situations.
39341         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39342         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39343         add in in __libc_use_alloca calls.  Adjust callers.
39344         (glob): Use malloc in some situations.
39346         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39347         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39348         pltexit.
39350 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
39352         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39353         and CLOCK_BOOTTIME_ALARM.
39355         [BZ #12782]
39356         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39357         is returned.
39359         * string/_strerror.c (__strerror_r): Print negative errors as signed
39360         numbers.
39362         [BZ #12777]
39363         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39364         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39365         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39367         * configure.in: Fix typo in redirection and correct removal of test
39368         files in two cases.
39370         [BZ #12788]
39371         * locale/setlocale.c (new_composite_name): Fix test to check for
39372         identical name of all categories.
39374         [BZ #12792]
39375         * libio/filedoalloc.c (local_isatty): New function.
39376         (_IO_file_doallocate): Use local_isatty.
39377         * stdio-common/perror.c (perror): In case a new stream is used
39378         forward the stream error.
39379         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39380         error flag.
39382 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
39384         [BZ #11869]
39385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39386         alloca.
39387         * include/alloca.h (extend_alloca_account): Define.
39389         [BZ #11857]
39390         * posix/regex.h: Fix comments with documentation of user-accessible
39391         fields after compilation and describe correct free'ing of pattern
39392         after re_compile_pattern.
39393         Patch by Reuben Thomas <rrt@sc3d.org>.
39395 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
39397         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39398         and -mno-altivec to prevent the compiler from using Altivec and/or
39399         VSX instructions when the corresponding registers are not available.
39401 2011-05-19  Andreas Schwab  <schwab@redhat.com>
39403         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39405 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
39407         * libio/freopen.c (freopen): Use __dup2, not dup2.
39408         * libio/freopen64.c (freopen64): Likewise.
39410 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39412         [BZ #12775]
39413         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39414         * math/Makefile (tests): Add test-powl.
39415         (CFLAGS-test-powl.c): Define.
39416         * math/test-powl.c: New file.
39418 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39420         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39422 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
39424         [BZ #11837]
39425         * iconvdata/gb18030.c: Update to GB18020-2005.
39427 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
39429         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39430         RE_SYNTAX_POSIX_AWK): Update to match recent development.
39431         Patch by Aharon Robbins <arnold@skeeve.com>.
39433         [BZ #11892]
39434         * stdlib/putenv.c (putenv): Don't always create copy of the variable
39435         on the stack.
39437         [BZ #11895]
39438         * misc/pselect.c (__pselect): Handle timeout value errors hidden
39439         through underflows.
39441         [BZ #12766]
39442         * misc/error.c (error_at_line): Ensure file_name and old_file_name
39443         point to strings before performing equality test for error_one_per_line
39444         mode.
39446         [BZ #11697]
39447         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39449         [BZ #11820]
39450         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39451         (struct user_fpregs_struct): Avoid __uint*_t types.
39453         [BZ #6420]
39454         * malloc/mtrace.c (tr_where): Add additional parameter to point to
39455         symbol info.  Use it instead of calling _dl_addr locally.
39456         (lock_and_info): New function.
39457         (tr_freehook): Call lock_and_info and pass symbol info as additional
39458         parameter to tr_where.
39459         (tr_mallochook): Likewise.
39460         (tr_reallochook): Likewise.
39461         (tr_memalignhook): Likewise.
39463         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
39464         used and couldn't be at all thread-safe.
39466 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
39468         * libio/freopen.c (freopen): Don't close old file descriptor
39469         before the new one is opened.  Instead dup the new file descriptor
39470         to the old one after the new stream is created.
39471         * libio/freopen64.c (freopen64): Likewise.
39472         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39473         * libio/fileops.c (_IO_new_file_close_it): Handle new
39474         _IO_FLAGS2_NOCLOSE flag.
39475         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39476         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39477         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39478         _IO_FLAGS2_NOCLOSE flag.
39479         * include/unistd.h: Add hidden_proto for dup3.
39480         Define __have_dup3.
39481         * io/dup3.c: Define hidden symbol.
39482         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39484         [BZ #7101]
39485         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39486         when an incomplete long option is used.
39487         * posix/tst-getopt_long1.c: New file.
39488         * posix/Makefile (tests): Add tst-getopt_long1.
39490         [BZ #10138]
39491         * scripts/config.guess: Update from autoconf-2.68.
39492         * scripts/config.sub: Likewise.
39494         [BZ #10157]
39495         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39496         tests into ...
39497         (has_cpuclock): ...this.  New function.
39498         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39499         macro here based on has_cpuclock code.
39501         [BZ #10149]
39502         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39503         First byte (not low byte) is now always NUL.
39504         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39506         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39507         Use non-cancelable interfaces.
39509         [BZ #9809]
39510         * locale/iso-639.def: Add entry for Sorani.
39512         [BZ #11901]
39513         * include/stdlib.h: Move include protection to the right place.
39514         Define abort_msg_s.  Declare __abort_msg with it.
39515         * stdlib/abort.c (__abort_msg): Adjust type.
39516         * assert/assert.c (__assert_fail_base): New function.  Majority
39517         of code from __assert_fail.  Allocate memory for __abort_msg with
39518         mmap.
39519         (__assert_fail): Now call __assert_fail_base.
39520         * assert/assert-perr.c: Remove bulk of implementation.  Use
39521         __assert_fail_base.
39522         * include/assert.hL Declare __assert_fail_base.
39523         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39524         mmap.
39525         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39527 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
39529         [BZ #11952]
39530         [BZ #12453]
39531         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39532         until all modules are registered in the DTV.
39533         * elf/Makefile: Add rules to build and run tst-tls19.
39534         * elf/tst-tls19.c: New file.
39535         * elf/tst-tls19mod1.c: New file.
39536         * elf/tst-tls19mod2.c: New file.
39537         * elf/tst-tls19mod3.c: New file.
39538         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39540         [BZ #12083]
39541         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39542         correctly.
39544         [BZ #12601]
39545         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39546         two-byte sequence errors.
39547         * iconvdata/Makefile (tests): Add bug-iconv8.
39548         * iconvdata/bug-iconv8.c: New file.
39550         [BZ #12626]
39551         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39552         buf2 definition.
39554         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39556         [BZ #12432]
39557         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39558         (dummy_getcfa): New function.
39559         (init): Get _Unwind_GetCFA address, use dummy if not found.
39560         (backtrace_helper): In recursion check, also check whether CFA changes.
39561         (__backtrace): Completely initialize arg.
39563         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39564         storing incomplete byte sequence in state object.  Avoid testing for
39565         guaranteed too small input if we know there is enough data available.
39567 2011-05-11  Andreas Schwab  <schwab@redhat.com>
39569         * Makeconfig (+link-pie): Indent.
39570         * Rules (binaries-pie): Define if $(have-fpie) and
39571         $(build-shared).
39572         (binaries-shared): Also filter out $(binaries-pie).
39573         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39574         * nscd/Makefile (others-pie): Add nscd.
39575         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39576         ($(objpfx)nscd): Remove command override.
39577         * login/Makefile (others-pie): Add pt_chown.
39578         ($(objpfx)pt_chown): Remove command override.
39579         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39580         remove command overrides.
39582 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
39584         * libio/tst_putwc.c: Fix error messages.
39586         [BZ #12724]
39587         * libio/fileops.c (_IO_new_file_close_it): Always flush when
39588         currently writing and seek to current position when not.
39589         * libio/Makefile (tests): Add bug-fclose1.
39590         * libio/bug-fclose1.c: New file.
39592 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
39594         [BZ #12511]
39595         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39596         don't set DF_1_NODELETE here.
39597         (do_lookup_x): When entering new entry test for copy relocation
39598         and if necessary set DF_1_NODELETE flag.
39599         * elf/tst-unique4.cc: New file.
39600         * elf/tst-unique4.h: New file.
39601         * elf/tst-unique4lib.cc: New file.
39602         * elf/Makefile: Add rules to build and run tst-unique4.
39603         Patch by Piotr Bury <pbury@goahead.com>.
39605 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
39607         [BZ #12052]
39608         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39610         [BZ #12625]
39611         * misc/mntent_r.c (addmntent): Flush the stream after the output
39613         [BZ #12393]
39614         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39615         (is_trusted_path_normalize): Skip initial colon.  Append slash
39616         to empty buffer.  Duplicate is_trusted_path code but allow
39617         constructed patch to be prefix.
39618         (is_dst): Allow $ORIGIN followed by /.
39619         (_dl_dst_substitute): Correct clearing of check_for_trusted.
39620         Correct testing of result of is_trusted_path_normalize
39621         (decompose_rpath): Fix warning.
39623 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
39625         [BZ #11257]
39626         * grp/initgroups.c (internal_getgrouplist): When we found the service
39627         list through the initgroups entry in nsswitch.conf do not always
39628         continue on a successful lookup.  Don't always use the
39629         __nss_group_database value if it is set.
39630         * nss/nsswitch.conf (initgroups): Change action for successful db
39631         lookup to continue for compatibility.
39633 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
39635         [BZ #11532]
39636         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39637         and CP774 modules.
39638         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39639         and CP774 modules.
39640         * iconvdata/tst-tables.sh: Likewise.
39641         * iconvdata/cp770.c: New file.
39642         * iconvdata/cp771.c: New file.
39643         * iconvdata/cp772.c: New file.
39644         * iconvdata/cp773.c: New file.
39645         * iconvdata/cp774.c: New file.
39646         * iconvdata/testdata/CP770: New file.
39647         * iconvdata/testdata/CP770..UTF8: New file.
39648         * iconvdata/testdata/CP771: New file.
39649         * iconvdata/testdata/CP771..UTF8: New file.
39650         * iconvdata/testdata/CP772: New file.
39651         * iconvdata/testdata/CP772..UTF8: New file.
39652         * iconvdata/testdata/CP773: New file.
39653         * iconvdata/testdata/CP773..UTF8: New file.
39654         * iconvdata/testdata/CP774: New file.
39655         * iconvdata/testdata/CP774..UTF8: New file.
39657         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39658         END CHARMAP line.
39659         * iconvdata/gen-8bit-gap.sh: Likewise.
39660         * iconvdata/gen-8bit.sh: Likewise.
39662         * locale/iso-639.def: Add ary entry.
39664         [BZ #11258]
39665         * locale/C-translit.h.in: Add U20A1 transliteration.
39667         [BZ #12178]
39668         * locale/iso-639.def: Add wae entry.
39669         Patch by Kevin Bortis <bortis@translate-wae.ch>.
39671         [BZ #12545]
39672         * locale/programs/localedef.c (construct_output_path): Use ssize_t
39673         for n.
39675         [BZ #12711]
39676         * locale/C-translit.h.in: Add entry for U20B9.
39677         Patch by pravin.d.s@gmail.com.
39679 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
39681         [BZ #12713]
39682         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39683         ENAMETOOLONG use generic getcwd.
39684         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
39685         in rtld.  Use *stat64.
39686         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39687         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39688         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39689         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39690         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39691         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39692         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39693         __fstatat64 macros.
39694         * include/dirent.h: Add libc_hidden_proto for rewinddir.
39695         * dirent/rewinddir.c: Add libc_hidden_def.
39696         * sysdeps/mach/hurd/rewinddir.c: Likewise.
39697         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
39699         * include/dirent.h (__alloc_dir): Add flags parameter.
39700         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39701         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39702         __alloc_dir.
39703         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
39704         from fdopendir if O_CLOEXEC is already set.
39706 2011-03-15  Alan Modra  <amodra@gmail.com>
39708         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39709         l_tls_firstbyte_offset non-zero.  Save padding offset in
39710         l_tls_firstbyte_offset for later use.
39711         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39712         freeing static tls block.
39714 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
39716         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39717         where #ifdef was intended.  The intent is to prevent ARG_MAX from
39718         being defined by the kernel headers.
39720 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
39722         [BZ #12734]
39723         * resolv/resolv.h: Define RES_NOTLDQUERY.
39724         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39725         no-tld-query and set RES_NOTLDQUERY.
39726         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39727         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39728         modern BIND to search name as TLD unless forbidden.
39730 2011-05-07  Petr Baudis  <pasky@suse.cz>
39731             Ulrich Drepper  <drepper@gmail.com>
39733         [BZ #12393]
39734         * elf/dl-load.c (fillin_rpath): Move trusted path check...
39735         (is_trusted_path): ...to here.
39736         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39737         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39738         using is_trusted_path_normalize() in setuid scripts.
39740 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39742         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39743         __BEGIN/__END_DECLS.
39745 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
39747         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39748         NSS_STATUS_NOTFOUND if no record was found.
39750 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39752         * sunrpc/Makefile (headers): Add rpc/netdb.h.
39753         (headers-not-in-tirpc): Remove rpc/netdb.h
39754         * resolv/netdb.h: Revert last change.
39756 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39758         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39759         circular dependency between libgcc.a and libc.a.
39761 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39763         * resolv/netdb.h: Don't include <rpc/netdb.h>.
39764         * nis/Makefile: Don't install rpcsvc/*.
39765         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39766         instead of <rpc/types.h>.
39767         (MAXHOSTNAMELEN): Define.
39769 2011-05-03  Andreas Schwab  <schwab@redhat.com>
39771         * elf/ldconfig.c (add_dir): Don't crash on empty path.
39773 2011-04-28  Maciej Babinski  <mbabinski@google.com>
39775         [BZ #12714]
39776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39777         gethostbyname4_r when IPv6 results are possible.
39779 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
39781         [BZ #12723]
39782         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39783         _PC_PIPE_BUF handling.
39785 2011-04-30  Bruno Haible  <bruno@clisp.org>
39787         [BZ #12717]
39788         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39789         * resolv/netdb.h (getnameinfo): Change type of flags parameter
39790         to 'int'.
39791         * inet/getnameinfo.c (getnameinfo): Likewise.
39793 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
39795         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39796         to groups setting in database lookup.
39797         * nss/nsswitch.conf: Add initgroups entry.
39799 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
39801         [BZ #12685]
39802         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39803         mode string.
39804         Patch by Eric Blake <eblake@redhat.com>.
39806 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
39808         * sunrpc/Makefile (need-export-routines): Add svc_run.
39809         (routines): Remove svc_run.
39810         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39811         * sunrpc/clnt_perr.c (clnt_perrno): Export.
39812         * sunrpc/svc_run.c (svc_run): Likewise.
39813         * sunrpc/svc_udp.c (svcudp_create): Likewise.
39815 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
39817         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39818         problem in reallocation in last patch.
39820 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
39822         * sunrpc/Makefile: Move inclusion of Rules.
39824 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39826         * nss/nss_files/files-initgroups.c: New file.
39827         * nss/Makefile (libnss_files-routines): Add files-initgroups.
39828         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39829         _nss_files_initgroups_dyn.
39831 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
39833         * elf/elf.h (R_ARM_IRELATIVE): Define.
39835 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39837         * po/ru.po: Update from translation team.
39839 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39841         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39842         dependencies.
39844 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
39846         [BZ #12653]
39847         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39848         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39849         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39850         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39851         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39853 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
39855         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39856         differing bytes.
39857         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39858         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39859         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39861 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39863         [BZ #12420]
39864         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39865         storing it.
39866         * stdlib/bug-getcontext.c: New file.
39867         * stdlib/Makefile: Add rules to build and run bug-getcontext.
39869 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39871         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39872         instructions into .machine "z9-109".
39873         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39874         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39876 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39878         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39879         between environment variables and auxiliary vector.
39881 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
39883         * Makefile: Add rules to build linkobj/libc.so.
39884         * include/libc-symbols.h: Define libc_hidden_nolink.
39885         * include/rpc/auth.h: Mark functions which are to be hidden.
39886         * include/rpc/auth_des.h: Likewise.
39887         * include/rpc/auth_unix.h: Likewise.
39888         * include/rpc/clnt.h: Likewise.
39889         * include/rpc/des_crypt.h: Likewise.
39890         * include/rpc/key_prot.h: Likewise.
39891         * include/rpc/pmap_clnt.h: Likewise.
39892         * include/rpc/pmap_prot.h: Likewise.
39893         * include/rpc/pmap_rmt.h: Likewise.
39894         * include/rpc/rpc_msg.h: Likewise.
39895         * include/rpc/svc.h: Likewise.
39896         * include/rpc/svc_auth.h: Likewise.
39897         * include/rpc/xdr.h: Likewise.
39898         * nis/Makefile: Link all DSOs against linkobj/libc.so.
39899         * nss/Makefile: Likewise.
39900         * sunrpc/Makefile: Don't install headers.  Build library with normal
39901         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
39902         * sunrpc/auth_des.c: Hide exported symbols by default, export some
39903         for the compat linking library.  Remove use of INTDEF/INTUSE.
39904         * sunrpc/auth_none.c: Likewise.
39905         * sunrpc/auth_unix.c: Likewise.
39906         * sunrpc/authdes_prot.c: Likewise.
39907         * sunrpc/authuxprot.c: Likewise.
39908         * sunrpc/clnt_gen.c: Likewise.
39909         * sunrpc/clnt_perr.c: Likewise.
39910         * sunrpc/clnt_raw.c: Likewise.
39911         * sunrpc/clnt_simp.c: Likewise.
39912         * sunrpc/clnt_tcp.c: Likewise.
39913         * sunrpc/clnt_udp.c: Likewise.
39914         * sunrpc/clnt_unix.c: Likewise.
39915         * sunrpc/des_crypt.c: Likewise.
39916         * sunrpc/des_soft.c: Likewise.
39917         * sunrpc/get_myaddr.c: Likewise.
39918         * sunrpc/key_call.c: Likewise.
39919         * sunrpc/key_prot.c: Likewise.
39920         * sunrpc/netname.c: Likewise.
39921         * sunrpc/pm_getmaps.c: Likewise.
39922         * sunrpc/pm_getport.c: Likewise.
39923         * sunrpc/pmap_clnt.c: Likewise.
39924         * sunrpc/pmap_prot.c: Likewise.
39925         * sunrpc/pmap_prot2.c: Likewise.
39926         * sunrpc/pmap_rmt.c: Likewise.
39927         * sunrpc/publickey.c: Likewise.
39928         * sunrpc/rpc_cmsg.c: Likewise.
39929         * sunrpc/rpc_common.c: Likewise.
39930         * sunrpc/rpc_dtable.c: Likewise.
39931         * sunrpc/rpc_prot.c: Likewise.
39932         * sunrpc/rpc_thread.c: Likewise.
39933         * sunrpc/rtime.c: Likewise.
39934         * sunrpc/svc.c: Likewise.
39935         * sunrpc/svc_auth.c: Likewise.
39936         * sunrpc/svc_authux.c: Likewise.
39937         * sunrpc/svc_raw.c: Likewise.
39938         * sunrpc/svc_run.c: Likewise.
39939         * sunrpc/svc_simple.c: Likewise.
39940         * sunrpc/svc_tcp.c: Likewise.
39941         * sunrpc/svc_udp.c: Likewise.
39942         * sunrpc/svc_unix.c: Likewise.
39943         * sunrpc/svcauth_des.c: Likewise.
39944         * sunrpc/xcrypt.c: Likewise.
39945         * sunrpc/xdr.c: Likewise.
39946         * sunrpc/xdr_array.c: Likewise.
39947         * sunrpc/xdr_float.c: Likewise.
39948         * sunrpc/xdr_intXX_t.c: Likewise.
39949         * sunrpc/xdr_mem.c: Likewise.
39950         * sunrpc/xdr_rec.c: Likewise.
39951         * sunrpc/xdr_ref.c: Likewise.
39952         * sunrpc/xdr_sizeof.c: Likewise.
39953         * sunrpc/xdr_stdio.c: Likewise.
39955 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
39957         [BZ #12650]
39958         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39959         * sysdeps/ia64/dl-tls.h: Likewise.
39960         * sysdeps/powerpc/dl-tls.h: Likewise.
39961         * sysdeps/s390/dl-tls.h: Likewise.
39962         * sysdeps/sh/dl-tls.h: Likewise.
39963         * sysdeps/sparc/dl-tls.h: Likewise.
39964         * sysdeps/x86_64/dl-tls.h: Likewise.
39965         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39967 2011-03-14  Andreas Schwab  <schwab@redhat.com>
39969         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39970         rpath element also skip the following colon.
39971         (expand_dynamic_string_token): Add is_path parameter and pass
39972         down to DL_DST_REQUIRED and _dl_dst_substitute.
39973         (decompose_rpath): Call expand_dynamic_string_token with
39974         non-zero is_path.  Ignore empty rpaths.
39975         (_dl_map_object_from_fd): Call expand_dynamic_string_token
39976         with zero is_path.
39978 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
39980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39981         Make cancelable.
39983 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
39985         [BZ #12655]
39986         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39987         Patch by Filipe David Manana <fdmanana@apache.org>.
39989 2011-04-07  Andreas Schwab  <schwab@redhat.com>
39991         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39992         Maintain aligned stack.
39993         (CHECK_RSP): Remove unused macro.
39995 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
39997         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39998         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40000 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
40002         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40004         * include/features.h: Mention __USE_XOPEN2K8 in comment.
40006 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
40008         [BZ #12518]
40009         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40010         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40011         * sysdeps/x86_64/memmove.c: New file.
40012         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40013         (memcpy): Renamed to ...
40014         (__new_memcpy): This.
40015         (memcpy): Provide GLIBC_2_14 memcpy.
40016         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40017         (memcpy): Provide GLIBC_2_2_5 memcpy.
40019 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40021         [BZ #12631]
40022         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40024 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40026         * misc/syncfs.c: New file.
40027         * misc/Makefile (routines): Add syncfs.
40028         * posix/unistd.h: Declare syncfs.
40029         * sysdeps/unix/syscalls.list: Add syncfs.
40031 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40033         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40034         open_by_handle_at.
40035         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40036         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40037         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40038         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40040         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40041         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40043 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40045         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40046         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40047         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40048         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40049         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40051         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40053         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40054         sync_file_range.c with -fexceptions.
40055         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40056         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40057         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40058         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40059         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40060         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40061         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40062         sync_file_range as cancellation point
40063         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40064         now a wrapper around __call_sync_file_range with cancellation handling.
40065         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40066         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40067         function name to __call_sync_file_range.
40068         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40069         Add call_sync_file_range.
40071 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40074         bits/timex.h.
40076 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40078         * iconv/iconv.h: Fix typo in comment.
40079         * io/fcntl.h: Likewise.
40080         * libio/stdio.h: Likewise.
40081         * posix/spawn.h: Likewise.
40082         * posix/unistd.h: Likewise.
40083         * stdlib/stdlib.h: Likewise.
40084         * time/time.h: Likewise.
40085         * wcsmbs/wchar.h: Likewise.
40087         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40088         open_by_handle): Add.
40089         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40090         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40091         Augment a few comments.
40092         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40093         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40094         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40096         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40097         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40098         open_by_handle.
40100         * io/fcntl.h (AT_EMPTY_PATH): Define.
40102 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40104         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40105         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40106         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40107         to...
40108         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40109         * Versions.def: Add GLIBC_2.14.
40110         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40111         Export.
40113 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40115         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40116         round counter.
40117         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40119 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40121         [BZ #12597]
40122         * string/test-strncmp.c (do_page_test): New function.
40123         (check2): Likewise.
40124         (test_main): Call check2.
40125         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40127 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40129         [BZ #12587]
40130         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40131         Handle cache information in CPU leaf 4.
40132         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40134 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40136         [BZ #12583]
40137         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40138         character representation.
40139         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40141 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40143         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40144         END(__isnan) to END(__isnanf) to match function entry point/label
40145         EALIGN(__isnanf,...).
40147 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40149         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40151 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40153         [BZ #12510]
40154         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40155         copy from the symbol referenced in the relocation to initialize the
40156         used variable.
40157         Patch by Piotr Bury <pbury@goahead.com>.
40158         * elf/Makefile: Add rules to build and tst-unique3.
40159         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40160         * elf/tst-unique3.cc: New file.
40161         * elf/tst-unique3.h: New file.
40162         * elf/tst-unique3lib.cc: New file.
40163         * elf/tst-unique3lib2.cc: New file.
40165         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40167 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40169         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40170         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40171         to _start.
40173 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40175         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40176         to-be-loaded object along a path to loader is ld.so.
40178 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40179             Ulrich Drepper  <drepper@gmail.com>
40181         * sysdeps/x86_64/memset.S: After aligning destination, code
40182         branches to different locations depending on the value of
40183         misalignment, when multiarch is enabled. Fix this.
40185 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40187         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40188         Set _x86_64_preferred_memory_instruction for AMD processsors.
40189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40190         Set bit_Prefer_SSE_for_memop for AMD processors.
40192 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40194         * libio/fmemopen.c (fmemopen): Optimize a bit.
40196 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40198         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40200 2011-03-03  Roland McGrath  <roland@redhat.com>
40202         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40204 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40206         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40207         __bzero_ultra1 instead of __memset_ultra1.
40209 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40210             Ulrich Drepper  <drepper@gmail.com>
40212         [BZ #12509]
40213         * include/link.h (struct link_map): Add l_orig_initfini.
40214         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40215         returning unsuccessfully.
40216         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40217         close of a file loaded at startup, restore the original l_initfini
40218         list.
40219         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40220         list, store the pointer.
40221         * elf/Makefile ($(objpfx)noload-mem): New rule.
40222         (noload-ENV): Define.
40223         (tests): Add $(objpfx)noload-mem.
40224         * elf/noload.c: Include <memcheck.h>.
40225         (main): Call mtrace.  Close all opened handles.
40227 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40229         [BZ #12454]
40230         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40231         dependencies are missing.
40233 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40235         Fix __if_freereq crash: Unlike the generic version which uses free,
40236         Hurd needs munmap.
40237         * sysdeps/mach/hurd/ifreq.h: New file.
40239 2011-01-27  Petr Baudis  <pasky@suse.cz>
40240             Ulrich Drepper  <drepper@gmail.com>
40242         [BZ 12445]#
40243         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40244         to extend_alloca().
40245         * stdio-common/bug23.c: New file.
40246         * stdio-common/Makefile (tests): Add bug23.
40248 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40249             Ulrich Drepper  <drepper@gmail.com>
40251         [BZ #12489]
40252         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40253         before performing relro protection.  At old place add assertion
40254         to make sure nothing changed.
40256 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40257             Glauber de Oliveira Costa  <glommer@gmail.com>
40259         * elf/elf.h: Add new ARM TLS relocs.
40261 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40264         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40265         cast from r3.
40266         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40267         'tests' variable.
40268         * sysdeps/wordsize-64/tst-writev.c: New file.
40270 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40272         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40273         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40274         insns in _dl_start to prevent a TOC reference before relocs are
40275         resolved.
40277 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40279         [BZ #12469]
40280         * Makeconfig: Remove RANLIB definition.
40281         * Makerules: Don't use RANLIB.
40282         * aclocal.m4: Remove ranlib test.
40283         * configure.in: No need to check for ranlib.
40284         * elf/rtld-Rules: Don't use RANLIB.
40286 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40288         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40289         protection macro.
40290         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40291         inclusion protection macro.
40293         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40294         SIGRTMIN and SIGRTMAX and print information in that case only when
40295         SIGRTMIN is defined.
40297 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40299         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40300         arginfo fn returning -1.
40302         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40303         and thousands string is zero terminated.
40305 2011-02-03  Andreas Schwab  <schwab@redhat.com>
40307         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40308         sysdeps/unix/sysv/linux/bits/socket.h.
40310 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40312         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40313         (__CPU_COUNT): Remove old macros.
40314         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40315         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40316         (__CPU_ALLOC, __CPU_FREE): Add macros.
40317         (__sched_cpualloc, __sched_cpufree): Add declarations.
40319 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
40321         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40322         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40323         * nscd/aicache.c (addhstaiX): Return timeout of added value.
40324         (readdhstai): Return value of addhstaiX call.
40325         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40326         (addgrbyX): Return value returned by cache_addgr.
40327         (readdgrbyname): Return value returned by addgrbyX.
40328         (readdgrbygid): Likewise.
40329         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40330         (addpwbyX): Return value returned by cache_addpw.
40331         (readdpwbyname): Return value returned by addhstbyX.
40332         (readdpwbyuid): Likewise.
40333         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40334         (addservbyX): Return value returned by cache_addserv.
40335         (readdservbyname): Return value returned by addservbyX:
40336         (readdservbyport): Likewise.
40337         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40338         (addhstbyX): Return value returned by cache_addhst.
40339         (readdhstbyname): Return value returned by addhstbyX.
40340         (readdhstbyaddr): Likewise.
40341         (readdhstbynamev6): Likewise.
40342         (readdhstbyaddrv6): Likewise.
40343         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40344         (readdinitgroups): Return value returned by addinitgroupsX.
40345         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40346         (prune_cache): Keep track of timeout value of re-added entries.
40347         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40348         * nscd/nscd.h: Adjust prototypes of readd* functions.
40350 2011-02-04  Roland McGrath  <roland@redhat.com>
40352         * nis/nis_server.c (nis_servstate): Use the right name for 0.
40353         (nis_stats): Likewise.
40354         * nis/nis_modify.c (nis_modify): Likewise.
40355         * nis/nis_remove.c (nis_remove): Likewise.
40356         * nis/nis_add.c (nis_add): Likewise.
40358         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40360         * posix/fnmatch_loop.c: Add some consts.
40362         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40364 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
40366         [BZ #12460]
40367         * config.make.in (config-cflags-novzeroupper): Define.
40368         * configure.in: Substitute libc_cv_cc_novzeroupper.
40369         * elf/Makefile (AVX-CFLAGS): Define.
40370         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40371         (CFLAGS-tst-auditmod4a.c): Likewise.
40372         (CFLAGS-tst-auditmod4b.c): Likewise.
40373         (CFLAGS-tst-auditmod6b.c): Likewise.
40374         (CFLAGS-tst-auditmod6c.c): Likewise.
40375         (CFLAGS-tst-auditmod7b.c): Likewise.
40376         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40378 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
40380         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40381         function to the callback.
40382         Patch partly by Jiri Olsa <jolsa@redhat.com>.
40384 2011-02-02  Andreas Schwab  <schwab@redhat.com>
40386         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40387         of errno.
40389 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
40391         [BZ #11724]
40392         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40393         of constructors.
40394         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40395         of destructors.
40396         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40398         [BZ #11724]
40399         * elf/Makefile: Add rules to build and run new test.
40400         * elf/tst-initorder.c: New file.
40401         * elf/tst-initorder.exp: New file.
40402         * elf/tst-initordera1.c: New file.
40403         * elf/tst-initordera2.c: New file.
40404         * elf/tst-initordera3.c: New file.
40405         * elf/tst-initordera4.c: New file.
40406         * elf/tst-initorderb1.c: New file.
40407         * elf/tst-initorderb2.c: New file.
40408         * elf/tst-order-a1.c: New file.
40409         * elf/tst-order-a2.c: New file.
40410         * elf/tst-order-a3.c: New file.
40411         * elf/tst-order-a4.c: New file.
40412         * elf/tst-order-b1.c: New file.
40413         * elf/tst-order-b2.c: New file.
40414         * elf/tst-order-main.c: New file.
40415         New test case by George Gensure <werkt0@gmail.com>.
40417 2010-10-01  Andreas Schwab  <schwab@redhat.com>
40419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40420         decoding ACE if AI_CANONIDN.
40422 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
40424         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40426 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
40428         * version.h (RELEASE): Bump for 2.13 release.
40429         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40431         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40433         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40434         MADV_NOHUGEPAGE.
40435         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40436         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40437         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40438         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40439         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40440         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40442         * posix/getconf.c: Update copyright year.
40443         * catgets/gencat.c: Likewise.
40444         * csu/version.c: Likewise.
40445         * debug/catchsegv.sh: Likewise.
40446         * debug/xtrace.sh: Likewise.
40447         * elf/ldconfig.c: Likewise.
40448         * elf/ldd.bash.in: Likewise.
40449         * elf/sprof.c (print_version): Likewise.
40450         * iconv/iconv_prog.c: Likewise.
40451         * iconv/iconvconfig.c: Likewise.
40452         * locale/programs/locale.c: Likewise.
40453         * locale/programs/localedef.c: Likewise.
40454         * malloc/memusage.sh: Likewise.
40455         * malloc/mtrace.pl: Likewise.
40456         * nscd/nscd.c (print_version): Likewise.
40457         * nss/getent.c: Likewise.
40459         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40460         PF_CAIF, and PF_ALG.
40461         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40463 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
40465         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40466         (modules-names): Use them.
40467         (ifunc-test-modules, ifunc-pie-tests): Define.
40468         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40469         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40470         (test-extras): Likewise.
40471         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40472         $(compile-command.c).
40473         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40474         (all-built-dso): Define.
40475         (check-textrel.out, check-execstack.out): Depend on it.
40477         * configure.in: Don't override --enable-multi-arch.
40479 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
40481         [BZ #6812]
40482         * nscd/hstcache.c (tryagain): Define.
40483         (cache_addhst): Return tryagain not notfound for temporary errors.
40484         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40485         failed.
40487 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
40489         [BZ #10563]
40490         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40491         to make the syscall.
40492         * sysdeps/unix/sysv/linux/setgroups.c: New file.
40494         [BZ #12378]
40495         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40496         and fall back to matching as normal character if the string ends before
40497         the matching ']' is found.  This is what POSIX requires.
40498         * posix/testfnm.c: Adjust test result.
40499         * posix/globtest.sh: Adjust test result.  Add new test.
40500         * posix/tst-fnmatch.input: Likewise.
40501         * posix/tst-fnmatch2.c: Add new test.
40503 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
40505         * elf/Makefile (check-execstack): Revert last change.  Depend on
40506         check-execstack.h.
40507         (check-execstack.h): New target.
40508         (generated): Add check-execstack.h.
40509         * elf/check-execstack.c: Include "check-execstack.h".
40510         (main): Revert last change.
40511         (handle_file): Return zero if GNU_STACK is absent and
40512         DEFAULT_STACK_PERMS doesn't include PF_X.
40514 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
40516         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40517         in child fails because the descriptor is already closed.
40518         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40519         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40520         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40522         [BZ #12397]
40523         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40524         syscall.
40526         [BZ #10484]
40527         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40528         temporary buffer used to handle multi lookups locally.
40529         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40531 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40533         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40534         loader is ld.so.
40536 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
40538         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40539         alignment for SSE2.
40541 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40543         [BZ #12394]
40544         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40545         characters.  When rounding increased number of integer digits recompute
40546         number of groups.
40547         * stdio-common/tst-grouping.c: New file.
40548         * stdio-common/Makefile: Add rules to build and run tst-grouping.
40550 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
40552         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40553         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
40555         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40556         void.
40557         * bits/select.h: Likewise.
40559 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
40561         * po/ja.po: Update from translation team.
40563 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
40565         [BZ #11155]
40566         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40567         implementation just like for lxstat, fxstatat, et al.
40569 2010-12-27  Jim Meyering  <meyering@redhat.com>
40571         [BZ #12348]
40572         * posix/regexec.c (build_trtable): Return failure indication upon
40573         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
40575 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
40577         [BZ #12201]
40578         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40579         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40580         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40581         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40583         [BZ #12207]
40584         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40586         [BZ #12204]
40587         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40588         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40590 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
40592         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40593         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40594         script has SORT_BY_INIT_PRIORITY.
40595         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40596         NO_CTORS_DTORS_SECTIONS is defined.
40597         * elf/soinit.c: Likewise.
40598         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40599         NO_CTORS_DTORS_SECTIONS is defined.
40600         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40601         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40602         * sysdeps/sh/init-first.c: Likewise.
40603         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40605 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
40607         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40608         always use the slow path.
40610 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
40612         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40613         similar rule which adds the sysdep directories to the header search in
40614         order to pick up the correct platform stackinfo.h.
40615         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40616         perform test if it is, otherwise return successfully without testing.
40617         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40618         DEFAULT_STACK_PERMS define in stackinfo.h.
40619         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40620         defined in stackinfo.h.
40621         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40622         DEFAULT_STACK_PERMS defined in stackinfo.h.
40623         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40624         * sysdeps/ia64/stackinfo.h: Likewise.
40625         * sysdeps/s390/stackinfo.h: Likewise.
40626         * sysdeps/sh/stackinfo.h: Likewise.
40627         * sysdeps/sparc/stackinfo.h: Likewise.
40628         * sysdeps/x86_64/stackinfo.h: Likewise.
40629         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40630         PF_X for powerpc64.  Retain PF_X for powerpc32.
40632 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
40634         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40635         accurately.
40636         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40637         GETDENTS_64BIT_ALIGNED.
40639 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
40641         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40643 2010-12-10  Andreas Schwab  <schwab@redhat.com>
40645         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40646         _GNU_SOURCE.
40648         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40649         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40650         Remove __restrict.
40651         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40652         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40654 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
40656         [BZ #11655]
40657         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40658         are initialized.
40660 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
40662         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40664 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
40666         * po/it.po: Update from translation team.
40668 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
40670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40671         unused codes.
40673 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
40675         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40677 2010-11-24  Andreas Schwab  <schwab@redhat.com>
40679         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40680         specially.
40681         (gaih_getanswer_slice): Likewise.
40683 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
40685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40687 2010-05-31  Petr Baudis  <pasky@suse.cz>
40689         [BZ #11149]
40690         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40691         silently even in the chroot mode.
40693 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
40695         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40696         last patch a bit.  Pretty printing
40698 2010-05-31  Petr Baudis <pasky@suse.cz>
40700         [BZ #10085]
40701         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40702         initialization of skip_initgroups_dyn.
40704 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
40706         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40707         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40709 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
40711         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40713 2010-11-11  Andreas Schwab  <schwab@redhat.com>
40715         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40716         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40717         (tst-fnmatch-ENV): Set MALLOC_TRACE.
40718         ($(objpfx)tst-fnmatch-mem): New rule.
40719         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40720         * posix/tst-fnmatch.c (main): Call mtrace.
40722 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
40724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40725         Support Intel processor model 6 and model 0x2c.
40727 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
40729         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40730           signed comparison.
40732 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
40734         [BZ #12205]
40735         * string/test-strncasecmp.c (check_result): New function.
40736         (do_one_test): Use it.
40737         (check1): New function.
40738         (test_main): Use it.
40739         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40740         Support strcasecmp and strncasecmp.
40742 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
40744         [BZ #12194]
40745         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40746         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40748 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40750         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40751         IFUNC support.
40752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40753         memset-x86-64.
40754         * sysdeps/x86_64/multiarch/bzero.S: New file.
40755         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40756         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40757         * sysdeps/x86_64/multiarch/memset.S: New file.
40758         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40760         Set bit_Prefer_SSE_for_memop for Intel processors.
40761         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40762         Define.
40763         (index_Prefer_SSE_for_memop): Define.
40764         (HAS_PREFER_SSE_FOR_MEMOP): Define.
40766 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
40768         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40769         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40771 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
40773         [BZ #12191]
40774         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40775         (__x86_64_raw_data_cache_size_half): Likewise.
40776         (__x86_64_raw_shared_cache_size): Likewise.
40777         (__x86_64_raw_shared_cache_size_half): Likewise.
40779         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40780         (__x86_64_raw_data_cache_size_half): Likewise.
40781         (__x86_64_raw_shared_cache_size): Likewise.
40782         (__x86_64_raw_shared_cache_size_half): Likewise.
40783         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40784         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40785         and __x86_64_raw_shared_cache_size_half.  Round
40786         __x86_64_data_cache_size_half, __x86_64_data_cache_size
40787         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40788         to multiple of 256 bytes.
40790 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
40792         [BZ #12167]
40793         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40794         of inacessible symlinks.  Verify result of symlink before returning it.
40795         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40796         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40798 2010-10-28  Erich Ritz  <erichritz@gmail.com>
40800         * math/math.h (isinf): Fix typo in comment.
40802 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
40804         * po/da.po: Update from translation team.
40806 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
40808         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40809         is added to the list.
40811 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40812             Ulrich Drepper  <drepper@gmail.com>
40814         * elf/dl-object.c (_dl_new_object): Don't append the new object to
40815         the global list here.  Move code to...
40816         (_dl_add_to_namespace_list): ...here.  New function.
40817         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40818         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40819         * elf/dl-load.c (lose): Don't remove the element from the list.
40820         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40821         (_dl_map_object): Likewise.
40823 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
40825         [BZ #12159]
40826         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40827         into all bytes of SSE register.
40828         Patch by Richard Li <richardpku@gmail.com>.
40830 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
40832         [BZ #12140]
40833         * malloc/malloc.c (_int_free): Fill correct number of bytes when
40834         perturbing.
40836 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
40838         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40839         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40840         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40841         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40843         submachine.
40844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40846 2010-10-22  Andreas Schwab  <schwab@redhat.com>
40848         * include/dlfcn.h (__RTLD_SECURE): Define.
40849         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
40850         mode & __RTLD_SECURE instead.
40851         (open_path): Rename preloaded parameter to secure.
40852         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40853         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40854         * elf/dl-deps.c (openaux): Likewise.
40855         * elf/rtld.c (struct map_args): Remove is_preloaded.
40856         (map_doit): Don't use it.
40857         (dl_main): Likewise.
40858         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40859         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40861 2010-09-09  Andreas Schwab  <schwab@redhat.com>
40863         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40864         (sysd-rules-targets): Remove duplicates.
40865         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40866         rtld-%.$o dependency.
40868 2010-10-18  Andreas Schwab  <schwab@redhat.com>
40870         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40871         _dl_map_object do it.
40873 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
40875         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40876         fast fma builtins, define the macros in the C99 standard.
40877         (FP_FAST_FMAF): Likewise.
40878         (FP_FAST_FMAL): Likewise.
40879         * sysdeps/x86_64/bits/mathdef.h: Likewise.
40881         * bits/mathdef.h: Update copyright year.
40882         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40884 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
40886         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40887         builtins, define the macros in the C99 standard.
40888         (FP_FAST_FMAF): Likewise.
40889         (FP_FAST_FMAL): Likewise.
40890         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40891         multiply/add.
40892         (FP_FAST_FMAF): Likewise.
40894 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
40896         [BZ #3268]
40897         * math/libm-test.inc (fma_test): Some new testcases.
40898         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40899         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40900         y and infinite z.  Do multiplication by C already in long double.
40901         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40903         y and infinite z.  Do bitwise or of inexact bit into u.d.
40904         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40905         * sysdeps/i386/fpu/s_fmaf.S: Removed.
40906         * sysdeps/i386/fpu/s_fma.S: Removed.
40907         * sysdeps/i386/fpu/s_fmal.S: Removed.
40909 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
40911         [BZ #3268]
40912         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40913         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40914         computation is not scheduled after fetestexcept.  Fix value
40915         of minimum denormal long double.
40917 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
40919         [BZ #3268]
40920         * math/libm-test.inc (fma_test): Add some more tests.
40921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40922         correctly.
40924 2010-10-15  Andreas Schwab  <schwab@redhat.com>
40926         * scripts/data/localplt-s390-linux-gnu.data: New file.
40927         * scripts/data/localplt-s390x-linux-gnu.data: New file.
40929 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
40931         [BZ #3268]
40932         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40933         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40934         instead of dbl-64.
40935         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40936         inlines.
40937         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40939         if one of x and y is very large and the other is subnormal.
40940         * sysdeps/s390/fpu/s_fmaf.c: New file.
40941         * sysdeps/s390/fpu/s_fma.c: New file.
40942         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40943         * sysdeps/powerpc/fpu/s_fma.S: New file.
40944         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40945         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40946         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40948 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
40950         [BZ #3268]
40951         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40952         fma tests.
40953         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40954         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40955         * sysdeps/i386/i686/multiarch/s_fma.c: Include
40956         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40957         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40958         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40959         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40961 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
40963         [BZ #12078]
40964         * posix/regcomp.c (parse_branch): One more memory leak plugged.
40965         * posix/bug-regex31.input: Add test case.
40967 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40969         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40970         * posix/bug-regex31.input: New file.
40972         [BZ #12078]
40973         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40974         (parse_sub_exp): Fix last change, use postorder.
40976         * posix/bug-regex31.c: New file.
40977         * posix/Makefile: Add rules to build and run bug-regex31.
40979         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40981         [BZ #12078]
40982         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40984         [BZ #12108]
40985         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40986         to have entries in sys_siglist.
40988         [BZ #12093]
40989         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40990         be NULL.
40992 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
40994         [BZ #3268]
40995         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40996         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40997         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40998         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40999         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41000         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41001         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41002         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41003         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41004         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41005         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41006         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41007         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41008         * math/ftestexcept.c (fetestexcept): Likewise.
41009         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41010         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41011         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41012         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41013         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41014         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41015         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41017 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41019         [BZ #12107]
41020         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41021         newline.
41023 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41025         * string/bug-strstr1.c: New file.
41026         * string/Makefile: Add rules to build and run bug-strstr1.
41028 2010-10-05  Eric Blake  <eblake@redhat.com>
41030         [BZ #12092]
41031         * string/str-two-way.h (two_way_long_needle): Always clear memory
41032         when skipping input due to the shift table.
41034 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41036         [BZ #12005]
41037         * malloc/mcheck.c: Handle large requests.
41039         [BZ #12077]
41040         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41041         for strncmp and strncasecmp.
41042         * string/stratcliff.c: Add tests for strcmp and strncmp.
41043         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41045 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41047         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41048         __set_fpscr.
41050 2010-09-30  Andreas Jaeger  <aj@suse.de>
41052         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41053         (CGROUP_SUPER_MAGIC): Define.
41054         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41055         Handle btrfs and cgroup file systems.
41056         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41057         Likewise.
41059 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41061         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41062         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41064 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41066         [BZ #12067]
41067         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41068         trying to locate the ELF header.
41070 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41072         [BZ #11611]
41073         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41074         Mask out sign-bit copies when constructing f_fsid.
41076 2010-09-24  Petr Baudis <pasky@suse.cz>
41078         * debug/stack_chk_fail_local.c: Add missing licence exception.
41079         * debug/warning-nop.c: Likewise.
41081 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41083         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41084         implementing getdents64 using getdents syscall, set d_type if
41085         __ASSUME_GETDENTS32_D_TYPE.
41087 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41089         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41090         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41092 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41094         [BZ #12037]
41095         * posix/unistd.h: Undo change of feature selection for ftruncate from
41096         2010-01-11.
41098 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41100         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41101         detection.
41103 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41105         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41106         fanotify_mark.
41107         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41109 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41111         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41112         variables after CHECK_SP call.
41113         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41115 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41116             Ulrich Drepper  <drepper@redhat.com>
41118         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41119         re-relocationg ld.so.
41120         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41121         _dl_init_paths call.
41122         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41123         here anymore.
41125 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41127         * resolv/res_init.c (__res_vinit): Count the default server we added.
41129 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41130             Ulrich Drepper  <drepper@redhat.com>
41132         [BZ #11968]
41133         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41134         (____longjmp_chk): Use %ebx for saving value across system call.
41135         Add unwind info.
41137 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41139         * manual/Makefile: Don't mix pattern rules with normal rules.
41141 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41143         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41144         operation.
41145         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41146         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41147         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41148         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41150         Likewise.
41152 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41154         [BZ #11979]
41155         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41156         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41158 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41160         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41161         * sysdeps/x86_64/addmul_1.S: Likewise.
41162         * sysdeps/x86_64/lshift.S: Likewise.
41163         * sysdeps/x86_64/mul_1.S: Likewise.
41164         * sysdeps/x86_64/rshift.S: Likewise.
41165         * sysdeps/x86_64/sub_n.S: Likewise.
41166         * sysdeps/x86_64/submul_1.S: Likewise.
41168 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41170         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41171         Define __sched_param instead of SCHED_* and sched_param when
41172         <bits/sched.h> is included with __need_schedparam defined.
41173         * bits/sched.h [__need_schedparam]
41174         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41175         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41176         (__defined_schedparam): Define to 1.
41177         (__sched_param): New structure, identical to sched_param.
41178         (__need_schedparam): Undefine.
41180 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41182         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41183         (epoll_create1): Declare.
41185         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41187 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41189         [BZ #7066]
41190         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41191         shifting retval into place.
41193 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41195         * nis/rpcsvc/nis.h: Update copyright notice.
41196         * nis/rpcsvc/nis.x: Likewise.
41197         * nis/rpcsvc/nis_callback.h: Likewise.
41198         * nis/rpcsvc/nis_callback.x: Likewise.
41199         * nis/rpcsvc/nis_object.x: Likewise.
41200         * nis/rpcsvc/nis_tags.h: Likewise.
41201         * nis/rpcsvc/yp.h: Likewise.
41202         * nis/rpcsvc/yp.x: Likewise.
41203         * nis/rpcsvc/ypupd.h: Likewise.
41204         * nis/yp_xdr.c: Likewise.
41205         * nis/ypupdate_xdr.c: Likewise.
41207         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41208         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41209         (pmap_getport): Use __libc_rpc_getport.
41210         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41211         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41212         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41214 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41217         fanotify_mark.
41219 2010-08-27  Roland McGrath  <roland@redhat.com>
41221         * sysdeps/i386/i686/multiarch/Makefile
41222         (CFLAGS-varshift.c): New variable.
41224 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41226         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41227         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41229         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41231         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41233 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41235         * sysdeps/x86_64/strlen.S: Unroll the loop.
41236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41237         strlen-sse2 strlen-sse2-bsf.
41238         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41239         __strlen_no_bsf if bit_Slow_BSF is set.
41240         (__strlen_sse42): Removed.
41241         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41242         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41244 2010-08-25  Roland McGrath  <roland@redhat.com>
41246         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41247         * sysdeps/x86_64/multiarch/varshift.c: New file.
41248         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41249         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41250         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41251         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41253 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41256         strlen-sse2 strlen-sse2-bsf.
41257         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41258         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41259         (__strlen_sse2): Removed.
41260         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41261         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41262         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41263         bit_Slow_BSF for Atom.
41264         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41265         (index_Slow_BSF): Define.
41266         (HAS_SLOW_BSF): Define.
41268 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41270         [BZ #10851]
41271         * resolv/res_init.c (__res_vinit): When no server address at all
41272         is given default to loopback.
41274 2010-08-24  Roland McGrath  <roland@redhat.com>
41276         * configure.in: Remove config-name.h generation.
41277         * configure: Regenerated.
41278         * config-name.in: File removed.
41279         * scripts/config-uname.sh: New file.
41280         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41281         ($(objdir)config-name.h): New target.
41283         * sunrpc/rpc_parse.h: Avoid nested comment.
41285 2010-08-24  Richard Henderson  <rth@redhat.com>
41286             Ulrich Drepper  <drepper@redhat.com>
41287             H.J. Lu  <hongjiu.lu@intel.com>
41289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41291         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41292         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41293         _mm_alignr_epi8 with _mm_loadu_si128.
41294         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41295         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41296         (__m128i_shift_right): Removed.
41297         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41298         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41299         * sysdeps/x86_64/multiarch/varshift.h: New file.
41300         * sysdeps/x86_64/multiarch/varshift.S: New file.
41302 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
41304         * configure.in: Move assembler checks to before sysdep dir checking.
41306 2010-08-20  Petr Baudis  <pasky@suse.cz>
41308         * LICENSES: Sync the sunrpc license.
41310 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
41312         * sunrpc/auth_des.c: Update copyright notice once again.
41313         * sunrpc/auth_none.c: Likewise.
41314         * sunrpc/auth_unix.c: Likewise.
41315         * sunrpc/authdes_prot.c: Likewise.
41316         * sunrpc/authuxprot.c: Likewise.
41317         * sunrpc/bindrsvprt.c: Likewise.
41318         * sunrpc/clnt_gen.c: Likewise.
41319         * sunrpc/clnt_perr.c: Likewise.
41320         * sunrpc/clnt_raw.c: Likewise.
41321         * sunrpc/clnt_simp.c: Likewise.
41322         * sunrpc/clnt_tcp.c: Likewise.
41323         * sunrpc/clnt_udp.c: Likewise.
41324         * sunrpc/clnt_unix.c: Likewise.
41325         * sunrpc/des_crypt.c: Likewise.
41326         * sunrpc/des_soft.c: Likewise.
41327         * sunrpc/get_myaddr.c: Likewise.
41328         * sunrpc/getrpcport.c: Likewise.
41329         * sunrpc/key_call.c: Likewise.
41330         * sunrpc/key_prot.c: Likewise.
41331         * sunrpc/openchild.c: Likewise.
41332         * sunrpc/pm_getmaps.c: Likewise.
41333         * sunrpc/pm_getport.c: Likewise.
41334         * sunrpc/pmap_clnt.c: Likewise.
41335         * sunrpc/pmap_prot.c: Likewise.
41336         * sunrpc/pmap_prot2.c: Likewise.
41337         * sunrpc/pmap_rmt.c: Likewise.
41338         * sunrpc/rpc/auth.h: Likewise.
41339         * sunrpc/rpc/auth_unix.h: Likewise.
41340         * sunrpc/rpc/clnt.h: Likewise.
41341         * sunrpc/rpc/des_crypt.h: Likewise.
41342         * sunrpc/rpc/key_prot.h: Likewise.
41343         * sunrpc/rpc/netdb.h: Likewise.
41344         * sunrpc/rpc/pmap_clnt.h: Likewise.
41345         * sunrpc/rpc/pmap_prot.h: Likewise.
41346         * sunrpc/rpc/pmap_rmt.h: Likewise.
41347         * sunrpc/rpc/rpc.h: Likewise.
41348         * sunrpc/rpc/rpc_des.h: Likewise.
41349         * sunrpc/rpc/rpc_msg.h: Likewise.
41350         * sunrpc/rpc/svc.h: Likewise.
41351         * sunrpc/rpc/svc_auth.h: Likewise.
41352         * sunrpc/rpc/types.h: Likewise.
41353         * sunrpc/rpc/xdr.h: Likewise.
41354         * sunrpc/rpc_clntout.c: Likewise.
41355         * sunrpc/rpc_cmsg.c: Likewise.
41356         * sunrpc/rpc_common.c: Likewise.
41357         * sunrpc/rpc_cout.c: Likewise.
41358         * sunrpc/rpc_dtable.c: Likewise.
41359         * sunrpc/rpc_hout.c: Likewise.
41360         * sunrpc/rpc_main.c: Likewise.
41361         * sunrpc/rpc_parse.c: Likewise.
41362         * sunrpc/rpc_parse.h: Likewise.
41363         * sunrpc/rpc_prot.c: Likewise.
41364         * sunrpc/rpc_sample.c: Likewise.
41365         * sunrpc/rpc_scan.c: Likewise.
41366         * sunrpc/rpc_scan.h: Likewise.
41367         * sunrpc/rpc_svcout.c: Likewise.
41368         * sunrpc/rpc_tblout.c: Likewise.
41369         * sunrpc/rpc_util.c: Likewise.
41370         * sunrpc/rpc_util.h: Likewise.
41371         * sunrpc/rpcinfo.c: Likewise.
41372         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41373         * sunrpc/rpcsvc/key_prot.x: Likewise.
41374         * sunrpc/rpcsvc/klm_prot.x: Likewise.
41375         * sunrpc/rpcsvc/mount.x: Likewise.
41376         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41377         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41378         * sunrpc/rpcsvc/rex.x: Likewise.
41379         * sunrpc/rpcsvc/rstat.x: Likewise.
41380         * sunrpc/rpcsvc/rusers.x: Likewise.
41381         * sunrpc/rpcsvc/sm_inter.x: Likewise.
41382         * sunrpc/rpcsvc/spray.x: Likewise.
41383         * sunrpc/rpcsvc/yppasswd.x: Likewise.
41384         * sunrpc/rtime.c: Likewise.
41385         * sunrpc/svc.c: Likewise.
41386         * sunrpc/svc_auth.c: Likewise.
41387         * sunrpc/svc_authux.c: Likewise.
41388         * sunrpc/svc_raw.c: Likewise.
41389         * sunrpc/svc_run.c: Likewise.
41390         * sunrpc/svc_simple.c: Likewise.
41391         * sunrpc/svc_tcp.c: Likewise.
41392         * sunrpc/svc_udp.c: Likewise.
41393         * sunrpc/svc_unix.c: Likewise.
41394         * sunrpc/svcauth_des.c: Likewise.
41395         * sunrpc/xcrypt.c: Likewise.
41396         * sunrpc/xdr.c: Likewise.
41397         * sunrpc/xdr_array.c: Likewise.
41398         * sunrpc/xdr_float.c: Likewise.
41399         * sunrpc/xdr_mem.c: Likewise.
41400         * sunrpc/xdr_rec.c: Likewise.
41401         * sunrpc/xdr_ref.c: Likewise.
41402         * sunrpc/xdr_sizeof.c: Likewise.
41403         * sunrpc/xdr_stdio.c: Likewise.
41405         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41406         handling.
41408 2010-08-19  Andreas Schwab  <schwab@redhat.com>
41410         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41412 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
41414         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41415         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41416         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41417         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41418         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41419         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41420         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41421         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41422         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41423         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41424         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41425         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41426         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41427         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41429 2010-07-26  Anton Blanchard  <anton@samba.org>
41431         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41432         * malloc/arena.c (heap_trim): Likewise.
41434 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
41436         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41437         here.  Not...
41438         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41439         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41441 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41443         * sysdeps/i386/elf/Makefile: New file.
41445 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41447         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41448         from fanotify_init.
41449         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41450         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41452 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
41454         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41455         of strncasecmp_l.
41456         * sysdeps/multiarch/strcmp.S: Likewise.
41458 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
41460         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41461         strncase_l-nonascii.
41462         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41463         Add strncase_l-ssse3.
41464         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41465         * sysdeps/x86_64/strcmp.S: Likewise.
41466         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41467         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41468         * sysdeps/x86_64/strncase.S: New file.
41469         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41470         * sysdeps/x86_64/strncase_l.S: New file.
41471         * string/Makefile (strop-tests): Add strncasecmp.
41472         * string/test-strncasecmp.c: New file.
41474         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41475         warning.
41477         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41478         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41480 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41482         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41484 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
41486         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41487         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41488         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41490 2010-05-01  Alan Modra  <amodra@gmail.com>
41492         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41493         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41494         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41495         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41496         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41497         tidying.  Don't tail-call __sigjmp_save for static lib.
41498         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41499         save location.
41500         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41501         (CALL_MCOUNT): Add eh info, and nop after bl.
41502         (TAIL_CALL_SYSCALL_ERROR): New macro.
41503         (PSEUDO_RET): Use it.
41504         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41505         Correct save location of integer regs and cr.
41506         (_dl_profile_resolve): Correct cr save location.  Delete nops
41507         after bl when SHARED.  Reduce cfi size a little by better
41508         placement of cfi directives.
41509         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41510         make a stack frame.  Instead use parm save area as a temp.
41511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41512         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
41513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41514         Don't make a stack frame for parent, use parm save area.
41515         Increase child stack frame to 112 bytes.  Don't save unused reg,
41516         and adjust reg usage.  Set up cfi on error recovery and
41517         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41519         (__makecontext): Add dummy nop after jump to exit.
41520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41521         Use correct parm save area and cr save, reduce stack frame.
41522         Correct cfi for possible PSEUDO_RET frame setup.
41523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41524         Branch to local label emitted by PSEUDO_RET rather than
41525         __syscall_error.
41527 2010-08-12  Andreas Schwab  <schwab@redhat.com>
41529         [BZ #11904]
41530         * locale/programs/locale.c (print_assignment): New function.
41531         (show_locale_vars): Use it.
41533 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
41535         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41536         field.
41537         (struct statfs64): Likewise.
41538         (_STATFS_F_FLAGS): Define.
41539         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41540         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41541         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41542         (ST_VALID): Define locally.
41543         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41544         __statvfs_getflags, use the provided value.
41545         * sysdeps/unix/sysv/linux/kernel-features.h: Define
41546         __ASSUME_STATFS_F_FLAGS.
41548         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41550         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41551         Add sys/fanotify.h.
41552         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41553         fanotify_mask for GLIBC_2.13.
41554         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41555         fanotify_init and fanotify_mark.
41556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41557         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41559         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41560         Add prlimit.
41561         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41562         prlimit64 for GLIBC_2.13.
41563         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41564         prlimit64.
41565         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41566         syscall.
41567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41568         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41569         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41570         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
41572         add prlimit alias.
41573         * sysdeps/unix/sysv/linux/prlimit.c: New file.
41575         [BZ #11903]
41576         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41577         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41579         * nss/Makefile: Add rules to build and run tst-nss-test1.
41580         * shlib-versions: Add entry for libnss_test1.
41581         * nss/nss_test1.c: New file.
41582         * nss/tst-nss-test1.c: New file.
41584         * nss/nsswitch.c (__nss_database_custom): Define new variable.
41585         (__nss_configure_lookup): Set appropriate entry in
41586         __nss_configure_lookup to true.
41587         * nss/nsswitch.h: Define enum with indeces of databases in
41588         databases and __nss_database_custom arrays.  Declare
41589         __nss_database_custom.
41590         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41591         to avoid using nscd when custom rules are installed.
41592         * nss/getXXbyYY_r.c: Likewise.
41593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41595         * nss/nss_files/files-parse.c: Whitespace fixes.
41597 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
41599         [BZ #11883]
41600         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41601         * posix/fnmatch_loop.c: Likewise.
41603 2010-07-17  Andi Kleen  <ak@linux.intel.com>
41605         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41606         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41607         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41608         * Versions.def [GLIBC_2.13]: Add.
41610 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
41612         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41613         Also fail if tpwd after pwuid call is NULL.
41615 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41617         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41618         when converting to ms.
41620 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41622         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41623         EOPNOTSUPP errors with ENOTTY.
41624         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41625         EOPNOTSUPP errors with ENOTTY.
41627 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
41629         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41630         Add strcasecmp_l-ssse3.
41631         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41632         strcasecmp.
41633         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41634         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41635         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41637 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
41639         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41641         * string/Makefile (strop-tests): Add strcasecmp.
41642         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41643         strcasecmp_l-nonascii.
41644         (gen-as-const-headers): Add locale-defines.sym.
41645         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41646         * sysdeps/x86_64/strcasecmp.S: New file.
41647         * sysdeps/x86_64/strcasecmp_l.S: New file.
41648         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41649         * sysdeps/x86_64/locale-defines.sym: New file.
41650         * string/test-strcasecmp.c: New file.
41652         * string/test-strcasestr.c: Test both ends of the range of characters.
41653         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41655 2010-07-29  Roland McGrath  <roland@redhat.com>
41657         [BZ #11856]
41658         * manual/locale.texi (Yes-or-No Questions): Fix example code.
41660 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
41662         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41663         for ld.so.
41665 2010-07-27  Andreas Schwab  <schwab@redhat.com>
41667         * manual/memory.texi (Malloc Tunable Parameters): Document
41668         M_PERTURB.
41670 2010-07-26  Roland McGrath  <roland@redhat.com>
41672         [BZ #11840]
41673         * configure.in (-fgnu89-inline check): Set and substitute
41674         gnu89_inline, not libc_cv_gnu89_inline.
41675         * configure: Regenerated.
41676         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41678 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
41680         * string/test-strnlen.c: New file.
41681         * string/Makefile (strop-tests): Add strnlen.
41682         * string/tester.c (test_strnlen): Add a few more test cases.
41683         * string/tst-strlen.c: Better error reporting.
41685         * sysdeps/x86_64/strnlen.S: New file.
41687 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
41689         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41690         lower-latency instructions.
41692 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
41694         * string/test-strcasestr.c: New file.
41695         * string/test-strstr.c: New file.
41696         * string/Makefile (strop-tests): Add strstr and strcasestr.
41697         * string/str-two-way.h: Don't undefine MAX.
41698         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41700 2010-07-21  Andreas Schwab  <schwab@redhat.com>
41702         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41703         strcasestr-nonascii.
41704         (CFLAGS-strcasestr-nonascii.c): Define.
41705         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41706         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41707         Remove unused attribute.
41709 2010-07-20  Roland McGrath  <roland@redhat.com>
41711         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41712         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
41713         ld.so.cache was broken.  With it, there is no way to disable dsocaps
41714         like LD_HWCAP_MASK can disable hwcaps.
41716 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41718         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41720 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
41722         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41723         call in strcasestr.
41724         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41725         __strcasestr_sse42_nonascii.
41726         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41727         strcasestr-nonascii.c.
41728         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41730 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
41732         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41733         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41734         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41735         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41737 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
41739         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41740         fcntl.
41742 2010-07-06  Andreas Schwab  <schwab@redhat.com>
41744         [BZ #11577]
41745         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41746         dl_signal_cerror.
41748 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
41750         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41751         _PC_PIPE_BUF using F_GETPIPE_SZ.
41753 2010-07-05  Roland McGrath  <roland@redhat.com>
41755         * manual/arith.texi (Rounding Functions): Fix rint description
41756         implicit in round description.
41758 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
41760         * elf/Makefile: Fix linking for a few tests to make recent linker
41761         happy.
41763 2010-06-30  Andreas Schwab  <schwab@redhat.com>
41765         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41766         $(common-objpfx)libc_nonshared.a.
41768 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
41770         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41771         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41772         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41773         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41774         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41775         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41776         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41777         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41792         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41793         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41794         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41795         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41796         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41797         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41798         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41799         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41800         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41801         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41802         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41803         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41819 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
41821         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41822         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
41823         * string/memmove.c (memmove): Renamed to ...
41824         (MEMMOVE): ...this.  Default to memmove.
41825         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41826         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41827         (END_CHK): Define.
41828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41829         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41830         mempcpy-ssse3-back memmove-ssse3-back.
41831         * sysdeps/x86_64/multiarch/bcopy.S: New file .
41832         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41833         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41834         * sysdeps/x86_64/multiarch/memcpy.S: New file.
41835         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41836         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41837         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41838         * sysdeps/x86_64/multiarch/memmove.c: New file.
41839         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41840         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41841         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41842         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41843         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41844         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41845         Define.
41846         (index_Fast_Copy_Backward): Define.
41847         (HAS_ARCH_FEATURE): Define.
41848         (HAS_FAST_REP_STRING): Define.
41849         (HAS_FAST_COPY_BACKWARD): Define.
41851 2010-06-21  Andreas Schwab  <schwab@redhat.com>
41853         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41854         Restore proper fallback handling.
41856 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
41858         [BZ #11701]
41859         * posix/group_member.c (__group_member): Correct checking loop.
41861         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41862         OOM in getpwuid_r correctly.  Return error number when the caller
41863         should return, otherwise -1.
41864         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41865         call returning > 0 value.
41866         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41868 2010-06-07  Andreas Schwab  <schwab@redhat.com>
41870         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41871         libc_nonshared.a from targets in modules-names.
41873 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
41875         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41876         requires it.
41878 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
41880         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41881         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41882         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41883         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41885 2010-06-02  Andreas Schwab  <schwab@redhat.com>
41887         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41889 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
41891         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41892         and F_GETPIPE_SZ.
41893         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41894         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41895         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41896         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41897         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41898         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41900 2010-06-14  Roland McGrath  <roland@redhat.com>
41902         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41904 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
41906         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41907         __REDIRECT followed by __THROW.
41908         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41909         * posix/getopt.h (getopt): Likewise.
41911 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41913         * hurd/lookup-at.c (__file_name_lookup_at): Accept
41914         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
41915         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41916         in AT_FLAGS.
41917         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41918         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41920 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
41922         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41924 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
41926         [BZ #11640]
41927         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41928         Properly check family and model.
41930 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
41932         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41934 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
41936         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41938 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
41940         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41941         symbol reference.
41943 2010-05-19  Andreas Schwab  <schwab@redhat.com>
41945         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41946         symbol reference.
41948 2010-05-21  Andreas Schwab  <schwab@redhat.com>
41950         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41951         and internal_recvmmsg.
41952         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41953         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41954         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41955         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41957         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41958         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41959         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41961 2010-05-20  Andreas Schwab  <schwab@redhat.com>
41963         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41965 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
41967         POWER7 optimizations.
41968         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41969         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41971 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
41973         * version.h: Update for 2.13 development version.
41975 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
41977         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41978         exceptions.  Return 0.
41980 2010-05-07  Roland McGrath  <roland@redhat.com>
41982         * elf/ldconfig.c (main): Add a const.
41984 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
41986         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41987         (args_options): Add no-idn option.
41988         (ahosts_keys_int): Add idn_flags to ai_flags.
41989         (parse_option): Handle 'i' option to clear idn_flags.
41991         * malloc/malloc.c (_int_free): Possible race in the most recently
41992         added check.  Only act on the data if no current modification
41993         happened.
41995 See ChangeLog.17 for earlier changes.