Fix handling LC_CTYPE nonascii-case fallback in i686 SSE4.2 and SSSE3 strcasecmp...
[glibc.git] / ChangeLog
blob89f2fef590347424cbf0740fe04e2d728b167db6
1 2013-08-27  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7         (__strncasecmp_ssse3) [PIC]: Likewise.
9 2013-08-26  Roland McGrath  <roland@hack.frob.com>
11         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14         instead of explicitly declaring xdecrypt.
15         * nis/nss_nis/nis-publickey.c: Likewise.
17 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19         [BZ #15890]
20         * nscd/aicache.c: Include res_hconf.h.
21         (addhstaiX): Initialize res_hconf.
23 2013-08-26  Andreas Schwab  <schwab@suse.de>
25         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30         * nscd/aicache.c (addhstaiX): Fix indentation.
32 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
34         * configure.ac: Quote $build_pt_chown test.
35         * configure: Regenerated.
37 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39         [BZ #15532]
40         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41         * math/s_cexpf.c (__cexpf): Likewise.
42         * math/s_cexpl.c (__cexpl): Likewise.
43         * math/libm-test.inc (cexp_test_data): Correct expected return
44         value for NaN + i0.  Add another test.
46 2013-08-22  David S. Miller  <davem@davemloft.net>
48         * po/ca.po: Update Catalan translation from translation project.
49         * po/uk.po: Add Ukrainian translations from translation project.
51 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
53         [BZ #15797]
54         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55         is infinite, not alongside NaN test.
56         * math/s_fdimf.c (__fdimf): Likewise.
57         * math/s_fdiml.c (__fdiml): Likewise.
58         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
59         errno is unchanged.
61 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
63         * argp/argp-help.c: Fix typos.
64         * crypt/speeds.c: Likewise.
65         * csu/check_fds.c: Likewise.
66         * elf/dl-load.c: Likewise.
67         * elf/dl-open.c: Likewise.
68         * elf/reldep3.c: Likewise.
69         * elf/reldep.c: Likewise.
70         * elf/sprof.c: Likewise.
71         * iconv/iconv_charmap.c: Likewise.
72         * iconv/skeleton.c: Likewise.
73         * iconv/strtab.c: Likewise.
74         * io/lockf64.c: Likewise.
75         * libio/libioP.h: Likewise.
76         * resolv/gai_notify.c: Likewise.
77         * resolv/ns_name.c: Likewise.
78         * resolv/ns_samedomain.c: Likewise.
79         * resolv/res_send.c: Likewise.
80         * stdlib/random.c: Likewise.
81         * sunrpc/rpc/xdr.h: Likewise.
82         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
83         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
84         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
86         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
89         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
90         * sysdeps/mach/hurd/check_fds.c: Likewise.
91         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
92         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
93         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
94         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
95         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
96         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
97         * sysdeps/pthread/aio_notify.c: Likewise.
98         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
99         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
100         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
101         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
102         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
104 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
106         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
107         version if bit_Slow_SSE4_2 is set.
108         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
109         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
111 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
113         [BZ #15867]
114         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
115         trampoline stack frame information.
116         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
117         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
118         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
119         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
120         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
121         * sysdeps/unix/sysv/linux/powerpc/init-first.c
122         (_libc_vdso_platform_setup): Initialize the signal trampolines.
123         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
124         sa_flags value.
125         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
126         interrupting a syscall and set with option SA_SIGINFO.
128 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
130         [BZ #15531]
131         * math/s_cproj.c (__cproj): Only return an infinity if one part of
132         argument is infinite.
133         * math/s_cprojf.c (__cprojf): Likewise.
134         * math/s_cprojl.c (__cprojl): Likewise.
135         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
136         * math/libm-test.inc (cproj_test_data): Add more tests.
138         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
140         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
141         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
142         size.  Use __ffs to determine corresponding shift.
144 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
145             Roland McGrath  <roland@hack.frob.com>
147         * Makefile (INSTALL): Remove trailing blank lines from output of
148         makeinfo.
150 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
152         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
153         Align 32 bit compat elf_greg to 8 bytes.
155 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
157         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
159 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
161         * string/strcoll_l.c (coll_seq): New structure.
162         (get_next_seq_cached): New function.
163         (get_next_seq): New function.
164         (do_compare): New function.
165         (STRCOLL): Use GNU style definition.  Simplify implementation
166         by using get_next_seq, get_next_seq_cached and do_compare.
168 2013-08-16  Florian Weimer  <fweimer@redhat.com>
170         [BZ #14699]
171         CVE-2013-4237
172         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
173         member.
174         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
175         member.
176         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
177         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
178         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
179         conditional.
180         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
181         GETDENTS_64BIT_ALIGNED.
182         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
183         * manual/filesys.texi (Reading/Closing Directory): Document
184         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
185         strongly.
186         * manual/conf.texi (Limits for Files): Add portability note to
187         NAME_MAX, PATH_MAX.
188         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
190 2013-08-13  Andreas Schwab  <schwab@suse.de>
192         [BZ #15749]
193         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
194         of fabs.
195         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
196         LDBL_MAX_EXP >= 16384]: Add tests for it.
198 2013-08-12  David S. Miller  <davem@davemloft.net>
200         * version.h (RELEASE): Set to "development".
201         (VERSION): Set to "2.18.90".
202         * NEWS: Add 2.19 section.
204 2013-08-03  David S. Miller  <davem@davemloft.net>
206         * po/ko.po: Update Korean translation from translation project.
208 2013-08-01  David S. Miller  <davem@davemloft.net>
210         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
211         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
212         Bilka.
214 2013-07-30  David S. Miller  <davem@davemloft.net>
216         * po/fr.po: Update French translation from translation project.
218 2013-07-28  David S. Miller  <davem@davemloft.net>
220         * po/cs.po: Update Czech translation from translation project.
222         * po/sv.po: Update Swedish translation from translation project.
224 2013-07-27  David S. Miller  <davem@davemloft.net>
226         * po/eo.po: Update Esperanto translation from translation project.
228         * po/vi.po: Update Vietnamese translation from translation project.
230         * po/de.po: Update German translation from translation project.
232 2013-07-26  David S. Miller  <davem@davemloft.net>
234         * po/bg.po: Update Bulgarian translation from translation project.
236         * po/nl.po: Update Dutch translation from translation project.
237         * po/pl.po: Update Polish translation from translation project.
238         * po/ru.po: Update Russian translation from translation project.
240 2013-07-24  David S. Miller  <davem@davemloft.net>
242         * po/libc.pot: Update.
244 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
246         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
247         variable page size.
248         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
249         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
250         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
252 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
254         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
256 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
257             Andreas Schwab  <schwab@suse.de>
258             Roland McGrath  <roland@hack.frob.com>
259             Joseph Myers  <joseph@codesourcery.com>
260             Carlos O'Donell  <carlos@redhat.com>
262         [BZ #15755]
263         * config.h.in: Define HAVE_PT_CHOWN.
264         * config.make.in (build-pt-chown): New variable.
265         * configure.in (--enable-pt_chown): New configure option.
266         * configure: Regenerate.
267         * login/Makefile: Include Makeconfig.  Build pt_chown only if
268         build-pt-chown is enabled.
269         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
270         pt_chown to fix pty ownership.
271         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
272         CLOSE_ALL_FDS.
273         * manual/install.texi (Configuring and compiling): Mention
274         --enable-pt_chown. Add @findex for grantpt.
275         * INSTALL: Regenerate.
277 2013-07-20  David S. Miller  <davem@davemloft.net>
279         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
280         difference between 32-bit and 64-bit.
282 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
284         [BZ #15711]
285         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
286         Avoid system header dependency with -ffreestanding.
287         ($(objpfx)bits/syscall%d): Likewise.
289 2013-07-13  David S. Miller  <davem@davemloft.net>
291         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
292         underflows from atanl/atan2l due to bug 15319.
293         (casinh_test_data): Likewise.
295 2013-07-07  David S. Miller  <davem@davemloft.net>
297         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
299 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
301         * sysdeps/i386/fpu/libm-test-ulps: Update.
302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
304 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
306         * configure.in (--enable-lock-elision): Fix message text.
307         * INSTALL: Regenerate.
308         * configure: Regenerate.
310 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
314 2013-07-03  Andreas Jaeger  <aj@suse.de>
316         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
317         define.
318         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
319         (ptrace_peeksiginfo_args): Add.
320         (__ptrace_peeksiginfo_flags): Add.
321         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
322         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
323         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
325 2013-07-03  Allan McRae  <allan@archlinux.org>
327         * sysdeps/i386/fpu/libm-test-ulps: Update.
329 2013-07-02  David S. Miller  <davem@davemloft.net>
331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
333 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
337 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
339         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
342 2013-07-02  Andi Kleen <ak@linux.intel.com>
344         * config.h.in (ENABLE_LOCK_ELISION): Add.
345         * configure.in (--enable-lock-elision): Add option.
346         * manual/install.texi: Document --enable lock elision.
347         * configure: Regenerate
348         * INSTALL: Regenerate.
350 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
352         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
353         SSE4.2 strcasecmp for libc.a.
354         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
356 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
358         [BZ #13304]
359         * soft-fp/op-common.h (_FP_FMA): New macro.
360         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
361         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
362         (_FP_MUL_MEAT_1_imm): ... here.
363         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
364         (_FP_MUL_MEAT_1_wide): ... here.
365         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
366         (_FP_MUL_MEAT_1_hard): ... here.
367         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
368         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
369         (_FP_MUL_MEAT_2_wide): ... here.
370         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
371         (_FP_MUL_MEAT_2_wide_3mul): ... here.
372         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
373         (_FP_MUL_MEAT_2_gmp): ... here.
374         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
375         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
376         (_FP_MUL_MEAT_4_wide): ... here.
377         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
378         (_FP_MUL_MEAT_4_gmp): ... here.
379         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
380         (_FP_WFRACBITS_DW_S): Likewise.
381         (_FP_WFRACXBITS_DW_S): Likewise.
382         (_FP_HIGHBIT_DW_S): Likewise.
383         (FP_FMA_S): Likewise.
384         (_FP_FRAC_HIGH_DW_S): Likewise.
385         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
386         (_FP_WFRACBITS_DW_D): Likewise.
387         (_FP_WFRACXBITS_DW_D): Likewise.
388         (_FP_HIGHBIT_DW_D): Likewise.
389         (FP_FMA_D): Likewise.
390         (_FP_FRAC_HIGH_DW_D): Likewise.
391         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
392         (_FP_WFRACBITS_DW_E): Likewise.
393         (_FP_WFRACXBITS_DW_E): Likewise.
394         (_FP_HIGHBIT_DW_E): Likewise.
395         (FP_FMA_E): Likewise.
396         (_FP_FRAC_HIGH_DW_E): Likewise.
397         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
398         (_FP_WFRACBITS_DW_Q): Likewise.
399         (_FP_WFRACXBITS_DW_Q): Likewise.
400         (_FP_HIGHBIT_DW_Q): Likewise.
401         (FP_FMA_Q): Likewise.
402         (_FP_FRAC_HIGH_DW_Q): Likewise.
403         * soft-fp/fmasf4.c: New file.
404         * soft-fp/fmadf4.c: Likewise.
405         * soft-fp/fmatf4.c: Likewise.
407 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
410         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
411         Silvermont.
412         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
413         macro.
414         (index_Slow_SSE4_2): Likewise.
415         (index_Prefer_PMINUB_for_stringop): Likewise.
416         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
417         bit_Slow_SSE4_2 is set.
418         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
419         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
421 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
423         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
424         rtld_global._dl_hwcap2.
425         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
426         POWER8.
427         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
428         POWER8 feature descriptions defined in _dl_hwcap2.
429         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
430         string handling for POWER8 feature bits.
431         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
432         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
433         _dl_powerpc_cap_flags.
434         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
435         * sysdeps/powerpc/rtld-global-offsets.sym
436         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
437         _dl_hwcap2 in the rtld_global_ro structure.
439 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
441         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
442         hardware capabilities in support of AT_HWCAP2.
443         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
444         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
445         GLRO(dl_hwcap2).
446         (_dl_show_auxv): Add support for calling _dl_procinfo to display
447         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
448         explicitly the unknown a_type display mechanism is used.
449         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
450         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
451         struct member.
452         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
453         to macro prototype for AT_HWCAP2 support.
454         * sysdeps/i386/dl-procinfo.h: Likewise.
455         * sysdeps/s390/dl-procinfo.h: Likewise.
456         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
457         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
458         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
459         return -1 for unknown a_type display fallback.
460         * sysdeps/sparc/dl-procinfo.h: Likewise.
461         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
462         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
464 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
466         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
467         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
469 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
471         [BZ #12492]
472         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
473         mprotect making __stack_prot writable.
475 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
476             Joseph Myers  <joseph@codesourcery.com>
478         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
479         as being properly aligned.
481 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
483         * dlfcn/modstatic5.c: New file.
484         * dlfcn/tststatic5.c: New file.
485         * dlfcn/Makefile (tests): Add tststatic5.
486         (tests-static): Likewise.
487         (modules-names): Add modstatic5.
488         (tststatic5-ENV): New variable.
489         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
491         [BZ #15022]
492         * elf/dl-support.c (_dl_main_map): New variable.
493         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
494         (_dl_nns, _dl_load_adds): Set to 1.
495         (_dl_initial_searchlist): Refer to _dl_main_map.
496         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
497         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
498         call to _dl_get_origin.
499         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
500         around call_map.
501         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
502         * dlfcn/modstatic3.c: New file.
503         * dlfcn/tststatic3.c: New file.
504         * dlfcn/tststatic4.c: New file.
505         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
506         (tests-static): Likewise.
507         (modules-names): Add modstatic3.
508         (tststatic3-ENV, tststatic4-ENV): New variables.
509         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
510         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
512 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
514         * configure.in (CC): Require GCC version 4.4 or later.
515         * configure: Regenerated.
516         * manual/install.texi (Tools for Compilation): Update GCC version
517         requirement.
518         * INSTALL: Regenerated.
520 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
522         [BZ #15674]
523         * string/test-memcmp.c (check2): New.
524         (main): Call check2.
526         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
528 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
530         [BZ #15022]
531         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
532         over to...
533         (dl_open_worker) [!SHARED]: ... here.
535 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
537         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
539 2013-06-25  Richard Henderson  <rth@redhat.com>
541         * locale/programs/locarchive.c: Include <libc-internal.h>
543 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
545         * manual/texinfo.tex: Update to version 2013-06-21.17, with
546         trailing whitespace removed.
548 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
550         [BZ #10283]
551         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
552         * locale/programs/locarchive.c: Include libc-mmap.h.
553         (prepare_address_space): Take two new outputs (the mmap base and len).
554         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
555         values.
556         (create_archive): Declare new mmap base and len values for
557         prepare_address_space, and store the result in ah.
558         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
559         (enlarge_archive): If ah->mmap_base is not NULL, use that and
560         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
561         Declare new mmap base and len values for
562         prepare_address_space, and store the result in new_ah.
563         (open_archive): Declare new mmap base and len values for
564         prepare_address_space, and store the result in ah.
565         (close_archive): If ah->mmap_base is not NULL, use that and
566         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
567         * sysdeps/generic/libc-mmap.h: New file.
569 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
571         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
572         (ALIGN_UP): Likewise.
573         (PTR_ALIGN_DOWN): Likewise.
574         (PTR_ALIGN_UP): Likewise.
576 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
578         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
579         entry mapped to PPC_PLATFORM_POWER8.
580         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
581         POWER8.
582         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
583         (_dl_string_platform): Add case for exporting platform position for
584         POWER8.
585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
586         search path to sysdeps/powerpc/powerpc32/power8 directory.
587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
588         search path to sysdeps/powerpc/powerpc64/power8 directory.
589         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
590         power7 directories.
591         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
592         power7 directories.
594 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
596         * INSTALL: Regenerate.
598         * nscd/connections.c (nscd_init): Fix comment.
600 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
602         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
604         [BZ #15667]
605         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
606         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
608 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
610         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
611         DL_DST_REQ_STATIC.
612         (DL_DST_REQ_STATIC): Remove macro.
614 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
616         [BZ #7006]
617         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
618         with a shift of 0 bits.
620 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
622         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
623         $(tststatic-ENV).
625 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
627         [BZ #15655]
628         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
630 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
632         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
633         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
634         accepts -fno-tree-loop-distribute-patterns.
635         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
636         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
637         recursive call.
638         * string/memset.c (memset): Likewise.
639         * string/test-memmove.c (simple_memmove): Disable loop transformation
640         to library calls.
641         * string/test-memset.c (simple_memset): Likewise.
642         * benchtests/bench-memmove.c (simple_memmove): Likewise.
643         * benchtests/bench-memset.c (simple_memset): Likewise.
644         * configure: Regenerated.
646 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
648         * math/test-misc.c (main): Ignore fesetround failure when failures
649         of subsequent rounding tests would be ignored.
651         [BZ #15654]
652         * math/fedisblxcpt.c (fedisableexcept): Return 0.
653         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
654         * math/fegetenv.c (__fegetenv): Return 0.
655         * math/fegetexcept.c (fegetexcept): Return 0.
656         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
657         FE_TONEAREST.
658         * math/feholdexcpt.c (feholdexcept): Return 0.
659         * math/fesetenv.c (__fesetenv): Return 0.
660         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
661         argument FE_TONEAREST.
662         * math/feupdateenv.c (__feupdateenv): Return 0.
663         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
665 2013-06-18  Roland McGrath  <roland@hack.frob.com>
667         * elf/rtld-Rules (rtld-compile-command.S): New variable.
668         (rtld-compile-command.s, rtld-compile-command.c): New variables.
669         ($(objpfx)rtld-%.os rules): Use them.
671 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
673         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
674         fields.
676 2013-06-17  Roland McGrath  <roland@hack.frob.com>
678         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
679         length of target pattern, then descending length of dependency pattern.
680         * configure.in (AWK): Require gawk 3.1.2 or newer.
681         * manual/install.texi (Tools for Compilation): Say that we do.
682         * configure: Regenerated.
684         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
685         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
686         * scripts/sysd-rules.awk: ... this new script.
687         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
688         than a glob-style pattern.
690 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
692         * math/test-misc.c (main): Do not treat incorrectly rounded
693         conversions as failure unless ROUNDING_TESTS passes.
695 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
697         [BZ #15631]
698         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
699         restore exception state around main square root computation, then
700         check for inexactness explicitly.
702         * math/libm-test.inc (fma_test_data): Add another test.
704 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
706         * manual/threads.texi (Non-POSIX Extensions): New document
707         node.  Document pthread_getattr_default_np and
708         pthread_setattr_default_np.
710         * Versions.def (libpthread): Add GLIBC_2.18.
711         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
713         Likewise.
714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
715         Likewise.
716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
717         Likewise.
718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
719         Likewise.
720         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
721         Likewise.
722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
723         Likewise.
724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
725         Likewise.
726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
727         Likewise.
728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
729         Likewise.
731 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
734         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
736 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
737             H.J. Lu  <hjl.tools@gmail.com>
739         [BZ #15627]
740         * sysdeps/x86_64/rtld-memset.c: Remove file.
741         * sysdeps/x86_64/rtld-memset.S: New file.
743 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
745         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
746         (test_in_one_mode): Take arguments for whether the rounding mode
747         is supported for each floating-point type.
748         (do_test): Pass new arguments to test_in_one_mode using
749         ROUNDING_TESTS.
751 2013-06-13  Roland McGrath  <roland@hack.frob.com>
753         * posix/tst-waitid.c (do_test): Distinguish different instances of
754         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
755         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
756         before entering the kernel for waitpid.
758 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
760         * NEWS: Fix note on clock function precision.  Text by Roland
761         McGrath.
763 2013-06-13  Roland McGrath  <roland@hack.frob.com>
765         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
766         it into place only when and if the sanity check passes.
768 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
770         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
771         output for whether conversion result is exact.  Take argument
772         indicating whether type is IBM long double.
773         (round_for_all): Change need_exact field to ibm_ld.
774         * stdlib/tst-strtod-round.c (struct exactness): New type.
775         (struct test): Change bool ld_ok field to struct exactness exact.
776         (TEST): Update all definitions for change to field.
777         (tests): Regenerate array contents.
778         (test_in_one_mode): Take pointer to new field instead of old ld_ok
779         field value.  Check for IBM long double here.
780         (do_test): Update calls to test_in_one_mode.
782 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
784         [BZ #12515]
785         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
786         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
788 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
790         [BZ #15605]
791         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
792         generated by the compiler on loop optimizations.
793         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
794         general definitions.
796 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
798         * math/bug-nextafter.c: Include <math-tests.h>.
799         (main): Only test for exceptions if EXCEPTION_TESTS is true for
800         the relevant type.
801         * math/bug-nexttoward.c: Include <math-tests.h>.
802         (main): Only test for exceptions if EXCEPTION_TESTS is true for
803         the relevant type.
804         * math/test-misc.c: Include <math-tests.h>.
805         (main): Only test for exceptions if EXCEPTION_TESTS is true for
806         the relevant type.
808 2013-06-12  Andreas Jaeger  <aj@suse.de>
810         * po/ia.po: Update Interlingua translation from translation
811         project.
813 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
815         * include/fenv.h: Include stdbool.h.
816         (struct rm_ctx): New structure.
817         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
818         Define macro.
819         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
820         (SET_RESTORE_ROUNDF): Likewise.
821         (SET_RESTORE_ROUNDL): Likewise.
822         (SET_RESTORE_ROUND_NOEX): Likewise.
823         (SET_RESTORE_ROUND_NOEXF): Likewise.
824         (SET_RESTORE_ROUND_NOEXL): Likewise.
825         (SET_RESTORE_ROUND_53BIT): Likewise.
826         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
827         (libc_feresetround_noexf_ctx): Likewise.
828         (libc_feresetround_noexl_ctx): Likewise.
829         (libc_feholdsetround_53bit_ctx): Likewise.
830         (libc_feresetround_53bit_ctx): Likewise.
831         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
832         (libc_feholdexcept_setround_sse_ctx): New function.
833         (libc_fesetenv_sse_ctx): Likewise.
834         (libc_feupdateenv_sse_ctx): Likewise.
835         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
836         (libc_feholdexcept_setround_387_ctx): Likewise.
837         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
838         (libc_feholdsetround_387_prec_ctx): Likewise.
839         (libc_feholdsetround_387_ctx): Likewise.
840         (libc_feholdsetround_387_53bit_ctx): Likewise.
841         (libc_feholdsetround_sse_ctx): Likewise.
842         (libc_feresetround_sse_ctx): Likewise.
843         (libc_feresetround_387_ctx): Likewise.
844         (libc_feupdateenv_387_ctx): Likewise.
845         (libc_feholdexcept_setroundf_ctx): Define macro.
846         (libc_fesetenvf_ctx): Likewise.
847         (libc_feupdateenvf_ctx): Likewise.
848         (libc_feholdsetroundf_ctx): Likewise.
849         (libc_feresetroundf_ctx): Likewise.
850         (libc_feholdexcept_setround_ctx): Likewise.
851         (libc_fesetenv_ctx): Likewise.
852         (libc_feupdateenv_ctx): Likewise.
853         (libc_feholdsetround_ctx): Likewise.
854         (libc_feresetround_ctx): Likewise.
855         (libc_feholdexcept_setroundl_ctx): Likewise.
856         (libc_feupdateenvl_ctx): Likewise.
857         (libc_feholdsetroundl_ctx): Likewise.
858         (libc_feresetroundl_ctx): Likewise.
859         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
860         (libc_feresetround_53bit_ctx): Likewise.
862 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
864         * locale/iso-639.def: Convert to UTF-8.
866 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
868         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
869         (EXCEPTION_TESTS_double): Likewise.
870         (EXCEPTION_TESTS_long_double): Likewise.
871         (EXCEPTION_TESTS): Likewise.
872         * math/libm-test.inc (test_exceptions): Only test exceptions if
873         EXCEPTION_TESTS (FLOAT).
875 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
877         * benchtests/Makefile (string-bench): Add strcpy_chk and
878         stpcpy_chk.
879         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
880         * benchtests/bench-stpcpy_chk.c: New file.
881         * benchtests/bench-strcpy_chk-ifunc.c: New file.
882         * benchtests/bench-strcpy_chk.c: New file.
883         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
884         code.
885         (do_test): Likewise.
887 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
889         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
890         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
891         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
892         with tabs where appropriate.
893         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
894         dl-procinfo.h.
895         [PPC_PLATFORM_PPC440]: Likewise.
896         [PPC_PLATFORM_PPC464]: Likewise.
897         [PPC_PLATFORM_PPC476]: Likewise.
898         (_dl_string_platform): Add support for detecting ppc405, ppc440,
899         ppc464, and ppc476 platform strings merging from ports/
900         dl-procinfo.h.
902 2013-06-11  Andreas Schwab  <schwab@suse.de>
904         [BZ #14991]
905         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
906         (from_ucs4_idx): Regenerate.
907         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
908         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
909         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
910         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
911         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
912         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
913         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
914         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
915         from FROM_LOOP and TO_LOOP specific macros.
916         (BODY): Handle combining characters.
917         * iconvdata/BIG5HKSCS.irreversible: Update.
918         * iconvdata/BIG5HKSCS.precomposed: New file.
919         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
920         characters.
921         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
923 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
925         * include/sys/time.h: Fix indentation and add copyright header.
927         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
928         (do_test): Likewise.
929         * string/test-memchr.c (do_one_test): Likewise.
930         (do_test): Likewise.
931         * string/test-memcmp.c (do_one_test): Likewise.
932         (do_test): Likewise.
933         * string/test-memcpy.c (do_one_test): Likewise.
934         (do_test): Likewise.
935         * string/test-memmem.c (do_one_test): Likewise.
936         (do_test): Likewise.
937         (do_random_tests): Likewise.
938         * string/test-memmove.c (do_one_test): Likewise.
939         (do_test): Likewise.
940         * string/test-memset.c (do_one_test): Likewise.
941         (do_test): Likewise.
942         * string/test-rawmemchr.c (do_one_test): Likewise.
943         (do_test): Likewise.
944         * string/test-strcasecmp.c (do_one_test): Likewise.
945         (do_test): Likewise.
946         * string/test-strcasestr.c (do_one_test): Likewise.
947         (do_test): Likewise.
948         * string/test-strcat.c (do_one_test): Likewise.
949         (do_test): Likewise.
950         * string/test-strchr.c (do_one_test): Likewise.
951         (do_test): Likewise.
952         * string/test-strcmp.c (do_one_test): Likewise.
953         (do_test): Likewise.
954         * string/test-strcpy.c (do_one_test): Likewise.
955         (do_test): Likewise.
956         * string/test-string.h: Likewise.
957         (test_init): Likewise.
958         * string/test-strlen.c (do_one_test): Likewise.
959         (do_test): Likewise.
960         * string/test-strncasecmp.c (do_one_test): Likewise.
961         (do_test): Likewise.
962         * string/test-strncat.c (do_one_test): Likewise.
963         (do_test): Likewise.
964         * string/test-strncmp.c (do_one_test): Likewise.
965         (do_test_limit): Likewise.
966         (do_test): Likewise.
967         * string/test-strncpy.c (do_one_test): Likewise.
968         (do_test): Likewise.
969         * string/test-strnlen.c (do_one_test): Likewise.
970         (do_test): Likewise.
971         * string/test-strpbrk.c (do_one_test): Likewise.
972         (do_test): Likewise.
973         * string/test-strrchr.c (do_one_test): Likewise.
974         (do_test): Likewise.
975         * string/test-strspn.c (do_one_test): Likewise.
976         (do_test): Likewise.
977         * string/test-strstr.c (do_one_test): Likewise.
978         (do_test): Likewise.
980         * benchtests/Makefile (string-bench): Add string benchmarks.
981         * benchtests/bench-bcopy-ifunc.c: New file.
982         * benchtests/bench-bcopy.c: New file.
983         * benchtests/bench-bzero-ifunc.c: New file.
984         * benchtests/bench-bzero.c: New file.
985         * benchtests/bench-memccpy-ifunc.c: New file.
986         * benchtests/bench-memccpy.c: New file.
987         * benchtests/bench-memchr-ifunc.c: New file.
988         * benchtests/bench-memchr.c: New file.
989         * benchtests/bench-memcmp-ifunc.c: New file.
990         * benchtests/bench-memcmp.c: New file.
991         * benchtests/bench-memmem-ifunc.c: New file.
992         * benchtests/bench-memmem.c: New file.
993         * benchtests/bench-memmove-ifunc.c: New file.
994         * benchtests/bench-memmove.c: New file.
995         * benchtests/bench-mempcpy-ifunc.c: New file.
996         * benchtests/bench-mempcpy.c: New file.
997         * benchtests/bench-memset-ifunc.c: New file.
998         * benchtests/bench-memset.c: New file.
999         * benchtests/bench-rawmemchr-ifunc.c: New file.
1000         * benchtests/bench-rawmemchr.c: New file.
1001         * benchtests/bench-stpcpy-ifunc.c: New file.
1002         * benchtests/bench-stpcpy.c: New file.
1003         * benchtests/bench-stpncpy-ifunc.c: New file.
1004         * benchtests/bench-stpncpy.c: New file.
1005         * benchtests/bench-strcasecmp-ifunc.c: New file.
1006         * benchtests/bench-strcasecmp.c: New file.
1007         * benchtests/bench-strcasestr-ifunc.c: New file.
1008         * benchtests/bench-strcasestr.c: New file.
1009         * benchtests/bench-strcat-ifunc.c: New file.
1010         * benchtests/bench-strcat.c: New file.
1011         * benchtests/bench-strchr-ifunc.c: New file.
1012         * benchtests/bench-strchr.c: New file.
1013         * benchtests/bench-strchrnul-ifunc.c: New file.
1014         * benchtests/bench-strchrnul.c: New file.
1015         * benchtests/bench-strcmp-ifunc.c: New file.
1016         * benchtests/bench-strcmp.c: New file.
1017         * benchtests/bench-strcpy-ifunc.c: New file.
1018         * benchtests/bench-strcpy.c: New file.
1019         * benchtests/bench-strcspn-ifunc.c: New file.
1020         * benchtests/bench-strcspn.c: New file.
1021         * benchtests/bench-strlen-ifunc.c: New file.
1022         * benchtests/bench-strlen.c: New file.
1023         * benchtests/bench-strncasecmp-ifunc.c: New file.
1024         * benchtests/bench-strncasecmp.c: New file.
1025         * benchtests/bench-strncat-ifunc.c: New file.
1026         * benchtests/bench-strncat.c: New file.
1027         * benchtests/bench-strncmp-ifunc.c: New file.
1028         * benchtests/bench-strncmp.c: New file.
1029         * benchtests/bench-strncpy-ifunc.c: New file.
1030         * benchtests/bench-strncpy.c: New file.
1031         * benchtests/bench-strnlen-ifunc.c: New file.
1032         * benchtests/bench-strnlen.c: New file.
1033         * benchtests/bench-strpbrk-ifunc.c: New file.
1034         * benchtests/bench-strpbrk.c: New file.
1035         * benchtests/bench-strrchr-ifunc.c: New file.
1036         * benchtests/bench-strrchr.c: New file.
1037         * benchtests/bench-strspn-ifunc.c: New file.
1038         * benchtests/bench-strspn.c: New file.
1039         * benchtests/bench-strstr-ifunc.c: New file.
1040         * benchtests/bench-strstr.c: New file.
1042         * benchtests/Makefile: Disable parallel execution of targets.
1043         (string-bench): Add memcpy.
1044         (benchset): New variable to store a list of benchmark sets.
1045         (bench-func): Renamed from bench.
1046         (bench-set): New target.
1047         (bench): Depend on bench-func and bench-set.
1048         * benchtests/README: Add section on benchmark sets.
1049         * benchtests/bench-memcpy-ifunc.c: New file.
1050         * benchtests/bench-memcpy.c: New file.
1051         * benchtests/bench-string.h: New file.
1053 2013-06-11  Andreas Schwab  <schwab@suse.de>
1055         [BZ #15577]
1056         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1057         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1058         values in the triple.
1059         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1060         terminator in the group key.
1062 2013-06-11  Andreas Jaeger  <aj@suse.de>
1064         * po/zh_TW.po: Update Chinese (traditional) translation from
1065         translation project.
1067 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1069         * include/time.h (__clock_gettime): Add libc_hidden_proto.
1070         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1071         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
1072         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1073         (clock_getcpuclockid): Likewise.
1074         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1075         Add weak_alias and libc_hidden_def.
1076         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1077         * rt/clock_gettime.c (clock_gettime): Rename to
1078         __clock_gettime.  Add weak_alias and libc_hidden_def.
1079         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1080         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1081         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
1082         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1083         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1084         Likewise.
1085         * rt/clock_settime.c (clock_settime): Rename to
1086         __clock_settime.  Add weak_alias and libc_hidden_def.
1087         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1089 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
1091         * mach/err_boot.sub: Remove trailing whitespace.
1092         * mach/err_ipc.sub: Likewise.
1093         * mach/err_mach.sub: Likewise.
1095         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1096         (ROUNDING_TESTS_double): Likewise.
1097         (ROUNDING_TESTS_long_double): Likewise.
1098         (ROUNDING_TESTS): Likewise.
1099         * math/libm-test.inc: Include <math-tests.h>.
1100         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1101         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1102         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1103         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1105 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1107         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1108         of assigning.
1110 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
1112         * sysdeps/gnu/errlist.awk: Do not generate space at end of
1113         otherwise empty TRANS lines.
1114         * sysdeps/gnu/errlist.c: Regenerated.
1116         * catgets/gencat.c (error_print): Use (void) in function
1117         definition.
1118         * crypt/crypt_util.c (__init_des): Likewise.
1119         * crypt/speeds.c (Stop): Likewise.
1120         (main): Likewise.
1121         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1122         * inet/ruserpass.c (token): Likewise.
1123         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1124         * intl/localealias.c (extend_alias_table): Likewise.
1125         * intl/plural-exp.c (init_germanic_plural): Likewise.
1126         * libio/fcloseall.c (__fcloseall): Likewise.
1127         * libio/genops.c (_IO_flush_all): Likewise.
1128         (_IO_flush_all_linebuffered): Likewise.
1129         (_IO_cleanup): Likewise.
1130         (_IO_iter_begin): Likewise.
1131         (_IO_iter_end): Likewise.
1132         (_IO_list_lock): Likewise.
1133         (_IO_list_unlock): Likewise.
1134         (_IO_list_resetlock): Likewise.
1135         * libio/getchar.c (getchar): Likewise.
1136         * libio/getchar_u.c (getchar_unlocked): Likewise.
1137         * libio/getwchar.c (getwchar): Likewise.
1138         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1139         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1140         * login/getpt.c (__getpt): Likewise.
1141         * login/tst-utmp.c (main): Likewise.
1142         * malloc/hooks.c (__malloc_check_init): Likewise.
1143         * malloc/malloc.c (__malloc_stats): Likewise.
1144         * malloc/mtrace.c (tr_break): Likewise.
1145         (mtrace): Likewise.
1146         (muntrace): Likewise.
1147         * misc/fstab.c (endfsent): Likewise.
1148         * misc/getclktck.c (__getclktck): Likewise.
1149         * misc/getdtsz.c (__getdtablesize): Likewise.
1150         * misc/gethostid.c (gethostid): Likewise.
1151         * misc/getpagesize.c (__getpagesize): Likewise.
1152         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1153         (__get_nprocs): Likewise.
1154         (__get_phys_pages): Likewise.
1155         (__get_avphys_pages): Likewise.
1156         * misc/getttyent.c (getttyent): Likewise.
1157         (setttyent): Likewise.
1158         (endttyent): Likewise.
1159         * misc/getusershell.c (getusershell): Likewise.
1160         (endusershell): Likewise.
1161         (setusershell): Likewise.
1162         (initshells): Likewise.
1163         * misc/hsearch.c (__hdestroy): Likewise.
1164         * misc/sync.c (sync): Likewise.
1165         * misc/syslog.c (closelog_internal): Likewise.
1166         (closelog): Likewise.
1167         * misc/ttyslot.c (ttyslot): Likewise.
1168         * misc/vhangup.c (vhangup): Likewise.
1169         * posix/fork.c (__fork): Likewise.
1170         * posix/getegid.c (__getegid): Likewise.
1171         * posix/geteuid.c (__geteuid): Likewise.
1172         * posix/getgid.c (__getgid): Likewise.
1173         * posix/getpid.c (__getpid): Likewise.
1174         * posix/getppid.c (__getppid): Likewise.
1175         * posix/getuid.c (__getuid): Likewise.
1176         * posix/pause.c (pause): Likewise.
1177         * posix/setpgrp.c (setpgrp): Likewise.
1178         * posix/setsid.c (__setsid): Likewise.
1179         * posix/test-vfork.c (noop): Likewise.
1180         * resolv/gethnamaddr.c (_endhtent): Likewise.
1181         (_gethtent): Likewise.
1182         (ht_endhostent): Likewise.
1183         (gethostent): Likewise.
1184         (dns_service): Likewise.
1185         * stdlib/drand48.c (drand48): Likewise.
1186         * stdlib/lrand48.c (lrand48): Likewise.
1187         * stdlib/mrand48.c (mrand48): Likewise.
1188         * stdlib/rand.c (rand): Likewise.
1189         * stdlib/random.c (__random): Likewise.
1190         * stdlib/setenv.c (clearenv): Likewise.
1191         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1192         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1193         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1194         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1195         (__get_nprocs): Likewise.
1196         (__get_phys_pages): Likewise.
1197         (__get_avphys_pages): Likewise.
1198         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1199         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1200         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1201         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1202         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1203         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1204         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1205         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1206         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1207         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1208         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1209         * sysdeps/mach/hurd/sync.c (sync): Likewise.
1210         * sysdeps/posix/clock.c (clock): Likewise.
1211         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1212         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1213         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1214         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1215         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1216         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1217         (__get_nprocs_conf): Likewise.
1218         (__get_phys_pages): Likewise.
1219         (__get_avphys_pages): Likewise.
1220         * time/clock.c (clock): Likewise.
1221         * time/tzset.c (__tzname_max): Likewise.
1223 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
1225         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1226         (__bswap_32): Do not use "register".
1227         * crypt/crypt.c (_ufc_doit_r): Likewise.
1228         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1229         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1230         * gmon/gmon.c (__monstartup): Likewise.
1231         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1232         * hurd/hurdmalloc.c (more_memory): Likewise.
1233         (malloc): Likewise.
1234         (free): Likewise.
1235         (realloc): Likewise.
1236         (malloc_fork_prepare): Likewise.
1237         (malloc_fork_parent): Likewise.
1238         (malloc_fork_child): Likewise.
1239         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1240         (_svcauth_des): Likewise.
1241         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1242         * inet/inet_net.c (inet_network): Likewise.
1243         * inet/inet_netof.c (inet_netof): Likewise.
1244         * inet/rcmd.c (__validuser2_sa): Likewise.
1245         * io/fts.c (fts_open): Likewise.
1246         (fts_load): Likewise.
1247         (fts_close): Likewise.
1248         (fts_read): Likewise.
1249         (fts_children): Likewise.
1250         (fts_build): Likewise.
1251         (fts_stat): Likewise.
1252         (fts_sort): Likewise.
1253         (fts_alloc): Likewise.
1254         (fts_lfree): Likewise.
1255         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1256         (_IO_file_xsgetn): Likewise.
1257         (_IO_file_xsgetn_mmap): Likewise.
1258         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1259         (_IO_cookie_write): Likewise.
1260         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1261         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1262         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1263         * malloc/obstack.c (_obstack_begin): Likewise.
1264         (_obstack_begin_1): Likewise.
1265         (_obstack_newchunk): Likewise.
1266         (_obstack_allocated_p): Likewise.
1267         (obstack_free): Likewise.
1268         (_obstack_memory_used): Likewise.
1269         * misc/getttyent.c (getttynam): Likewise.
1270         (getttyent): Likewise.
1271         (skip): Likewise.
1272         (value): Likewise.
1273         * misc/getusershell.c (initshells): Likewise.
1274         * misc/syslog.c (__vsyslog_chk): Likewise.
1275         * misc/ttyslot.c (ttyslot): Likewise.
1276         * nis/nis_hash.c (__nis_hash): Likewise.
1277         * posix/fnmatch_loop.c (FCT): Likewise.
1278         * posix/getconf.c (print_all): Likewise.
1279         (main): Likewise.
1280         * posix/getopt.c (exchange): Likewise.
1281         * posix/glob.c (globfree): Likewise.
1282         (prefix_array): Likewise.
1283         (__glob_pattern_type): Likewise.
1284         * resolv/arpa/nameser.h (NS_GET16): Likewise.
1285         (NS_GET32): Likewise.
1286         (NS_PUT16): Likewise.
1287         (NS_PUT32): Likewise.
1288         * resolv/gethnamaddr.c (getanswer): Likewise.
1289         (gethostbyname2): Likewise.
1290         (gethostbyaddr): Likewise.
1291         (_gethtent): Likewise.
1292         (_gethtbyname2): Likewise.
1293         (_gethtbyaddr): Likewise.
1294         * resolv/ns_print.c (dst_s_get_int16): Likewise.
1295         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1296         * resolv/res_init.c (__res_vinit): Likewise.
1297         (net_mask): Likewise.
1298         * resolv/res_mkquery.c (outchar): Likewise.
1299         (PRINT): Likewise.
1300         * stdio-common/printf_fp.c (outchar): Likewise.
1301         (PRINT): Likewise.
1302         * stdio-common/printf_fphex.c (outchar): Likewise.
1303         (PRINT): Likewise.
1304         * stdio-common/printf_size.c (outchar): Likewise.
1305         (PRINT): Likewise.
1306         * stdio-common/test_rdwr.c (main): Likewise.
1307         * stdio-common/tfformat.c (matches): Likewise.
1308         * stdio-common/vfprintf.c (outchar): Likewise.
1309         (printf_unknown): Likewise.
1310         (buffered_vfprintf): Likewise.
1311         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1312         * stdio-common/xbug.c (AppendToBuffer): Likewise.
1313         (ReadFile): Likewise.
1314         * stdlib/qsort.c (SWAP): Likewise.
1315         (_quicksort): Likewise.
1316         * stdlib/setenv.c (__add_to_environ): Likewise.
1317         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1318         * stdlib/strtol_l.c (__strtol_l): Likewise.
1319         * stdlib/tst-strtod.c (main): Likewise.
1320         * stdlib/tst-strtol.c (main): Likewise.
1321         * stdlib/tst-strtoll.c (main): Likewise.
1322         * string/bits/string2.h (__strcmp_cc): Likewise.
1323         (__strcmp_cg): Likewise.
1324         (__strcspn_c1): Likewise.
1325         (__strcspn_c2): Likewise.
1326         (__strcspn_c3): Likewise.
1327         (__strspn_c1): Likewise.
1328         (__strspn_c2): Likewise.
1329         (__strspn_c3): Likewise.
1330         (__strsep_1c): Likewise.
1331         (__strsep_2c): Likewise.
1332         (__strsep_3c): Likewise.
1333         * string/memccpy.c (__memccpy): Likewise.
1334         * string/stpcpy.c (__stpcpy): Likewise.
1335         * string/strcmp.c (strcmp): Likewise.
1336         * string/strrchr.c (strrchr): Likewise.
1337         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1338         Likewise.
1339         * sysdeps/mach/hurd/getcwd.c
1340         (_hurd_canonicalize_directory_name_internal): Likewise.
1341         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1342         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1343         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1344         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1345         Likewise, in both definitions.
1346         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1347         definitions.
1348         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1349         64] (__bswap_64): Likewise.
1350         * time/test_time.c (main): Likewise.
1351         * time/tzfile.c (__tzfile_read): Likewise.
1352         (__tzfile_compute): Likewise.
1353         * time/tzset.c (__tzset_parse_tz): Likewise.
1354         (tzset_internal): Likewise.
1355         (compute_change): Likewise.
1356         * wcsmbs/wcscat.c (__wcscat): Likewise.
1357         * wcsmbs/wcschr.c (wcschr): Likewise.
1358         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1359         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1360         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1361         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1362         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1363         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1364         * wcsmbs/wmemchr.c (wmemchr): Likewise.
1365         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1366         * wcsmbs/wmemset.c (wmemset): Likewise.
1368 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
1370         * scripts/config.guess: Update to version 2013-05-16.
1371         * scripts/config.sub: Update to version 2013-04-24.
1372         * scripts/install-sh: Update to version 2011-11-20.07.
1373         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1374         * scripts/move-if-change: Update to version 2012-01-06 07:23.
1376 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
1378         * debug/fgetws_u_chk.c: Fix leading whitespaces.
1379         * elf/sln.c: Likewise.
1380         * hurd/hurd/ioctl.h: Likewise.
1381         * hurd/hurdmalloc.c: Likewise.
1382         * hurd/xattr.c: Likewise.
1383         * include/shlib-compat.h: Likewise.
1384         * inet/ruserpass.c: Likewise.
1385         * libio/iofgets_u.c: Likewise.
1386         * libio/iofgetws_u.c: Likewise.
1387         * locale/programs/ld-identification.c: Likewise.
1388         * locale/programs/ld-time.c: Likewise.
1389         * mach/msg-destroy.c: Likewise.
1390         * nss/nss_files/files-netgrp.c: Likewise.
1391         * resolv/res_data.c: Likewise.
1392         * soft-fp/op-1.h: Likewise.
1393         * soft-fp/op-2.h: Likewise.
1394         * soft-fp/op-4.h: Likewise.
1395         * soft-fp/op-common.h: Likewise.
1396         * stdio-common/printf_fphex.c: Likewise.
1397         * stdlib/strtod_l.c: Likewise.
1398         * sunrpc/rpc/clnt.h: Likewise.
1399         * sysdeps/generic/framestate.c: Likewise.
1400         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1401         * sysdeps/i386/bsd-setjmp.S: Likewise.
1402         * sysdeps/i386/__longjmp.S: Likewise.
1403         * sysdeps/i386/setjmp.S: Likewise.
1404         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1405         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1406         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1407         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1408         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1409         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1410         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1411         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1412         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1413         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1414         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1415         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1416         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1417         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1418         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1419         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1420         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1421         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1422         * sysdeps/ieee754/support.c: Likewise.
1423         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1424         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1425         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1426         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1427         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1428         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1429         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1430         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1431         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1432         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1433         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1434         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1435         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1436         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1437         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1438         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1439         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1442 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
1444         * posix/transbug.c: Remove executable mode.
1446 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
1448         * crypt/speeds.c: Remove trailing whitespace.
1449         * dlfcn/default.c: Likewise.
1450         * elf/ifuncdep2.c: Likewise.
1451         * elf/ifuncmain1.c: Likewise.
1452         * elf/ifuncmain1vis.c: Likewise.
1453         * elf/testobj.h: Likewise.
1454         * elf/tst-stackguard1.c: Likewise.
1455         * gmon/sys/gmon.h: Likewise.
1456         * hurd/hurdmsg.c: Likewise.
1457         * hurd/new-fd.c: Likewise.
1458         * hurd/ports-get.c: Likewise.
1459         * iconvdata/ibm1008_420.c: Likewise.
1460         * inet/tst-getni1.c: Likewise.
1461         * inet/tst-getni2.c: Likewise.
1462         * libio/ioungetc.c: Likewise.
1463         * libio/wfiledoalloc.c: Likewise.
1464         * manual/libm-err-tab.pl: Likewise.
1465         * math/w_dremf.c: Likewise.
1466         * misc/ftruncate.c: Likewise.
1467         * posix/bug-glob2.c: Likewise.
1468         * posix/tst-pcre.c: Likewise.
1469         * posix/wait4.c: Likewise.
1470         * resolv/README: Likewise.
1471         * resolv/res_debug.h: Likewise.
1472         * resolv/tst-inet_ntop.c: Likewise.
1473         * setjmp/bug269-setjmp.c: Likewise.
1474         * soft-fp/extended.h: Likewise.
1475         * soft-fp/op-1.h: Likewise.
1476         * soft-fp/op-2.h: Likewise.
1477         * soft-fp/op-4.h: Likewise.
1478         * soft-fp/op-8.h: Likewise.
1479         * soft-fp/testit.c: Likewise.
1480         * stdio-common/bug16.c: Likewise.
1481         * stdlib/random.c: Likewise.
1482         * sunrpc/rpcsvc/rquota.x: Likewise.
1483         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1484         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1485         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1486         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1487         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1489         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1490         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1491         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1492         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1493         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1494         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1495         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1496         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1497         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1498         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1499         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1500         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1501         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1502         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1503         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1504         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1505         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1506         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1507         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1508         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1509         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1510         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1511         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1512         * sysdeps/ieee754/s_lib_version.c: Likewise.
1513         * sysdeps/mach/hurd/check_fds.c: Likewise.
1514         * sysdeps/mach/hurd/getsockname.c: Likewise.
1515         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1516         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1517         * sysdeps/powerpc/bits/link.h: Likewise.
1518         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1519         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1520         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1521         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1522         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1523         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1524         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1525         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1526         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1527         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1528         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1529         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1530         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1531         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1532         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1533         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1534         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1535         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1536         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1537         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1538         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1539         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1540         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1541         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1542         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1543         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1544         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1545         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1546         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1547         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1548         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1549         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1550         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1551         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1552         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1553         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1554         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1555         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1556         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1557         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1558         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1559         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1560         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1561         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1562         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1563         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1564         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1565         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1566         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1567         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1568         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1570         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1571         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1572         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1573         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1574         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1575         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1576         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1577         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1578         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1579         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1580         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1581         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1582         * sysdeps/powerpc/sysdep.h: Likewise.
1583         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1584         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1585         * sysdeps/sh/dl-trampoline.S: Likewise.
1586         * sysdeps/sh/memset.S: Likewise.
1587         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1588         * sysdeps/sh/strlen.S: Likewise.
1589         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1590         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1591         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1592         * sysdeps/sparc/sparc32/rem.S: Likewise.
1593         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1594         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1595         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1596         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1597         * sysdeps/sparc/sparc32/urem.S: Likewise.
1598         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1599         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1600         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1601         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1602         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1603         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1604         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1605         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1606         * sysdeps/unix/bsd/times.c: Likewise.
1607         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1608         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1612         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1613         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1614         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1615         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1616         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1617         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1618         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1619         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1620         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1621         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1622         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1623         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1624         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1625         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1626         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1627         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1628         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1629         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1630         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1631         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1632         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1633         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1634         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1635         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1636         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1637         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1638         * sysdeps/x86_64/strcspn.S: Likewise.
1640 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1642         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1643         generated file.  Regenerate properly from gen-translit.pl.
1644         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1645         locale/C-translit.h.
1647 2013-06-05  Andreas Schwab  <schwab@suse.de>
1649         [BZ #15100]
1650         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1651         week as 6 instead of -1.
1652         * time/tst-strptime.c (day_tests): Add test case.
1654 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1656         * sysdeps/generic/math_private.h
1657         (libc_feholdexcept_setround_53bit): Replace with
1658         libc_feholdsetround_53bit.
1659         (libc_feupdateenv_53bit): Replace with
1660         libc_feresetround_53bit.
1661         (SET_RESTORE_ROUND_53BIT): Adjust.
1663 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1665         * string/test-strchrnul.c: Add copyright header.
1667         * posix/tst-getaddrinfo4.c: Increase test timeout.
1669 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1671         [BZ #15536]
1672         * math/libm-test.inc (MAX_EXP): Remove
1673         (MIN_EXP): Define.
1674         (ulp): Use MIN_EXP - MANT_DIG.
1675         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1677 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1679         * po/be.po: Revert last change.
1680         * po/zh_CN.po: Likewise.
1681         * po/header.pot: Likewise.
1683 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1685         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1686         link-libc-deps to empty as target-specific variable.
1687         * Makerules (link-libc-args): New variable.
1688         (libc-for-link): Likewise.
1689         (link-libc-deps): Likewise.
1690         (lib%.so): Depend on $(link-libc-deps).  Link with
1691         $(link-libc-args).
1692         (build-module): Link with $(link-libc-args).
1693         (build-module-asneeded): Likewise.
1694         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1695         list of objects.
1696         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1697         target-specific variable.
1698         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1699         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1700         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1701         libc.
1702         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1703         libc and ld.so.
1704         ($(objpfx)libpcprofile.so): Likewise.
1705         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1706         libc_nonshared.a.
1707         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1708         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1709         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1710         $(link-libc-deps).
1711         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1712         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1713         * login/Makefile ($(objpfx)libutil.so): Likewise.
1714         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1715         * math/Makefile ($(objpfx)libm.so): Likewise.
1716         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1717         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1718         variable instead of depending directly on libc.
1719         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1720         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1721         $(link-libc-deps).
1722         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1723         libc.
1724         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1725         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1726         ($(objpfx)libanl.so): Likewise.
1727         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1728         ld.so.
1729         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1730         $(link-libc-deps).
1731         * sysdeps/i386/fpu/Makefile: Remove file.
1732         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1733         ($(objpfx)libm.so): Remove dependency on ld.so.
1735 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1737         [BZ # 15553]
1738         * nis/yp_xdr.c (XDRMAXNAME): Define.
1739         (XDRMAXRECORD): Define.
1740         (xdr_domainname): Use XDRMAXNAME.
1741         (xdr_mapname): Likewise.
1742         (xdr_peername): Likewise.
1743         (xdr_keydat): Use XDRMAXRECORD.
1744         (xdr_valdat): Likewise.
1746 2013-05-30  Jeff Law  <law@redhat.com>
1748         [BZ #14256]
1749         * manual/errno.texi (ESTALE): Update to account for more than
1750         just NFS file systems.
1751         * sysdeps/gnu/errlist.c: Regenerated.
1753 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1755         [BZ #15465]
1756         * elf/Makefile (tests): Add tst-null-argv.
1757         (modules-names):  Add tst-null-argv-lib.
1758         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1759         (tst-null-argv-ENV): Set environment for tst-null-argv.
1760         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1761         (RTLD_PROGNAME): New macro.
1762         * elf/tst-null-argv.c: New test case.
1763         * elf/tst-null-argv-lib.c: Library for test case.
1764         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1765         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1766         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1767         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1768         * elf/dl-init.c (call_init): Likewise.
1769         (_dl_init): Likewise.
1770         * elf/dl-load.c (print_search_path): Likewise.
1771         (_dl_map_object): Likewise.
1772         * elf/dl-lookup.c (do_lookup_x): Likewise.
1773         (add_dependency): Likewise.
1774         (_dl_lookup_symbol_x): Likewise.
1775         (_dl_debug_bindings): Likewise.
1776         * elf/dl-open.c (_dl_show_scope): Likewise.
1777         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1778         * elf/dl-version.c (match_symbol): Likewise.
1779         (_dl_check_map_versions): Likewise.
1780         * elf/rtld.c (dl_main): Likewise.
1781         (print_unresolved): Use RTLD_PROGNAME.
1782         (print_missing_version): Likewise.
1783         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1784         (elf_machine_rela): Likewise.
1785         * sysdeps/powerpc/powerpc32/dl-machine.c
1786         (__process_machine_rela): Likewise.
1787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1788         Likewise.
1789         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1790         Likewise.
1791         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1792         Likewise.
1793         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1794         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1795         Likewise.
1796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1797         Likewise.
1798         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1800 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1802         * po/be.po: Add descriptive title.
1803         * po/zh_CN.po: Likewise.
1804         * po/header.pot: Likewise.
1806 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1808         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1809         error message.
1810         (enlarge_archive): Likewise.
1812 2013-05-28  Ben North  <ben@redfrontdoor.org>
1814         * manual/arith.texi (frexp): It is the magnitude of the return
1815         value which lies in [0.5, 1), not the return value itself.
1817 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1821 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1823         * stdio-common/bug26.c (main): Correct fscanf template.
1825         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1826         declare _dl_skip_args.
1828         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1829         Don't declare.
1831         * manual/platform.texi: Add missing @end deftypefun.
1833 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1835         [BZ #15529]
1836         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1837         bit of mantissa of 2^16382.
1838         * math/libm-test.inc (hypot_test_data): Add more tests.
1840         * math/libm-test.inc: Add drem and pow10 to list of tested
1841         functions.
1842         (pow10_test): New function.
1843         (drem_test): Likewise.
1844         (drem_test_tonearest): Likewise.
1845         (drem_test_towardzero): Likewise.
1846         (drem_test_downward): Likewise.
1847         (drem_test_upward): Likewise.
1848         (main): Call the new functions.
1850         * math/libm-test.inc (finite_test_data): Remove.
1851         (finite_test): Run tests from isfinite_test_data.
1852         (gamma_test_data): Remove.
1853         (gamma_test): Run tests from lgamma_test_data.
1854         * sysdeps/i386/fpu/libm-test-ulps: Update.
1855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1857 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1859         * manual/platform.texi: Add PowerPC PPR function set documentation.
1860         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1861         implementation.
1863 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1865         * math/libm-test.inc (MAX_EXP): Define.
1866         (ULPDIFF): Define.
1867         (ulp): New function.
1868         (check_float_internal): Use ULPDIFF.
1869         (cpow_test): Disable failing test.
1870         (check_ulp): Test ulp() implemetnation.
1871         (main): Call check_ulp before starting tests.
1873 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1875         * math/gen-libm-test.pl (generate_testfile): Do not handle
1876         START_DATA and END_DATA.
1877         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1878         END_DATA.
1879         (acos_tonearest_test_data): Likewise.
1880         (acos_towardzero_test_data): Likewise.
1881         (acos_downward_test_data): Likewise.
1882         (acos_upward_test_data): Likewise.
1883         (acosh_test_data): Likewise.
1884         (asin_test_data): Likewise.
1885         (asin_tonearest_test_data): Likewise.
1886         (asin_towardzero_test_data): Likewise.
1887         (asin_downward_test_data): Likewise.
1888         (asin_upward_test_data): Likewise.
1889         (asinh_test_data): Likewise.
1890         (atan_test_data): Likewise.
1891         (atanh_test_data): Likewise.
1892         (atan2_test_data): Likewise.
1893         (cabs_test_data): Likewise.
1894         (cacos_test_data): Likewise.
1895         (cacosh_test_data): Likewise.
1896         (carg_test_data): Likewise.
1897         (casin_test_data): Likewise.
1898         (casinh_test_data): Likewise.
1899         (catan_test_data): Likewise.
1900         (catanh_test_data): Likewise.
1901         (cbrt_test_data): Likewise.
1902         (ccos_test_data): Likewise.
1903         (ccosh_test_data): Likewise.
1904         (ceil_test_data): Likewise.
1905         (cexp_test_data): Likewise.
1906         (cimag_test_data): Likewise.
1907         (clog_test_data): Likewise.
1908         (clog10_test_data): Likewise.
1909         (conj_test_data): Likewise.
1910         (copysign_test_data): Likewise.
1911         (cos_test_data): Likewise.
1912         (cos_tonearest_test_data): Likewise.
1913         (cos_towardzero_test_data): Likewise.
1914         (cos_downward_test_data): Likewise.
1915         (cos_upward_test_data): Likewise.
1916         (cosh_test_data): Likewise.
1917         (cosh_tonearest_test_data): Likewise.
1918         (cosh_towardzero_test_data): Likewise.
1919         (cosh_downward_test_data): Likewise.
1920         (cosh_upward_test_data): Likewise.
1921         (cpow_test_data): Likewise.
1922         (cproj_test_data): Likewise.
1923         (creal_test_data): Likewise.
1924         (csin_test_data): Likewise.
1925         (csinh_test_data): Likewise.
1926         (csqrt_test_data): Likewise.
1927         (ctan_test_data): Likewise.
1928         (ctan_tonearest_test_data): Likewise.
1929         (ctan_towardzero_test_data): Likewise.
1930         (ctan_downward_test_data): Likewise.
1931         (ctan_upward_test_data): Likewise.
1932         (ctanh_test_data): Likewise.
1933         (ctanh_tonearest_test_data): Likewise.
1934         (ctanh_towardzero_test_data): Likewise.
1935         (ctanh_downward_test_data): Likewise.
1936         (ctanh_upward_test_data): Likewise.
1937         (erf_test_data): Likewise.
1938         (erfc_test_data): Likewise.
1939         (exp_test_data): Likewise.
1940         (exp_tonearest_test_data): Likewise.
1941         (exp_towardzero_test_data): Likewise.
1942         (exp_downward_test_data): Likewise.
1943         (exp_upward_test_data): Likewise.
1944         (exp10_test_data): Likewise.
1945         (exp2_test_data): Likewise.
1946         (expm1_test_data): Likewise.
1947         (fabs_test_data): Likewise.
1948         (fdim_test_data): Likewise.
1949         (finite_test_data): Likewise.
1950         (floor_test_data): Likewise.
1951         (fma_test_data): Likewise.
1952         (fma_towardzero_test_data): Likewise.
1953         (fma_downward_test_data): Likewise.
1954         (fma_upward_test_data): Likewise.
1955         (fmax_test_data): Likewise.
1956         (fmin_test_data): Likewise.
1957         (fmod_test_data): Likewise.
1958         (fpclassify_test_data): Likewise.
1959         (frexp_test_data): Likewise.
1960         (gamma_test_data): Likewise.
1961         (hypot_test_data): Likewise.
1962         (ilogb_test_data): Likewise.
1963         (isfinite_test_data): Likewise.
1964         (isgreater_test_data): Likewise.
1965         (isgreaterequal_test_data): Likewise.
1966         (isinf_test_data): Likewise.
1967         (isless_test_data): Likewise.
1968         (islessequal_test_data): Likewise.
1969         (islessgreater_test_data): Likewise.
1970         (isnan_test_data): Likewise.
1971         (isnormal_test_data): Likewise.
1972         (issignaling_test_data): Likewise.
1973         (isunordered_test_data): Likewise.
1974         (j0_test_data): Likewise.
1975         (j1_test_data): Likewise.
1976         (jn_test_data): Likewise.
1977         (ldexp_test_data): Likewise.
1978         (lgamma_test_data): Likewise.
1979         (lrint_test_data): Likewise.
1980         (lrint_tonearest_test_data): Likewise.
1981         (lrint_towardzero_test_data): Likewise.
1982         (lrint_downward_test_data): Likewise.
1983         (lrint_upward_test_data): Likewise.
1984         (llrint_test_data): Likewise.
1985         (llrint_tonearest_test_data): Likewise.
1986         (llrint_towardzero_test_data): Likewise.
1987         (llrint_downward_test_data): Likewise.
1988         (llrint_upward_test_data): Likewise.
1989         (log_test_data): Likewise.
1990         (log10_test_data): Likewise.
1991         (log1p_test_data): Likewise.
1992         (log2_test_data): Likewise.
1993         (logb_test_data): Likewise.
1994         (logb_downward_test_data): Likewise.
1995         (lround_test_data): Likewise.
1996         (llround_test_data): Likewise.
1997         (modf_test_data): Likewise.
1998         (nearbyint_test_data): Likewise.
1999         (nextafter_test_data): Likewise.
2000         (nexttoward_test_data): Likewise.
2001         (pow_test_data): Likewise.
2002         (pow_tonearest_test_data): Likewise.
2003         (pow_towardzero_test_data): Likewise.
2004         (pow_downward_test_data): Likewise.
2005         (pow_upward_test_data): Likewise.
2006         (remainder_test_data): Likewise.
2007         (remainder_tonearest_test_data): Likewise.
2008         (remainder_towardzero_test_data): Likewise.
2009         (remainder_downward_test_data): Likewise.
2010         (remainder_upward_test_data): Likewise.
2011         (remquo_test_data): Likewise.
2012         (rint_test_data): Likewise.
2013         (rint_tonearest_test_data): Likewise.
2014         (rint_towardzero_test_data): Likewise.
2015         (rint_downward_test_data): Likewise.
2016         (rint_upward_test_data): Likewise.
2017         (round_test_data): Likewise.
2018         (scalb_test_data): Likewise.
2019         (scalbn_test_data): Likewise.
2020         (scalbln_test_data): Likewise.
2021         (signbit_test_data): Likewise.
2022         (sin_test_data): Likewise.
2023         (sin_tonearest_test_data): Likewise.
2024         (sin_towardzero_test_data): Likewise.
2025         (sin_downward_test_data): Likewise.
2026         (sin_upward_test_data): Likewise.
2027         (sincos_test_data): Likewise.
2028         (sinh_test_data): Likewise.
2029         (sinh_tonearest_test_data): Likewise.
2030         (sinh_towardzero_test_data): Likewise.
2031         (sinh_downward_test_data): Likewise.
2032         (sinh_upward_test_data): Likewise.
2033         (sqrt_test_data): Likewise.
2034         (tan_test_data): Likewise.
2035         (tan_tonearest_test_data): Likewise.
2036         (tan_towardzero_test_data): Likewise.
2037         (tan_downward_test_data): Likewise.
2038         (tan_upward_test_data): Likewise.
2039         (tanh_test_data): Likewise.
2040         (tgamma_test_data): Likewise.
2041         (trunc_test_data): Likewise.
2042         (y0_test_data): Likewise.
2043         (y1_test_data): Likewise.
2044         (yn_test_data): Likewise.
2045         (significand_test_data): Likewise.
2047         * math/gen-libm-test.pl (@functions): Remove variable.
2048         (generate_testfile): Don't handle START and END lines.
2049         * math/libm-test.inc (START): New macro.
2050         (END): Likewise.
2051         (END_COMPLEX): Likewise.
2052         (acos_test): Use END macro without arguments.
2053         (acos_test_tonearest): Likewise.
2054         (acos_test_towardzero): Likewise.
2055         (acos_test_downward): Likewise.
2056         (acos_test_upward): Likewise.
2057         (acosh_test): Likewise.
2058         (asin_test): Likewise.
2059         (asin_test_tonearest): Likewise.
2060         (asin_test_towardzero): Likewise.
2061         (asin_test_downward): Likewise.
2062         (asin_test_upward): Likewise.
2063         (asinh_test): Likewise.
2064         (atan_test): Likewise.
2065         (atanh_test): Likewise.
2066         (atan2_test): Likewise.
2067         (cabs_test): Likewise.
2068         (cacos_test): Use END_COMPLEX macro without arguments.
2069         (cacosh_test): Likewise.
2070         (carg_test): Use END macro without arguments.
2071         (casin_test): Use END_COMPLEX macro without arguments.
2072         (casinh_test): Likewise.
2073         (catan_test): Likewise.
2074         (catanh_test): Likewise.
2075         (cbrt_test): Use END macro without arguments.
2076         (ccos_test): Use END_COMPLEX macro without arguments.
2077         (ccosh_test): Likewise.
2078         (ceil_test): Use END macro without arguments.
2079         (cexp_test): Use END_COMPLEX macro without arguments.
2080         (cimag_test): Use END macro without arguments.
2081         (clog_test): Use END_COMPLEX macro without arguments.
2082         (clog10_test): Likewise.
2083         (conj_test): Likewise.
2084         (copysign_test): Use END macro without arguments.
2085         (cos_test): Likewise.
2086         (cos_test_tonearest): Likewise.
2087         (cos_test_towardzero): Likewise.
2088         (cos_test_downward): Likewise.
2089         (cos_test_upward): Likewise.
2090         (cosh_test): Likewise.
2091         (cosh_test_tonearest): Likewise.
2092         (cosh_test_towardzero): Likewise.
2093         (cosh_test_downward): Likewise.
2094         (cosh_test_upward): Likewise.
2095         (cpow_test): Use END_COMPLEX macro without arguments.
2096         (cproj_test): Likewise.
2097         (creal_test): Use END macro without arguments.
2098         (csin_test): Use END_COMPLEX macro without arguments.
2099         (csinh_test): Likewise.
2100         (csqrt_test): Likewise.
2101         (ctan_test): Likewise.
2102         (ctan_test_tonearest): Likewise.
2103         (ctan_test_towardzero): Likewise.
2104         (ctan_test_downward): Likewise.
2105         (ctan_test_upward): Likewise.
2106         (ctanh_test): Likewise.
2107         (ctanh_test_tonearest): Likewise.
2108         (ctanh_test_towardzero): Likewise.
2109         (ctanh_test_downward): Likewise.
2110         (ctanh_test_upward): Likewise.
2111         (erf_test): Use END macro without arguments.
2112         (erfc_test): Likewise.
2113         (exp_test): Likewise.
2114         (exp_test_tonearest): Likewise.
2115         (exp_test_towardzero): Likewise.
2116         (exp_test_downward): Likewise.
2117         (exp_test_upward): Likewise.
2118         (exp10_test): Likewise.
2119         (exp2_test): Likewise.
2120         (expm1_test): Likewise.
2121         (fabs_test): Likewise.
2122         (fdim_test): Likewise.
2123         (finite_test): Likewise.
2124         (floor_test): Likewise.
2125         (fma_test): Likewise.
2126         (fma_test_towardzero): Likewise.
2127         (fma_test_downward): Likewise.
2128         (fma_test_upward): Likewise.
2129         (fmax_test): Likewise.
2130         (fmin_test): Likewise.
2131         (fmod_test): Likewise.
2132         (fpclassify_test): Likewise.
2133         (frexp_test): Likewise.
2134         (gamma_test): Likewise.
2135         (hypot_test): Likewise.
2136         (ilogb_test): Likewise.
2137         (isfinite_test): Likewise.
2138         (isgreater_test): Likewise.
2139         (isgreaterequal_test): Likewise.
2140         (isinf_test): Likewise.
2141         (isless_test): Likewise.
2142         (islessequal_test): Likewise.
2143         (islessgreater_test): Likewise.
2144         (isnan_test): Likewise.
2145         (isnormal_test): Likewise.
2146         (issignaling_test): Likewise.
2147         (isunordered_test): Likewise.
2148         (j0_test): Likewise.
2149         (j1_test): Likewise.
2150         (jn_test): Likewise.
2151         (ldexp_test): Likewise.
2152         (lgamma_test): Likewise.
2153         (lrint_test): Likewise.
2154         (lrint_test_tonearest): Likewise.
2155         (lrint_test_towardzero): Likewise.
2156         (lrint_test_downward): Likewise.
2157         (lrint_test_upward): Likewise.
2158         (llrint_test): Likewise.
2159         (llrint_test_tonearest): Likewise.
2160         (llrint_test_towardzero): Likewise.
2161         (llrint_test_downward): Likewise.
2162         (llrint_test_upward): Likewise.
2163         (log_test): Likewise.
2164         (log10_test): Likewise.
2165         (log1p_test): Likewise.
2166         (log2_test): Likewise.
2167         (logb_test): Likewise.
2168         (logb_test_downward): Likewise.
2169         (lround_test): Likewise.
2170         (llround_test): Likewise.
2171         (modf_test): Likewise.
2172         (nearbyint_test): Likewise.
2173         (nextafter_test): Likewise.
2174         (nexttoward_test): Likewise.
2175         (pow_test): Likewise.
2176         (pow_test_tonearest): Likewise.
2177         (pow_test_towardzero): Likewise.
2178         (pow_test_downward): Likewise.
2179         (pow_test_upward): Likewise.
2180         (remainder_test): Likewise.
2181         (remainder_test_tonearest): Likewise.
2182         (remainder_test_towardzero): Likewise.
2183         (remainder_test_downward): Likewise.
2184         (remainder_test_upward): Likewise.
2185         (remquo_test): Likewise.
2186         (rint_test): Likewise.
2187         (rint_test_tonearest): Likewise.
2188         (rint_test_towardzero): Likewise.
2189         (rint_test_downward): Likewise.
2190         (rint_test_upward): Likewise.
2191         (round_test): Likewise.
2192         (scalb_test): Likewise.
2193         (scalbn_test): Likewise.
2194         (scalbln_test): Likewise.
2195         (signbit_test): Likewise.
2196         (sin_test): Likewise.
2197         (sin_test_tonearest): Likewise.
2198         (sin_test_towardzero): Likewise.
2199         (sin_test_downward): Likewise.
2200         (sin_test_upward): Likewise.
2201         (sincos_test): Likewise.
2202         (sinh_test): Likewise.
2203         (sinh_test_tonearest): Likewise.
2204         (sinh_test_towardzero): Likewise.
2205         (sinh_test_downward): Likewise.
2206         (sinh_test_upward): Likewise.
2207         (sqrt_test): Likewise.
2208         (tan_test): Likewise.
2209         (tan_test_tonearest): Likewise.
2210         (tan_test_towardzero): Likewise.
2211         (tan_test_downward): Likewise.
2212         (tan_test_upward): Likewise.
2213         (tanh_test): Likewise.
2214         (tgamma_test): Likewise.
2215         (trunc_test): Likewise.
2216         (y0_test): Likewise.
2217         (y1_test): Likewise.
2218         (yn_test): Likewise.
2219         (significand_test): Likewise.
2221 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
2223         [BZ #15381]
2224         * libio/genops.c (_IO_no_init): Initialize wide struct info.
2226 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2228         [BZ #14894]
2229         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2230         __ppc_mdoio and __ppc_mdoom.
2231         * manual/platform.texi: Document new functions __ppc_yield,
2232         __ppc_mdoio and __ppc_mdoom.
2234 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
2236         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2237         (main): Mention "tls" pseudo-hwcap is legacy.
2238         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2240 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2242         * math/gen-libm-test.pl (parse_args): Output only string of
2243         arguments as text for test name, not full call or descriptions of
2244         tests for extra outputs.
2245         (generate_testfile): Do not pass function name to parse_args.
2246         Generate this_func variable from START.
2247         * math/libm-test.inc (struct test_f_f_data): Rename test_name
2248         field to arg_str.
2249         (struct test_ff_f_data): Likewise.
2250         (test_ff_f_data_nexttoward): Likewise.
2251         (struct test_fi_f_data): Likewise.
2252         (struct test_fl_f_data): Likewise.
2253         (struct test_if_f_data): Likewise.
2254         (struct test_fff_f_data): Likewise.
2255         (struct test_c_f_data): Likewise.
2256         (struct test_f_f1_data): Likewise.  Remove field extra_name.
2257         (struct test_fF_f1_data): Likewise.
2258         (struct test_ffI_f1_data): Likewise.
2259         (struct test_c_c_data): Rename test_name field to arg_str.
2260         (struct test_cc_c_data): Likewise.
2261         (struct test_f_i_data): Likewise.
2262         (struct test_ff_i_data): Likewise.
2263         (struct test_f_l_data): Likewise.
2264         (struct test_f_L_data): Likewise.
2265         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
2266         and extra2_name.
2267         (COMMON_TEST_SETUP): New macro.
2268         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2269         (COMMON_TEST_CLEANUP): Likewise.
2270         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2271         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
2272         macros.
2273         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2274         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
2275         macros.
2276         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2277         (RUN_TEST_fff_f): Take argument string.  Call new setup and
2278         cleanup macros.
2279         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2280         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
2281         macros.
2282         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2283         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
2284         macros.
2285         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2286         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
2287         cleanup macros.
2288         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2289         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
2290         cleanup macros.
2291         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2292         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
2293         cleanup macros.
2294         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2295         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
2296         macros.
2297         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2298         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
2299         macros.
2300         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2301         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
2302         macros.
2303         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2304         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
2305         cleanup macros.
2306         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2307         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
2308         cleanup macros.
2309         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2310         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
2311         macros.
2312         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2313         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
2314         cleanup macros.
2315         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2316         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
2317         macros.
2318         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2319         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
2320         macros.
2321         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2322         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
2323         cleanup macros.
2324         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2326 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2328         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2329         to _sifields.sigfault.
2330         (si_addr_lsb): Define new macro.
2331         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2332         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2333         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2335 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
2337         [BZ #15441]
2338         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2339         returns -1.
2340         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2341         null return -1.
2342         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2343         loading the domain.
2345 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2347         * math/gen-libm-test.pl (parse_args): Do not include expected
2348         result in test name.
2349         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2350         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2351         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2352         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2353         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2356 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2358         * benchtests/Makefile: Sort function entries.
2360         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2361         tanh, asinh, acosh, atanh.
2362         * benchtests/acos-inputs: New file.
2363         * benchtests/acosh-inputs: New file.
2364         * benchtests/asin-inputs: New file.
2365         * benchtests/asinh-inputs: New file.
2366         * benchtests/atanh-inputs: New file.
2367         * benchtests/cosh-inputs: New file.
2368         * benchtests/log-inputs: New file.
2369         * benchtests/sinh-inputs: New file.
2370         * benchtests/tanh-inputs: New file.
2372 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
2374         [BZ #15339]
2375         * posix/tst-getaddrinfo4.c: New test.
2376         * posix/Makefile (tests): Add it.
2378 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2380         [BZ #15339]
2381         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2382         when no services were used.
2383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2384         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2386 2013-05-21  Andreas Schwab  <schwab@suse.de>
2388         [BZ #15014]
2389         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2390         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2391         successful.
2392         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2393         redundant variable declarations and reallocation of buffer when
2394         parsing as IPv6 address.  Always set NSS status when called from
2395         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
2396         buffer too small.  Correct computation of needed size.
2397         * nss/Makefile (tests): Add test-digits-dots.
2398         * nss/test-digits-dots.c: New test.
2400 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2402         * benchtests/Makefile: Remove instructions for adding
2403         benchmark tests.
2404         * benchtests/README: New file to explain how to execute and
2405         enhance the benchmark tests.
2407 2013-05-21  Andreas Schwab  <schwab@suse.de>
2409         [BZ #15493]
2410         * setjmp/Makefile (tests): Add tst-sigsetjmp.
2411         * setjmp/tst-sigsetjmp.c: New test.
2413 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2415         * sysdeps/x86_64/memset.S (memset): New implementation.
2416         (__bzero): Likewise.
2417         (__memset_tail): New function.
2419 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2421         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2422         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2423         __memcpy_sse2_unaligned ifunc selection.
2424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2425         Add memcpy-sse2-unaligned.S.
2426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2427         Add: __memcpy_sse2_unaligned.
2429 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
2431         [BZ #15490]
2432         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2433         math_force_eval before restoring floating-point envrionment.
2434         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2435         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2436         Likewise.
2437         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2438         <math_private.h>.
2439         (__nearbyintl): Use math_force_eval before restoring
2440         floating-point environment.
2441         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2443         * math/gen-libm-test.pl (special_functions): Remove.
2444         (parse_args): Don't handle TEST_extra.  Handle functions with no
2445         return value.
2446         * math/libm-test.inc (struct test_sincos_data): Replace with
2447         struct test_fFF_11_data.
2448         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2449         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2450         (sincos_test_data): Change element type to struct
2451         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
2452         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2453         RUN_TEST_LOOP_sincos.
2454         * math/README.libm-test: Don't mention special handling of
2455         individual functions.
2456         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2457         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2458         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2459         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2460         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2463         * math/gen-libm-test.pl (get_variable): Remove function.
2464         (parse_args): Don't show pointer parameters to call in test
2465         names.  Use "extra output N" in test names for extra outputs
2466         rather than naming variables.
2468 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
2470         [BZ #15488]
2471         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2472         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2473         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2474         double tests.
2475         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2476         disable.
2477         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2478         check_long_double.
2480         * math/gen-libm-test.pl (@tests): Remove variable.
2481         ($count): Likewise.
2482         (new_test): Remove function.
2483         (show_exceptions): New function.
2484         (special_functions): Use show_exceptions instead of new_test.
2485         (parse_args): Likewise.
2486         (generate_testfile): Pass only function name in generated call to
2487         print_max_error or print_complex_max_error.
2488         (get_ulps): Do not handle complex tests specially.
2489         (output_test): Rename to ...
2490         (get_all_ulps_for_test): ... this.  Return a string rather than
2491         printing to a file.  Require ulps to be present.
2492         (output_ulps): Generate arrays rather than #defines.
2493         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2494         (struct ulp_data): New type.
2495         (BUILD_COMPLEX_ULP): Remove macro.
2496         (compare_ulp_data): New function.
2497         (find_ulps): Likewise.
2498         (find_test_ulps): Likewise.
2499         (find_function_ulps): Likewise.
2500         (find_complex_function_ulps): Likewise.
2501         (print_max_error): Determine allowed ulps using
2502         find_function_ulps.
2503         (print_complex_max_error): Determine allowed ulps using
2504         find_complex_function_ulps.
2505         (check_float_internal): Determine max ulps using find_test_ulps.
2506         (check_float): Do not take max_ulp parameter.  Update call to
2507         check_float_internal.
2508         (check_complex): Likewise.
2509         (check_int): Do not take max_ulp parameter.
2510         (check_long): Likewise.
2511         (check_bool): Likewise.
2512         (check_longlong): Likewise.
2513         (struct test_f_f_data): Remove max_ulp field.
2514         (struct test_ff_f_data): Likewise.
2515         (struct test_ff_f_data_nexttoward): Likewise.
2516         (struct test_fi_f_data): Likewise.
2517         (struct test_fl_f_data): Likewise.
2518         (struct test_if_f_data): Likewise.
2519         (struct test_fff_f_data): Likewise.
2520         (struct test_c_f_data): Likewise.
2521         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2522         (struct test_fF_f1_data): Likewise.
2523         (struct test_ffI_f1_data): Likewise.
2524         (struct test_c_c_data): Remove max_ulp field.
2525         (struct test_cc_c_data): Likewise.
2526         (struct test_f_i_data): Likewise.
2527         (struct test_ff_i_data): Likewise.
2528         (struct test_f_l_data): Likewise.
2529         (struct test_f_L_data): Likewise.
2530         (struct test_sincos_data): Likewise.
2531         (RUN_TEST_f_f): Do not handle ulps.
2532         (RUN_TEST_LOOP_f_f): Likewise.
2533         (RUN_TEST_2_f): Likewise.
2534         (RUN_TEST_LOOP_2_f): Likewise.
2535         (RUN_TEST_fff_f): Likewise.
2536         (RUN_TEST_LOOP_fff_f): Likewise.
2537         (RUN_TEST_c_f): Likewise.
2538         (RUN_TEST_LOOP_c_f): Likewise.
2539         (RUN_TEST_f_f1): Likewise.
2540         (RUN_TEST_LOOP_f_f1): Likewise.
2541         (RUN_TEST_fF_f1): Likewise.
2542         (RUN_TEST_LOOP_fF_f1): Likewise.
2543         (RUN_TEST_fI_f1): Likewise.
2544         (RUN_TEST_LOOP_fI_f1): Likewise.
2545         (RUN_TEST_ffI_f1): Likewise.
2546         (RUN_TEST_LOOP_ffI_f1): Likewise.
2547         (RUN_TEST_c_c): Likewise.
2548         (RUN_TEST_LOOP_c_c): Likewise.
2549         (RUN_TEST_cc_c): Likewise.
2550         (RUN_TEST_LOOP_cc_c): Likewise.
2551         (RUN_TEST_f_i): Likewise.
2552         (RUN_TEST_LOOP_f_i): Likewise.
2553         (RUN_TEST_f_i_tg): Likewise.
2554         (RUN_TEST_LOOP_f_i_tg): Likewise.
2555         (RUN_TEST_ff_i_tg): Likewise.
2556         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2557         (RUN_TEST_f_b): Likewise.
2558         (RUN_TEST_LOOP_f_b): Likewise.
2559         (RUN_TEST_f_b_tg): Likewise.
2560         (RUN_TEST_LOOP_f_b_tg): Likewise.
2561         (RUN_TEST_f_l): Likewise.
2562         (RUN_TEST_LOOP_f_l): Likewise.
2563         (RUN_TEST_f_L): Likewise.
2564         (RUN_TEST_LOOP_f_L): Likewise.
2565         (RUN_TEST_sincos): Likewise.
2566         (RUN_TEST_LOOP_sincos): Likewise.
2568 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2570         [BZ #15480]
2571         [BZ #15485]
2572         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2573         main case of finite arguments, set rounding mode to FE_TONEAREST
2574         and discard exceptions.
2575         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2576         exceptions.
2577         (remainder_tonearest_test_data): New variable.
2578         (remainder_test_tonearest): New function.
2579         (remainder_towardzero_test_data): New variable.
2580         (remainder_test_towardzero): New function.
2581         (remainder_downward_test_data): New variable.
2582         (remainder_test_downward): New function.
2583         (remainder_upward_test_data): New variable.
2584         (remainder_test_upward): New function.
2585         (main): Call the new test functions.
2587         * math/libm-test.inc (struct test_f_f1_data): Remove field
2588         extra_init.
2589         (struct test_fF_f1_data): Likewise.
2590         (struct test_ffI_f1_data): Likewise.
2591         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2592         based on value of EXTRA_EXPECTED.
2593         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2594         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2595         EXTRA_VAR based on value of EXTRA_EXPECTED.
2596         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2597         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2598         EXTRA_VAR based on value of EXTRA_EXPECTED.
2599         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2600         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2601         EXTRA_VAR based on value of EXTRA_EXPECTED.
2602         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2603         * math/gen-libm-test.pl (parse_args): Don't output initializers
2604         for extra output values.
2606         * math/libm-test.inc (check_int): Expect result to be exactly
2607         equal to expected value and do not handle ulps.
2608         (check_long): Likewise.
2609         (check_longlong): Likewise.
2611         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2612         exceptions.
2613         (cimag_test_data): Likewise.
2614         (conj_test_data): Likewise.
2615         (copysign_test_data): Likewise.
2616         (cproj_test_data): Likewise.
2617         (creal_test_data): Likewise.
2618         (fabs_test_data): Likewise.
2619         (fdim_test_data): Likewise.
2620         (finite_test_data): Likewise.
2621         (floor_test_data): Likewise.
2622         (fmax_test_data): Likewise.
2623         (fmin_test_data): Likewise.
2624         (fmod_test_data): Likewise.
2625         (fpclassify_test_data): Likewise.
2626         (frexp_test_data): Likewise.
2627         (ilogb_test_data): Likewise.
2628         (isfinite_test_data): Likewise.
2629         (isgreater_test_data): Likewise.
2630         (isgreaterequal_test_data): Likewise.
2631         (isinf_test_data): Likewise.
2632         (isless_test_data): Likewise.
2633         (islessequal_test_data): Likewise.
2634         (islessgreater_test_data): Likewise.
2635         (isnan_test_data): Likewise.
2636         (isnormal_test_data): Likewise.
2637         (issignaling_test_data): Likewise.
2638         (isunordered_test_data): Likewise.
2639         (ldexp_test_data): Likewise.
2640         (lrint_test_data): Likewise.
2641         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2642         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2643         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2644         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2645         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2646         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2647         test input.
2648         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2649         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2650         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2651         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2652         that test input.
2653         (lrint_downward_test_data): Test for "inexact" exceptions.
2654         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2655         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2656         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2657         test input.
2658         (lrint_upward_test_data): Test for "inexact" exceptions.
2659         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2660         test input.
2661         (llrint_test_data): Test for "inexact" exceptions.
2662         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2663         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2664         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2665         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2666         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2667         (llrint_downward_test_data): Test for "inexact" exceptions.
2668         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2669         (llrint_upward_test_data): Test for "inexact" exceptions.
2670         (logb_test_data): Likewise.
2671         (logb_downward_test_data): Likewise.
2672         (nextafter_test_data): Likewise.
2673         (nexttoward_test_data): Likewise.
2674         (remainder_test_data): Likewise.
2675         (remquo_test_data): Likewise.
2676         (scalbn_test_data): Likewise.
2677         (scalbln_test_data): Likewise.
2678         (signbit_test_data): Likewise.
2679         (sqrt_test_data): Likewise.
2680         (significand_test_data): Likewise.
2682 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2684         [BZ #15424]
2685         * benchtests/bench-modf.c (struct args): Mark arg0 as
2686         volatile.
2687         * scripts/bench.pl: Mark members of struct args as volatile.
2689 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2691         [BZ # 15497]
2692         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2693         negative infinity on POWER6 or lower.
2694         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2696 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2698         [BZ #15442]
2699         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2700         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2701         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2702         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2703         (_FP_SETQNAN): New macro.
2704         (_FP_SETQNAN_SEMIRAW): Likewise.
2705         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2706         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2707         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2708         (FP_EXTEND): Use _FP_FRAC_SNANP.
2709         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2710         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2711         into account.
2712         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2713         New macro.
2714         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2715         Likewise.
2717 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2719         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2720         with DIVIDE_BY_ZERO_EXCEPTION.
2721         (gamma_test_data): Likewise.
2722         (lgamma_test_data): Likewise.
2723         (log_test_data): Likewise.
2724         (log10_test_data): Likewise.
2725         (log2_test_data): Likewise.
2726         (tgamma_test_data): Likewise.
2728         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2729         (acos_test_tonearest): Likewise.
2730         (acos_test_towardzero): Likewise.
2731         (acos_test_downward): Likewise.
2732         (acos_test_upward): Likewise.
2733         (acosh_test): Likewise.
2734         (asin_test): Likewise.
2735         (asin_test_tonearest): Likewise.
2736         (asin_test_towardzero): Likewise.
2737         (asin_test_downward): Likewise.
2738         (asin_test_upward): Likewise.
2739         (asinh_test): Likewise.
2740         (atan_test): Likewise.
2741         (atanh_test): Likewise.
2742         (atan2_test): Likewise.
2743         (cabs_test): Likewise.
2744         (cacos_test): Likewise.
2745         (cacosh_test): Likewise.
2746         (casin_test): Likewise.
2747         (casinh_test): Likewise.
2748         (catan_test): Likewise.
2749         (catanh_test): Likewise.
2750         (cbrt_test): Likewise.
2751         (ccos_test): Likewise.
2752         (ccosh_test): Likewise.
2753         (cexp_test): Likewise.
2754         (clog_test): Likewise.
2755         (clog10_test): Likewise.
2756         (cos_test): Likewise.
2757         (cos_test_tonearest): Likewise.
2758         (cos_test_towardzero): Likewise.
2759         (cos_test_downward): Likewise.
2760         (cos_test_upward): Likewise.
2761         (cosh_test): Likewise.
2762         (cosh_test_tonearest): Likewise.
2763         (cosh_test_towardzero): Likewise.
2764         (cosh_test_downward): Likewise.
2765         (cosh_test_upward): Likewise.
2766         (cpow_test): Likewise.
2767         (csin_test): Likewise.
2768         (csinh_test): Likewise.
2769         (csqrt_test): Likewise.
2770         (ctan_test): Likewise.
2771         (ctan_test_tonearest): Likewise.
2772         (ctan_test_towardzero): Likewise.
2773         (ctan_test_downward): Likewise.
2774         (ctan_test_upward): Likewise.
2775         (ctanh_test): Likewise.
2776         (ctanh_test_tonearest): Likewise.
2777         (ctanh_test_towardzero): Likewise.
2778         (ctanh_test_downward): Likewise.
2779         (ctanh_test_upward): Likewise.
2780         (erf_test): Likewise.
2781         (erfc_test): Likewise.
2782         (exp_test): Likewise.
2783         (exp_test_tonearest): Likewise.
2784         (exp_test_towardzero): Likewise.
2785         (exp_test_downward): Likewise.
2786         (exp_test_upward): Likewise.
2787         (exp10_test): Likewise.
2788         (exp2_test): Likewise.
2789         (expm1_test): Likewise.
2790         (fmod_test): Likewise.
2791         (gamma_test): Likewise.
2792         (hypot_test): Likewise.
2793         (j0_test): Likewise.
2794         (j1_test): Likewise.
2795         (jn_test): Likewise.
2796         (lgamma_test): Likewise.
2797         (log_test): Likewise.
2798         (log10_test): Likewise.
2799         (log1p_test): Likewise.
2800         (log2_test): Likewise.
2801         (logb_test_downward): Likewise.
2802         (pow_test): Likewise.
2803         (pow_test_tonearest): Likewise.
2804         (pow_test_towardzero): Likewise.
2805         (pow_test_downward): Likewise.
2806         (pow_test_upward): Likewise.
2807         (remainder_test): Likewise.
2808         (remquo_test): Likewise.
2809         (sin_test): Likewise.
2810         (sin_test_tonearest): Likewise.
2811         (sin_test_towardzero): Likewise.
2812         (sin_test_downward): Likewise.
2813         (sin_test_upward): Likewise.
2814         (sincos_test): Likewise.
2815         (sinh_test): Likewise.
2816         (sinh_test_tonearest): Likewise.
2817         (sinh_test_towardzero): Likewise.
2818         (sinh_test_downward): Likewise.
2819         (sinh_test_upward): Likewise.
2820         (sqrt_test): Likewise.
2821         (tan_test): Likewise.
2822         (tan_test_tonearest): Likewise.
2823         (tan_test_towardzero): Likewise.
2824         (tan_test_downward): Likewise.
2825         (tan_test_upward): Likewise.
2826         (tanh_test): Likewise.
2827         (tgamma_test): Likewise.
2828         (y0_test): Likewise.
2829         (y1_test): Likewise.
2830         (yn_test): Likewise.
2832         * math/gen-libm-test.pl (adjust_arg): Remove function.
2833         (special_function): Remove argument $in_func.  Only handle
2834         generating output for tables of tests, not inside functions.
2835         (parse_args): Likewise.
2836         (generate_testfile): Remove variable $in_func.  Update call to
2837         parse_args.
2838         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2839         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2840         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2841         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2842         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2843         (MAX_VALUE_INIT): Rename macro to max_value.
2844         (MIN_VALUE_INIT): Rename macro to min_value.
2845         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2846         (plus_zero): Remove variable.
2847         (minus_zero): Likewise.
2848         (plus_infty): Likewise.
2849         (minus_infty): Likewise.
2850         (qnan_value): Likewise.
2851         (max_value): Likewise.
2852         (min_value): Likewise.
2853         (min_subnorm_value): Likewise.
2855 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2857         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2858         uint64_t or uint32_t usage.
2859         * crypt/sha256-block.c: Likewise.
2860         * crypt/sha256-crypt.c: Likewise.
2861         * crypt/sha256.c: Likewise.
2862         * crypt/sha512-block.c: Likewise.
2863         * crypt/sha512-crypt.c: Likewise.
2864         * crypt/sha512.c: Likewise.
2865         * debug/backtrace-tst.c: Likewise.
2866         * debug/pcprofiledump.c: Likewise.
2867         * elf/cache.c: Likewise.
2868         * elf/dl-cache.c: Likewise.
2869         * elf/dl-misc.c: Likewise.
2870         * elf/dl-profile.c: Likewise.
2871         * elf/dl-support.c: Likewise.
2872         * elf/ldconfig.c: Likewise.
2873         * elf/sprof.c: Likewise.
2874         * iconv/dummy-repertoire.c: Likewise.
2875         * iconv/iconv_charmap.c: Likewise.
2876         * iconv/skeleton.c: Likewise.
2877         * iconvdata/8bit-generic.c: Likewise.
2878         * iconvdata/cp737.h: Likewise.
2879         * iconvdata/cp775.h: Likewise.
2880         * iconvdata/ibm1008.h: Likewise.
2881         * iconvdata/ibm1025.h: Likewise.
2882         * iconvdata/ibm1046.h: Likewise.
2883         * iconvdata/ibm1097.h: Likewise.
2884         * iconvdata/ibm1112.h: Likewise.
2885         * iconvdata/ibm1122.h: Likewise.
2886         * iconvdata/ibm1123.h: Likewise.
2887         * iconvdata/ibm1124.h: Likewise.
2888         * iconvdata/ibm1129.h: Likewise.
2889         * iconvdata/ibm1130.h: Likewise.
2890         * iconvdata/ibm1132.h: Likewise.
2891         * iconvdata/ibm1133.h: Likewise.
2892         * iconvdata/ibm1137.h: Likewise.
2893         * iconvdata/ibm1140.h: Likewise.
2894         * iconvdata/ibm1141.h: Likewise.
2895         * iconvdata/ibm1142.h: Likewise.
2896         * iconvdata/ibm1143.h: Likewise.
2897         * iconvdata/ibm1144.h: Likewise.
2898         * iconvdata/ibm1145.h: Likewise.
2899         * iconvdata/ibm1146.h: Likewise.
2900         * iconvdata/ibm1147.h: Likewise.
2901         * iconvdata/ibm1148.h: Likewise.
2902         * iconvdata/ibm1149.h: Likewise.
2903         * iconvdata/ibm1153.h: Likewise.
2904         * iconvdata/ibm1154.h: Likewise.
2905         * iconvdata/ibm1155.h: Likewise.
2906         * iconvdata/ibm1156.h: Likewise.
2907         * iconvdata/ibm1157.h: Likewise.
2908         * iconvdata/ibm1158.h: Likewise.
2909         * iconvdata/ibm1160.h: Likewise.
2910         * iconvdata/ibm1161.h: Likewise.
2911         * iconvdata/ibm1162.h: Likewise.
2912         * iconvdata/ibm1163.h: Likewise.
2913         * iconvdata/ibm1164.h: Likewise.
2914         * iconvdata/ibm1166.h: Likewise.
2915         * iconvdata/ibm1167.h: Likewise.
2916         * iconvdata/ibm12712.h: Likewise.
2917         * iconvdata/ibm1390.h: Likewise.
2918         * iconvdata/ibm1399.h: Likewise.
2919         * iconvdata/ibm16804.h: Likewise.
2920         * iconvdata/ibm4517.h: Likewise.
2921         * iconvdata/ibm4899.h: Likewise.
2922         * iconvdata/ibm4909.h: Likewise.
2923         * iconvdata/ibm4971.h: Likewise.
2924         * iconvdata/ibm5347.h: Likewise.
2925         * iconvdata/ibm803.h: Likewise.
2926         * iconvdata/ibm856.h: Likewise.
2927         * iconvdata/ibm901.h: Likewise.
2928         * iconvdata/ibm902.h: Likewise.
2929         * iconvdata/ibm9030.h: Likewise.
2930         * iconvdata/ibm9066.h: Likewise.
2931         * iconvdata/ibm921.h: Likewise.
2932         * iconvdata/ibm922.h: Likewise.
2933         * iconvdata/ibm9448.h: Likewise.
2934         * iconvdata/isiri-3342.h: Likewise.
2935         * iconvdata/jis0201.h: Likewise.
2936         * include/link.h: Likewise.
2937         * include/netdb.h: Likewise.
2938         * inet/check_native.c: Likewise.
2939         * inet/check_pf.c: Likewise.
2940         * inet/getipv4sourcefilter.c: Likewise.
2941         * inet/getnameinfo.c: Likewise.
2942         * inet/getsourcefilter.c: Likewise.
2943         * inet/htonl.c: Likewise.
2944         * inet/setipv4sourcefilter.c: Likewise.
2945         * inet/setsourcefilter.c: Likewise.
2946         * inet/test-inet6_opt.c: Likewise.
2947         * inet/tst-network.c: Likewise.
2948         * locale/C-collate.c: Likewise.
2949         * locale/C-ctype.c: Likewise.
2950         * locale/C-time.c: Likewise.
2951         * locale/C-translit.h: Likewise.
2952         * locale/loadarchive.c: Likewise.
2953         * locale/programs/3level.h: Likewise.
2954         * locale/programs/charmap.c: Likewise.
2955         * locale/programs/charmap.h: Likewise.
2956         * locale/programs/ld-address.c: Likewise.
2957         * locale/programs/ld-collate.c: Likewise.
2958         * locale/programs/ld-ctype.c: Likewise.
2959         * locale/programs/ld-identification.c: Likewise.
2960         * locale/programs/ld-measurement.c: Likewise.
2961         * locale/programs/ld-messages.c: Likewise.
2962         * locale/programs/ld-monetary.c: Likewise.
2963         * locale/programs/ld-name.c: Likewise.
2964         * locale/programs/ld-numeric.c: Likewise.
2965         * locale/programs/ld-paper.c: Likewise.
2966         * locale/programs/ld-telephone.c: Likewise.
2967         * locale/programs/ld-time.c: Likewise.
2968         * locale/programs/linereader.c: Likewise.
2969         * locale/programs/locale.c: Likewise.
2970         * locale/programs/locarchive.c: Likewise.
2971         * locale/programs/locfile.h: Likewise.
2972         * locale/programs/repertoire.c: Likewise.
2973         * locale/programs/simple-hash.c: Likewise.
2974         * locale/programs/simple-hash.h: Likewise.
2975         * malloc/memusage.c: Likewise.
2976         * malloc/memusagestat.c: Likewise.
2977         * nis/nis_defaults.c: Likewise.
2978         * nis/nis_hash.c: Likewise.
2979         * nis/nis_print.c: Likewise.
2980         * nis/nis_xdr.c: Likewise.
2981         * nscd/connections.c: Likewise.
2982         * nscd/hstcache.c: Likewise.
2983         * nscd/nscd_gethst_r.c: Likewise.
2984         * nscd/nscd_getserv_r.c: Likewise.
2985         * nscd/nscd_helper.c: Likewise.
2986         * nscd/servicescache.c: Likewise.
2987         * nss/makedb.c: Likewise.
2988         * nss/nss_db/db-XXX.c: Likewise.
2989         * nss/nss_db/db-initgroups.c: Likewise.
2990         * nss/nss_db/db-netgrp.c: Likewise.
2991         * nss/nss_files/files-network.c: Likewise.
2992         * nss/nss_files/files-parse.c: Likewise.
2993         * posix/bug-regex5.c: Likewise.
2994         * posix/fnmatch_loop.c: Likewise.
2995         * posix/regcomp.c: Likewise.
2996         * posix/regexec.c: Likewise.
2997         * posix/tst-rfc3484-2.c: Likewise.
2998         * posix/tst-rfc3484-3.c: Likewise.
2999         * posix/tst-rfc3484.c: Likewise.
3000         * resolv/nss_dns/dns-canon.c: Likewise.
3001         * resolv/nss_dns/dns-network.c: Likewise.
3002         * resolv/res_init.c: Likewise.
3003         * resolv/res_mkquery.c: Likewise.
3004         * resolv/tst-aton.c: Likewise.
3005         * stdlib/cxa_atexit.c: Likewise.
3006         * stdlib/cxa_finalize.c: Likewise.
3007         * stdlib/gen-fpioconst.c: Likewise.
3008         * stdlib/strtol_l.c: Likewise.
3009         * string/tst-endian.c: Likewise.
3010         * sunrpc/auth_des.c: Likewise.
3011         * sunrpc/clnt_udp.c: Likewise.
3012         * sunrpc/rtime.c: Likewise.
3013         * sunrpc/svcauth_des.c: Likewise.
3014         * sunrpc/xdr.c: Likewise.
3015         * sunrpc/xdr_intXX_t.c: Likewise.
3016         * sunrpc/xdr_rec.c: Likewise.
3017         * sysdeps/generic/ldconfig.h: Likewise.
3018         * sysdeps/generic/ldsodefs.h: Likewise.
3019         * sysdeps/generic/memusage.h: Likewise.
3020         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3021         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3022         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3023         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3024         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3025         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3026         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3027         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3028         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3030         * sysdeps/posix/getaddrinfo.c: Likewise.
3031         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3032         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3033         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3034         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3035         * sysdeps/powerpc/test-gettimebase.c: Likewise.
3036         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3037         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3038         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3039         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3040         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3041         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3042         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3043         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3044         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3045         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3046         * sysdeps/x86_64/dl-tls.h: Likewise.
3047         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3048         * time/alt_digit.c: Likewise.
3049         * time/era.c: Likewise.
3050         * wcsmbs/tst-c16c32-1.c: Likewise.
3052 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3054         * math/libm-test.inc (struct test_sincos_data): New type.
3055         (RUN_TEST_LOOP_sincos): New macro.
3056         (sincos_test_data): New variable.
3057         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3059 2013-05-16  Richard Henderson  <rth@redhat.com>
3061         * math/atest-exp2.c (LIMB64): New macro.
3062         (CONSTSZ): New macro.
3063         (mp_exp1, mp_exp_m1, mp_log2): New variables.
3064         (hexdig): Move ...
3065         (print_mpn_fp): ... to function scope.
3066         (read_mpn_hex): Remove.
3067         (get_log2): Remove.
3068         (exp2_mpn): Use mp_log2.
3069         (main): Use mp_exp1.
3071 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3073         * math/libm-test.inc: Remove comment about not testing "inexact"
3074         exceptions.
3075         (INEXACT_EXCEPTION): New macro.
3076         (NO_INEXACT_EXCEPTION): Likewise.
3077         (INVALID_EXCEPTION_OK): Update value.
3078         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3079         (OVERFLOW_EXCEPTION_OK): Likewise.
3080         (UNDERFLOW_EXCEPTION_OK): Likewise.
3081         (IGNORE_ZERO_INF_SIGN): Likewise.
3082         (ERRNO_UNCHANGED): Likewise.
3083         (ERRNO_EDOM): Likewise.
3084         (ERRNO_ERANGE): Likewise.
3085         (test_exceptions): Handle testing "inexact" exceptions.
3086         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3087         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3088         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3089         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3090         INEXACT_EXCEPTION.
3091         (rint_towardzero_test_data): Likewise.
3092         (rint_downward_test_data): Likewise.
3093         (rint_upward_test_data): Likewise.
3095         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3096         with OVERFLOW_EXCEPTION.
3097         (exp10_test_data): Likewise.
3098         (exp2_test_data): Likewise.
3099         (expm1_test_data): Likewise.
3100         (lgamma_test_data): Likewise.
3101         (pow_test_data): Likewise.
3102         (tgamma_test_data): Likewise.
3103         (yn_test_data): Remove duplicate test of overflow.
3105         * math/libm-test.inc (struct test_cc_c_data): New type.
3106         (RUN_TEST_LOOP_cc_c): New macro.
3107         (cpow_test_data): New variable.
3108         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3110         * math/libm-test.inc (struct test_f_L_data): New type.
3111         (RUN_TEST_LOOP_f_L): New macro.
3112         (llrint_test_data): New variable.
3113         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3114         (llrint_tonearest_test_data): New variable.
3115         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3116         (llrint_towardzero_test_data): New variable.
3117         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3118         (llrint_downward_test_data): New variable.
3119         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3120         (llrint_upward_test_data): New variable.
3121         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3122         (llround_test_data): New variable.
3123         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3125 2013-05-13  Peter Collingbourne  <pcc@google.com>
3127         * math/atest-exp2.c (get_log2): Remove const attribute.
3129 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
3131         * math/libm-test.inc (struct test_f_l_data): New type.
3132         (RUN_TEST_LOOP_f_l): New macro.
3133         (lrint_test_data): New variable.
3134         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3135         (lrint_tonearest_test_data): New variable.
3136         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3137         (lrint_towardzero_test_data): New variable.
3138         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3139         (lrint_downward_test_data): New variable.
3140         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3141         (lrint_upward_test_data): New variable.
3142         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3143         (lround_test_data): New variable.
3144         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3146 2013-05-15  Peter Collingbourne  <pcc@google.com>
3148         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3149         (EXTRACT_WORDS64) Use where appropriate.
3150         (INSERT_WORDS64) Likewise.
3152         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3153         constraints with x constraints.
3154         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3156         * malloc/obstack.c (_obstack_compat): Add initializer.
3158 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3160         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3161         si_trapno and add si_addr_lsb to _sifields.sigfault.
3162         (si_trapno): Remove macro.
3163         (si_addr_lsb): Define new macro.
3164         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3166 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
3168         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3169         instead of TEST_f_l.
3170         (llrint_test_tonearest): Likewise.
3171         (llrint_test_towardzero): Likewise.
3172         (llrint_test_downward): Likewise.
3173         (llrint_test_upward): Likewise.
3174         (llround_test): Likewise.
3176         * math/libm-test.inc (struct test_f_i_data): Add comment.
3177         (RUN_TEST_LOOP_f_b): New macro.
3178         (RUN_TEST_LOOP_f_b_tg): Likewise.
3179         (finite_test_data): New variable.
3180         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3181         (isfinite_test_data): New variable.
3182         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3183         (isinf_test_data): New variable.
3184         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3185         (isnan_test_data): New variable.
3186         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3187         (isnormal_test_data): New variable.
3188         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3189         (issignaling_test_data): New variable.
3190         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3191         (signbit_test_data): New variable.
3192         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3194         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3195         with INVALID_EXCEPTION.
3196         (acosh_test_data): Likewise.
3197         (asin_test_data): Likewise.
3198         (atanh_test_data): Likewise.
3199         (fmod_test_data): Likewise.
3200         (log_test_data): Likewise.
3201         (log10_test_data): Likewise.
3202         (log2_test_data): Likewise.
3203         (pow_test_data): Likewise.
3204         (sqrt_test_data): Likewise.
3205         (y0_test_data): Likewise.
3206         (y1_test_data): Likewise.
3207         (yn_test_data): Likewise.
3209         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3210         function contents.
3212         * math/libm-test.inc (struct test_ff_i_data): New type.
3213         (RUN_TEST_LOOP_ff_i_tg): New macro.
3214         (isgreater_test_data): New variable.
3215         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3216         (isgreaterequal_test_data): New variable.
3217         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3218         (isless_test_data): New variable.
3219         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3220         (islessequal_test_data): New variable.
3221         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3222         (islessgreater_test_data): New variable.
3223         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3224         (isunordered_test_data): New variable.
3225         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3227 2013-05-14  David S. Miller  <davem@davemloft.net>
3229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3231 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
3233         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3235         * math/libm-test.inc (struct test_fF_f1_data): Change type of
3236         extra_test to int.
3237         (struct test_f_i_data): Change type of max_ulp to int.
3239         * math/libm-test.inc (test_ffI_f1_data): New type.
3240         (RUN_TEST_LOOP_ffI_f1): New macro.
3241         (remquo_test_data): New variable.
3242         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3244         * setjmp/tst-setjmp-fp.c: New file.
3245         * setjmp/Makefile (tests): Add tst-setjmp-fp.
3246         (link-libm): New variable.
3247         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3249         * math/libm-test.inc (struct test_f_i_data): New type.
3250         (RUN_TEST_LOOP_f_i): New macro.
3251         (RUN_TEST_LOOP_f_i_tg): Likewise.
3252         (fpclassify_test_data): New variable.
3253         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3254         (ilogb_test_data): New variable.
3255         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3257         * math/libm-test.inc (scalbln_test): Correct function name in END
3258         call.
3260         * math/libm-test.inc (struct test_f_f1_data): Add comment.
3261         (RUN_TEST_LOOP_fI_f1): New macro.
3262         (frexp_test_data): New variable.
3263         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3265         * math/libm-test.inc (struct test_fF_f1_data): New type.
3266         (RUN_TEST_LOOP_fF_f1): New macro.
3267         (modf_test_data): New variable.
3268         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3270         * math/libm-test.inc (struct test_f_f1_data): New type.
3271         (RUN_TEST_LOOP_f_f1): New macro.
3272         (gamma_test_data): New variable.
3273         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3274         (lgamma_test_data): New variable.
3275         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3277 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
3279         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3280         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3281         (main): Comment "tls" pseudo-hwcap.
3283 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
3285         * math/libm-test.inc (struct test_fl_f_data): New type.
3286         (RUN_TEST_LOOP_fl_f): New variable.
3287         (scalbln_test_data): New variable.
3288         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3290         * math/libm-test.inc (struct test_fi_f_data): New type.
3291         (RUN_TEST_LOOP_fi_f): New macro.
3292         (ldexp_test_data): New variable.
3293         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3294         (scalbn_test_data): New variable.
3295         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3297         * math/libm-test.inc (struct test_c_f_data): New type.
3298         (RUN_TEST_LOOP_c_f): New macro.
3299         (cabs_test_data): New variable.
3300         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3301         (carg_test_data): New variable.
3302         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3303         (cimag_test_data): New variable.
3304         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3305         (creal_test_data): New variable.
3306         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3308         * math/libm-test.inc (struct test_if_f_data): New type.
3309         (RUN_TEST_LOOP_if_f): New macro.
3310         (jn_test_data): New variable.
3311         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3312         (yn_test_data): New variable.
3313         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3315         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3317 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3319         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3320         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3322 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3324         * benchtests/Makefile (CPPFLAGS-nonlib): Add
3325         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3326         (bench-deps): Add bench-timing.h.
3327         * benchtests-bench-skeleton.c: Include bench-timing.h.
3328         (main): Use TIMING_* macros instead of clock_gettime.
3329         * benchtests/bench-timing.h: New file.
3331         [BZ #14582]
3332         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3333         Renamed from _LIB_VERSION.
3334         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3336 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
3338         * math/libm-test.inc (struct test_fff_f_data): New type.
3339         (RUN_TEST_LOOP_fff_f): New macro.
3340         (fma_test_data): New variable.
3341         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3342         (fma_towardzero_test_data): New variable.
3343         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3344         (fma_downward_test_data): New variable.
3345         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3346         (fma_upward_test_data): New variable.
3347         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3349         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3350         (struct test_c_c_data): New type.
3351         (RUN_TEST_LOOP_c_c): New macro.
3352         (cacos_test_data): New variable.
3353         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3354         (cacosh_test_data): New variable.
3355         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3356         (casin_test_data): New variable.
3357         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3358         (casinh_test_data): New variable.
3359         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3360         (catan_test_data): New variable.
3361         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3362         (catanh_test_data): New variable.
3363         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3364         (ccos_test_data): New variable.
3365         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3366         (ccosh_test_data): New variable.
3367         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3368         (cexp_test_data): New variable.
3369         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3370         (clog_test_data): New variable.
3371         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3372         (clog10_test_data): New variable.
3373         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3374         (conj_test_data): New variable.
3375         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3376         (cproj_test_data): New variable.
3377         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3378         (csin_test_data): New variable.
3379         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3380         (csinh_test_data): New variable.
3381         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3382         (csqrt_test_data): New variable.
3383         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3384         (ctan_test_data): New variable.
3385         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3386         (ctan_tonearest_test_data): New variable.
3387         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3388         (ctan_towardzero_test_data): New variable.
3389         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3390         (ctan_downward_test_data): New variable.
3391         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3392         (ctan_upward_test_data): New variable.
3393         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3394         (ctanh_test_data): New variable.
3395         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3396         (ctanh_tonearest_test_data): New variable.
3397         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3398         (ctanh_towardzero_test_data): New variable.
3399         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3400         (ctanh_downward_test_data): New variable.
3401         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3402         (ctanh_upward_test_data): New variable.
3403         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3404         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3405         of BUILD_COMPLEX.
3407         * math/libm-test.inc (struct test_ff_f_data): New type.
3408         (struct test_ff_f_data_nexttoward): Likewise.
3409         (RUN_TEST_LOOP_2_f): New macro.
3410         (RUN_TEST_LOOP_ff_f): Likewise.
3411         (atan2_test_data): New variable.
3412         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3413         (copysign_test_data): New variable.
3414         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3415         (fdim_test_data): New variable.
3416         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3417         (fmax_test_data): New variable.
3418         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3419         (fmin_test_data): New variable.
3420         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3421         (fmod_test_data): New variable.
3422         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3423         (hypot_test_data): New variable.
3424         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3425         (nextafter_test_data): New variable.
3426         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3427         (nexttoward_test_data): New variable.
3428         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3429         (pow_test_data): New variable.
3430         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3431         (pow_tonearest_test_data): New variable.
3432         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3433         (pow_towardzero_test_data): New variable.
3434         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3435         (pow_downward_test_data): New variable.
3436         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3437         (pow_upward_test_data): New variable.
3438         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3439         (remainder_test_data): New variable.
3440         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3441         (scalb_test_data): New variable.
3442         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3443         * sysdeps/i386/fpu/libm-test-ulps: Update.
3445 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
3447         * math/libm-test.inc (fma_test): Use max_value instead of local
3448         variable fltmax.
3449         (nextafter_test): Likewise.
3451         * math/libm-test.inc (acos_towardzero_test_data): New variable.
3452         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3453         (acos_downward_test_data): New variable.
3454         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3455         (acos_upward_test_data): New variable.
3456         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3457         (acosh_test_data): New variable.
3458         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3459         (asin_test_data): New variable.
3460         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3461         (asin_tonearest_test_data): New variable.
3462         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3463         (asin_towardzero_test_data): New variable.
3464         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3465         (asin_downward_test_data): New variable.
3466         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3467         (asin_upward_test_data): New variable.
3468         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3469         (asinh_test_data): New variable.
3470         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3471         (atan_test_data): New variable.
3472         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3473         (atanh_test_data): New variable.
3474         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3475         (cbrt_test_data): New variable.
3476         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3477         (ceil_test_data): New variable.
3478         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3479         (cos_test_data): New variable.
3480         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3481         (cos_tonearest_test_data): New variable.
3482         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3483         (cos_towardzero_test_data): New variable.
3484         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3485         (cos_downward_test_data): New variable.
3486         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3487         (cos_upward_test_data): New variable.
3488         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3489         (cosh_test_data): New variable.
3490         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3491         (cosh_tonearest_test_data): New variable.
3492         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3493         (cosh_towardzero_test_data): New variable.
3494         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3495         (cosh_downward_test_data): New variable.
3496         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3497         (cosh_upward_test_data): New variable.
3498         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3499         (erf_test_data): New variable.
3500         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3501         (erfc_test_data): New variable.
3502         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3503         (exp_test_data): New variable.
3504         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3505         (exp_tonearest_test_data): New variable.
3506         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3507         (exp_towardzero_test_data): New variable.
3508         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3509         (exp_downward_test_data): New variable.
3510         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3511         (exp_upward_test_data): New variable.
3512         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3513         (exp10_test_data): New variable.
3514         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3515         (exp2_test_data): New variable.
3516         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3517         (expm1_test_data): New variable.
3518         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3519         (fabs_test_data): New variable.
3520         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3521         (floor_test_data): New variable.
3522         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3523         (j0_test_data): New variable.
3524         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3525         (j1_test_data): New variable.
3526         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3527         (log_test_data): New variable.
3528         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3529         (log10_test_data): New variable.
3530         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3531         (log1p_test_data): New variable.
3532         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3533         (log2_test_data): New variable.
3534         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3535         (logb_test_data): New variable.
3536         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3537         (logb_downward_test_data): New variable.
3538         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3539         (nearbyint_test_data): New variable.
3540         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3541         (rint_test_data): New variable.
3542         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3543         (rint_tonearest_test_data): New variable.
3544         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3545         (rint_towardzero_test_data): New variable.
3546         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3547         (rint_downward_test_data): New variable.
3548         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3549         (rint_upward_test_data): New variable.
3550         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3551         (round_test_data): New variable.
3552         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3553         (sin_test_data): New variable.
3554         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3555         (sin_tonearest_test_data): New variable.
3556         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3557         (sin_towardzero_test_data): New variable.
3558         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3559         (sin_downward_test_data): New variable.
3560         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3561         (sin_upward_test_data): New variable.
3562         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3563         (sinh_test_data): New variable.
3564         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3565         (sinh_tonearest_test_data): New variable.
3566         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3567         (sinh_towardzero_test_data): New variable.
3568         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3569         (sinh_downward_test_data): New variable.
3570         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3571         (sinh_upward_test_data): New variable.
3572         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3573         (sqrt_test_data): New variable.
3574         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3575         (tan_test_data): New variable.
3576         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3577         (tan_tonearest_test_data): New variable.
3578         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3579         (tan_towardzero_test_data): New variable.
3580         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3581         (tan_downward_test_data): New variable.
3582         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3583         (tan_upward_test_data): New variable.
3584         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3585         (tanh_test_data): New variable.
3586         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3587         (tgamma_test_data): New variable.
3588         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3589         (trunc_test_data): New variable.
3590         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3591         (y0_test_data): New variable.
3592         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3593         (y1_test_data): New variable.
3594         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3595         (significand_test_data): New variable.
3596         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3598 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3600         [BZ #12387]
3601         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3603 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3605         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3607 2013-05-10  Andreas Jaeger  <aj@suse.de>
3609         [BZ #15448]
3610         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3611         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3613 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3615         * math/gen-libm-test.pl (adjust_arg): New function.
3616         (special_functions): Handle generating output in both functions
3617         and arrays.
3618         (parse_args): Likewise.
3619         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3620         $in_func argument to parse_args.
3621         * math/libm-test.inc (struct test_f_f_data): New type.
3622         (IF_ROUND_INIT_): New macro.
3623         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3624         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3625         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3626         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3627         (ROUND_RESTORE_): Likewise.
3628         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3629         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3630         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3631         (ROUND_RESTORE_FE_UPWARD): Likewise.
3632         (RUN_TEST_LOOP_f_f): New macro.
3633         (acos_test_data): New variable.
3634         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3635         (acos_tonearest_test_data): New variable.
3636         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3638 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3640         * benchtests/bench-skeleton.c (startup): Fix coding style.
3642 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3644         [BZ #6809]
3645         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3646         negative infinity argument.
3647         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3648         negative infinity argument.
3649         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3650         negative infinity argument.
3651         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3652         domain errors.
3654 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3656         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3657         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3658         * iconv/iconv_prog.c (main): Likewise.
3659         * locale/programs/charmap-dir.c (charmap_readdir)
3660         (fopen_uncompressed): Likewise.
3661         * locale/programs/locfile.c (siblings_uncached)
3662         (write_locale_data): Use lstat64 instead of lstat.
3663         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3664         stat.
3666 2013-05-10  Andreas Jaeger  <aj@suse.de>
3668         [BZ #15395]
3669         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3670         localization.
3671         Include <locale.h>.
3673 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3675         * elf/dl-close.c (_dl_close_worker): Add comments.
3677 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3679         [BZ #15359]
3680         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3681         high part of pi/2.
3682         (__ieee754_rem_pio2l): Update comments.
3684         [BZ #15429]
3685         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3686         high part of pi/2.
3687         (__ieee754_rem_pio2l): Update comments.
3689         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3690         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3692         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3693         M_PI_4l.
3695         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3696         (M_PI_34_LOG10El): Likewise.
3697         (M_PI2_LOG10El): Likewise.
3698         (M_PI4_LOG10El): Likewise.
3699         (M_PI_LOG10El): Likewise.
3701 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3705 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3707         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3708         (MINUS_ZERO_INIT): Likewise.
3709         (PLUS_INFTY_INIT): Likewise.
3710         (MINUS_INFTY_INIT): Likewise.
3711         (QNAN_VALUE_INIT): Likewise.
3712         (MAX_VALUE_INIT): Likewise.
3713         (MIN_VALUE_INIT): Likewise.
3714         (MIN_SUBNORM_VALUE_INIT): Likewise.
3715         (plus_zero): Initialize with PLUS_ZERO_INIT.
3716         (minus_zero): Initialize with MINUS_ZERO_INIT.
3717         (plus_infty): Initialize with PLUS_INFTY_INIT.
3718         (minus_infty): Initialize with MINUS_INFTY_INIT.
3719         (qnan_value): Initialize with QNAN_VALUE_INIT.
3720         (max_value): Initialize with MAX_VALUE_INIT.
3721         (min_value): Initialize with MIN_VALUE_INIT.
3722         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3724         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3725         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3726         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3727         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3729         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3730         (RUN_TEST_2_f): Likewise.
3731         (RUN_TEST_ff_f): Likewise.
3732         (RUN_TEST_fi_f): Likewise.
3733         (RUN_TEST_fl_f): Likewise.
3734         (RUN_TEST_fff_f): Likewise.
3735         (RUN_TEST_c_f): Likewise.
3736         (RUN_TEST_f_f1): Likewise.
3737         (RUN_TEST_fF_f1): Likewise.
3738         (RUN_TEST_fI_f1): Likewise.
3739         (RUN_TEST_ffI_f1): Likewise.
3740         (RUN_TEST_c_c): Likewise.
3741         (RUN_TEST_cc_c): Likewise.
3742         (RUN_TEST_f_i): Likewise.
3743         (RUN_TEST_f_i_tg): Likewise.
3744         (RUN_TEST_ff_i_tg): Likewise.
3745         (RUN_TEST_f_b): Likewise.
3746         (RUN_TEST_f_b_tg): Likewise.
3747         (RUN_TEST_f_l): Likewise.
3748         (RUN_TEST_f_L): Likewise.
3749         (RUN_TEST_sincos): Likewise.
3750         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3751         whether to show exceptions.  Do not include ");\n" in return
3752         value.
3753         (special_functions): Output call to RUN_TEST_sincos instead of
3754         check_float calls.  Update calls to new_test.
3755         (parse_args): Output call to single RUN_TEST_* macro instead of
3756         check_* calls and other assignments.  Update calls to new_test.
3758         [BZ #2546]
3759         [BZ #2560]
3760         [BZ #5159]
3761         [BZ #15426]
3762         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3763         input to result for tgamma overflow.
3764         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3765         (gamma_coeff): New variable.
3766         (NCOEFF): New macro.
3767         (gamma_positive): New function.
3768         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3769         underflow here.  Use gamma_positive instead of exp (lgamma) for
3770         other arguments.
3771         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3772         (gamma_coeff): New variable.
3773         (NCOEFF): New macro.
3774         (gammaf_positive): New function.
3775         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3776         underflow here.  Use gamma_positive instead of exp (lgamma) for
3777         other arguments.
3778         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3779         (gamma_coeff): New variable.
3780         (NCOEFF): New macro.
3781         (gammal_positive): New function.
3782         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3783         underflow here.  Use gamma_positive instead of exp (lgamma) for
3784         other arguments.
3785         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3786         (gamma_coeff): New variable.
3787         (NCOEFF): New macro.
3788         (gammal_positive): New function.
3789         (__ieee754_gammal_r): Handle positive infinity, overflow and
3790         underflow here.  Handle NaN the same as positive infinity.  Remove
3791         check x < 0xffffffff for negative integers.  Use gamma_positive
3792         instead of exp (lgamma) for other arguments.
3793         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3794         (gamma_coeff): New variable.
3795         (NCOEFF): New macro.
3796         (gammal_positive): New function.
3797         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3798         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3799         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3800         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3801         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3802         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3803         * sysdeps/generic/math_private.h (__gamma_productf): New
3804         prototype.
3805         (__gamma_product): Likewise.
3806         (__gamma_productl): Likewise.
3807         * math/Makefile (libm-calls): Add gamma_product.
3808         * math/libm-test.inc (tgamma_test): Add more tests.
3809         * sysdeps/i386/fpu/libm-test-ulps: Update.
3810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3812 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3814         * benchtests/bench-skeleton.c (main): Preheat CPU.
3816 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3818         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3820 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3822         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3823         and _dl_skip_args_internal.
3825 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3827         * manual/message.texi (Message Translation): Talk about users.
3828         Message to key mapping impacts design.
3830 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3832         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3834         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3836         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3837         * sysdeps/wordsize-64/glob64.c: ... here.
3839         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3840         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3841         New macros.
3843         * debug/getlogin_r_chk.c: Moved to ...
3844         * login/getlogin_r_chk.c: ... here.
3845         * debug/Makefile (routines): Move getlogin_r_chk to ...
3846         * login/Makefile (routines): ... here.
3847         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3848         * login/Versions (libc: GLIBC_2.4): ... here.
3850         * io/poll.c (__poll): Renamed from poll.
3851         Add libc_hidden_def.
3852         (poll): Define as weak alias.
3854         * debug/ptsname_r_chk.c: Moved to ...
3855         * login/ptsname_r_chk.c: ... here.
3856         * debug/Makefile (routines): Move ptsname_r_chk to ...
3857         * login/Makefile (routines): ... here.
3858         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3859         * login/Versions (libc: GLIBC_2.4): ... here.
3861         * posix/getlogin.c: Moved to ...
3862         * login/getlogin.c: ... here.
3863         * posix/getlogin_r.c: Moved to ...
3864         * login/getlogin_r.c: ... here.
3865         * posix/getlogin_r.c: Moved to ...
3866         * login/getlogin_r.c: ... here.
3867         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3868         * login/Makefile (routines): ... here.
3869         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3870         * login/Versions (libc: GLIBC_2.0): ... here.
3872         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3873         (setrlimit): Define as weak alias.
3875         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3876         Call __ names for open, ftruncate, and close.
3877         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3878         (truncate): Define as weak alias.
3880 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3882         * math/gen-libm-test.pl (parse_args): Initialize x before each
3883         test of frexp, modf and remquo.
3885         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3886         test signgam value.
3888 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3890         [BZ #15418]
3891         [BZ #15419]
3892         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3893         internal tests.
3894         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3896 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3898         * elf/dl-writev.h: New file.
3899         * elf/dl-misc.c: Include it.
3900         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3901         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3903 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3905         * math/libm-test.inc (noXFails): Remove variable.
3906         (noXPasses): Likewise.
3907         (BUILD_COMPLEX_INT): Remove macro.
3908         (print_screen): Remove xfail argument.
3909         (print_screen_max_error): Likewise.
3910         (update_stats): Likewise.
3911         (print_max_error): Likewise.  Update calls to other affected
3912         functions.
3913         (print_complex_max_error): Likewise.
3914         (test_single_exception): Update calls to print_screen.
3915         (test_single_errno): Likewise.
3916         (check_float_internal): Remove xfail argument.  Update calls to
3917         other affected functions.
3918         (check_float): Likewise.
3919         (check_complex): Likewise.
3920         (check_int): Likewise.
3921         (check_long): Likewise.
3922         (check_bool): Likewise.
3923         (check_longlong): Likewise.
3924         (main): Don't print noXFails and noXPasses.
3925         * math/gen-libm-test.pl (top level): Don't mention expected
3926         failure handling in comment.
3927         (new_test): Don't handle expected failures.
3928         (parse_args): Don't mention expected failure handling in comment.
3929         (generate_testfile): Don't handle expected failures.
3930         (parse_ulps): Likewise.
3931         (print_ulps_file): Likewise.
3932         (get_failure): Remove function.
3933         (output_test): Don't handle expected failures.
3934         * make/README.libm-test: Don't mention expected failure handling.
3936         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3937         (minus_zero): Likewise.
3938         (plus_infty): Likewise.
3939         (minus_infty): Likewise.
3940         (qnan_value): Likewise.
3941         (max_value): Likewise.
3942         (min_value): Likewise.
3943         (min_subnorm_value): Likewise.
3944         (initialize): Do not initialize those variables dynamically.
3946 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3948         * io/open.c (__open_2): Moved to ...
3949         * io/open_2.c: ... this new file.
3950         * io/open64.c (__open64_2): Moved to ...
3951         * io/open64_2.c: ... this new file.
3952         * io/openat.c (__openat_2): Moved to ...
3953         * io/openat_2.c: ... this new file.
3954         * io/openat64.c (__openat64_2): Moved to ...
3955         * io/openat64_2.c: ... this new file.
3956         * io/Makefile (routines): Add them.
3957         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3958         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3959         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3960         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3961         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3962         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3963         (__openat64): Add hidden_ver.
3964         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3965         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3967         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3968         Separately conditionalize setting of GLRO(dl_sysinfo) so
3969         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3970         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3972 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3974         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3975         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3976         definition.
3977         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3978         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3979         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3980         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3981         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3983 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3985         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3986         test signgam value.
3988         * math/libm-test.inc (hypot_test): Do not use
3989         IGNORE_ZERO_INF_SIGN.
3991 2013-05-03  Andreas Jaeger  <aj@suse.de>
3993         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3994         Linux 3.9.
3995         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3996         (PF_MAX): Adjust for VSOCK change.
3998 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4002 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
4004         [BZ #15264]
4005         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4006         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4007         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4009 2013-05-02  David S. Miller  <davem@davemloft.net>
4011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4013 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
4015         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4017 2013-05-01  Roland McGrath  <roland@hack.frob.com>
4019         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4021 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
4023         [BZ #14952]
4024         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4025         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4026         Use __attribute__ ((__gnu_inline__)).
4027         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4028         Don't use __attribute__ ((__gnu_inline__)).
4030 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
4032         [BZ #15423]
4033         * math/s_catan.c (__catan): Handle small real or imaginary part of
4034         input specially to avoid spurious underflow.
4035         * math/s_catanf.c (__catanf): Likewise.
4036         * math/s_catanh.c (__catanh): Likewise.
4037         * math/s_catanhf.c (__catanhf): Likewise.
4038         * math/s_catanhl.c (__catanhl): Likewise.
4039         * math/s_catanl.c (__catanl): Likewise.
4040         * math/libm-test.inc (catan_test): Add more tests.
4041         (catanh_test): Likewise.
4042         * sysdeps/i386/fpu/libm-test-ulps: Update.
4043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4045 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4049 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
4051         [BZ #15416]
4052         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4053         accurately for denominator in atan2.
4054         * math/s_catanf.c (__catanf): Likewise.
4055         * math/s_catanh.c (__catanh): Likewise.
4056         * math/s_catanhf.c (__catanhf): Likewise.
4057         * math/s_catanhl.c (__catanhl): Likewise.
4058         * math/s_catanl.c (__catanl): Likewise.
4059         * math/libm-test.inc (catan_test): Add more tests.
4060         (catanh_test): Likewise.
4061         * sysdeps/i386/fpu/libm-test-ulps: Update.
4062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4064 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4066         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4068         * benchtests/Makefile (bench): Remove slow benchmarks.
4069         * benchtests/atan-inputs: Add slow benchmark inputs.
4070         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4071         (BENCH_FUNC): Accept variant offset.
4072         (VARIANT): Define.
4073         * benchtests/bench-skeleton.c (main): Run benchmark for each
4074         variant.
4075         * benchtests/cos-inputs: Add slow benchmark inputs.
4076         * benchtests/exp-inputs: Likewise.
4077         * benchtests/pow-inputs: Likewise.
4078         * benchtests/sin-inputs: Likewise.
4079         * benchtests/slowatan-inputs: Remove.
4080         * benchtests/slowatan.c: Remove.
4081         * benchtests/slowcos-inputs: Remove.
4082         * benchtests/slowcos.c: Remove.
4083         * benchtests/slowexp-inputs: Remove.
4084         * benchtests/slowexp.c: Remove.
4085         * benchtests/slowpow-inputs: Remove.
4086         * benchtests/slowpow.c: Remove.
4087         * benchtests/slowsin-inputs: Remove.
4088         * benchtests/slowsin.c: Remove.
4089         * benchtests/slowtan-inputs: Remove.
4090         * benchtests/slowtan.c: Remove.
4091         * benchtests/tan-inputs: Add slow benchmark inputs.
4092         * scripts/bench.pl: Parse comments and directives.
4094         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
4095         in CPPFLAGS.
4096         ($(objpfx)bench-%.c): Remove *-ITER.
4097         * benchtests/bench-modf.c: Remove definition of ITER.
4098         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4099         (main): Loop for DURATION seconds instead of fixed number of
4100         iterations.
4101         * scripts/bench.pl: Don't expect iterations in parameters.
4103 2013-04-29  Roland McGrath  <roland@hack.frob.com>
4105         * io/fchdir.c (__fchdir): Renamed from fchdir.
4106         (fchdir): Define as weak alias.
4108 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
4110         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4111         (ERRNO_EDOM): Likewise.
4112         (ERRNO_ERANGE): Likewise.
4113         (noErrnoTests): New variable.
4114         (init_max_error): Set errno to 0.
4115         (test_single_errno): New function.
4116         (test_errno): Likewise.
4117         (check_float_internal): Call test_errno.  Set errno to 0.
4118         (check_complex): Refer to errno tests in comment.
4119         (check_int): Call test_errno.  Set errno to 0.
4120         (check_long): Likewise.
4121         (check_bool): Likewise.
4122         (check_longlong): Likewise.
4123         (cos_test): Use ERRNO_* flags for errno tests instead of
4124         check_int.
4125         (expm1_test): Likewise.
4126         (fmod_test): Likewise.
4127         (ilogb_test): Likewise.
4128         (lgamma_test): Likewise.
4129         (pow_test): Likewise.
4130         (remainder_test): Likewise.
4131         (sin_test): Likewise.
4132         (tan_test): Likewise.
4133         (yn_test): Likewise.
4134         (initialize): Set errno to 0.
4135         (main): Print number of errno tests.
4136         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4138 2013-04-29  Andreas Jaeger  <aj@suse.de>
4140         [BZ #15084]
4141         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4142         and RES_USEVC.
4144         [BZ #15085]
4145         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4146         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4147         unimplemented.
4149         [BZ #15380]
4150         * stdlib/random.c (__initstate): Return NULL if
4151         __initstate fails.
4153         [BZ #15086]
4154         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4155         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4156         RES_SNGLKUPREOP.
4158 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4162 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
4164         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4165         of individual tests.
4166         (casin_test): Likewise.
4167         (casinh_test): Likewise.
4169 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
4171         [BZ #15409]
4172         * math/s_catan.c (__catan): Handle arguments with large real or
4173         imaginary part separately without squaring.
4174         * math/s_catanf.c (__catanf): Likewise.
4175         * math/s_catanh.c (__catanh): Likewise.
4176         * math/s_catanhf.c (__catanhf): Likewise.
4177         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4178         and redefine.
4179         (__catanhl): Handle arguments with large real or imaginary part
4180         separately without squaring.
4181         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4182         and redefine.
4183         (__catanl): Handle arguments with large real or imaginary part
4184         separately without squaring.
4185         * math/libm-test.inc (catan_test): Add more tests.
4186         (catanh_test): Likewise.
4187         * sysdeps/i386/fpu/libm-test-ulps: Update.
4188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190 2013-04-27  Andreas Jaeger  <aj@suse.de>
4192         [BZ #15007]
4193         * stdlib/stdlib.h: Update guards for qecvt.
4194         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4195         <stdlib.h>.
4197 2013-04-27  Allan McRae  <allan@archlinux.org>
4199         * sysdeps/i386/fpu/libm-test-ulps: Update.
4201 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
4203         [BZ #15406]
4204         * math/s_catan.c: Include <float.h>.
4205         (__catan): Ensure underflow exception occurs for underflowed
4206         result.
4207         * math/s_catanf.c: Include <float.h>.
4208         (__catanf): Ensure underflow exception occurs for underflowed
4209         result.
4210         * math/s_catanh.c: Include <float.h>.
4211         (__catanh): Ensure underflow exception occurs for underflowed
4212         result.
4213         * math/s_catanhf.c: Include <float.h>.
4214         (__catanhf): Ensure underflow exception occurs for underflowed
4215         result.
4216         * math/s_catanhl.c: Include <float.h>.
4217         (__catanhl): Ensure underflow exception occurs for underflowed
4218         result.
4219         * math/s_catanl.c: Include <float.h>.
4220         (__catanl): Ensure underflow exception occurs for underflowed
4221         result.
4222         * math/libm-test.inc (catan_test): Add more tests.
4223         (catanh_test): Likewise.
4225         [BZ #15405]
4226         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4227         underflowed result.
4228         * math/s_ccoshf.c (__ccoshf): Likewise.
4229         * math/s_ccoshl.c (__ccoshl): Likewise.
4230         * math/s_csin.c (__csin): Likewise.
4231         * math/s_csinf.c (__csinf): Likewise.
4232         * math/s_csinh.c (__csinh): Likewise.
4233         * math/s_csinhf.c (__csinhf): Likewise.
4234         * math/s_csinhl.c (__csinhl): Likewise.
4235         * math/s_csinl.c (__csinl): Likewise.
4236         * math/libm-test.inc (ccos_test): Add more tests.
4237         (ccosh_test): Likewise.
4238         (csin_test): Likewise.
4239         (csinh_test): Likewise.
4241 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4243         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4244         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4245         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4246         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4247         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4248         powerpc/power5+/fpu folders.
4249         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4252 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4256 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
4258         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4259         additions to variable.
4260         [$(config-machine) = x86_64] (modules-names): Likewise.
4261         ($(objpfx)tst-audit3): Remove dependency.
4262         ($(objpfx)tst-audit3.out): Likewise.
4263         ($(objpfx)tst-audit4): Likewise.
4264         ($(objpfx)tst-audit4.out): Likewise.
4265         ($(objpfx)tst-audit5): Likewise.
4266         ($(objpfx)tst-audit5.out): Likewise.
4267         ($(objpfx)tst-audit6): Likewise.
4268         ($(objpfx)tst-audit6.out): Likewise.
4269         ($(objpfx)tst-audit7): Likewise.
4270         ($(objpfx)tst-audit7.out): Likewise.
4271         (tst-audit3-ENV): Remove variable.
4272         (tst-audit4-ENV): Likewise.
4273         (tst-audit5-ENV): Likewise.
4274         (tst-audit6-ENV): Likewise.
4275         (tst-audit7-ENV): Likewise.
4276         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4277         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4278         addition to variable.
4279         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4280         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4281         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4282         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4283         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4284         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4285         tst-audit3, tst-audit4 and tst-audit5.
4286         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4287         tst-audit6 and tst-audit7.
4288         [$(subdir) = elf] (modules-names): Add audit modules for those
4289         tests.
4290         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4291         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4292         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4293         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4294         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4295         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4296         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4297         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4298         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4299         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4300         [$(subdir) = elf] (tst-audit3-ENV): New variable.
4301         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4302         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4303         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4304         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4305         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4306         Likewise.
4307         [$(subdir) = elf && $(config-cflags-avx) = yes]
4308         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4309         [$(subdir) = elf && $(config-cflags-avx) = yes]
4310         (CFLAGS-tst-auditmod4a.c): Likewise.
4311         [$(subdir) = elf && $(config-cflags-avx) = yes]
4312         (CFLAGS-tst-auditmod4b.c): Likewise.
4313         [$(subdir) = elf && $(config-cflags-avx) = yes]
4314         (CFLAGS-tst-auditmod6b.c): Likewise.
4315         [$(subdir) = elf && $(config-cflags-avx) = yes]
4316         (CFLAGS-tst-auditmod6c.c): Likewise.
4317         [$(subdir) = elf && $(config-cflags-avx) = yes]
4318         (CFLAGS-tst-auditmod7b.c): Likewise.
4319         * elf/tst-audit3.c: Move to ...
4320         * sysdeps/x86_64/tst-audit3.c: ... here.
4321         * elf/tst-audit4.c: Move to ...
4322         * sysdeps/x86_64/tst-audit4.c: ... here.
4323         * elf/tst-audit5.c: Move to ...
4324         * sysdeps/x86_64/tst-audit5.c: ... here.
4325         * elf/tst-audit6.c: Move to ...
4326         * sysdeps/x86_64/tst-audit6.c: ... here.
4327         * elf/tst-audit7.c: Move to ...
4328         * sysdeps/x86_64/tst-audit7.c: ... here.
4329         * elf/tst-auditmod3a.c: Move to ...
4330         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4331         * elf/tst-auditmod3b.c: Move to ...
4332         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4333         * elf/tst-auditmod4a.c: Move to ...
4334         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4335         * elf/tst-auditmod4b.c: Move to ...
4336         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4337         * elf/tst-auditmod5a.c: Move to ...
4338         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4339         * elf/tst-auditmod5b.c: Move to ...
4340         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4341         * elf/tst-auditmod6a.c: Move to ...
4342         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4343         * elf/tst-auditmod6b.c: Move to ...
4344         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4345         * elf/tst-auditmod6c.c: Move to ...
4346         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4347         * elf/tst-auditmod7a.c: Move to ...
4348         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4349         * elf/tst-auditmod7b.c: Move to ...
4350         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4352 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
4354         [BZ #15366]
4355         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4356         define unconditionally.
4357         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4358         define unconditionally.
4359         (INT8_C, INT16_C, etc.): Likewise.
4361 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
4363         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4364         __ehdr_start with hidden visibility.
4366         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4368 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
4370         * math/libm-test.inc (cos_test): Use accurate hex constants.
4371         (sincost_test): Likewise.
4373 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
4375         * math/libm-test.inc (catan_test): Add more tests.
4376         (catanh_test): Likewise.
4378         * math/s_catanf.c (__catanf): Use suffixed floating-point
4379         constants.
4380         * math/s_catanhf.c (__catanhf): Likewise.
4381         * math/s_catanhl.c (__catanhl): Likewise.
4382         * math/s_catanl.c (__catanl): Likewise.
4384         [BZ #15394]
4385         * math/s_catan.c (__catan): Calculate imaginary part of result
4386         with log1p not log unless computing log of number close to 0.
4387         * math/s_catanf.c (__catanf): Likewise.
4388         * math/s_catanl.c (__catanl): Likewise.
4389         * math/s_catanh.c (__catanh): Calculate real part of result with
4390         log1p not log unless computing log of number close to 0.
4391         * math/s_catanhf.c (__catanhf): Likewise.
4392         * math/s_catanhl.c (__catanhl): Likewise.
4393         * math/libm-test.inc (catan_test): Add more tests.
4394         (catanh_test): Likewise.
4395         * sysdeps/i386/fpu/libm-test-ulps: Update.
4396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4398 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4400         * benchtests/Makefile: Mention files in which fast and slow
4401         paths of math functions are implemented.
4403 2013-04-23  Roland McGrath  <roland@hack.frob.com>
4405         * sysdeps/posix/timespec_get.c: New file.
4407 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4409         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4410         POWER.
4411         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4412         for POWER.
4413         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4414         powerpc/power5/fpu folders.
4415         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4416         * benchtests/Makefile: Add modf testcase.
4417         * benchtests/bench-modf.c: New file: Benchmark test for mo
4419 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4421         [BZ #14888]
4422         * time/Makefile (tests): Add tst-strptime-whitespace.
4423         * time/strptime_l.c (get_number): Use ISSPACE.
4424         (__strptime_internal): Likewise.
4425         * time/tst-strptime-whitespace.c: New test case.
4427 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
4429         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4430         member.
4431         (_nss_files_init): Set it here.
4433 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
4435         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4436         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4437         unsigned.
4439 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
4441         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4443 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4445         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4446         size just once.
4448 2013-04-21  David S. Miller  <davem@davemloft.net>
4450         * po/ru.po: Update Russion translation from translation project.
4452 2013-04-17  Adam Conrad  <adconrad@0c3.net>
4454         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4455         and setfsgid.
4457 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
4459         * configure.in: Remove i386 configure warning. Remove i386 case.
4460         * configure: Regenerate.
4461         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4462         Add example to error message.
4463         * sysdeps/i386/configure: Regenerate.
4465 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4467         * benchtests/Makefile (bench): Add cos, tan, slowcos and
4468         slowtan.
4469         * benchtests/cos-inputs: New file.
4470         * benchtests/slowcos-inputs: New file.
4471         * benchtests/slowcos.c: New file.
4472         * benchtests/slowtan-inputs: New file.
4473         * benchtests/slowtan.c: New file.
4474         * benchtests/tan-inputs: New file.
4476 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4478         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4479         considered kosher.
4481 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4483         * benchtests/Makefile: Include cppflags-iterator.mk to add
4484         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4486         * Makefile.in (bench-clean): New target.
4487         * benchtests/Makefile (bench-clean): Likewise.
4489 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4491         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4493 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4495         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4497 2013-04-15  Andreas Schwab  <schwab@suse.de>
4499         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4500         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4501         * nscd/pwdcache.c (cache_addpw): Likewise.
4502         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4503         more than recsize.
4505 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4507         * benchtests/Makefile (bench): Write all output to
4508         bench-out.tmp together.
4510 2013-04-15  Andreas Schwab  <schwab@suse.de>
4512         * nscd/nscd.c (main): Don't fork again after closing files.
4514 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4516         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4518         * benchtests/Rules (bench-deps): Collect dependencies into a
4519         single variable.  Add Makefile to dependencies.
4520         ($(objpfx)bench-%.c): Depend on bench-deps.
4522 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4523             Xavier Roche  <roche+kml2@exalead.com>
4525         [BZ #15361]
4526         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4527         just that it's a file descriptor.
4528         * manual/llio.texi (Synchronizing AIO Operations): Update description
4529         for EBADF error from aio_fsync.
4531 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4533         * Rules (bench): Move target definition...
4534         * benchtests/Makefile: ... here.
4536 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4538         * math/libm-test.inc (cos_test): Fix PI/2 test.
4539         (sincos_test): Likewise.
4540         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4541         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4543 2013-04-11  Andreas Schwab  <schwab@suse.de>
4545         [BZ #13988]
4546         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4547         accept exponent character only when digits were seen.
4548         * stdio-common/Makefile (tests): Add bug26.
4549         * stdio-common/bug26.c: New file.
4551         [BZ #14293]
4552         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4553         non-freeable.
4555 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4557         * Makeconfig (rtld-prefix): Define built linker prefix.
4558         * Rules (run-bench): Use it.
4559         * math/Makefile (run-regen-ulps): Likewise.
4561         * Rules (bench): Remove eval.
4563 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4564             Roland McGrath  <roland@hack.frob.com>
4565             Ondrej Bilka  <neleai@seznam.cz>
4567         [BZ #15346]
4568         * time/getdate.c: Include ctype.h and alloca.h.
4569         (__getdate_r): Trim leading and trailing spaces of input.
4570         * time/tst-getdate.c (tests): Add tests with leading and
4571         trailing spaces.
4573 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4575         [BZ #14280]
4576         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4577         when computing value.
4579 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4581         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4582         Use testrun.sh to run libm tests.
4584         [BZ #15309]
4585         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4587 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4589         [BZ #15264]
4590         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4592 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4594         * Makefile.in (regen-ulps): New target.
4595         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4596         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4597         [ifneq (no,$(PERL)] (regen-ulps): New target.
4598         [ifeq (no,$(PERL)] (regen-ulps): New target.
4599         * math/libm-test.inc (ulps_file_name): Define.
4600         (output_dir): New variable.
4601         (options): Add "output-dir" option.
4602         (parse_opt): Handle 'o' case.
4603         (main): If output_dir is non-NULL use it as a prefix
4604         otherwise use "".
4605         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4607 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4609         [BZ #10060, #10062]
4610         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4611         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4612         fail configure if __sync_val_compare_and_swap is not inlined.
4613         * sysdeps/i386/configure: Regenerate.
4614         * configure.in: Build for i686 when configured for i386.
4615         * configure: Regenerate.
4616         * README: Remove i386 reference.
4618 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4620         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4621         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4623 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4625         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4626         (lmsnanval): New variables.
4627         (F): Add conversion tests.
4628         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4629         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4631         * stdio-common/tstdiomisc.c (F): Properly collect individual
4632         tests' results.
4634         [BZ #14686, #15336]
4635         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4636         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4637         Instead, use input NaN values or generate a qNaN by arithmetic
4638         operation.  Also fix bugs to comply with the standard.
4639         * math/libm-test.inc (remainder_test): Add more tests.
4641         [BZ #15335, #15342]
4642         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4644         input NaN values or generate a qNaN by arithmetic operation.
4646         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4647         unreachable code.
4649         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4650         definitions.
4652 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4654         [BZ #14478]
4655         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4656         underflowed result.
4657         * math/s_cexpf.c (__cexpf): Likewise.
4658         * math/s_cexpl.c (__cexpl): Likewise.
4659         * math/libm-test.inc (cexp_test): Add more tests.
4661 2013-04-03  Andreas Schwab  <schwab@suse.de>
4663         [BZ #15330]
4664         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4665         order arrays from heap if bigger than alloca cutoff.
4667 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4669         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4670         (SNAN_TESTS_double): Refer to GCC PR56831.
4671         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4672         GCC PR56828.
4674 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4676         * Rules (bench): Move bench.out after the run is complete.
4678         * Rules (bench): Echo currently running benchmark.
4680         * benchtests/Makefile (bench): Add atan and slowatan.
4681         * benchtests/atan-inputs: New file.
4682         * benchtests/slowatan-inputs: New file.
4683         * benchtests/slowatan.c: New file.
4685         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4686         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4687         its value.
4689         [BZ #15305]
4690         * sysdeps/unix/sysv/linux/kernel-features.h
4691         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4692         __ASSUME_XFS_RESTRICTED_CHOWN.
4693         * sysdeps/unix/sysv/linux/pathconf.c
4694         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4695         Save and restore errno.
4697 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4699         [BZ #15327]
4700         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4701         arguments using __kernel_casinh.
4702         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4703         arguments using __kernel_casinhf.
4704         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4705         arguments using __kernel_casinhl.
4706         * math/libm-test.inc (cacosh_test): Add more tests.
4707         * sysdeps/i386/fpu/libm-test-ulps: Update.
4708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4710 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4712         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4713         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4715         * bench/Makefile (bench): Add sin and slowsin.
4716         * benchtests/sin-inputs: New file.
4717         * benchtests/slowsin-inputs: New file.
4718         * benchtests/slowsin.c: New file.
4720         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4721         (bench): Add slowexp and slowpow.
4722         (exp-ITER): Increase iterations.
4723         (pow-ITER): Likewise.
4724         * benchtests/exp-inputs: Change input.
4725         * benchtests/pow-inputs: Likewise.
4726         * benchtests/slowexp-inputs: New file.
4727         * benchtests/slowexp.c: New file.
4728         * benchtests/slowpow-inputs: New file.
4729         * benchtests/slowpow.c: New file.
4731 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4733         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4734         instructions.
4735         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4736         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4737         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4738         * benchtests/Makefile: Add rint benchtest.
4739         * benchtests/rint-inputs: Input for rint benchtest.
4741 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4743         * Versions.def (libm): Add GLIBC_2.18.
4744         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4745         hidden libm prototypes.
4746         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4747         * math/Makefile (libm-calls): Add s_issignaling.
4748         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4749         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4750         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4751         declaration.
4752         * math/math.h [__USE_GNU] (issignaling): New macro.
4753         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4754         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4755         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4756         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4757         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4758         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4759         * manual/arith.texi (issignaling): New section.
4760         * manual/libm-err-tab.pl (@all_functions): Update comment.
4761         * math/gen-libm-test.pl (parse_args): Apply special handling for
4762         issignaling.
4763         * math/libm-test.inc (print_float, issignaling_test): New
4764         functions.
4765         (check_float_internal): Add issignaling checks.
4766         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4767         default definition.
4768         * sysdeps/powerpc/math-tests.h: New file.
4769         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4770         tests.
4771         * math/test-snan.c (TEST_FUNC): Likewise.
4773 2013-03-30  David S. Miller  <davem@davemloft.net>
4775         * po/de.po: Update from translation team.
4777 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4779         [BZ #10357]
4780         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4781         imaginary part less than 1.0 and real part less than 0.5
4782         specially.
4783         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4784         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4785         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4786         (cacos_test): Add more tests.
4787         (casin_test): Likewise.
4788         (casinh_test): Likewise.
4789         * sysdeps/i386/fpu/libm-test-ulps: Update.
4790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4792 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4794         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4795         ONE with its value.
4797         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4798         (__pow_mp): Replace ONE and MONE with their values.
4799         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4800         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4801         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4802         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4803         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4804         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4806         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4808         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4809         (__pow_mp): Replace ZERO and MZERO with their values.
4810         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4811         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4812         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4813         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4814         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4815         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4816         (__sqr): Likewise.
4818         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4820         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4822 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4824         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4825         Declare with __attribute__ ((weak)).
4826         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4827         Call __call_tls_dtors only if it's not NULL.
4829 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4831         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4832         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4833         magic __ehdr_start linker symbol if it's defined.
4834         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4835         them up here if it was already done.
4837         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4838         (_dl_aux_init): Use const in cast when setting it.
4839         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4840         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4841         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4843         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4844         Declare them here.
4845         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4846         * csu/libc-tls.c: Nor here.
4847         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4849         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4850         (__libc_message): Never call vsyslog.
4852 2013-03-28  Alan Modra  <amodra@gmail.com>
4854         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4855         Define as empty.
4856         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4857         Likewise.
4859 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4861         [BZ #15214]
4862         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4863         underflow.
4864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4866 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4868         [BZ #15304]
4869         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4870         Don't add gid passed as argument.
4872         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4874 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4876         [BZ #15307]
4877         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4878         imaginary part between 1.0 and 1.5 and real part less than 0.5
4879         specially.
4880         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4881         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4882         * math/libm-test.inc (cacos_test): Add more tests.
4883         (casin_test): Likewise.
4884         (casinh_test): Likewise.
4885         * sysdeps/i386/fpu/libm-test-ulps: Update.
4886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4888 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4890         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4891         constants.
4892         (norm): Likewise.
4893         (denorm): Likewise.
4894         (__dbl_mp): Likewise.
4895         (add_magnitudes): Likewise.
4896         (sub_magnitudes): Likewise.
4897         (__add): Likewise.
4898         (__sub): Likewise.
4899         (__mul): Likewise.
4900         (__sqr): Likewise.
4901         (__inv): Likewise.
4902         (__dvd): Likewise.
4904         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4905         commented code.
4906         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4907         (__dubcos): Likewise.
4908         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4909         (__ieee754_acos): Likewise.
4910         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4911         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4912         (__exp1): Likewise.
4913         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4914         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4915         (log1): Likewise.
4916         (my_log2): Likewise.
4917         (checkint): Likewise.
4918         * sysdeps/ieee754/dbl-64/e_remainder.c
4919         (__ieee754_remainder): Likewise.
4920         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4921         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4922         (bsloww): Likewise.
4923         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4925         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4926         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4927         MANTISSA_STORE_T to store computations on mantissa.  Use
4928         macros for rounding and division.
4929         (denorm): Likewise.
4930         (__dbl_mp): Likewise.
4931         (add_magnitudes): Likewise.
4932         (sub_magnitudes): Likewise.
4933         (__mul): Likewise.
4934         (__sqr): Likewise.
4935         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4936         powers of two in terms of TWOPOW macro.
4937         (mp_no): Make type of mantissa as MANTISSA_T.
4938         [!RADIXI]: Define RADIXI.
4939         [!TWO52]: Define TWO52.
4940         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4942 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4944         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4945         llroundl symbol when building for PPC32.
4947 2013-03-24  Mark H Weaver  <mhw@netris.org>
4949         * manual/arith.texi (Normalization Functions): Fix prototypes for
4950         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4952 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4954         [BZ #13889]
4955         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4956         high value to check if expl overflow.
4957         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4958         to check for underflow and overflow.
4959         * math/libm-test.inc: Add exp test.
4961 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4963         [BZ #11120]
4964         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4965         with NOT_IN_libc.
4967 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4969         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4970         symbol.
4972 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4974         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4975         wrap blocks consisting of several statements.
4977         * sysdeps/generic/math-tests.h: New file.
4978         * sysdeps/i386/fpu/math-tests.h: Likewise.
4979         * math/test-snan.c: Include it.
4980         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4982 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4984         [BZ #15285]
4985         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4986         (__ieee754_j0l): Do not improve calculations using cos of twice
4987         input for inputs above LDBL_MAX / 2.0L.
4988         (__ieee754_y0l): Likewise.
4989         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4990         (__ieee754_j1l): Do not improve calculations using cos of twice
4991         input for inputs above LDBL_MAX / 2.0L.
4992         (__ieee754_y1l): Likewise.
4993         * math/libm-test.inc (j0_test): Add another test.
4994         (j1_test): Likewise.
4995         (y0_test): Likewise.
4996         (y1_test): Likewise.
4997         * sysdeps/i386/fpu/libm-test-ulps: Update.
4999 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5001         * Rules ($(objpfx)bench-%.c): Include code from a C source
5002         file.
5004 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
5006         [BZ #15287]
5007         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5008         imaginary part 1.0 and real part less than 0.5 specially.
5009         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5010         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5011         * math/libm-test.inc (cacos_test): Add more tests.
5012         (casin_test): Likewise.
5013         (casinh_test): Likewise.
5014         * sysdeps/i386/fpu/libm-test-ulps: Update.
5015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5017 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5019         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5020         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5022 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
5024         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5025         * config.make.in (config-cflags-sse4): Remove variable.
5026         (config-cflags-avx): Likewise.
5027         (config-cflags-sse2avx): Likewise.
5028         (config-cflags-novzeroupper): Likewise.
5029         (config-asflags-i686): Likewise.
5030         (have-mfma4): Likewise.
5031         (have-as-vis3): Likewise.
5032         (MIG): Likewise.
5033         * configure.in (MIG): Do not AC_SUBST.
5034         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5035         (libc_cv_cc_sse4): Do not AC_SUBST.
5036         (libc_cv_cc_avx): Likewise.
5037         (libc_cv_cc_sse2avx): Likewise.
5038         (libc_cv_cc_novzeroupper): Likewise.
5039         (libc_cv_cc_fma4): Likewise.
5040         (libc_cv_as_i686): Likewise.
5041         (libc_cv_sparc_as_vis3): Likewise.
5042         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5043         LIBC_CONFIG_VAR.
5044         (config-asflags-i686): Likewise.
5045         (config-cflags-avx): Likewise.
5046         (config-cflags-sse2avx): Likewise.
5047         (have-mfma4): Likewise.
5048         (config-cflags-novzeroupper): Likewise.
5049         * sysdeps/mach/configure.in (MIG): Likewise.
5050         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5051         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5052         LIBC_CONFIG_VAR.
5053         (config-cflags-avx): Likewise.
5054         (config-cflags-sse2avx): Likewise.
5055         (have-mfma4): Likewise.
5056         (config-cflags-novzeroupper): Likewise.
5057         * configure: Regenerated.
5058         * sysdeps/i386/configure: Likewise.
5059         * sysdeps/mach/configure: Likewise.
5060         * sysdeps/sparc/configure: Likewise.
5061         * sysdeps/x86_64/configure: Likewise.
5063 2013-03-20  Roland McGrath  <roland@hack.frob.com>
5065         [BZ #14812]
5066         * locale/programs/localedef.c (options): Put N_ translation marker
5067         on argument names, not just descriptions.
5069 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5071         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5073 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
5075         [BZ #14176]
5076         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5078 2013-03-19  Roland McGrath  <roland@hack.frob.com>
5080         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5081         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5082         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5083         [!BEFORE_ABORT] (before_abort): New function.
5084         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5085         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5086         (writev_for_fatal): New function.
5087         (WRITEV_FOR_FATAL): New macro; call that.
5088         (backtrace_and_maps): New function.
5089         (BEFORE_ABORT): New macro; call that.
5090         (struct str_list): Type removed.
5091         (__libc_message, __libc_fatal): Functions removed.
5092         Include <sysdeps/posix/libc_fatal.c> instead.
5094 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
5096         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5097         constants.
5098         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5099         double constants.
5101 2013-03-19  Andreas Schwab  <schwab@suse.de>
5103         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5104         * sysdeps/gnu/configure: Regenerate.
5106         * configure.in: Substitute libc_cv_rtlddir.
5107         * configure: Regenerate.
5108         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5109         * Makeconfig (rtlddir, inst_rtlddir): New variables.
5110         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5111         * elf/Makefile (install-others, CFLAGS-interp.c)
5112         (ldso_install, common-ldd-rewrite): Likewise.
5113         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5114         $(inst_slibdir)/$(rtld-installed-name).
5115         * scripts/rellns-sh: Add -p option.
5116         * Makerules (make-shlib-link): Use rellns-sh to get relative name
5117         for source.
5119 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5121         * manual/nptl.texi: Renamed to ...
5122         * manual/threads.texi: ... this.
5123         * manual/Makefile (chapters): Update.
5125 2013-03-18  Roland McGrath  <roland@hack.frob.com>
5127         [BZ #14812]
5128         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5129         on argument names, not just descriptions.
5130         * malloc/memusagestat.c (options): Likewise.
5131         * nss/getent.c (options): Likewise.
5133 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
5135         [BZ #14812]
5136         * iconv/iconv_prog.c (options): Put N_ translation marker
5137         on argument names, not just descriptions.
5138         * iconv/iconvconfig.c (options): Likewise.
5140 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
5142         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5143         implementation which is faster on all x86_64 architectures.
5144         Tested on AMD, Intel Nehalem, SNB, IVB.
5145         * sysdeps/x86_64/strnlen.S: Likewise.
5147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5148         Remove all multiarch strlen and strnlen versions.
5149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5150         Remove strlen and strnlen related parts.
5152         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5153         Inline strlen part.
5154         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5156         * sysdeps/x86_64/multiarch/strlen.S: Remove.
5157         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5158         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5159         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5160         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5161         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5163 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
5165         * manual/memory.texi (Malloc Tunable Parameters):
5166         Sort parameters alphabetically. Add comments for missing entries.
5168 2013-03-17  David S. Miller  <davem@davemloft.net>
5170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5172 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
5174         [BZ #15283]
5175         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5176         for arguments at most half maximum finite value.
5177         * math/libm-test.inc (j0_test): Add more tests.
5178         (j1_test): Likewise.
5179         (y0_test): Likewise.
5180         (y1_test): Likewise.
5181         * sysdeps/i386/fpu/libm-test-ulps: Update.
5182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5184         [BZ #14155]
5185         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5186         1 / x and functions P and Q for arguments above 0x1p256L.
5187         (__ieee754_y0l): Likewise.
5188         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5189         (__ieee754_y1l): Likewise.
5190         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5191         (j1_test): Likewise.
5192         (y0_test): Likewise.
5193         (y1_test): Likewise.
5195 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
5197         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5198         variable.
5200 2013-03-15  Roland McGrath  <roland@hack.frob.com>
5202         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5203         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5204         zero since it's initialized to EXEC_PAGESIZE.
5206         * sysdeps/unix/sysv/linux/ldsodefs.h
5207         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5208         * sysdeps/generic/ldsodefs.h: ... here.
5210 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5212         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5214         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5215         math/test-snan.c.
5216         * math/test-snan.c: Renamed from
5217         sysdeps/powerpc/fpu/test-powerpc-snan.c.
5218         * math/Makefile (tests): Add test-snan.
5219         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5220         test-powerpc-snan.
5222         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5223         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
5224         functions.
5225         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
5226         __builtin_nan family of functions.
5227         * math/libm-test.inc (initialize): Initialize qnan_value with
5228         __builtin_nan family of functions.
5229         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5230         Remove variables.
5231         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5232         Remove functions.
5233         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
5234         storage class.  Initialize qNaN_var and sNaN_var with
5235         __builtin_nan and __builtin_nans families of functions,
5236         respectively.
5238         * math/libm-test.inc (acosh_test): Also test with qNaN input.
5239         (sqrt_test): Remove duplicate test with qNaN input.
5240         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5241         (round_test, signbit_test, significand_test): Note missing +/-Inf
5242         as well as qNaN tests.
5244         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5245         qNaN_var.  Fix a few strings, too.
5246         * math/libm-test.inc (nan_value): Rename to qnan_value.
5247         * math/gen-libm-test.pl (%beautify): Adjust to that.
5248         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5249         * math/test-misc.c (main): Likewise.
5250         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5251         to __qnan_bytes, and __qnan_union, respectively.
5252         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5253         Likewise.
5254         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5255         and lqnanval, respectively.
5256         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5257         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5258         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5259         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5261         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5262         * math/test-misc.c (main) [__x86_64__]: Enable test for long
5263         doubles.
5265         * math/test-misc.c (main): Fix copy'n'pastos.
5266         * misc/tst-efgcvt.c (special): Likewise.
5268         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5269         Remove declarations.
5271 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5273         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5274         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5275         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5276         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5278 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5280         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5281         macro to return vdso values correctly in IFUNC implementations.
5282         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5283         Optimization by using IFUNC.
5285 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5286             Richard Henderson  <rth@redhat.com>
5287             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5289         * Makefile.in (bench): New target.
5290         * NEWS: Mention the benchmark framework.
5291         * Rules (bench): Likewise.
5292         (binaries-bench): Generate binaries for functions to
5293         benchmark.
5294         * benchtests/Makefile: New makefile for benchmark tests.
5295         * benchtests/bench-skeleton.c: New skeleton file for benchmark
5296         programs.
5297         * benchtests/exp-inputs: New input file for EXP function.
5298         * benchtests/pow-inputs: New input file for POW function.
5299         * scripts/bench.pl: New script to generate source files for
5300         benchmark programs.
5302 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5305         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5306         computations on mantissa.  Use macros for rounding and
5307         division.
5308         (denorm): Likewise.
5309         (__dbl_mp): Likewise.
5310         (add_magnitudes): Likewise.
5311         (sub_magnitudes): Likewise.
5312         (__mul): Likewise.
5313         (__sqr): Likewise.
5314         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5315         powers of two in terms of TWOPOW macro.
5316         (mp_no): Make type of mantissa as MANTISSA_T.
5317         [!RADIXI]: Define RADIXI.
5318         [!TWO52]: Define TWO52.
5319         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5321         * manual/nptl.texi (cindex): Modify threads to pthreads.
5323 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
5325         * sysdeps/x86_64/preconfigure: Regenerated.
5327 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
5329         [BZ #14155]
5330         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5331         0x1p28 and above.
5332         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5333         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5334         0x1p28 and above.
5335         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5336         * math/libm-test.inc (j0_test): Do not allow one spurious
5337         underflow exception.
5338         (y1_test): Likewise.
5340 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5342         * manual/Makefile (chapters): Add nptl.
5343         * manual/debug.texi (Debugging Support): Add link to Threads
5344         chapter.
5345         * manual/nptl.texi: New file.
5347         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5349 2013-03-14  Petr Baudis  <pasky@ucw.cz>
5351         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5352         for non-NULL pointer before the memory validity test. Pointed
5353         out by Holger Brunck <holger.brunck@keymile.com>.
5355 2013-03-13  Andreas Schwab  <schwab@suse.de>
5357         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5358         instead of .os.
5360 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
5362         * timezone/zic.c: Update from tzcode 2013b.
5364 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
5366         * manual/install.texi (Configuring and compiling):
5367         Mention i686 and i586.
5368         * INSTALL: Regenerate.
5370 2013-03-12  Roland McGrath  <roland@hack.frob.com>
5372         * sysdeps/init_array/elf-init.c: New file.
5373         * csu/elf-init.c
5374         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5375         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5377         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5378         __gmon_start__ as global, but as static with a .preinit_array pointer.
5379         * sysdeps/init_array/gmon-start.c: New file.  Use that.
5380         * sysdeps/init_array/crti.S: New file, empty except for comments.
5381         * sysdeps/init_array/crtn.S: Likewise.
5383 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
5385         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5386         definining bcopy.
5387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5388         Remove Prefer_SSE_for_memop.
5389         * sysdeps/x86_64/multiarch/init-arch.h: Remove
5390         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5391         HAS_PREFER_SSE_FOR_MEMOP.
5392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5393         memset-x86-64.
5394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5395         Remove bzero, memset ifunc support.
5396         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5397         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5398         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5399         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5401 2013-03-11  Andreas Schwab  <schwab@suse.de>
5403         [BZ #15234]
5404         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5405         by SHLIB_COMPAT.
5406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5407         (GLIBC_2.16): Remove pthread_atfork.
5409 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5411         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5412         (ptestcases.h): Likewise.
5414 2013-03-08  Roland McGrath  <roland@hack.frob.com>
5416         * Makeconfig ($(common-objpfx)config.status): Depend on
5417         sysdeps/*/preconfigure{,.in} too.
5419 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
5421         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5422         (__free_hook): Use void * instead of __malloc_ptr_t.
5423         (__malloc_hook): Likewise.
5424         (__realloc_hook): Likewise.
5425         (__memalign_hook): Likewise.
5426         (__after_morecore_hook): Likewise.
5427         * malloc/arena.c (save_malloc_hook): Likewise.
5428         (save_free_hook): Likewise.
5429         * malloc/hooks.c (malloc_hook_ini): Likewise.
5430         (realloc_hook_ini): Likewise.
5431         (memalign_hook_ini): Likewise.
5432         * malloc/malloc.c (malloc_hook_ini): Likewise.
5433         (realloc_hook_ini): Likewise.
5434         (memalign_hook_ini): Likewise.
5435         (__free_hook): Likewise.
5436         (__malloc_hook): Likewise.
5437         (__realloc_hook): Likewise.
5438         (__memalign_hook): Likewise.
5439         (__libc_malloc): Likewise.
5440         (__libc_free): Likewise.
5441         (__libc_realloc): Likewise.
5442         (__libc_memalign): Likewise.
5443         (__libc_valloc): Likewise.
5444         (__libc_pvalloc): Likewise.
5445         (__libc_calloc): Likewise.
5446         (__posix_memalign): Likewise.
5447         * malloc/morecore.c (__sbrk): Likewise.
5448         (__default_morecore): Likewise.
5450         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5452         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5453         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5454         __malloc_ptrdiff_t.
5456         * malloc/malloc.h (__malloc_size_t): Remove macro.
5457         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5458         __malloc_size_t.
5459         (old_memalign_hook): Likewise.
5460         (old_realloc_hook): Likewise.
5461         (struct hdr): Likewise.
5462         (flood): Likewise.
5463         (mallochook): Likewise.
5464         (memalignhook): Likewise.
5465         (reallochook): Likewise.
5466         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5467         (tr_old_realloc_hook): Likewise.
5468         (tr_old_memalign_hook): Likewise.
5469         (tr_mallochook): Likewise.
5470         (tr_reallochook): Likewise.
5471         (tr_memalignhook): Likewise.
5473 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5475         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5476         default_ldbl_pack and using as default implementation.
5477         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5478         implementation.
5479         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5480         redundant definition.
5481         (ldbl_insert_mantissa): Likewise.
5482         (ldbl_canonicalize): Likewise.
5483         (ldbl_nearbyint): Likewise.
5484         (ldbl_pack): Rename to ldbl_pack_ppc.
5485         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5486         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5487         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5489 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5492         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5493         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5494         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5496         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5497         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5498         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5500 2013-03-07  Andreas Jaeger  <aj@suse.de>
5502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5503         bits/mman-linux.h.
5505 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5507         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5508         Include mpa.h and declare __MPEXP.
5509         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5510         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5511         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5512         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5513         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5514         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5515         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5517         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5518         (__slowpow): Use long double EXPL and LOGL functions to
5519         compute POW.
5520         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5521         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5522         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5523         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5524         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5525         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5528         intermediate variable to calculate exponent.
5529         (__sqr): Likewise.
5530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5531         Likewise.
5532         (__sqr): Likewise.
5534         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5535         [!NO__SQR]: Define __sqr.
5536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5537         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5538         sysdeps/ieee754/dbl-64/mpa.c.
5539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5541         [BZ #12723]
5542         * posix/Makefile (tests): Add tst-pathconf.
5543         * posix/tst-pathconf.c: New test case.
5544         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5545         _PC_PIPE_BUF.
5546         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5548 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5550         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5552 2013-03-06  Andreas Jaeger  <aj@suse.de>
5554         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5555         definition via __MAP_ANONYMOUS.
5557         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5558         it's not part of Linux headers.
5560         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5561         (MAP_HUGE_MASK): Define.
5563         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5564         Define.
5565         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5566         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5567         Define.
5568         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5569         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5570         Define.
5571         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5572         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5573         Define.
5574         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5576         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5577         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5578         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5579         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5580         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5581         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5583         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5584         Handle f2fs.
5586         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5587         Handle f2fs and efivarfs.
5589         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5590         f2fs.
5592         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5593         (EFIVARFS_MAGIC): Add.
5594         (F2FS_LINK_MAX): Add.
5596 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5598         * stdio-common/vfprintf.c: Replace __builtin_expect with
5599         __glibc_unlikely.
5601 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5603         [BZ #13550]
5604         * sysdeps/generic/bp-sym.h: Remove file.
5605         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5606         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5607         <bp-sym.h> and <bp-asm.h>.
5608         (__longjmp): Don't use BP_SYM.
5609         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5610         and <bp-asm.h>.
5611         (memcpy): Don't use BP_SYM.
5612         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5613         <bp-sym.h> and <bp-asm.h>.
5614         (memcpy): Don't use BP_SYM.
5615         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5616         <bp-asm.h>.
5617         (memcpy): Don't use BP_SYM.
5618         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5619         <bp-asm.h>.
5620         (memset): Don't use BP_SYM.
5621         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5622         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5623         (__bzero): Don't use BP_SYM.
5624         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5625         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5626         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5627         <bp-sym.h> and <bp-asm.h>.
5628         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5629         pointers.
5630         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5631         <bp-sym.h> and <bp-asm.h>.
5632         (memcpy): Don't use BP_SYM.
5633         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5634         <bp-sym.h> and <bp-asm.h>.
5635         (memset): Don't use BP_SYM.
5636         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5637         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5638         (__bzero): Don't use BP_SYM.
5639         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5640         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5641         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5642         <bp-sym.h> and <bp-asm.h>.
5643         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5644         pointers.
5645         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5646         <bp-sym.h> and <bp-asm.h>.
5647         (memcpy): Don't use BP_SYM.
5648         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5649         <bp-sym.h> and <bp-asm.h>.
5650         (memset): Don't use BP_SYM.
5651         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5652         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5653         (__bzero): Don't use BP_SYM.
5654         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5655         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5656         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5657         <bp-sym.h> and <bp-asm.h>.
5658         (__memchr): Don't use BP_SYM.
5659         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5660         <bp-sym.h> and <bp-asm.h>.
5661         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5662         pointers.
5663         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5664         <bp-sym.h> and <bp-asm.h>.
5665         (memcpy): Don't use BP_SYM.
5666         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5667         <bp-sym.h> and <bp-asm.h>.
5668         (__mempcpy): Don't use BP_SYM.
5669         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5670         <bp-sym.h> and <bp-asm.h>.
5671         (__memrchr): Don't use BP_SYM.
5672         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5673         <bp-sym.h> and <bp-asm.h>.
5674         (memset): Don't use BP_SYM.
5675         (__bzero): Likewise.
5676         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5677         <bp-sym.h> and <bp-asm.h>.
5678         (__rawmemchr): Don't use BP_SYM.
5679         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5680         <bp-sym.h> and <bp-asm.h>.
5681         (__STRCMP): Don't use BP_SYM.
5682         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5683         <bp-sym.h> and <bp-asm.h>.
5684         (strchr): Don't use BP_SYM.
5685         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5686         <bp-sym.h> and <bp-asm.h>.
5687         (__strchrnul): Don't use BP_SYM.
5688         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5689         <bp-sym.h> and <bp-asm.h>.
5690         (strlen): Don't use BP_SYM.
5691         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5692         <bp-sym.h> and <bp-asm.h>.
5693         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5694         pointers.
5695         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5696         <bp-sym.h> and <bp-asm.h>.
5697         (__strnlen): Don't use BP_SYM.
5698         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5699         <bp-sym.h> and <bp-asm.h>.
5700         (__GI__setjmp): Don't use BP_SYM.
5701         (_setjmp): Likewise.
5702         (__sigsetjmp): Likewise.
5703         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5704         (L(start_addresses)): Don't use BP_SYM.
5705         (_start): Likewise.
5706         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5707         <bp-asm.h>.
5708         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5709         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5710         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5711         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5712         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5713         <bp-asm.h>.
5714         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5715         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5716         about bounded pointers.
5717         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5718         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5719         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5720         <bp-asm.h>.
5721         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5722         about bounded pointers.  Remove GKM FIXME comments.
5723         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5724         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5725         <bp-asm.h>.
5726         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5727         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5728         Remove GKM FIXME comments.
5729         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5730         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5731         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5732         <bp-asm.h>.
5733         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5734         about bounded pointers.  Remove GKM FIXME comment.
5735         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5736         and <bp-asm.h>.
5737         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5738         pointers.
5739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5740         <bp-sym.h> and <bp-asm.h>.
5741         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5743         <bp-sym.h> and <bp-asm.h>.
5744         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5745         comment.
5747 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5749         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5750         call free(NULL).
5752 2013-03-05  David S. Miller  <davem@davemloft.net>
5754         * po/es.po: Update from translation team.
5756 2013-03-05  Andreas Jaeger  <aj@suse.de>
5758         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5759         <bits/mman-linux.h>.
5760         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5761         is fine.
5762         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5763         <bits/mman-linux.h> to end of file.
5764         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5765         is fine.
5766         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5767         <bits/mman-linux.h> to end of file.
5768         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5769         is fine.
5770         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5771         <bits/mman-linux.h> to end of file.
5773         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5774         (MCL_CURRENT, MCL_FUTURE): Define here.
5776 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5778         [BZ #15232]
5779         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5780         attribute_hidden.
5781         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5783 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5785         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5786         fourth parameter needed for rt_sigprocmask syscall.
5787         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5788         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5789         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5790         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5791         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5792         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5794 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5796         [BZ #13550]
5797         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5798         comment about bounded pointers.
5799         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5800         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5802 2013-03-04  Andreas Jaeger  <aj@suse.de>
5804         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5805         common definitions.
5807         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5808         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5809         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5810         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5811         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5812         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5814 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5816         [BZ #15055]
5817         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5818         __ieee754_sqrl instead of __sqrl.
5820 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5822         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5823         * sysdeps/powerpc/fpu_control.h: ... here.
5824         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5825         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5826         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5827         * sysdeps/powerpc/bits/mathinline.h: ... here.
5829 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5831         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5832         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5833         to just [NEED_DL_SYSINFO_DSO].
5834         * elf/dl-support.c: Likewise.
5835         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5836         * elf/rtld.c (dl_main): Likewise.
5837         * elf/setup-vdso.h (setup_vdso): Likewise.
5838         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5839         * sysdeps/unix/sysv/linux/dl-sysdep.c
5840         (_dl_discover_osversion): Likewise.
5842 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5844         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5845         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5847 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5849         * NEWS: Mention libm performance improvements and non-x86 PI
5850         futex support.
5852         * csu/libc-start.c (__pthread_initialize_minimal): Change
5853         function arguments.
5854         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5856 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5858         [BZ #13550]
5859         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5860         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5861         <bp-sym.h> and <bp-asm.h>.
5862         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5863         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5864         and <bp-asm.h>.
5865         (memcpy): Don't use BP_SYM.
5866         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5867         <bp-asm.h>.
5868         (__mpn_add_n): Don't use BP_SYM.
5869         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5870         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5871         and <bp-asm.h>.
5872         (__mpn_addmul_1): Don't use BP_SYM.
5873         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5874         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5875         <bp-sym.h>.
5876         (_setjmp): Don't use BP_SYM.
5877         (__novmx_setjmp): Likewise.
5878         (__GI__setjmp): Likewise.
5879         (__vmx_setjmp): Likewise.
5880         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5881         <bp-sym.h>.
5882         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5883         (__bzero): Don't use BP_SYM.
5884         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5885         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5886         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5887         <bp-sym.h> and <bp-asm.h>.
5888         (memcpy): Don't use BP_SYM.
5889         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5890         <bp-sym.h> and <bp-asm.h>.
5891         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5892         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5893         <bp-sym.h> and <bp-asm.h>.
5894         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5895         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5896         <bp-asm.h>.
5897         (__mpn_lshift): Don't use BP_SYM.
5898         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5899         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5900         <bp-asm.h>.
5901         (memset): Don't use BP_SYM.
5902         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5903         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5904         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5905         <bp-asm.h>.
5906         (__mpn_mul_1): Don't use BP_SYM.
5907         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5908         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5909         <bp-sym.h> and <bp-asm.h>.
5910         (memcmp): Don't use BP_SYM.
5911         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5912         <bp-sym.h> and <bp-asm.h>.
5913         (memcpy): Don't use BP_SYM.
5914         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5915         <bp-sym.h> and <bp-asm.h>.
5916         (memset): Don't use BP_SYM.
5917         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5918         <bp-sym.h> and <bp-asm.h>.
5919         (strncmp): Don't use BP_SYM.
5920         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5921         <bp-sym.h> and <bp-asm.h>.
5922         (memcpy): Don't use BP_SYM.
5923         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5924         <bp-sym.h> and <bp-asm.h>.
5925         (memset): Don't use BP_SYM.
5926         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5927         <bp-sym.h> and <bp-asm.h>.
5928         (__memchr): Don't use BP_SYM.
5929         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5930         <bp-sym.h> and <bp-asm.h>.
5931         (memcmp): Don't use BP_SYM.
5932         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5933         <bp-sym.h> and <bp-asm.h>.
5934         (memcpy): Don't use BP_SYM.
5935         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5936         <bp-sym.h> and <bp-asm.h>.
5937         (__mempcpy): Don't use BP_SYM.
5938         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5939         <bp-sym.h> and <bp-asm.h>.
5940         (__memrchr): Don't use BP_SYM.
5941         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5942         <bp-sym.h> and <bp-asm.h>.
5943         (memset): Don't use BP_SYM.
5944         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5945         <bp-sym.h> and <bp-asm.h>.
5946         (__rawmemchr): Don't use BP_SYM.
5947         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5948         <bp-sym.h> and <bp-asm.h>.
5949         (__STRCMP): Don't use BP_SYM.
5950         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5951         <bp-sym.h> and <bp-asm.h>.
5952         (strchr): Don't use BP_SYM.
5953         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5954         <bp-sym.h> and <bp-asm.h>.
5955         (__strchrnul): Don't use BP_SYM.
5956         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5957         <bp-sym.h> and <bp-asm.h>.
5958         (strlen): Don't use BP_SYM.
5959         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5960         <bp-sym.h> and <bp-asm.h>.
5961         (strncmp): Don't use BP_SYM.
5962         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5963         <bp-sym.h> and <bp-asm.h>.
5964         (__strnlen): Don't use BP_SYM.
5965         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5966         <bp-asm.h>.
5967         (__mpn_rshift): Don't use BP_SYM.
5968         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5969         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5970         <bp-sym.h> and <bp-asm.h>.
5971         (__sigsetjmp): Don't use BP_SYM.
5972         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5973         (L(start_addresses)): Don't use BP_SYM.
5974         (_start): Likewise.
5975         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5976         <bp-asm.h>.
5977         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5978         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5979         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5980         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5981         <bp-asm.h>.
5982         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5983         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5984         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5985         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5986         <bp-asm.h>.
5987         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5988         comments.
5989         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5990         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5991         <bp-asm.h>.
5992         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5993         FIXME comments.
5994         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5995         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5996         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5997         <bp-asm.h>.
5998         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5999         comment.
6000         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6001         and <bp-asm.h>.
6002         (strncmp): Don't use BP_SYM,
6003         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6004         <bp-asm.h>.
6005         (__mpn_sub_n): Don't use BP_SYM.
6006         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6007         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6008         and <bp-asm.h>.
6009         (__mpn_submul_1): Don't use BP_SYM.
6010         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6012         <bp-sym.h> and <bp-asm.h>.
6013         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6015         <bp-sym.h> and <bp-asm.h>.
6016         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6017         comment.
6019 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6022         Use ZK to minimize writes to Z.
6023         (sub_magnitudes): Simplify code a bit.
6024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6025         Use ZK to minimize writes to Z.
6026         (sub_magnitudes): Simplify code a bit.
6028 2013-02-27  Roland McGrath  <roland@hack.frob.com>
6030         * csu/gmon-start.c: Add special exception to license text.
6032 2013-02-27  Richard Henderson  <rth@redhat.com>
6034         * scripts/config.guess: Update from config.git.
6035         * scripts/config.sub: Likewise.
6037 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6039         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6041         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6043         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6045         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6047         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6049 2013-02-26  Roland McGrath  <roland@hack.frob.com>
6051         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6052         [$(build-shared = yes].
6054 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6056         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6057         (__mul): Reduce iterations for calculating mantissa.
6059         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6060         MPTWO.
6061         (__mpranred): Likewise.
6063         [BZ #15160]
6064         * malloc/memusagestat.c (main): Draw graphs for heap and stack
6065         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6067 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
6069         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6070         Define __attribute__.
6072 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6074         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6075         unused.
6076         * posix/regex_internal.h (__attribute): Remove.
6077         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6078         (re_string_context_at): Likewise.
6079         (bitset_not): Use __attribute__ and mark function as possibly
6080         unused.
6081         (bitset_merge): Likewise.
6082         (bitset_mask): Likewise.
6083         (re_string_char_size_at): Likewise.
6084         (re_string_wchar_at): Likewise.
6085         (re_string_elem_size_at): Likewise.
6087 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6089         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6090         code.
6091         (cc32): Likewise.
6093         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6094         (__acr): Likewise.
6095         (__cpy): Likewise.
6096         (norm): Likewise.
6097         (denorm): Likewise.
6098         (__dbl_mp): Likewise.
6099         (add_magnitudes): Likewise.
6100         (sub_magnitudes): Likewise.
6101         (__mul): Likewise.
6102         (__inv): Likewise.
6104         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6105         style.
6107         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6108         style.
6110         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6111         code.
6113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6114         up changes with default code.
6115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6116         Likewise.
6118 2013-02-24  Allan McRae  <allan@archlinux.org>
6120         * manual/socket.texi (The Internet Namespace): Order menu items
6121         to match that in the file.
6123         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6124         node listing of the info page menu.
6126 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
6128         [BZ #13550]
6129         * sysdeps/i386/bp-asm.h: Remove file.
6130         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6131         (PARMS): Do not use macros from bp-asm.h.
6132         (S1): Likewise.
6133         (S2): Likewise.
6134         (SIZE): Likewise.
6135         (__mpn_add_n): Do not use BP_SYM
6136         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6137         "bp-asm.h".
6138         (PARMS): Do not use macros from bp-asm.h.
6139         (S1): Likewise.
6140         (SIZE): Likewise.
6141         (__mpn_addmul_1): Do not use BP_SYM
6142         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6143         "bp-asm.h".
6144         (PARMS): Do not use macros from bp-asm.h.
6145         (SIGMSK): Likewise.
6146         (_setjmp): Likewise.  Do not use BP_SYM.
6147         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6148         "bp-asm.h".
6149         (PARMS): Do not use macros from bp-asm.h.
6150         (SIGMSK): Likewise.
6151         (setjmp): Likewise.  Do not use BP_SYM.
6152         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6153         "bp-asm.h".
6154         (PARMS): Do not use macros from bp-asm.h.
6155         (__frexp): Do not use BP_SYM.
6156         (frexp): Likewise.
6157         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6158         "bp-asm.h".
6159         (PARMS): Do not use macros from bp-asm.h.
6160         (__frexpf): Do not use BP_SYM.
6161         (frexpf): Likewise.
6162         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6163         "bp-asm.h".
6164         (PARMS): Do not use macros from bp-asm.h.
6165         (__frexpl): Do not use BP_SYM.
6166         (frexpl): Likewise.
6167         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6168         "bp-asm.h".
6169         (PARMS): Do not use macros from bp-asm.h.
6170         (__remquo): Do not use BP_SYM.
6171         (remquo): Likewise.
6172         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6173         "bp-asm.h".
6174         (PARMS): Do not use macros from bp-asm.h.
6175         (__remquof): Do not use BP_SYM.
6176         (remquof): Likewise.
6177         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6178         "bp-asm.h".
6179         (PARMS): Do not use macros from bp-asm.h.
6180         (__remquol): Do not use BP_SYM.
6181         (remquol): Likewise.
6182         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6183         "bp-asm.h".
6184         (PARMS): Do not use macros from bp-asm.h.
6185         (DEST): Likewise.
6186         (SRC): Likewise.
6187         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
6188         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6189         "bp-asm.h".
6190         (PARMS): Do not use macros from bp-asm.h.
6191         (strlen): Do not use BP_SYM.
6192         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6193         "bp-asm.h".
6194         (PARMS): Do not use macros from bp-asm.h.
6195         (S1): Likewise.
6196         (S2): Likewise.
6197         (SIZE): Likewise.
6198         (__mpn_add_n): Do not use BP_SYM.
6199         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6200         "bp-asm.h".
6201         (PARMS): Do not use macros from bp-asm.h.
6202         (S1): Likewise.
6203         (SIZE): Likewise.
6204         (__mpn_addmul_1): Do not use BP_SYM.
6205         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6206         weak_alias.
6207         (bzero): Likewise.
6208         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6209         "bp-asm.h".
6210         (PARMS): Do not use macros from bp-asm.h.
6211         (S): Likewise.
6212         (SIZE): Likewise.
6213         (__mpn_lshift): Do not use BP_SYM.
6214         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6215         "bp-asm.h".
6216         (PARMS): Do not use macros from bp-asm.h.
6217         (DEST): Likewise.
6218         (SRC): Likewise.
6219         (LEN): Likewise.
6220         (memcpy): Likewise.  Do not use BP_SYM.
6221         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6222         libc_hidden_def and weak_alias.
6223         (mempcpy): Do not use BP_SYM in weak_alias.
6224         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6225         "bp-asm.h".
6226         (PARMS): Do not use macros from bp-asm.h.
6227         (DEST): Likewise.
6228         (LEN): Likewise.
6229         [!BZERO_P] (CHR): Likewise.
6230         (memset): Likewise.  Do not use BP_SYM.
6231         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6232         "bp-asm.h".
6233         (PARMS): Do not use macros from bp-asm.h.
6234         (S1): Likewise.
6235         (SIZE): Likewise.
6236         (__mpn_mul_1): Do not use BP_SYM.
6237         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6238         "bp-asm.h".
6239         (PARMS): Do not use macros from bp-asm.h.
6240         (S): Likewise.
6241         (SIZE): Likewise.
6242         (__mpn_rshift): Do not use BP_SYM.
6243         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6244         "bp-asm.h".
6245         (PARMS): Do not use macros from bp-asm.h.
6246         (STR): Likewise.
6247         (CHR): Likewise.
6248         (strchr): Likewise.  Do not use BP_SYM.
6249         (index): Do not use BP_SYM in weak_alias.
6250         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6251         "bp-asm.h".
6252         (PARMS): Do not use macros from bp-asm.h.
6253         (DEST): Likewise.
6254         (SRC): Likewise.
6255         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
6256         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6257         "bp-asm.h".
6258         (PARMS): Do not use macros from bp-asm.h.
6259         (strlen): Do not use BP_SYM.
6260         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6261         "bp-asm.h".
6262         (PARMS): Do not use macros from bp-asm.h.
6263         (S1): Likewise.
6264         (S2): Likewise.
6265         (SIZE): Likewise.
6266         (__mpn_sub_n): Do not use BP_SYM.
6267         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6268         "bp-asm.h".
6269         (PARMS): Do not use macros from bp-asm.h.
6270         (S1): Likewise.
6271         (SIZE): Likewise.
6272         (__mpn_submul_1): Do not use BP_SYM.
6273         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6274         "bp-asm.h".
6275         (PARMS): Do not use macros from bp-asm.h.
6276         (S1): Likewise.
6277         (S2): Likewise.
6278         (SIZE): Likewise.
6279         (__mpn_add_n): Do not use BP_SYM.
6280         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6281         weak_alias.
6282         (bzero): Likewise.
6283         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6284         "bp-asm.h".
6285         (PARMS): Do not use macros from bp-asm.h.
6286         (BLK2): Likewise.
6287         (LEN): Likewise.
6288         (memcmp): Do not use BP_SYM.
6289         (bcmp): Do not use BP_SYM in weak_alias.
6290         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6291         "bp-asm.h".
6292         (PARMS): Do not use macros from bp-asm.h.
6293         (DEST): Likewise.
6294         (SRC): Likewise.
6295         (LEN): Likewise.
6296         (memcpy): Likewise.  Do not use BP_SYM.
6297         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6298         "bp-asm.h".
6299         (PARMS): Do not use macros from bp-asm.h.
6300         (DEST): Likewise.
6301         (SRC): Likewise.
6302         (LEN): Likewise.
6303         (memmove): Likewise.  Do not use BP_SYM.
6304         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6305         "bp-asm.h".
6306         (PARMS): Do not use macros from bp-asm.h.
6307         (DEST): Likewise.
6308         (SRC): Likewise.
6309         (LEN): Likewise.
6310         (__mempcpy): Likewise.  Do not use BP_SYM.
6311         (mempcpy): Do not use BP_SYM in weak_alias.
6312         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6313         "bp-asm.h".
6314         (PARMS): Do not use macros from bp-asm.h.
6315         (DEST): Likewise.
6316         (LEN): Likewise.
6317         [!BZERO_P] (CHR): Likewise.
6318         (memset): Likewise.  Do not use BP_SYM.
6319         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6320         "bp-asm.h".
6321         (PARMS): Do not use macros from bp-asm.h.
6322         (STR2): Likewise.
6323         (strcmp): Do not use BP_SYM.
6324         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6325         "bp-asm.h".
6326         (PARMS): Do not use macros from bp-asm.h.
6327         (STR): Likewise.
6328         (DELIM): Likewise.
6329         [USE_AS_STRTOK_R] (SAVE): Likewise.
6330         (FUNCTION): Likewise.  Do not use BP_SYM.
6331         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6332         aliases.
6333         (strtok_r): Likewise.
6334         (__GI___strtok_r): Likewise.
6335         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6336         (PARMS): Do not use macros from bp-asm.h.
6337         (S): Likewise.
6338         (SIZE): Likewise.
6339         (__mpn_lshift): Do not use BP_SYM.
6340         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6341         (PARMS): Do not use macros from bp-asm.h.
6342         (STR): Likewise.
6343         (CHR): Likewise.
6344         (__memchr): Do not use BP_SYM.
6345         (memchr): Do not use BP_SYM in weak_alias.
6346         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6347         (PARMS): Do not use macros from bp-asm.h.
6348         (BLK2): Likewise.
6349         (LEN): Likewise.
6350         (memcmp): Do not use BP_SYM.
6351         (bcmp): Do not use BP_SYM in weak_alias.
6352         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6353         (PARMS): Do not use macros from bp-asm.h.
6354         (S1): Likewise.
6355         (SIZE): Likewise.
6356         (__mpn_mul_1): Do not use BP_SYM.
6357         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6358         "bp-asm.h".
6359         (PARMS): Do not use macros from bp-asm.h.
6360         (STR): Likewise.
6361         (CHR): Likewise.
6362         (__rawmemchr): Do not use BP_SYM.
6363         (rawmemchr): Do not use BP_SYM in weak_alias.
6364         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6365         (PARMS): Do not use macros from bp-asm.h.
6366         (S): Likewise.
6367         (SIZE): Likewise.
6368         (__mpn_rshift): Do not use BP_SYM.
6369         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6370         (PARMS): Do not use macros from bp-asm.h.
6371         (SIGMSK): Likewise.
6372         (__sigsetjmp): Likewise.  Do not use BP_SYM.
6373         * sysdeps/i386/start.S: Do not include "bp-sym.h".
6374         (_start): Do not use BP_SYM.
6375         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6376         (PARMS): Do not use macros from bp-asm.h.
6377         (DEST): Likewise.
6378         (SRC): Likewise.
6379         (__stpcpy): Likewise.  Do not use BP_SYM.
6380         (stpcpy): Do not use BP_SYM in weak_alias.
6381         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6382         "bp-asm.h".
6383         (PARMS): Do not use macros from bp-asm.h.
6384         (DEST): Likewise.
6385         (SRC): Likewise.
6386         (LEN): Likewise.
6387         (__stpncpy): Likewise.  Do not use BP_SYM.
6388         (stpncpy): Do not use BP_SYM in weak_alias.
6389         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6390         (PARMS): Do not use macros from bp-asm.h.
6391         (STR): Likewise.
6392         (CHR): Likewise.
6393         (strchr): Likewise.  Do not use BP_SYM.
6394         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6395         "bp-asm.h".
6396         (PARMS): Do not use macros from bp-asm.h.
6397         (STR): Likewise.
6398         (CHR): Likewise.
6399         (__strchrnul): Likewise.  Do not use BP_SYM.
6400         (strchrnul): Do not use BP_SYM in weak_alias.
6401         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6402         "bp-asm.h".
6403         (PARMS): Do not use macros from bp-asm.h.
6404         (STOP): Likewise.
6405         (strcspn): Do not use BP_SYM.
6406         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6407         "bp-asm.h".
6408         (PARMS): Do not use macros from bp-asm.h.
6409         (STR): Likewise.
6410         (STOP): Likewise.
6411         (strpbrk): Likewise.  Do not use BP_SYM.
6412         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6413         "bp-asm.h".
6414         (PARMS): Do not use macros from bp-asm.h.
6415         (STR): Likewise.
6416         (CHR): Likewise.
6417         (strrchr): Likewise.  Do not use BP_SYM.
6418         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6419         (PARMS): Do not use macros from bp-asm.h.
6420         (SKIP): Likewise.
6421         (strspn): Do not use BP_SYM.
6422         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6423         (PARMS): Do not use macros from bp-asm.h.
6424         (STR): Likewise.
6425         (DELIM): Likewise.
6426         (SAVE): Likewise.
6427         (FUNCTION): Likewise.  Do not use BP_SYM.
6428         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6429         aliases.
6430         (strtok_r): Likewise.
6431         (__GI___strtok_r): Likewise.
6432         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6433         (PARMS): Do not use macros from bp-asm.h.
6434         (S1): Likewise.
6435         (S2): Likewise.
6436         (SIZE): Likewise.
6437         (__mpn_sub_n): Do not use BP_SYM.
6438         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6439         "bp-asm.h".
6440         (PARMS): Do not use macros from bp-asm.h.
6441         (S1): Likewise.
6442         (SIZE): Likewise.
6443         (__mpn_submul_1): Do not use BP_SYM.
6444         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6445         <bp-sym.h>.
6446         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6447         and <bp-asm.h>.
6448         (PARMS): Do not use macros from bp-asm.h.
6449         (FLAGS): Likewise.
6450         (PTID): Likewise.
6451         (TLS): Likewise.
6452         (CTID): Likewise.
6453         (__clone): Do not use BP_SYM.
6454         (clone): Do not use BP_SYM in weak_alias.
6455         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6456         and <bp-asm.h>.
6457         (PARMS): Do not use macros from bp-asm.h.
6458         (LEN): Likewise.
6459         (__mmap64): Do not use BP_SYM.
6460         (mmap64): Do not use BP_SYM in weak_alias.
6461         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6462         <bp-sym.h> and <bp-asm.h>.
6463         (PARMS): Do not use macros from bp-asm.h.
6464         (__posix_fadvise64_l64): Do not use BP_SYM.
6465         * sysdeps/unix/sysv/linux/i386/semtimedop.S
6466         (PARMS): Do not use macros from bp-asm.h.
6467         (NSOPS): Likewise.
6468         (semtimedop): Do not use BP_SYM.
6469         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6470         and <bp-asm.h>.
6472 2013-02-21  Allan McRae  <allan@archlinux.org>
6474         * manual/message.texi (Charset conversion in gettext):
6475         Move @end statement to beginning of line.
6477 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6480         static.
6481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6482         Likewise.
6484         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6485         (denorm): Likewise.
6486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6489 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6491         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6492         tail-call to the resolved function if pltexit isn't needed.
6494 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6497         or Y being zero as being unlikely.
6498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6499         Likewise.
6501 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6503         * manual/nss.texi (System Databases and Name Service Switch):
6504         Remove frobnicate @pxref.
6506 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6508         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6509         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6511 2013-02-20  Petr Machata  <pmachata@redhat.com>
6513         * elf/elf.h (R_ARM_TARGET1): New macro.
6514         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6515         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6516         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6517         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6518         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6519         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6520         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6521         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6522         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6523         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6524         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6525         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6526         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6527         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6528         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6529         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6530         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6531         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6532         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6533         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6534         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6535         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6536         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6537         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6538         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6539         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6540         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6541         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6542         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6543         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6544         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6545         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6546         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6547         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6548         (R_ARM_THM_GOT_BREL12): Likewise.
6549         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6550         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6551         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6552         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6553         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6554         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6555         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6556         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6557         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6559 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6561         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6562         __attribute_used__ to __attribute__ ((unused)).
6564 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6566         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6567         powerpc mpa.c.
6568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6569         comment formatting.
6570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6572 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6574         [BZ #13550]
6575         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6576         Remove macro.
6577         (ENTER): Remove both macro definitions.
6578         (LEAVE): Likewise.
6579         (CHECK_BOUNDS_LOW): Likewise.
6580         (CHECK_BOUNDS_HIGH): Likewise.
6581         (CHECK_BOUNDS_BOTH): Likewise.
6582         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6583         (RETURN_BOUNDED_POINTER): Likewise.
6584         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6585         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6586         (POP_ERRNO_LOCATION_RETURN): Likewise.
6587         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6588         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6589         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6590         macros.
6591         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6592         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6593         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6594         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6595         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6596         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6597         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6598         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6599         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6600         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6601         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6602         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6603         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6604         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6605         removed macros.
6606         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6607         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6608         macros.
6609         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6610         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6611         * sysdeps/i386/i586/memset.S (memset): Likewise.
6612         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6613         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6614         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6615         macros.
6616         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6617         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6618         Change uses of L(2) to L(out).
6619         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6620         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6621         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6622         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6623         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6624         removed macros.
6625         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6626         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6627         macros.
6628         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6629         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6630         (RETURN): Do not use macro LEAVE.
6631         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6632         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6633         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6634         * sysdeps/i386/i686/memset.S (memset): Likewise.
6635         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6636         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6637         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6638         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6639         Likewise.
6640         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6641         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6642         L(1_2) and L(1_3) into L(1).
6643         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6644         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6645         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6646         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6647         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6648         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6649         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6650         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6651         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6652         macros.
6653         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6654         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6655         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6656         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6657         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6658         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6659         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6660         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6661         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6662         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6663         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6664         * sysdeps/i386/strspn.S (strspn): Likewise.
6665         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6666         conditional code.
6667         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6668         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6669         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6670         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6671         L(1_3) into L(1_1).
6672         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6673         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6674         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6675         macros.
6676         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6678 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6680         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6681         macro.
6683 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6685         * math/atest-exp.c (exp_mpn): Remove ROUND.
6686         * math/atest-exp2.c (exp_mpn): Likewise.
6687         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6689         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6690         * stdlib/tst-tls-atexit-lib.c: Likewise.
6691         * stdlib/tst-tls-atexit.c: Likewise.
6693 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6695         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6696         and __attribute_alloc_size__.
6698 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6700         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6701         __attribute_alloc_size__.
6702         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6703         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6705 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6707         * include/programs/xmalloc.h: New file.
6708         * catgets/gencat.c: Include it.
6709         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6710         * elf/pldd.c: Likewise.
6711         * iconv/iconv_charmap.c: Likewise.
6712         * iconv/iconvconfig.c: Likewise.
6713         * iconv/strtab.c: Likewise.
6714         * locale/programs/locale.c: Likewise.
6715         * locale/programs/localedef.h: Likewise.
6716         * locale/programs/simple-hash.c: Likewise.
6717         * nscd/nscd.h: Likewise.
6718         * nss/makedb.c: Likewise.
6719         * sysdeps/generic/ldconfig.h: Likewise.
6721 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6723         * Versions.def: Add GLIBC_2.18.
6724         * include/link.h (struct link_map): New member l_tls_dtor_count.
6725         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6726         (__call_tls_dtors): Likewise.
6727         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6728         __cxa_thread_atexit_impl.
6729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6730         Likewise.
6731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6732         Likewise.
6733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6734         Likewise.
6735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6736         Likewise.
6737         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6739         Likewise.
6740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6741         Likewise.
6742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6744         Likewise.
6745         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6746         (tests): Add test case tst-tls-atexit.
6747         (modules-names): Add shared library for tst-tls-atexit.
6748         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6749         (GLIBC_PRIVATE): Add __call_tls_dtors.
6750         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6751         for libstdc++.
6752         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6753         * stdlib/tst-tls-atexit.c: New test case.
6754         * stdlib/tst-tls-atexit-lib.c: New test case.
6756         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6758         * elf/Versions (ld): Add _dl_find_dso_for_object.
6759         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6760         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6761         (dl_open_worker): Use _dl_find_dso_for_object.
6762         * elf/dl-sym.c (do_sym): Likewise.
6763         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6765 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6767         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6768         Syntactic changes only.
6769         (_dl_runtime_profile): Do a tail-call to the resolved function.
6771 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6773         [BZ #13550]
6774         * sysdeps/x86_64/bp-asm.h: Remove file.
6775         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6776         <bp-sym.h> and <bp-asm.h>.
6777         (__clone): Do not use BP_SYM.
6778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6779         <bp-sym.h> and <bp-asm.h>.
6780         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6781         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6782         "bp-asm.h".
6783         (_setjmp): Do not use BP_SYM.
6784         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6785         "bp-asm.h".
6786         (setjmp): Do not use BP_SYM.
6787         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6788         libc_hidden_def.
6789         (mempcpy): Do not use BP_SYM in weak_alias.
6790         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6791         "bp-asm.h".
6792         (strchr): Do not use BP_SYM.
6793         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6794         "bp-asm.h".
6795         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6796         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6797         (_start): Do not use BP_SYM.
6798         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6799         "bp-asm.h".
6800         (strcat): Do not use BP_SYM.
6801         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6802         "bp-asm.h".
6803         (STRCMP): Do not use BP_SYM.
6804         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6805         "bp-asm.h".
6806         (STRCPY): Do not use BP_SYM.
6807         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6808         "bp-asm.h".
6809         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6810         "bp-asm.h".
6811         (FUNCTION): Do not use BP_SYM.
6812         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6813         weak_alias.
6814         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6816 2013-02-17  Andreas Jaeger  <aj@suse.de>
6818         * time/Versions: Sort entries.
6819         * string/Versions: Likewise.
6820         * resolv/Versions: Likewise.
6821         * posix/Versions: Likewise.
6822         * iconv/Versions: Likewise.
6823         * elf/Versions: Likewise.
6824         * wcsmbs/Versions: Likewise.
6826 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6828         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6829         loop termination condition.
6831         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6832         variable to calculate EZ.
6833         (__sqr): Likewise.
6835         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6836         the lower precision input.
6838 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6840         [BZ #13550]
6841         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6842         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6843         (run-via-rtld-prefix): Do not handle %-bp tests.
6844         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6845         (all-object-suffixes): Remove .ob.
6846         (bppfx): Remove variable.
6847         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6848         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6849         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6850         [$(build-bounded) = yes] (libtype.ob): Likewise.
6851         * Makerules (elide-routines.ob): Remove variable.
6852         (do-tests-clean): Do not handle *-bp.out.
6853         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6854         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6855         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6856         (tests): Do not include $(tests-bp.out).
6857         (xtests): Do not include $(xtests-bp.out).
6858         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6859         [$(build-bounded) = yes] ($(addprefix
6860         $(objpfx),$(binaries-bounded))): Remove rule.
6861         ($(objpfx)%-bp.out): Remove rule.
6862         * config.make.in (build-bounded): Remove variable.
6863         * crypt/Makefile [$(build-bounded) = yes]
6864         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6865         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6866         append to variable.
6867         [$(build-bounded) = yes] (install-lib): Likewise.
6868         [$(build-bounded) = yes] (generated): Likewise.
6869         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6870         Remove rule.
6871         * intl/Makefile [$(build-bounded) = yes]
6872         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6873         * math/Makefile [$(build-bounded) = yes]
6874         ($(tests:%=$(objpfx)%-bp): Likewise.
6875         * misc/Makefile [$(build-bounded) = yes]
6876         ($(objpfx)tst-tsearch-bp): Likewise.
6877         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6878         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6879         Remove dependency.
6880         * string/Makefile (o-objects.ob): Remove variable.
6881         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6882         (CFLAGS-.ob): Remove variable.
6883         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6884         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6885         both definitions of variable.
6886         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6887         (ASFLAGS-.ob): Remove variable.
6889 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6891         [BZ #13550]
6892         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6893         Remove __BOUNDED_POINTERS__ from condition.
6894         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6895         * string/bits/string2.h [!__NO_STRING_INLINES &&
6896         !__BOUNDED_POINTERS__]: Likewise.
6897         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6898         Likewise.
6899         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6900         Remove conditional code.
6901         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6902         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6903         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6904         condition.
6906         [BZ #13550]
6907         * csu/libc-start.c: Do not include <bp-sym.h>.
6908         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6909         * elf/dl-open.c: Do not include <bp-sym.h>.
6910         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6911         * math/fegetenv.c: Do not include <bp-sym.h>.
6912         (fegetenv): Do not use BP_SYM in versioned symbols.
6913         * nptl/sysdeps/pthread/bits/libc-lockP.h
6914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6915         <bp-sym.h>.
6916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6917         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6919         (__pthread_mutex_destroy): Likewise.
6920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6921         (__pthread_mutex_lock): Likewise.
6922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6923         (__pthread_mutex_trylock): Likewise.
6924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6925         (__pthread_mutex_unlock): Likewise.
6926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6927         (__pthread_mutexattr_init): Likewise.
6928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6929         (__pthread_mutexattr_destroy): Likewise.
6930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6931         (__pthread_mutexattr_settype): Likewise.
6932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6933         (__pthread_rwlock_init): Likewise.
6934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6935         (__pthread_rwlock_destroy): Likewise.
6936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6937         (__pthread_rwlock_rdlock): Likewise.
6938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6939         (__pthread_rwlock_tryrdlock): Likewise.
6940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6941         (__pthread_rwlock_wrlock): Likewise.
6942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6943         (__pthread_rwlock_trywrlock): Likewise.
6944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6945         (__pthread_rwlock_unlock): Likewise.
6946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6947         (__pthread_key_create): Likewise.
6948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6949         (__pthread_setspecific): Likewise.
6950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6951         (__pthread_getspecific): Likewise.
6952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6953         Likewise.
6954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6955         (_pthread_cleanup_push_defer): Likewise.
6956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6957         (_pthread_cleanup_pop_restore): Likewise.
6958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6959         (pthread_setcancelstate): Likewise.
6960         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6961         <bp-sym.h>.
6962         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6963         (memchr): Do not use BP_SYM in weak_alias.
6964         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6965         (fegetenv): Do not use BP_SYM in versioned symbols.
6966         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6967         (fesetenv): Do not use BP_SYM in versioned symbols.
6968         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6969         (feupdateenv): Do not use BP_SYM in versioned symbols.
6970         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6971         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6972         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6973         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6974         (open64): Do not use BP_SYM in weak_alias.
6975         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6976         (fegetenv): Do not use BP_SYM in versioned symbols.
6977         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6978         (fesetenv): Do not use BP_SYM in versioned symbols.
6979         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6980         (feupdateenv): Do not use BP_SYM in versioned symbols.
6981         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6982         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6983         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6984         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6985         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6986         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6987         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6988         <bp-sym.h>.
6989         (__libc_start_main): Do not use BP_SYM.
6991 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6994         redundant return line.
6995         (norm): Likewise.
6996         (denorm): Likewise.
6997         (dbl_mp): Likewise.
6998         (sub_magnitudes): Likewise.
6999         (__add): Likewise.
7000         (__sub): Likewise.
7001         (__mul): Likewise.
7002         (__inv): Likewise.
7003         (__dvd): Likewise.
7004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7005         (norm): Likewise.
7006         (denorm): Likewise.
7007         (dbl_mp): Likewise.
7008         (sub_magnitudes): Likewise.
7009         (__add): Likewise.
7010         (__sub): Likewise.
7011         (__mul): Likewise.
7012         (__inv): Likewise.
7013         (__dvd): Likewise.
7015         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7016         instead of __mul.
7017         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7018         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7019         (cc32): Likewise.
7021         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7022         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7023         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7024         of __mul for squares.
7025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7026         function
7027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7028         Likewise.
7029         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7030         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7032 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
7034         [BZ #13550]
7035         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7036         code.
7037         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7038         prototype or function definition.  Rename ubp_* variables and
7039         parameters.  Remove argv definitions conditional on
7040         [__BOUNDED_POINTERS__].
7041         * debug/backtrace.c (__backtrace): Do not use __unbounded.
7042         * elf/dl-runtime.c (_dl_fixup): Likewise.
7043         * include/set-hooks.h (RUN_HOOK): Likewise.
7044         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7045         definition.
7046         * string/strcpy.c (strcpy): Do not use __unbounded.
7047         * sysdeps/generic/frame.h (struct layout): Likewise.
7048         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7049         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7050         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7051         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7052         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7053         (__backtrace): Likewise.
7054         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7055         use __ptrvalue.
7056         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7057         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7058         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7059         Likewise.
7060         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7061         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7062         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7063         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7064         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7065         Do not use __unbounded.
7066         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7067         Rename __unboundedrlimits parameter to rlimits in prototype.
7068         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7069         Do not use __unbounded.
7070         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7071         not use __ptrvalue.
7072         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7073         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7074         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7075         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7076         __ptrvalue or __unbounded.
7077         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7078         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7079         use __unbounded.
7080         (__new_msgctl): Do not use __ptrvalue.
7081         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7082         __unbounded.
7083         (__libc_msgrcv): Do not use __ptrvalue.
7084         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7085         startup_info): Do not use __unbounded.
7086         (__libc_start_main): Likewise.  Rename ubp_* variables and
7087         parameters.  Remove argv definitions conditional on
7088         [__BOUNDED_POINTERS__].
7089         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7090         __ptrvalue.
7091         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7092         use __unbounded.
7093         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7094         or __ptrvalue.
7095         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7096         use __unbounded.
7097         (__new_shmctl): Do not use __ptrvalue.
7098         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7099         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7100         Likewise.
7101         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7102         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7103         (__libc_sigaction): Likewise.
7104         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7105         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7106         Likewise.
7107         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7109 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
7111         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7113         * string/mempcpy.c: Implement by calling memcpy.
7115 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7117         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7120         evaluation.
7122         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7123         values in the mantissa.
7125         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7126         minimize writes to Z.
7127         (sub_magnitudes): Simplify code a bit.
7129 2013-02-12  Roland McGrath  <roland@hack.frob.com>
7131         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7132         from the message.  The linker prefixes all warnings with that already.
7134 2013-02-12  Andreas Schwab  <schwab@suse.de>
7136         [BZ #15078]
7137         * posix/regexec.c (extend_buffers): Add parameter min_len.
7138         (check_matching): Pass minimum needed length.
7139         (clean_state_log_if_needed): Likewise.
7140         (get_subexp): Likewise.
7141         * posix/Makefile (tests): Add bug-regex34.
7142         (bug-regex34-ENV): Define.
7143         * posix/bug-regex34.c: New file.
7145         [BZ #11561]
7146         * posix/regcomp.c (parse_bracket_exp): When looking up collating
7147         elements compare against the byte sequence of it, not its name.
7148         * posix/Makefile (tests): Add bug-regex35.
7149         (bug-regex35-ENV): Define.
7150         * posix/bug-regex35.c: New file.
7152 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7154         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
7155         comment.
7156         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7157         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7158         (CHECK_EOL): Add undef.
7160 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
7162         * bits/stdlib-bsearch.h: New file.
7163         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7164         * stdlib/stdlib.h: Likewise.
7166 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7168         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7169         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7170         declaration.
7171         * manual/search.texi (Array Search Function): Add missing const in
7172         lfind prototype.
7173         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7174         declaration to use rlim_t.
7175         (Basic Scheduling Functions): Remove erroneous const from
7176         sched_getparam prototype.  Remove erroneous * from
7177         sched_get_priority_max and sched_get_priority_min prototypes.
7178         (Resource Usage): Fix summary @comment on vtimes to refer to
7179         sys/vtimes.h rather than vtimes.h.
7180         Add missing *s in vtimes prototype.
7181         (Limits on Resources): Fix ulimit prototype to return long int.
7182         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7183         prototypes to use long int rather than double.
7184         (BSD Random): Fix initstate and setstate to use char *, not void *.
7185         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7186         prototype to make second argument 'struct aiocb64 *const[]'.
7187         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7188         (Status of AIO Operations): Remove erroneous const in aio_return and
7189         aio_return64 prototypes.
7190         (Synchronizing I/O): Fix sync prototype to return void.
7191         * manual/startup.texi (Suboptions): Remove an erroneous const in
7192         getsubopt prototype.
7193         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7194         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7195         use size_t rather than int.
7196         (Scanning All Users): Likewise for getpwent_r.
7197         (Setting Groups): Add missing const to setgroups prototype.
7198         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7199         * manual/socket.texi (Host Names): Fix gethostbyaddr and
7200         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7201         'const void *' rather than 'const char *'.
7202         (Host Address Functions): Likewise for inet_ntop.
7203         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7204         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7205         ssize_t for return value.
7206         (Sending Data): Likewise for send, sendto, sendmsg.
7207         (Socket Option Functions): Add a missing const in setsockopt prototype.
7208         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7209         use wchar_t for the argument.
7210         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7211         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7212         take no arguments.
7213         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7214         double/float/long double for second argument.
7215         Fix return types of significand, significandf, significandl.
7216         * manual/filesys.texi (Setting Permissions): Use mode_t for second
7217         argument in fchmod prototype.
7218         (File Owner): Use uid_t and gid_t in fchown prototype.
7219         (File Times): Add const to utimes, futimes, and lutimes prototypes.
7220         (Making Special Files): Use mode_t and dev_t in mknod prototype.
7221         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7222         use 'const struct dirent **' as argument types to CMP function pointer
7223         argument.
7224         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7225         (File Times): Fix summary magic @comment for struct utimbuf and utime
7226         to refer to utime.h, not time.h.
7227         * manual/string.texi (Argz Functions): Add missing const in
7228         argz_extract and argz_next prototypes.
7229         (Finding Tokens in a String): Likewise for basename.
7230         (String/Array Comparison): Fix typo in wcscasecmp prototype.
7231         (Copying and Concatenation): Fix typo in wmemmove prototype.
7232         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7233         (Signal Stack): Remove erroneous const in sigstack prototype.
7234         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7235         prototype.
7236         (Simple Calendar Time): Likewise for stime.
7237         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7238         prototype.
7239         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7240         say sys/sysctl.h instead.
7241         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7242         and vsyslog prototypes.
7244 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7246         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7247         Remove.
7249 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7251         * misc/sys/mman.h: Fix typo in mremap comment.
7253 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7255         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7256         the '\0' terminator.
7258 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7260         [BZ #13550]
7261         * debug/segfault.c: Don't include <bp-checks.h>.
7262         * sysdeps/generic/bp-checks.h: Remove file.
7263         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7264         (__GETDENTS): Don't use CHECK_N.
7265         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7266         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7267         (__getgroups): Don't use CHECK_N.
7268         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7269         (setgroups): Don't use CHECK_N.
7270         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7271         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7272         (__libc_msgrcv): Don't use CHECK_N.
7273         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7274         (__libc_msgsnd): Don't use CHECK_N.
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7276         <bp-checks.h>.
7277         (__libc_pread): Don't use CHECK_N.
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7279         include <bp-checks.h>.
7280         (__libc_pread64): Don't use CHECK_N.
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7282         include <bp-checks.h>.
7283         (__libc_pwrite): Don't use CHECK_N.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7285         include <bp-checks.h>.
7286         (__libc_pwrite64): Don't use CHECK_N.
7287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7288         <bp-checks.h>.
7289         (__libc_pread): Don't use CHECK_N.
7290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7291         include <bp-checks.h>.
7292         (__libc_pread64): Don't use CHECK_N.
7293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7294         include <bp-checks.h>.
7295         (__libc_pwrite): Don't use CHECK_N.
7296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7297         include <bp-checks.h>.
7298         (__libc_pwrite64): Don't use CHECK_N.
7299         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7300         (do_pread): Don't use CHECK_N.
7301         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7302         (do_pread64): Don't use CHECK_N.
7303         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7304         (do_pwrite): Don't use CHECK_N.
7305         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7306         (do_pwrite64): Don't use CHECK_N.
7307         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7308         (__libc_readv): Don't use CHECK_N.
7309         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7310         (semop): Don't use CHECK_N.
7311         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7312         <bp-checks.h>.
7313         (semtimedop): Don't use CHECK_N.
7314         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7315         (__libc_pread): Don't use CHECK_N.
7316         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7317         <bp-checks.h>.
7318         (__libc_pread64): Don't use CHECK_N.
7319         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7320         <bp-checks.h>.
7321         (__libc_pwrite): Don't use CHECK_N.
7322         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7323         <bp-checks.h>.
7324         (__libc_pwrite64): Don't use CHECK_N.
7325         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7326         <bp-checks.h>.
7327         (__libc_msgrcv): Don't use CHECK_N.
7328         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7329         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
7330         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7331         (__libc_writev): Don't use CHECK_N.
7333 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7335         * string/strcpy.c: Removed unused variable.
7337         * Makeconfig (+sysdep-includes): Define with := rather than =.
7338         Use an existing include/ subdir of each sysdeps dir before it.
7340 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7342         * nscd/connection.c (register_traced_file): Comment function.
7343         [HAVE_INOTIFY] (union __inev): Define.
7344         [HAVE_INOTIFY] (inotify_check_files): New function.
7345         [HAVE_INOTIFY] (clear_db_cache): Likewise.
7346         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7347         clear_db_cache.
7348         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7350 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7352         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7353         loaded if not already and that a failure is permanent.
7355 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7357         [BZ #15006]
7358         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7359         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7361 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7363         [BZ #13550]
7364         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7365         (CHECK_1_NULL_OK): Likewise.
7366         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7367         (__fxstat): Do not use CHECK_1.
7368         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7369         <bp-checks.h>.
7370         (___fxstat64): Do not use CHECK_1.
7371         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7372         <bp-checks.h>.
7373         (__fxstatat): Do not use CHECK_1.
7374         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7375         <bp-checks.h>.
7376         (__fxstatat64): Do not use CHECK_1.
7377         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7378         <bp-checks.h>.
7379         (__fxstat): Do not use CHECK_1.
7380         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7381         <bp-checks.h>.
7382         (__fxstatat): Do not use CHECK_1.
7383         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7384         <bp-checks.h>.
7385         (__getresgid): Do not use CHECK_1.
7386         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7387         <bp-checks.h>.
7388         (__getresuid): Do not use CHECK_1.
7389         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7390         <bp-checks.h>.
7391         (__lxstat): Do not use CHECK_1.
7392         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7393         <bp-checks.h>.
7394         (__old_msgctl): Do not use CHECK_1.
7395         (__new_msgctl): Likewise.
7396         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7397         <bp-checks.h>.
7398         (__new_setrlimit): Do not use CHECK_1.
7399         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7400         <bp-checks.h>.
7401         (__old_shmctl): Do not use CHECK_1.
7402         (__new_shmctl): Likewise.
7403         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7404         <bp-checks.h>.
7405         (__xstat): Do not use CHECK_1.
7406         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7407         (__lxstat): Do not use CHECK_1.
7408         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7409         <bp-checks.h>.
7410         (___lxstat64): Do not use CHECK_1.
7411         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7412         (__old_msgctl): Do not use CHECK_1.
7413         (__new_msgctl): Likewise.
7414         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7415         <bp-checks.h>.
7416         (__gettimeofday): Do not use CHECK_1.
7417         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7418         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7419         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7420         <bp-checks.h>.
7421         (__gettimeofday): Do not use CHECK_1.
7422         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7423         (__old_shmctl): Do not use CHECK_1_NULL_OK.
7424         (__new_shmctl): Do not use CHECK_1.
7425         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7426         <bp-checks.h>.
7427         (do_sigtimedwait): Do not use CHECK_1.
7428         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7429         <bp-checks.h>.
7430         (do_sigwaitinfo): Do not use CHECK_1.
7431         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7432         <bp-checks.h>.
7433         (msgctl): Do not use CHECK_1.
7434         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7435         <bp-checks.h>.
7436         (shmctl): Do not use CHECK_1.
7437         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7438         (ustat): Do not use CHECK_1.
7439         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7440         <bp-checks.h>.
7441         (__fxstat): Do not use CHECK_1.
7442         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7443         <bp-checks.h>.
7444         (__fxstatat): Do not use CHECK_1.
7445         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7446         <bp-checks.h>.
7447         (__lxstat): Do not use CHECK_1.
7448         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7449         <bp-checks.h>.
7450         (__xstat): Do not use CHECK_1.
7451         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7452         (__xstat): Do not use CHECK_1.
7453         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7454         (___xstat64): Do not use CHECK_1.
7456         [BZ #13550]
7457         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7458         definitions.
7459         (CHECK_BOUNDS_HIGH): Likewise.
7460         * string/strcpy.c: Do not include <bp-checks.h>.
7461         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7463 2013-02-07  Roland McGrath  <roland@hack.frob.com>
7465         * nscd/nscd-client.h (__nscd_drop_map_ref):
7466         Add __attribute__ ((unused)).
7467         * nis/nss-nisplus.h (niserr2nss): Likewise.
7469         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7470         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7472         * csu/libc-tls.c (init_static_tls, init_slotinfo):
7473         Remove inline keyword.
7474         * include/rounding-mode.h (round_away): Likewise.
7475         * libio/wfileops.c (adjust_wide_data): Likewise.
7476         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7477         (__m128i_strloadu_tolower): Likewise.
7478         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7479         (__m128i_strloadu_tolower): Likewise.
7480         * time/mktime.c (ydhms_diff): Likewise.
7481         * locale/elem-hash.h (elem_hash): Likewise.
7482         * locale/setlocale.c (setdata): Likewise.
7483         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7484         (re_string_wchar_at): Likewise.
7485         (bitset_not, bitset_merge, bitset_mask): Likewise.
7486         [!(__GNUC__ > 3)] (inline): Remove macro.
7487         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7488         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7489         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7490         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7491         * string/memcmp.c (memcmp_bytes): Likewise.
7492         * locale/programs/locarchive.c (compute_hashval): Likewise.
7493         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7494         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7495         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7496         * nss/getent.c (print_rpc, print_protocols): Likewise.
7497         (print_passwd, print_group, print_aliases): Likewise.
7498         * nis/nss-nisplus.h (niserr2nss): Likewise.
7499         * nscd/connections.c (restart_p): Likewise.
7500         Change return type to bool.
7502 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7504         * Makeconfig (all-Depend-files): Add existing
7505         $(sorted-subdirs:=/Depend) files.
7506         (all-subdirs): Remove nss.
7507         * sysdeps/unix/inet/Subdirs: Add it here instead.
7508         * hesiod/Depend: New file.
7510         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7511         instead of calling alloca.
7513         * io/lseek.c (__lseek): Rename to __libc_lseek.
7514         Define __lseek as an alias.
7516         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7518 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7520         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7521         else clause and remove check for non-standard endianness.
7523 2013-02-04  David S. Miller  <davem@davemloft.net>
7525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7527 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7529         [BZ #13550]
7530         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7531         (__ubp_memchr): Remove prototype.
7532         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7533         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7534         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7535         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7536         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7537         Remove alias.
7538         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7539         (__ubp_memchr): Likewise.
7540         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7541         (__ubp_memchr): Likewise.
7542         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7543         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7544         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7545         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7546         CHECK_STRING.
7547         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7548         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7549         (__getcwd): Do not use CHECK_STRING.
7550         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7551         <bp-checks.h>.
7552         (__real_chown): Do not use CHECK_STRING.
7553         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7554         <bp-checks.h>.
7555         (fchownat): Do not use CHECK_STRING.
7556         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7557         CHECK_STRING.
7558         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7559         <bp-checks.h>.
7560         (__lchown): Do not use CHECK_STRING.
7561         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7562         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7563         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7564         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7566         include <bp-checks.h>.
7567         (truncate64): Do not use CHECK_STRING.
7568         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7569         <bp-checks.h>.
7570         (__real_chown): Do not use CHECK_STRING.
7571         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7572         <bp-checks.h>.
7573         (__lchown): Do not use CHECK_STRING.
7574         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7575         <bp-checks.h>.
7576         (__chown): Do not use CHECK_STRING.
7577         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7578         <bp-checks.h>.
7579         (truncate64): Do not use CHECK_STRING.
7580         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7581         Likewise.
7582         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7583         (__xmknod): Do not use CHECK_STRING.
7584         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7585         <bp-checks.h>.
7586         (__xmknodat): Do not use CHECK_STRING.
7587         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7588         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7590 2013-02-04  Andreas Schwab  <schwab@suse.de>
7592         [BZ #14142]
7593         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7594         * include/netdb.h: Likewise for h_errno.
7595         * elf/tst-stackguard1.c: Include <tls.h>.
7597 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7599         * elf/link.h (struct link_map): Extend the l_addr comment.
7600         * include/link.h (struct link_map): Likewise.
7602 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7604         [BZ #13550]
7605         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7606         (BOUNDED_1): Remove macro.
7607         * debug/backtrace.c: Don't include <bp-checks.h>.
7608         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7609         (__backtrace): Likewise.
7610         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7611         <bp-checks.h>.
7612         (__backtrace): Don't use BOUNDED_1.
7613         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7614         <bp-checks.h>.
7615         (__backtrace): Don't use BOUNDED_1.
7616         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7617         (__backtrace): Don't use BOUNDED_1.
7618         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7619         (shmat): Don't use BOUNDED_N.
7621 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7623         [BZ #13550]
7624         * sysdeps/generic/bp-start.h: Remove file.
7625         * csu/libc-start.c: Don't include <bp-start.h>.
7626         (LIBC_START_MAIN): Set up __environ directly instead of using
7627         INIT_ARGV_and_ENVIRON.
7628         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7629         <bp-start.h>.
7631         [BZ #13550]
7632         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7633         definitions.
7634         (CHECK_FCNTL): Likewise.
7635         (CHECK_N_PAGES): Likewise.
7637         [BZ #13550]
7638         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7639         definitions.
7640         (CHECK_SIGSET_NULL_OK): Likewise.
7641         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7642         <bp-checks.h>.
7643         (sigpending): Don't use CHECK_SIGSET.
7644         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7645         <bp-checks.h>.
7646         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7647         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7648         <bp-checks.h>.
7649         (do_sigsuspend): Don't use CHECK_SIGSET.
7650         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7651         use CHECK_SIGSET.
7652         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7653         (do_sigwait): Don't use CHECK_SIGSET.
7654         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7655         use CHECK_SIGSET.
7656         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7657         include <bp-checks.h>.
7658         (sigpending): Don't use CHECK_SIGSET.
7659         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7660         include <bp-checks.h>.
7661         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7662         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7663         <bp-checks.h>.
7664         (sigpending): Don't use CHECK_SIGSET.
7665         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7666         <bp-checks.h>.
7667         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7669         [BZ #13550]
7670         * sysdeps/generic/bp-semctl.h: Remove file.
7671         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7672         <bp-checks.h> and <bp-semctl.h>.
7673         (__old_semctl): Don't use CHECK_SEMCTL.
7674         (__new_semctl): Likewise.
7675         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7676         and <bp-semctl.h>.
7677         (__old_semctl): Don't use CHECK_SEMCTL.
7678         (__new_semctl): Likewise.
7679         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7680         <bp-checks.h> and <bp-semctl.h>.
7681         (__old_semctl): Don't use CHECK_SEMCTL.
7682         (__new_semctl): Likewise.
7683         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7684         <bp-checks.h> and <bp-semctl.h>.
7685         (semctl): Don't use CHECK_SEMCTL.
7687         [BZ #13550]
7688         * Makerules (elide-bp-thunks): Remove variable.
7689         (elide-routines.oS): Don't use $(elide-bp-thunks).
7690         (elide-routines.os): Likewise.
7691         (elide-routines.o): Likewise.
7692         (elide-routines.op): Likewise.
7693         (elide-routines.og): Likewise.
7694         (objects): Don't use $(bp-thunks).
7695         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7696         include.
7697         (common-generated): Do not add s-proto-bp.d.
7698         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7699         (int): Likewise.
7700         (typ): Likewise.
7701         Do not generate makefile rules for bounded-pointer thunks.
7702         * sysdeps/generic/bp-thunks.h: Remove file.
7703         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7704         * sysdeps/unix/s-proto-bp.S: Likewise.
7706         [BZ #15062]
7707         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7708         parts of result separately when argument is not close to line from
7709         -i to i and one part of argument is small.
7710         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7711         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7712         * math/libm-test.inc (cacos_test): Add more tests.
7713         (casin_test): Likewise.
7714         (casinh_test): Likewise.
7715         * sysdeps/i386/fpu/libm-test-ulps: Update.
7716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7718 2013-01-31  David S. Miller  <davem@davemloft.net>
7720         * po/de.po: Update from translation team.
7722 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7724         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7726 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7728         * configure.in (_AC_PROG_CC_C89): New definition.
7729         * configure: Regenerate.
7731         * configure.in (AC_PROG_CPP): New definition.
7732         * configure: Regenerate.
7734 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7736         * debug/tst-backtrace.h: New file.
7737         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7738         (ret): Remove variable.
7739         (x): Likewise.
7740         (FAIL): Remove macro.
7741         (NO_INLINE): Likewise.
7742         (fn1): Use match function instead of strstr.
7743         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7744         (ret): Remove variable.
7745         (x): Likewise.
7746         (FAIL): Remove macro.
7747         (NO_INLINE): Likewise.
7748         (fn): Use match function instead of strstr.
7749         * debug/tst-backtrace4.c: Include tst-backtrace.h.
7750         (ret): Remove variable.
7751         (x): Likewise.
7752         (FAIL): Remove macro.
7753         (NO_INLINE): Likewise.
7754         (handle_signal): Use match function instead of strstr.
7755         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7756         (ret): Remove variable.
7757         (x): Likewise.
7758         (FAIL): Remove macro.
7759         (NO_INLINE): Likewise.
7760         (handle_signal): Use match function instead of strstr.
7762 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7764         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7766 2013-01-23  David S. Miller  <davem@davemloft.net>
7768         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7769         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7770         argument of CAS if possible.
7771         * sysdeps/sparc/sparc64/bits/atomic.h
7772         (__arch_compare_and_exchange_val_32_acq): Likewise.
7773         (__arch_compare_and_exchange_val_64_acq): Likewise.
7775 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7777         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7778         * sysdeps/posix/ulimit.c: ... this.
7779         Include <limits.h>.
7780         * sysdeps/unix/bsd/ulimit.c: Remove file.
7782 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7784         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7785         (LDFLAGS-tst-array5): Likewise.
7787 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7789         [BZ #15036]
7790         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7791         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7792         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7793         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7795 2013-01-21  David S. Miller  <davem@davemloft.net>
7797         * sysdeps/sparc/backtrace.c: New file.
7798         * sysdeps/sparc/sparc32/backtrace.h: New file.
7799         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7800         * sysdeps/sparc/sparc64/backtrace.h: New file.
7801         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7802         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7803         -funwind-tables.
7805 2013-01-21  Andreas Schwab  <schwab@suse.de>
7807         [BZ #15020]
7808         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7809         closed its stdout.
7811 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7814         "mpa2.h".
7815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7817 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7818             Mark Mitchell  <mark@codesourcery.com>
7819             Tom de Vries  <tom@codesourcery.com>
7820             Paul Pluzhnikov  <ppluzhnikov@google.com>
7822         * debug/tst-backtrace2.c: New file.
7823         * debug/tst-backtrace3.c: Likewise.
7824         * debug/tst-backtrace4.c: Likewise.
7825         * debug/tst-backtrace5.c: Likewise.
7826         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7827         (CFLAGS-tst-backtrace3.c): Likewise.
7828         (CFLAGS-tst-backtrace4.c): Likewise.
7829         (CFLAGS-tst-backtrace5.c): Likewise.
7830         (LDFLAGS-tst-backtrace2): Likewise.
7831         (LDFLAGS-tst-backtrace3): Likewise.
7832         (LDFLAGS-tst-backtrace4): Likewise.
7833         (LDFLAGS-tst-backtrace5): Likewise.
7834         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7835         tst-backtrace4 and tst-backtrace5.
7837 2013-01-18  Anton Blanchard  <anton@samba.org>
7838             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7840         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7841         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7842         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7843         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7845         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7846         "+r" and remove output regs list as redundant.  Add explicit inline
7847         asm to specify register of return val to work around compiler codegen
7848         bug.  Remove (int) cast on return value.  Add return type parameter to
7849         use in macro so that this macro does not truncate return value for
7850         64-bit values.
7851         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7852         pass to INTERNAL_VSYSCALL_NCS.
7853         (INLINE_VSYSCALL): Add 'long int' as return type to
7854         INTERNAL_VSYSCALL_NCS macro invocation.
7855         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7856         INTERNAL_VSYSCALL_NCS macro invocation.
7857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7859 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7861         [BZ #14496]
7862         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7863         Fix application of SIMD FP exception mask.
7865         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7866         mp_no from a power of two.
7867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7868         __mpexp_twomm1.  Use __pow_mp.
7870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7871         multiplication.
7873 2013-01-17  David S. Miller  <davem@davemloft.net>
7875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7877 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7879         [BZ #15023]
7880         * include/complex.h: Condition contents on [!_COMPLEX_H].
7881         (__kernel_casinhf): New prototype.
7882         (__kernel_casinh): Likewise.
7883         (__kernel_casinhl): Likewise.
7884         * math/Makefile (libm_calls): Add k_casinh.
7885         * math/k_casinh.c: New file.
7886         * math/k_casinhf.c: Likewise.
7887         * math/k_casinhl.c: Likewise.
7888         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7889         finite nonzero arguments.
7890         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7891         finite nonzero arguments.
7892         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7893         finite nonzero arguments.
7894         * math/s_casinh.c: Do not include <float.h>.
7895         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7896         * math/s_casinhf.c: Do not include <float.h>.
7897         (__casinhf): Move code for finite nonzero arguments to
7898         k_casinhf.c.
7899         * math/s_casinhl.c: Do not include <float.h>.
7900         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7901         redefine.
7902         (__casinhl): Move code for finite nonzero arguments to
7903         k_casinhl.c.
7904         * math/libm-test.inc (cacos_test): Add more tests.
7905         * sysdeps/i386/fpu/libm-test-ulps: Update.
7906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7908 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7910         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7911         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7912         [!HAVE_MREMAP]: Remove [defined linux] case.
7913         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7915 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7917         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7919 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7921         * elf/elf.h (R_386_SIZE32): New relocation.
7922         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7923         R_386_SIZE32.
7924         (elf_machine_rela): Likewise.
7925         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7926         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7928 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7930         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7931         (FP_FAST_FMA): Do not define.
7932         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7933         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7934         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7935         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7936         !_SOFT_FLOAT]: Likewise.
7937         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7938         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7939         value.
7940         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7941         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7942         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7943         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7944         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7945         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7946         file.
7948 2013-01-16  Andreas Schwab  <schwab@suse.de>
7950         [BZ #14327]
7951         * include/stdlib.h (__mktemp): Add declaration.
7952         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7953         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7955 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7957         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7958         definitions.
7959         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7960         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7961         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7962         definitions here.
7963         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7964         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7965         definitions.
7966         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7967         and ONE.
7968         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7969         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7970         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7971         definitions.
7972         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7973         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7974         definitions.
7975         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7977         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7979 2013-01-15  David S. Miller  <davem@davemloft.net>
7981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7982         trunc{,f} to libm-sysdep_routes.
7983         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7985         file.
7986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7988         file.
7989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7990         file.
7991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7993         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7994         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7995         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7996         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7997         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7998         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8001         nearbyint{,f} to libm-sysdep_routes.
8002         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8004         New file.
8005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8006         file.
8007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8008         New file.
8009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8010         file.
8011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8013         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8014         file.
8015         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8016         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8017         file.
8018         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8019         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8020         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8022         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8023         libc_feholdexcept and libc_fesetenv.
8025 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
8027         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8029 2013-01-14  David S. Miller  <davem@davemloft.net>
8031         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8032         (SPARC_ASM_VIS2_IFUNC): Likewise.
8033         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8035         use of 'siam' instruction.
8036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8037         Likewise.
8038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8039         Likewise.
8040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8041         Likewise.
8042         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8045         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8047         file.
8048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8049         file.
8050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8051         file.
8052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8053         file.
8054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8059         new VIS2 routines.
8060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8063         Likewise.
8064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8069         routines to libm-sysdep_routines.
8070         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8073         fdim/fdimf to libm-sysdep_routines.
8074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8075         file.
8076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8078         file.
8079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8082         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8083         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8084         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8085         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8087 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8089         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8090         to optimize copies.
8092         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8097         local variable MPTWO.
8098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8099         Likewise.
8101 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8103         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8104         GLOB_NOESCAPE.
8106 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8108         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8110 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
8112         * manual/pattern.texi (glob_t): Document gl_flags.
8113         (glob64_t): Likewise.
8115 2013-01-11  David S. Miller  <davem@davemloft.net>
8117         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8118         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8119         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
8120         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8121         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8122         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8123         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8124         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8125         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8126         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8127         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8128         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8129         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8131         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8132         sparc V9 rather than using V8 code.
8133         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8134         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8136         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8137         Move to...
8138         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8139         Here.
8141 2013-01-11  Roland McGrath  <roland@hack.frob.com>
8143         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8144         not in the main loop.
8145         * configure: Regenerated.
8147 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
8149         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8150         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8151         to just #else.
8152         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
8153         [!__GLIBC_HAVE_LONG_LONG] case.
8154         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8155         condition to just #else.
8156         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8157         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8158         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8159         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8160         unconditional.
8161         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8162         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8163         #elif condition to just #else.
8164         * sysdeps/unix/sysv/linux/sys/sysmacros.h
8165         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8166         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8167         #elif condition to just #else.
8169 2013-01-11  Steve Ellcey  <sellcey@mips.com>
8171         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8172         (EF_MIPS_ARCH_64): Fix value.
8173         (EF_MIPS_ARCH_32R2): New.
8174         (EF_MIPS_ARCH_64R2): New.
8176 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
8178         * Makeconfig (+link-pie-before-libc): New.
8179         (+link-pie-after-libc): Likewise.
8180         (+link-pie-tests): Likewise.
8181         (+link-pie): Rewritten.
8182         (link-before-libc): Remove $(config-LDFLAGS).
8183         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8184         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8185         (config-LDFLAGS): Renamed to ...
8186         (rtld-LDFLAGS): This.
8187         (rtld-tests-LDFLAGS): New macro.
8188         (link-libc-rpath-link): Likewise.
8189         (link-libc-tests-rpath-link): Likewise.
8190         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8191         (link-libc): Prepand $(link-libc-rpath-link).
8192         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8193         (test-program-prefix): New macro.
8194         (test-via-rtld-prefix): Likewise.
8195         (test-program-cmd): Likewise.
8196         (host-test-program-cmd): Likewise.
8197         * Makefile ($(common-objpfx)testrun.sh): Replace
8198         $(run-program-prefix) with $(test-program-prefix).
8199         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8200         $(rtld-LDFLAGS).
8201         ($(common-objpfx)shlib.lds): Likewise.
8202         (build-module-helper): Likewise.
8203         ($(common-objpfx)format.lds): Likewise.
8204         * Rules (binaries-pie-tests): New.
8205         (binaries-pie-notests): Likewise.
8206         (binaries-pie): Rewritten.
8207         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8208         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8209         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8210         (make-test-out): Replace $(host-built-program-cmd) with
8211         $(host-test-program-cmd).
8212         * config.make.in (build-hardcoded-path-in-tests): New variable.
8213         * configure.in (--enable-hardcoded-path-in-tests): New configure
8214         option.
8215         (hardcoded_path_in_tests): New AC_SUBST.
8216         * configure: Regenerated.
8217         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8218         $(built-program-cmd) with $(test-program-cmd).
8219         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8220         (test_program_cmd): This.
8221         * elf/Makefile ($(objpfx)order.out): Run test with
8222         $(test-program-prefix).
8223         ($(objpfx)order2.out): Likewise.
8224         ($(objpfx)tst-initorder.out): Likewise.
8225         ($(objpfx)tst-initorder2.out): Likewise.
8226         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8227         $(test-program-cmd).
8228         ($(objpfx)tst-array1-static.out): Likewise.
8229         ($(objpfx)tst-array2.out): Likewise.
8230         ($(objpfx)tst-array3.out): Likewise.
8231         ($(objpfx)tst-array4.out): Likewise.
8232         ($(objpfx)tst-array5.out): Likewise.
8233         ($(objpfx)tst-array5-static.out): Likewise.
8234         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8235         $(test-program-cmd).
8236         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8237         $(run-program-prefix) with $(test-program-prefix).
8238         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8239         (test_program_prefix): This.
8240         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8241         $(run-program-prefix) with $(test-program-prefix).
8242         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8243         (test_program_prefix): This.
8244         * iconvdata/tst-tables.sh: Likewise.
8245         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8246         $(run-program-prefix) with $(test-program-prefix).
8247         ($(objpfx)tst-translit.out): Likewise.
8248         ($(objpfx)tst-gettext2.out): Likewise.
8249         ($(objpfx)tst-gettext4.out): Likewise.
8250         ($(objpfx)tst-gettext6.out): Likewise.
8251         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8252         (test_program_prefix): This.
8253         * intl/tst-gettext2.sh: Likewise.
8254         * intl/tst-gettext4.sh  Likewise.
8255         * intl/tst-gettext6.sh: Likewise.
8256         * intl/tst-translit.sh: Likewise.
8257         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8258         with $(test-program-cmd).
8259         * libio/Makefile ($(objpfx)test-freopen.out): Replace
8260         $(run-program-prefix) with $(test-program-prefix).
8261         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8262         (test_program_prefix): This.
8263         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8264         $(run-program-prefix) with $(test-program-prefix).
8265         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8266         (test_program_prefix): This.
8267         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8268         * posix/Makefile ($(objpfx)globtest.out): Replace
8269         $(run-via-rtld-prefix) and $(test-wrapper) with
8270         $(test-program-prefix) and $(test-via-rtld-prefix).
8271         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8272         $(test-program-prefix).
8273         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8274         $(host-test-program-cmd).
8275         (tst-spawn-ARGS): Likewise.
8276         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8277         $(test-program-prefix).
8278         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8279         (test_via_rtld_prefix): This.
8280         (test_wrapper): Renamed to ...
8281         (test_program_prefix): This.
8282         (run_program_prefix): Replaced by test_program_prefix.
8283         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8284         (test_program_prefix): This.
8285         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8286         with $(host-test-program-cmd).
8287         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8288         $(run-program-prefix) with $(test-program-prefix).
8289         ($(objpfx)tst-printf.out): Likewise.
8290         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8291         $(test-program-cmd).
8292         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8293         (test_program_prefix): This.
8294         * stdio-common/tst-unbputc.sh: Likewise.
8295         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8296         $(run-program-prefix) with $(test-program-prefix).
8297         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8298         (test_program_prefix): This.
8299         * string/Makefile ($(objpfx)tst-svc.out):  Replace
8300         $(built-program-cmd) with $(test-program-cmd).
8302 2013-01-11  Andreas Jaeger  <aj@suse.de>
8304         [BZ #15003]
8305         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8306         value. Sync with Linux 3.7.
8308 2013-01-10  David S. Miller  <davem@davemloft.net>
8310         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8311         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8312         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8314 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8316         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8317         never set.
8318         * configure: Regenerated.
8320 2013-01-10  David S. Miller  <davem@davemloft.net>
8322         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8323         sparc V9 rather than using V8 code.
8324         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8325         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8327 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8329         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8330         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8331         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8332         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8333         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8334         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8335         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8336         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8337         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8338         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8339         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8340         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8341         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8342         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8343         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8344         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8345         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8346         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8347         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8348         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8349         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8350         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8351         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8352         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8353         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8354         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8355         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8357 2013-01-10  David S. Miller  <davem@davemloft.net>
8359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8361 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8363         * posix/Makefile (tests-static): New variable.
8364         (tests): Add $(tests-static).
8365         (tst-exec-static-ARGS): New variable.
8366         (tst-spawn-static-ARGS): Likewise.
8367         * posix/tst-exec-static.c: New file.
8368         * posix/tst-spawn-static.c: Likewise.
8369         * posix/tst-exec.c: Support run directly.
8370         * posix/tst-spawn.c: Likewise.
8372 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
8374         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8375         long.
8376         * math/bits/mathcalls.h (llrint): Likewise.
8377         (llround): Likewise.
8378         * stdlib/stdlib.h (struct drand48_data): Likewise.
8379         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8380         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8381         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8382         Likewise.
8383         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8384         Likewise.
8385         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8386         (elf_greg_t): Likewise.
8387         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8388         (__jmp_buf): Likewise.
8389         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8390         definitions.
8391         (llrint): Likewise, for all definitions.
8392         (llrintl): Likewise.
8394         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8395         Remove [__GNUC__] condition.
8396         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8397         condition to just [__USE_ISOC99].
8398         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8400 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8402         [BZ #14200]
8403         * sysdeps/unix/sysv/linux/x86/bits/environments.h
8404         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8405         defined.
8406         (_POSIX_V6_ILP32_OFF32): Likewise.
8407         (_XBS5_ILP32_OFF32): Likewise.
8408         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8409         (__ILP32_OFFBIG_LDFLAGS): Likewise.
8411 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8413         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8415         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8416         doubles __mpexp_twomm1.  Adjust usage.
8417         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8418         Remove.
8420 2013-01-10  Andreas Schwab  <schwab@suse.de>
8422         [BZ #14964]
8423         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8424         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8426 2013-01-09  David S. Miller  <davem@davemloft.net>
8428         [BZ #15003]
8429         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8430         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8431         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8432         TCP_FASTOPEN): Define.
8433         (tcp_repair_opt): New structure.
8434         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8435         enum values.
8436         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8437         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8438         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8439         (tcp_cookie_transactions): New structure.
8441 2013-01-09  Anton Blanchard  <anton@samba.org>
8443         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8444         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8445         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8446         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8448 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
8450         * include/features.h (__USE_ANSI): Remove.
8452 2013-01-09  Roland McGrath  <roland@hack.frob.com>
8454         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8456         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8458 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8460         * sysdeps/s390/fpu/libm-test-ulps: Update.
8462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8464         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8465         (__acr): Likewise.
8466         (__cpy): Likewise.
8467         (norm): Likewise.
8468         (denorm): Likewise.
8469         (__mp_dbl): Likewise.
8470         (__dbl_mp): Likewise.
8471         (add_magnitudes): Likewise.
8472         (sub_magnitudes): Likewise.
8473         (__add): Likewise.
8474         (__sub): Likewise.
8475         (__mul): Likewise.
8476         (__inv): Likewise.
8477         (__dvd): Likewise.
8478         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8479         (__acr): Likewise.
8480         (__cpy): Likewise.
8481         (norm): Likewise.
8482         (denorm): Likewise.
8483         (__mp_dbl): Likewise.
8484         (__dbl_mp): Likewise.
8485         (add_magnitudes): Likewise.
8486         (sub_magnitudes): Likewise.
8487         (__add): Likewise.
8488         (__sub): Likewise.
8489         (__mul): Likewise.
8490         (__inv): Likewise.
8491         (__dvd): Likewise.
8492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8493         (__acr): Likewise.
8494         (__cpy): Likewise.
8495         (norm): Likewise.
8496         (denorm): Likewise.
8497         (__mp_dbl): Likewise.
8498         (__dbl_mp): Likewise.
8499         (add_magnitudes): Likewise.
8500         (sub_magnitudes): Likewise.
8501         (__add): Likewise.
8502         (__sub): Likewise.
8503         (__mul): Likewise.
8504         (__inv): Likewise.
8505         (__dvd): Likewise.
8507 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8509         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8510         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8511         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8512         2 && __USE_EXTERN_INLINES]: Likewise.
8514 2013-01-08  Andreas Jaeger  <aj@suse.de>
8516         [BZ# 14985]
8517         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8518         Remove.
8519         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8520         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8522 2013-01-07  Anton Blanchard  <anton@samba.org>
8524         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8525         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8526         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8527         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8528         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8529         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8530         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8531         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8533         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8534         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8535         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8536         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8537         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8538         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8539         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8540         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8541         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8542         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8543         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8544         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8545         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8546         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8547         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8548         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8549         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8550         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8551         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8552         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8553         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8554         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8556         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8557         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8558         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8559         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8560         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8561         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8562         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8563         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8564         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8565         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8566         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8568 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8570         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8571         (__MALLOC_PMT): Likewise.
8572         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8573         [__GNUC__], only on [_LIBC].
8574         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8575         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8576         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8577         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8578         forward declaration.
8579         (realloc_hook_ini): Likewise.
8580         (memalign_hook_ini): Likewise.
8581         (__libc_memalign): Do not use __MALLOC_PMT in variable
8582         declaration.
8583         (__libc_valloc): Likewise.
8584         (__libc_pvalloc): Likewise.
8585         (__libc_calloc): Likewise.
8586         (__posix_memalign): Likewise.
8588         [BZ #14996]
8589         * math/s_casinh.c: Include <float.h>.
8590         (__casinh): Do not do computation with squaring and square root
8591         for large arguments.
8592         * math/s_casinhf.c: Include <float.h>.
8593         (__casinhf): Do not do computation with squaring and square root
8594         for large arguments.
8595         * math/s_casinhl.c: Include <float.h>.
8596         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8597         (__casinhl): Do not do computation with squaring and square root
8598         for large arguments.
8599         * math/libm-test.inc (casin_test): Add more tests.
8600         (casinh_test): Likewise.
8601         * sysdeps/i386/fpu/libm-test-ulps: Update.
8602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8604 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8606         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8607         (__x86_64_raw_data_cache_size): Likewise.
8608         (__x86_64_data_cache_size_half): Likewise.
8609         (__x86_64_raw_data_cache_size_half): Likewise.
8610         (__x86_64_shared_cache_size): Likewise.
8611         (__x86_64_raw_shared_cache_size): Likewise.
8612         (__x86_64_shared_cache_size_half): Likewise.
8613         (__x86_64_raw_shared_cache_size_half): Likewise.
8614         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8615         to ...
8616         (__x86_data_cache_size): This.
8617         (__x86_64_raw_data_cache_size): Renamed to ...
8618         (__x86_raw_data_cache_size): This.
8619         (__x86_64_data_cache_size_half): Renamed to ...
8620         (__x86_data_cache_size_half): This.
8621         (__x86_64_raw_data_cache_size_half): Renamed to ...
8622         (__x86_raw_data_cache_size_half): This.
8623         (__x86_64_shared_cache_size): Renamed to ...
8624         (__x86_shared_cache_size): This.
8625         (__x86_64_raw_shared_cache_size): Renamed to ...
8626         (__x86_raw_shared_cache_size): This.
8627         (__x86_64_shared_cache_size_half): Renamed to ...
8628         (__x86_shared_cache_size_half): This.
8629         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8630         (__x86_raw_shared_cache_size_half): This.
8631         * sysdeps/x86_64/memcpy.S: Updated.
8632         * sysdeps/x86_64/memset.S: Likewise.
8633         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8634         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8635         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8637 2013-01-04  David S. Miller  <davem@davemloft.net>
8639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8641 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8643         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8644         1 to avoid redefinition warning.
8645         (__USE_GNU): Don't define.
8646         (init_signaling_nan): Protoize.
8648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8650 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8652         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8654         (__cpymn): Likewise.
8655         (norm): Remove commented code.
8656         (denorm): Likewise.
8657         (__mp_dbl): Likewise.
8658         (__inv): Likewise.
8659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8660         (__cpymn): Likewise.
8661         (norm): Remove commented code.
8662         (denorm): Likewise.
8663         (__mp_dbl): Likewise.
8664         (__inv): Likewise.
8666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8667         mp_no value for 1.0 and 2.0.
8668         (norm): Use RADIXI instead of radixi.d.
8669         (denorm): Likewise.
8670         (__mul): Use 0.0 instead of zero.d.
8671         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8672         mp_no value for 1.0 and 2.0.
8673         (norm): Use RADIXI instead of radixi.d.
8674         (denorm): Likewise.
8675         (__mul): Use 0.0 instead of zero.d.
8677 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8679         [BZ #14994]
8680         * math/s_casinh.c (__casinh): Reduce finite argument to first
8681         quadrant then set signs of results at the end.
8682         * math/s_casinhf.c (__casinhf): Likewise.
8683         * math/s_casinhl.c (__casinhl): Likewise.
8684         * math/libm-test.inc (casin_test): Add more tests.
8685         (casinh_test): Likewise.
8686         * sysdeps/i386/fpu/libm-test-ulps: Update.
8687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8689 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8691         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8693         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8695         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8696         declarations.
8697         (denorm): Likewise.
8698         (__mp_dbl): Likewise.
8699         (__inv): Likewise.
8701         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8702         and adjust the header comment.
8704         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8705         variable name from declaration.
8707 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8710         Initialize COMMON_CPUID_INDEX_7 element.
8711         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8712         (CPUID_RTM): Likewise.
8713         (HAS_RTM): Likewise.
8714         (COMMON_CPUID_INDEX_7): New enum.
8716 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8718         [BZ #14981]
8719         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8720         size is zero, record memory as freed.
8722 2013-01-03  Andreas Jaeger  <aj@suse.de>
8724         * po/ia.po: Add new Interlingua translation.
8726 2012-01-03  Allan McRae  <allan@archlinux.org>
8728         * locale/programs/localedef.c: Fix description of '--posix' flag.
8730 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8732         * NEWS: Update dates in second copyright notice.
8733         * README: Update copyright dates in example.
8734         * manual/libc.texinfo: Update copyright dates.
8735         * scripts/test-installation.pl: Update copyright date in --version
8736         output.
8738         * hurd/ctty-input.c: Fix copyright notice formatting.
8739         * hurd/ctty-output.c: Likewise.
8740         * hurd/dtable.c: Likewise.
8741         * hurd/hurd-raise.c: Likewise.
8742         * hurd/hurdprio.c: Likewise.
8743         * hurd/msgportdemux.c: Likewise.
8744         * misc/sys/file.h: Likewise.
8745         * misc/sys/ioctl.h: Likewise.
8746         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8747         * sysdeps/mach/hurd/chdir.c: Likewise.
8748         * sysdeps/mach/hurd/fchdir.c: Likewise.
8749         * sysdeps/mach/hurd/rename.c: Likewise.
8750         * sysdeps/mach/hurd/rmdir.c: Likewise.
8751         * sysdeps/mach/hurd/seekdir.c: Likewise.
8752         * sysdeps/mach/hurd/setsid.c: Likewise.
8753         * sysdeps/posix/wait3.c: Likewise.
8755         * All files with FSF copyright notices: Update copyright dates
8756         using scripts/update-copyrights.
8757         * intl/plural.c: Regenerated.
8758         * locale/programs/charmap-kw.h: Likewise.
8759         * locale/programs/locfile-kw.h: Likewise.
8761 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8763         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8764         four values.
8766         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8767         calculation loop and add branch prediction.
8769         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8770         check access beyond bounds of m1np.
8772         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8773         MPTWO.
8774         (__inv): Remove local variable MPTWO to use the global
8775         constant.
8776         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8777         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8778         variable MPTWO.
8779         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8780         MP3HALFS static const.
8782 2013-01-01  David S. Miller  <davem@davemloft.net>
8784         * po/ca.po: Update from translation team.
8786 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8788         * scripts/update-copyrights: New file.
8789         * Makeconfig: Reformat copyright notice.
8790         * ctype/ctype.h: Likewise.
8791         * debug/swprintf_chk.c: Likewise.
8792         * elf/dl-cache.c: Likewise.
8793         * elf/dl-debug.c: Likewise.
8794         * elf/dl-object.c: Likewise.
8795         * grp/initgroups.c: Likewise.
8796         * hurd/Makefile: Likewise.
8797         * hurd/hurd/signal.h: Likewise.
8798         * hurd/hurdfault.c: Likewise.
8799         * hurd/hurdioctl.c: Likewise.
8800         * hurd/hurdlookup.c: Likewise.
8801         * hurd/intr-msg.c: Likewise.
8802         * iconv/gconv_open.c: Likewise.
8803         * libio/swprintf.c: Likewise.
8804         * locale/lc-ctype.c: Likewise.
8805         * locale/nl_langinfo.c: Likewise.
8806         * mach/Machrules: Likewise.
8807         * mach/Makefile: Likewise.
8808         * malloc/obstack.h: Likewise.
8809         * manual/Makefile: Likewise.
8810         * manual/tsort.awk: Likewise.
8811         * misc/bits/stab.def: Likewise.
8812         * nis/nis_print_group_entry.c: Likewise.
8813         * nis/nis_table.c: Likewise.
8814         * nis/nss_compat/compat-pwd.c: Likewise.
8815         * nis/nss_compat/compat-spwd.c: Likewise.
8816         * po/Makefile: Likewise.
8817         * posix/fnmatch.c: Likewise.
8818         * posix/regex.h: Likewise.
8819         * resolv/Makefile: Likewise.
8820         * resolv/nss_dns/dns-network.c: Likewise.
8821         * resolv/res_hconf.c: Likewise.
8822         * scripts/gen-sorted.awk: Likewise.
8823         * soft-fp/soft-fp.h: Likewise.
8824         * stdio-common/printf.h: Likewise.
8825         * stdlib/monetary.h: Likewise.
8826         * stdlib/random.c: Likewise.
8827         * stdlib/random_r.c: Likewise.
8828         * sysdeps/generic/Makefile: Likewise.
8829         * sysdeps/gnu/Makefile: Likewise.
8830         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8831         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8832         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8833         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8834         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8837         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8838         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8839         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8840         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8841         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8842         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8843         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8844         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8845         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8846         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8847         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8848         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8849         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8850         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8851         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8852         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8853         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8854         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8855         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8856         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8857         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8858         * sysdeps/mach/hurd/errnos.awk: Likewise.
8859         * sysdeps/mach/hurd/fork.c: Likewise.
8860         * sysdeps/mach/hurd/getcwd.c: Likewise.
8861         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8862         * sysdeps/mach/hurd/mmap.c: Likewise.
8863         * sysdeps/mach/hurd/utimes.c: Likewise.
8864         * sysdeps/mach/hurd/xmknod.c: Likewise.
8865         * sysdeps/posix/profil.c: Likewise.
8866         * sysdeps/posix/readdir_r.c: Likewise.
8867         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8868         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8869         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8870         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8872         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8873         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8874         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8876         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8877         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8878         * sysdeps/pthread/lio_listio.c: Likewise.
8879         * sysdeps/sparc/dl-procinfo.h: Likewise.
8880         * sysdeps/unix/i386/sysdep.S: Likewise.
8881         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8882         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8883         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8884         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8886         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8887         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8888         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8889         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8890         * sysdeps/wordsize-32/divdi3.c: Likewise.
8891         * time/sys/time.h: Likewise.
8892         * wcsmbs/Makefile: Likewise.
8894 2013-01-01  David S. Miller  <davem@davemloft.net>
8896         * po/fr.po: Update from translation team.
8898         * catgets/gencat.c: Update copyright year.
8899         * csu/version.c: Likewise.
8900         * debug/catchsegv.sh: Likewise.
8901         * debug/pcprofiledump.c: Likewise.
8902         * debug/xtrace.sh: Likewise.
8903         * elf/ldconfig.c: Likewise.
8904         * elf/ldd.bash.in: Likewise.
8905         * elf/pldd.c: Likewise.
8906         * elf/sotruss.ksh: Likewise.
8907         * elf/sprof.c: Likewise.
8908         * iconv/iconv_prog.c: Likewise.
8909         * iconv/iconvconfig.c: Likewise.
8910         * locale/programs/locale.c: Likewise.
8911         * locale/programs/localedef.c: Likewise.
8912         * login/programs/pt_chown.c: Likewise.
8913         * malloc/memusage.sh: Likewise.
8914         * malloc/memusagestat.c: Likewise.
8915         * malloc/mtrace.pl: Likewise.
8916         * nscd/nscd.c: Likewise.
8917         * nss/getent.c: Likewise.
8918         * nss/makedb.c: Likewise.
8919         * posix/getconf.c: Likewise.
8921 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8923         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8924         numbers.
8926 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8928         * math/bits/mathcalls.h (modf): Use __nonnull.
8930 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8932         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8933         (split): Use macro CN instead of the bare value.
8934         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8935         could be used.
8936         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8937         instead of the bare value.
8938         (power1): Likewise.
8940 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8942         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8943         __ATAN_TWOM.
8944         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8946         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8947         their values.
8948         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8949         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8950         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8951         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8953 2012-12-28  Andreas Jaeger  <aj@suse.de>
8955         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8956         values are from Linux 3.7.
8958         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8959         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8961 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8963         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8964         TRUE case.
8966         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8967         (norm): Likewise.
8968         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8969         variables with preprocessor constants.
8970         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8971         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8972         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8974 2012-12-27  Bruno Haible  <bruno@clisp.org>
8976         [BZ #14317]
8977         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8978         only if needed.
8980 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8982         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8983         and use variable directly.
8984         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8986         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8987         MPONE.
8988         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8989         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8990         variable MPONE.
8991         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8993         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8994         include directive.  Remove local variable MPONE.
8995         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8996         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8997         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8999 2012-12-25  David S. Miller  <davem@davemloft.net>
9001         * version.h (RELEASE): Set to "development".
9002         (VERSION): Set to "2.17.90".
9003         * NEWS: Add 2.18 section.
9005 2012-12-21  David S. Miller  <davem@davemloft.net>
9007         * po/hr.po: Update from translation team.
9009 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9011         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9013 2012-12-19  Steve Ellcey  <sellcey@mips.com>
9015         * NEWS:  Mention new memcpy for MIPS.
9017 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9019         * manual/contrib.texi (Contributors): Spelling correction.
9021 2012-12-15  David S. Miller  <davem@davemloft.net>
9023         * po/ru.po: Update from translation team.
9025 2012-12-13  David S. Miller  <davem@davemloft.net>
9027         * NEWS: Mention IFUNC testsuite enhancements.
9029         * po/pl.po: Update from translation team.
9030         * po/bg.po: Likewise.
9032         * manual/contrib.texi (Contributors): Update entries for Hongjiu
9033         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
9035 2012-12-11  David S. Miller  <davem@davemloft.net>
9037         * po/sv.po: Update from translation team.
9039         * po/vi.po: Update from translation team.
9041         * po/cs.po: Update from translation team.
9043         * po/de.po: Update from translation team.
9044         * po/eo.po: Likewise.
9045         * po/nl.po: Likewise.
9047 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9049         [BZ #14246]
9050         * manual/argp.texi (Argp Helper Functions): Move node to follow
9051         Argp Parsing State.
9053         [BZ #14872]
9054         * manual/conf.texi (Limits on File System Capacity): Mention if
9055         terminating null is included in the max size.
9057 2012-12-10  Andreas Jaeger  <aj@suse.de>
9059         * po/cs.po: Update from translation team.
9061 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9063         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9064         void pointer and cast to uintptr_t.
9065         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9066         path.
9067         * sysdeps/s390/s390-64/memcpy.S: Likewise.
9068         * sysdeps/s390/s390-64/memset.S: Likewise.
9070 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
9072         [BZ #14833]
9073         * menual/message.texi (Message Translation): Fix typos.
9074         (Helper programs for gettext): Likewise.
9076 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
9078         [BZ #14898]
9079         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9080         Change to -1.
9082 2012-12-07  David S. Miller  <davem@davemloft.net>
9084         * po/libc.pot: Update.
9086 2012-12-07  Richard Henderson  <rth@redhat.com>
9088         [BZ #10114]
9089         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9090         normal/normal case to before the switch.
9091         (_FP_DIV): Likewise.
9093 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
9094             Mike Frysinger  <vapier@gentoo.org>
9096         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9097         check for __NR_fadvise64_64.
9099 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
9101         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9102         0, not just to plain "0" as a statement.
9103         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9104         with cw.
9106 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
9108         * NEWS: Use sourceware.org in Bugzilla URL.
9110 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9113         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9115         * stdio-common/tst-put-error.c (do_test): Add newline to the
9116         padded test to ensure flush.
9118 2012-12-05  Jeff Law  <law@redhat.com>
9120         * sunrpc/etc.rpc (fedfs_admin): Add entry.
9122 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
9124         * README: Don't refer to ports add-on as distributed separately.
9125         Mention AArch64 in list of systems supported in the ports add-on.
9127         * LICENSES: Add more non-FSF copyright and license notices.
9129         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9130         ((unused)).
9132         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9134         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9135         10000 as width of padded output.
9137 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
9139         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9141         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9142         variable LX with __attribute__ ((unused)).
9143         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9144         Likewise.
9145         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9146         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9147         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9148         with __attribute__ ((unused)).
9150 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
9152         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9154 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
9156         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9157         (CFLAGS-nldbl-acos.c): New variable.
9158         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9159         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9160         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9161         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9162         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9163         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9164         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9165         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9166         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9167         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9168         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9169         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9170         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9171         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9172         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9173         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9174         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9175         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9176         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9177         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9178         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9179         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9180         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9181         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9182         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9183         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9184         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9185         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9186         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9187         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9188         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9189         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9190         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9191         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9192         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9193         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9194         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9195         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9196         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9197         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9198         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9199         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9200         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9201         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9202         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9203         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9204         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9205         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9206         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9207         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9208         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9209         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9210         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9211         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9212         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9213         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9214         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9215         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9216         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9217         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9218         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9219         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9220         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9221         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9222         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9223         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9224         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9225         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9226         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9227         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9228         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9229         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9230         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9231         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9232         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9233         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9234         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9235         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9236         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9237         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9238         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9239         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9240         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9241         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9242         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9243         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9244         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9245         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9246         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9247         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9248         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9249         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9250         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9251         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9252         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9253         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9254         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9257         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9259         [BZ #14914]
9260         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9261         whole low double instead of just low 47 bits when splitting values
9262         into two parts.
9264 2012-12-03  Allan McRae  <allan@archlinux.org>
9266         * manual/stdio.texi (Predefined Printf Handlers): Remove
9267         @hsep and @vsep usage.
9269 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
9271         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9272         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9274 2012-12-03  Jeff Law  <law@redhat.com>
9276         * time/sys/time.h (settimeofday): Do not mark TV argument
9277         as __nonnull.
9279 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
9281         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9282         when currently writing and seek to current position when not.
9283         * libio/Makefile (tests): Remove bug-fclose1.
9284         * libio/bug-fclose1.c: Delete.
9286 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
9288         * manual/arith.texi (feenableexcept): Fix typo.
9289         (fedisableexcept): Likewise.
9291 2012-11-30  Roland McGrath  <roland@hack.frob.com>
9293         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9294         second, differently-typed declaration, rather than a cast.
9296 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9298         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9299         * include/rpc/svc.h: ... here.
9301 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
9303         [BZ #13013]
9304         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9305         depending n and resplen2 to catch cases where answer
9306         equals answerp2.
9308 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
9310         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9311         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9313 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
9315         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9317 2012-11-29  Roland McGrath  <roland@hack.frob.com>
9319         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9321 2012-11-28  Jeff Law  <law@redhat.com>
9323         [BZ #13761]
9324         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9325         dataset_temporary.  Track alloca usage into alloca_used.
9326         If dataset is large allocate and release it via malloc/free.
9328 2012-06-04  Florian Weimer  <fweimer@redhat.com>
9330         [BZ #14197]
9331         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9333 2012-11-28  David S. Miller  <davem@davemloft.net>
9335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9337 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #14803]
9340         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9341         of pi/2 rounded to nearest to 64 bits.
9342         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9343         nearest to 64 bits.
9344         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9345         bits.
9347 2012-11-28  Jeff Law <law@redhat.com>
9348             Martin Osvald <mosvald@redhat.com>
9350         [BZ #14889]
9351         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9352         * sunrpc/svc.c: Include time.h.
9353         (__svc_accept_failed): New function.
9354         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9355         any reason other than EINTR, call __svc_accept_failed.
9356         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9357         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9359 2012-11-28  Andreas Schwab  <schwab@suse.de>
9361         * scripts/abilist.awk: Also handle indirect functions in .opd
9362         section.
9364 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9366         [BZ #13881]
9367         * sysdeps/x86/fpu/powl_helper.c: New file.
9368         * sysdeps/x86/fpu/Makefile: Likewise.
9369         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9370         (p3): New object.
9371         (__ieee754_powl): Use __powl_helper for finite arguments except
9372         integer exponents below 8.
9373         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9374         (p3): New object.
9375         (__ieee754_powl): Use __powl_helper for finite arguments except
9376         integer exponents below 8.
9377         * math/libm-test.inc (pow_test): Add more tests and enable some
9378         previously disabled tests.
9379         * sysdeps/i386/fpu/libm-test-ulps: Update.
9380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9382 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9383             Carlos O'Donell  <carlos_odonell@mentor.com>
9385         * nss/makedb.c (is_prime): Assert that input is odd and greater
9386         than 4.  Note that fact in a comment too.
9387         (next_prime): Add 4 to input.
9389 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9391         [BZ #11741]
9392         * libio/Makefile (tests): Add test case tst-fwrite-error.
9393         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9394         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9395         * libio/tst-fwrite-error.c: New test case.
9397 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
9399         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9400         before casting to void *.
9401         * include/libc-internal.h (__pointer_type): New macro.
9402         (__integer_if_pointer_type_sub): Likewise.
9403         (__integer_if_pointer_type): Likewise.
9404         (cast_to_integer): Likewise.
9405         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9406         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9407         before casting to atomic64_t.
9408         (atomic_exchange_acq): Likewise.
9409         (__arch_exchange_and_add_body): Likewise.
9410         (__arch_add_body): Likewise.
9411         (atomic_add_negative): Likewise.
9412         (atomic_add_zero): Likewise.
9414 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
9416         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9417         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9418         (add_fdes): Likewise.
9419         (linear_search_fdes): Likewise.
9420         (binary_search_unencoded_fdes): Likewise.
9422 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
9424         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9426 2012-11-24  Adam Conrad  <adconrad@0c3.net>
9428         * configure.in: Autodetect C++ header directories.
9429         * configure: Regenerated.
9431 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
9433         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9435 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
9437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9439 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
9441         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9442         LDBL_MANT_DIG == 106]: Disable some tests.
9443         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9444         Likewise.
9445         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9446         Likewise.
9448         [BZ #14871]
9449         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9450         input for small inputs.  Return +/- pi/2 for large inputs.
9451         * math/libm-test.inc (atan_test): Add more tests.
9453         * sysdeps/generic/unwind-dw2-fde-glibc.c
9454         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9455         __attribute__ ((unused)).
9457         [BZ #14645]
9458         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9459         x * y if x and y are nonzero and z is zero.
9461         [BZ #14811]
9462         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9463         nonzero exponents with absolute value below 0x1p-117 to +/-
9464         0x1p-117.
9466         [BZ #14869]
9467         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9468         up arguments below 2**-450, not just those below 2**-500.
9469         * math/libm-test.inc (hypot_test): Add another test.
9471         [BZ #14868]
9472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9473         Return a+b for ratio over 2**120, not 2**60.
9474         * math/libm-test.inc (hypot_test): Add another test.
9476         * math/libm-test.inc (clog_test): Use
9477         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9478         (clog10_test): Likewise.
9480         [BZ #6778]
9481         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9483 2012-11-22  Andreas Schwab  <schwab@suse.de>
9485         * sysdeps/i386/fpu/libm-test-ulps: Update.
9487 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9489         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9490         printf output with newline.
9492 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9494         [BZ #14865]
9495         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9496         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9497         -z nodlopen, -z initfirst and -z execstack support.
9498         * configure: Regenerated.
9500         * elf/elf.h (DF_1_NODIRECT): New macro.
9501         (DF_1_IGNMULDEF): Likewise.
9502         (DF_1_NOKSYMS): Likewise.
9503         (DF_1_NOHDR): Likewise.
9504         (DF_1_EDITED): Likewise.
9505         (DF_1_NORELOC): Likewise.
9506         (DF_1_SYMINTPOSE): Likewise.
9507         (DF_1_GLOBAUDIT): Likewise.
9508         (DF_1_SINGLETON): Likewise.
9509         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9510         DT_1_SUPPORTED_MASK bits.
9511         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9513 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9515         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9517 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9519         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9520         macro.
9522         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9523         (sendmmsg): Move declarations...
9524         * socket/sys/socket.h: ... here.
9525         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9526         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9527         include it from...
9528         * socket/recvmmsg.c: ... this new file.
9529         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9530         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9531         definition of __sendmmsg hidden.
9532         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9533         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9534         Move ENOSYS stub into and include it from...
9535         * socket/sendmmsg.c: ... this new file.
9536         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9537         (sysdep_routines): Move recvmmsg and sendmmsg...
9538         * socket/Makefile (routines): ... here.
9539         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9540         (GLIBC_PRIVATE): Add __sendmmsg.
9541         * include/sys/socket.h (__sendmmsg): Add declarations.
9542         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9543         sendmmsg.
9545 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9547         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9548         variable I1 with __attribute__ ((unused)).
9549         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9551 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9553         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9554         DUMMY variables with __attribute__ ((unused)).
9556         * bits/byteswap.h: Include <bits/types.h>.
9557         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9559 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9561         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9562         string_t.  Do not manually set errno.
9563         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9564         length with __strnlen.  Make sure to both set errno and return it on
9565         failure.
9567 2012-11-19  David S. Miller  <davem@davemloft.net>
9569         With help from Joseph Myers.
9570         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9571         very large arguments properly.
9572         * math/libm-test.inc (atan_test): New tests.
9573         (atan2_test): New tests.
9574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9577 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9579         [BZ #14856]
9580         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9581         Define to 3.
9583         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9584         [POSIX] (EADDRNOTAVAIL): Likewise.
9585         [POSIX] (EAFNOSUPPORT): Likewise.
9586         [POSIX] (EALREADY): Likewise.
9587         [POSIX] (ECONNABORTED): Likewise.
9588         [POSIX] (ECONNREFUSED): Likewise.
9589         [POSIX] (ECONNRESET): Likewise.
9590         [POSIX] (EDESTADDRREQ): Likewise.
9591         [POSIX] (EDQUOT): Likewise.
9592         [POSIX] (EHOSTUNREACH): Likewise.
9593         [POSIX] (EIDRM): Likewise.
9594         [POSIX] (EISCONN): Likewise.
9595         [POSIX] (ELOOP): Likewise.
9596         [POSIX] (EMULTIHOP): Likewise.
9597         [POSIX] (ENETDOWN): Likewise.
9598         [POSIX] (ENETUNREACH): Likewise.
9599         [POSIX] (ENOBUFS): Likewise.
9600         [POSIX] (ENODATA): Likewise.
9601         [POSIX] (ENOLINK): Likewise.
9602         [POSIX] (ENOMSG): Likewise.
9603         [POSIX] (ENOPROTOOPT): Likewise.
9604         [POSIX] (ENOSR): Likewise.
9605         [POSIX] (ENOSTR): Likewise.
9606         [POSIX] (ENOTCONN): Likewise.
9607         [POSIX] (ENOTSOCK): Likewise.
9608         [POSIX] (EOPNOTSUPP): Likewise.
9609         [POSIX] (EOVERFLOW): Likewise.
9610         [POSIX] (EPROTO): Likewise.
9611         [POSIX] (EPROTONOSUPPORT): Likewise.
9612         [POSIX] (EPROTOTYPE): Likewise.
9613         [POSIX] (ESTALE): Likewise.
9614         [POSIX] (ETIME): Likewise.
9615         [POSIX] (ETXTBSY): Likewise.
9616         [POSIX] (EWOULDBLOCK): Likewise.
9617         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9618         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9619         [POSIX] (SEEK_CUR): Likewise.
9620         [POSIX] (SEEK_END): Likewise.
9621         [POSIX || UNIX98] (mode_t): Do not require.
9622         [POSIX] (off_t): Likewise.
9623         [POSIX] (pid_t): Likewise.
9624         [POSIX] (sys/stat.h): Do not allow header.
9625         [POSIX] (unistd.h): Likewise.
9626         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9627         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9628         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9629         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9630         require.
9631         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9632         sigevent): Specify elements.
9633         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9634         entry.
9635         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9636         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9638         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9639         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9640         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9641         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9642         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9643         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9644         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9645         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9646         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9647         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9648         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9649         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9650         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9651         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9652         Likewise.
9653         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9654         Likewise.
9655         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9656         Likewise.
9657         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9658         Likewise.
9659         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9660         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9661         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9662         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9663         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9664         Specify lower bound on value.
9665         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9666         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9667         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9668         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9669         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9670         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9671         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9672         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9673         value.
9674         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9675         as optional.
9676         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9677         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9678         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9679         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9680         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9681         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9682         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9683         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9684         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9685         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9686         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9687         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9688         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9689         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9690         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9691         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9692         entry.
9693         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9694         optional.
9695         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9696         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9697         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9698         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9699         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9700         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9701         Likewise.
9702         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9703         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9704         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9705         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9706         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9707         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9708         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9709         as optional.
9710         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9711         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9712         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9713         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9714         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9715         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9716         specify as optional.
9717         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9718         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9719         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9720         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9721         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9722         [XPG3] (NL_LANGMAX): Likewise.
9723         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9724         [POSIX || XPG3] (NL_NMAX): Likewise.
9725         [POSIX || XPG3] (NL_SETMAX): Likewise.
9726         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9727         [XPG3] (NZERO): Likewise.
9728         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9729         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9730         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9731         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9732         (REG_ERANGE): Expect.
9733         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9734         optional-constant.
9735         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9736         Use (void) in prototype.
9737         [POSIX] (*_t): Allow.
9738         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9739         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9740         (WRDE_BADVAL): Expect.
9742         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9743         expect.
9744         [XPG3 || XPG4] (O_RSYNC): Likewise.
9745         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9746         Likewise.
9747         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9748         [XPG3 || XPG4] (sigqueue): Likewise.
9749         [XPG3 || XPG4] (sigtimedwait): Likewise.
9750         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9751         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9752         [XPG3 || XPG4] (vsnprintf): Likewise.
9753         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9754         Likewise.
9755         [XPG3 || XPG4] (blksize_t): Likewise.
9756         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9757         Likewise.
9758         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9759         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9760         [XPG3 || XPG4] (struct itimerspec): Likewise.
9761         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9762         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9763         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9764         [XPG3 || XPG4] (clockid_t): Likewise.
9765         [XPG3 || XPG4] (timer_t): Likewise.
9766         [XPG3 || XPG4] (clock_getres): Likewise.
9767         [XPG3 || XPG4] (clock_gettime): Likewise.
9768         [XPG3 || XPG4] (clock_settime): Likewise.
9769         [XPG3 || XPG4] (nanosleep): Likewise.
9770         [XPG3 || XPG4] (timer_create): Likewise.
9771         [XPG3 || XPG4] (timer_delete): Likewise.
9772         [XPG3 || XPG4] (timer_gettime): Likewise.
9773         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9774         [XPG3 || XPG4] (timer_settime): Likewise.
9775         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9776         [XPG3 || XPG4] (getlogin_r): Likewise.
9777         [XPG3 || XPG4] (pread): Likewise.
9778         [XPG3 || XPG4] (pthread_atfork): Likewise.
9779         [XPG3 || XPG4] (pwrite): Likewise.
9781         [BZ #14835]
9782         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9783         <bits/siginfo.h>.
9785 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9787         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9788         finalizing MALLSTREAM.
9790         * sysdeps/mach/hurd/syncfs.c: New file.
9792 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9794         [BZ #14719]
9795         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9796         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9797         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9798         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9799         (_nss_dns_gethostbyname4_r): Likewise.
9800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9801         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9803 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9805         [BZ #13763]
9806         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9808 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9810         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9811         * elf/cache.c (print_entry): Print ",AArch64" for
9812         FLAG_AARCH64_LIB64
9814         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9815         * elf/cache.c (print_entry): Print ",hard-float" for
9816         FLAG_ARM_LIBHF.
9818 2012-11-18  David S. Miller  <davem@davemloft.net>
9820         With help from Joseph Myers.
9821         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9822         cutoff to 2**-13.
9823         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9824         cutoff to 2**-25.
9825         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9826         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9827         small.
9828         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9829         * math/libm-test.inc (y0_test): New tests.
9830         (y1_test): New tests.
9831         * sysdeps/i386/fpu/libm-test-ulps: Update.
9832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9835 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9837         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9838         64-bit targets.
9839         * configure: Regenerated.
9841 2012-11-17  David S. Miller  <davem@davemloft.net>
9843         [BZ #14811]
9844         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9845         nonzero exponents with absolute value below 0x1p-128 to +/-
9846         0x1p-128.
9848 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9850         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9852         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9854         * posix/getconf-speclist.c: New file.
9855         * posix/posix-envs.def: Likewise.
9856         * posix/confstr.c (START_ENV_GROUP): New macro.
9857         (END_ENV_GROUP): Likewise.
9858         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9859         (KNOWN_PRESENT_ENV_STRING): Likewise.
9860         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9861         (UNKNOWN_ENVIRONMENT): Likewise.
9862         (confstr): Include posix-envs.def instead of handling
9863         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9864         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9865         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9866         (END_ENV_GROUP): Likewise.
9867         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9868         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9869         (UNKNOWN_ENVIRONMENT): Likewise.
9870         (__sysconf): Include posix-envs.def instead of handling associated
9871         cases directly here.
9872         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9873         preprocessing getconf-speclist.c rather than running getconf or
9874         generating empty file.
9876 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9878         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9880 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9882         [BZ #14672]
9883         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9885 2012-11-16  David S. Miller  <davem@davemloft.net>
9887         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9888         smaller than LDBL_EPSILON/2.0L, just return xm1.
9890 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9892         * elf/tst-array1.c (init): Set constructor priority to 1000.
9893         (fini): Set destructor priority to 1000.
9894         * elf/tst-array2dep.c: Likewise.
9896 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9898         [BZ #11741]
9899         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9900         (_IO_new_file_xsputn): Also return EOF if none of the input
9901         data was written when overflow failed.
9902         * libio/iopadn.c (_IO_padn): Likewise.
9903         * libio/iowpadn.c (_IO_wpadn): Likewise.
9904         * stdio-common/tst-put-error.c: Add copyright notice.
9905         (do_test): Add case for printing padded string.
9906         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9907         _IO_padn returned error.
9908         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9909         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9910         return EOF.
9912 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9914         * libio/libioP.h: Add comment note that the references to C++
9915         bits are now obsolete.
9917 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9919         * math/libm-test.inc (check_complex): Use asprintf.
9921 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9923         * debug/pcprofiledump.c (print_version): Update copyright year.
9924         * malloc/memusagestat.c (print_version): Likewise.
9926 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9928         [BZ #14831]
9929         * elf/Makefile (tests): Add tst-audit8.
9930         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9931         ($(objpfx)tst-audit8.out): New target.
9932         (tst-audit8-ENV): New variable.
9933         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9934         audit if l_reloc_result is NULL.
9935         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9936         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9937         * elf/tst-audit8.c: New file.
9939 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9941         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9942         * misc/Makefile (CFLAGS-select.c): Define.
9943         * posix/Makefile (CFLAGS-pause.c): Define.
9945 2012-11-13  David S. Miller  <davem@davemloft.net>
9947         * crypt/Makefile: Move test targets after toplevel Rules
9948         inclusion.  Grab any necessary sysdep routines when linking.
9949         * crypt/md5.c (md5_process_block): Remove define, we will always
9950         name it __md5_process_block.
9951         (md5_finish_ctx): Update md5_process_block call.
9952         (md5_stream): Likewise.
9953         (md5_process_bytes): Likewise.
9954         (md5_process_block): Rename to __md5_process_block and move to ...
9955         * crypt/md5-block.c: ... here.
9956         * crypt/sha256.c (sha256_process_block): Move to ...
9957         * crypt/sha256-block.c: ... here.
9958         * crypt/sha512.c (sha512_process_block): Move to ...
9959         * crypt/sha512-block.c: ... here.
9960         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9961         path.
9962         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9963         * sysdeps/sparc/sparc64/multiarch/Makefile
9964         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9965         crypt subdir.
9966         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9967         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9968         multiarch changes.
9969         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9970         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9971         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9972         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9973         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9974         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9975         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9976         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9977         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9978         file.
9979         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9980         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9981         file.
9982         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9984 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9986         * timezone/tzselect.ksh: Update from tzcode git revision
9987         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9988         * timezone/zdump.c: Likewise.
9989         * timezone/zic.c: Likewise.
9990         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9991         in TZVERSION setting, not $(PKGVERSION).
9992         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9993         REPORT_BUGS_TO settings.
9995         [BZ #14838]
9996         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9997         macro.
9999 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10001         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10002         detection to immediately after _FP_ROUND().
10003         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10004         bits are 0.
10006 2012-11-11  David S. Miller  <davem@davemloft.net>
10008         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10009         inttypes.h
10010         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10011         __close rather than their public counterparts.
10013 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
10015         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10016         file.
10017         [UNIX98] (sem_timedwait): Do not expect.
10018         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10019         [XPG4 || UNIX98] (sockatmark): Do not expect.
10020         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10021         (clock_getcpuclockid): Do not expect.
10022         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10023         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10024         Do not expect.
10025         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10026         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10027         [UNIX98] (vwscanf): Likewise.
10028         [UNIX98] (vswscanf): Likewise.
10030 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
10032         * timezone/version.h: Remove file.
10033         * timezone/README: Do not refer to version.h.
10034         * timezone/Makefile ($(objpfx)zic.o): New dependency on
10035         $(objpfx)version.h.
10036         ($(objpfx)zdump.o): Likewise.
10037         ($(objpfx)version.h): New target.
10039         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10040         2012i.
10041         * timezone/README: Don't mention modification to tzselect.ksh.
10042         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10043         work on unmodified tzselect.ksh.  Substitute version numbers in
10044         tzselect.ksh.
10046         * Makefile (format-me): Remove.
10047         (INSTALL): Adjust indentation.  Use commands directly instead of
10048         using $(format-me).
10050         * aclocal.m4 (ACX_PKGVERSION): New macro.
10051         (ACX_BUGURL): Likewise.
10052         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10053         (PKGVERSION): New AC_DEFINE_UNQUOTED.
10054         (REPORT_BUGS_TO): Likewise.
10055         * configure: Regenerated.
10056         * config.h.in (PKGVERSION): New macro.
10057         (REPORT_BUGS_TO): Likewise.
10058         * config.make.in (PKGVERSION): New variable.
10059         (PKGVERSION_TEXI): Likewise.
10060         (REPORT_BUGS_TO): Likewise.
10061         (REPORT_BUGS_TEXI): Likewise.
10062         * Makefile (format-me): Use -I$(common-objpfx)manual.
10063         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10064         ($(common-objpfx)manual/%): New target.
10065         (manual/%): Remove target.
10066         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10067         (print_version): Use PKGVERSION.
10068         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10069         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10070         and REPORT_BUGS_TO.
10071         ($(objpfx)xtrace): Likewise.
10072         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10073         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10074         (print_version): Use PKGVERSION.
10075         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10076         (do_version): Use PKGVERSION.
10077         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10078         REPORT_BUGS_TO.
10079         (common-ldd-rewrite): Likewise.
10080         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10081         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10082         (print_version): Use PKGVERSION.
10083         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10084         * elf/pldd.c (argp_program_bug_address): Remove variable.
10085         (more_help): New function.
10086         (argp): Use more_help.
10087         (print_version): Use PKGVERSION.
10088         * elf/sln.c (main): Use PKGVERSION.
10089         (usage): Use REPORT_BUGS_TO.
10090         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10091         (top level): Use PKGVERSION.
10092         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10093         (print_version): Use PKGVERSION.
10094         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10095         (print_version): Use PKGVERSION.
10096         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10097         (print_version): Use PKGVERSION.
10098         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10099         (print_version): Use PKGVERSION.
10100         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10101         (print_version): Use PKGVERSION.
10102         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10103         (print_version): Use PKGVERSION.
10104         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10105         and BUGURL.
10106         ($(objpfx)memusage): Likewise.
10107         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10108         (do_version): Use PKGVERSION.
10109         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10110         (print_version): Use PKGVERSION.
10111         * malloc/mtrace.pl ($PACKAGE): Remove variable.
10112         ($PKGVERSION): New variable.
10113         ($REPORT_BUGS_TO): Likewise.
10114         (usage): Use $REPORT_BUGS_TO.
10115         (top level): Use $PKGVERSION.
10116         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10117         ($(objpfx)pkgvers.texi): New rule.
10118         ($(objpfx)stamp-pkgvers): Likewise.
10119         * manual/install.texi: Include pkgvers.texi.
10120         (--with-pkgversion): Document new configure option.
10121         (--with-bugurl): Likewise.
10122         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10123         than necessarily for this particular distribution.  Use
10124         REPORT_BUGS_TO for where to report bugs.
10125         * INSTALL: Regenerated.
10126         * manual/libc.texinfo: Include pkgvers.texi.
10127         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10128         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10129         (print_version): Use PKGVERSION.
10130         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10131         (print_version): Use PKGVERSION.
10132         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10133         (print_version): Use PKGVERSION.
10134         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10135         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10136         macro.
10137         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10138         (print_version): Use PKGVERSION.
10139         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10140         (print_version): Use PKGVERSION.
10141         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10142         and PKGVERSION.
10144         * timezone/checktab.awk: Update from tzcode 2012i.
10145         * timezone/ialloc.c: Likewise.
10146         * timezone/private.h: Likewise.
10147         * timezone/scheck.c: Likewise.
10148         * timezone/tzfile.h: Likewise.
10149         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10150         (TZVERSION): Hardcode tzcode version number.
10151         * timezone/zdump.c: Update from tzcode 2012i.
10152         * timezone/zic.c: Likewise.
10153         * timezone/version.h: New file.
10154         * timezone/README: Describe version.h.  Update upstream location.
10156         [BZ #14824]
10157         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10158         (mktemp): Enable declaration.
10159         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10160         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10161         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10162         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10163         Likewise.
10164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10165         Likewise.
10166         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10167         Likewise.
10168         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10169         Likewise.
10170         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10171         Likewise.
10172         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10173         Likewise.
10175         [BZ #14821]
10176         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10177         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
10178         for copies of such integer values.
10179         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10180         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10182 2012-11-09  Andreas Jaeger  <aj@suse.de>
10184         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10185         definitions and declarations that are provided by
10186         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10188 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10190         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10191         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10192         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10193         definition.
10195 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10197         * elf/elf.h: Update comment before AArch64 relocations.
10199 2012-11-07  David S. Miller  <davem@davemloft.net>
10201         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10202         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10203         (__start_context): Declare.
10204         (__makecontext_ret): Delete.
10205         (__makecontext): Hook up __start_context instead of
10206         __makecontext_ret.
10207         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10208         (sysdep_routines): Add __start_context when in stdlib.
10210 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10212         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10213         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10214         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
10215         hardcoded "nm".
10216         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
10217         (READELF): New variable.  Use it instead of hardcoded "readelf".
10219 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10221         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10222         * sysdeps/x86/Makefile: Here.
10223         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10224         * sysdeps/x86/tst-xmmymm.sh: This.
10226 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10228         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10229         expectations.
10230         [UNIX98] (pthread_barrier_t): Do not expect.
10231         [UNIX98] (pthread_barrierattr_t): Likewise.
10232         [UNIX98] (pthread_spinlock_t): Likewise.
10233         [UNIX98] (pthread_barrier_destroy): Likewise.
10234         [UNIX98] (pthread_barrier_init): Likewise.
10235         [UNIX98] (pthread_barrier_wait): Likewise.
10236         [UNIX98] (pthread_barrierattr_destroy): Likewise.
10237         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10238         [UNIX98] (pthread_barrierattr_init): Likewise.
10239         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10240         [UNIX98] (pthread_getcpuclockid): Likewise.
10241         [UNIX98] (pthread_mutex_timedlock): Likewise.
10242         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10243         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10244         [UNIX98] (pthread_sigmask): Likewise.
10245         [UNIX98] (pthread_spin_destroy): Likewise.
10246         [UNIX98] (pthread_spin_init): Likewise.
10247         [UNIX98] (pthread_spin_lock): Likewise.
10248         [UNIX98] (pthread_spin_trylock): Likewise.
10249         [UNIX98] (pthread_spin_unlock): Likewise.
10250         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10251         Do not expect.
10252         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10253         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10254         [XPG3 || XPG4] (pthread_cond_t): Likewise.
10255         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10256         [XPG3 || XPG4] (pthread_key_t): Likewise.
10257         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10258         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10259         [XPG3 || XPG4] (pthread_once_t): Likewise.
10260         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10261         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10262         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10263         [XPG3 || XPG4] (pthread_t): Likewise.
10265         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10266         not expect.
10267         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10269         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10270         Change function return type to int.
10272         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10273         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10274         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10275         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10276         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10277         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10278         [!POSIX] (posix_madvise): Likewise.
10279         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10280         && !UNIX98].
10281         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10282         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10283         (mode_t): Likewise.
10284         (posix_mem_offset): Likewise.
10285         (posix_typed_mem_get_info): Likewise.
10286         (posix_typed_mem_open): Likewise.
10288         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10289         Change condition to [XOPEN2K8].
10291         * conform/conformtest.pl: Preprocess allow-header data with -x c
10292         instead of from stdin.
10293         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10294         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10295         [C99-based standards] (cerfc): Likewise.
10296         [C99-based standards] (cexp2): Likewise.
10297         [C99-based standards] (cexpm1): Likewise.
10298         [C99-based standards] (clog10): Likewise.
10299         [C99-based standards] (clog1p): Likewise.
10300         [C99-based standards] (clog2): Likewise.
10301         [C99-based standards] (clgamma): Likewise.
10302         [C99-based standards] (ctgamma): Likewise.
10303         [C99-based standards] (cerff): Likewise.
10304         [C99-based standards] (cerfcf): Likewise.
10305         [C99-based standards] (cexp2f): Likewise.
10306         [C99-based standards] (cexpm1f): Likewise.
10307         [C99-based standards] (clog10f): Likewise.
10308         [C99-based standards] (clog1pf): Likewise.
10309         [C99-based standards] (clog2f): Likewise.
10310         [C99-based standards] (clgammaf): Likewise.
10311         [C99-based standards] (ctgammaf): Likewise.
10312         [C99-based standards] (cerfl): Likewise.
10313         [C99-based standards] (cerfcl): Likewise.
10314         [C99-based standards] (cexp2l): Likewise.
10315         [C99-based standards] (cexpm1l): Likewise.
10316         [C99-based standards] (clog10l): Likewise.
10317         [C99-based standards] (clog1pl): Likewise.
10318         [C99-based standards] (clog2l): Likewise.
10319         [C99-based standards] (clgammal): Likewise.
10320         [C99-based standards] (ctgammal): Likewise.
10321         * conform/data/inttypes.h-data [C99-based standards]: Include
10322         stdint.h-data.  Remove all expectations for stdint.h contents.
10323         [C99-based standards] (PRI*): Do not allow.
10324         [C99-based standards] (SCN*): Likewise.
10325         [C99-based standards] (*_t): Likewise.
10326         [C99-based-standards] (PRId8): Expect macro.
10327         [C99-based-standards] (PRIi8): Likewise.
10328         [C99-based-standards] (PRIo8): Likewise.
10329         [C99-based-standards] (PRIu8): Likewise.
10330         [C99-based-standards] (PRIx8): Likewise.
10331         [C99-based-standards] (PRIX8): Likewise.
10332         [C99-based-standards] (SCNd8): Likewise.
10333         [C99-based-standards] (SCNi8): Likewise.
10334         [C99-based-standards] (SCNo8): Likewise.
10335         [C99-based-standards] (SCNu8): Likewise.
10336         [C99-based-standards] (SCNx8): Likewise.
10337         [C99-based-standards] (PRIdLEAST8): Likewise.
10338         [C99-based-standards] (PRIiLEAST8): Likewise.
10339         [C99-based-standards] (PRIoLEAST8): Likewise.
10340         [C99-based-standards] (PRIuLEAST8): Likewise.
10341         [C99-based-standards] (PRIxLEAST8): Likewise.
10342         [C99-based-standards] (PRIXLEAST8): Likewise.
10343         [C99-based-standards] (SCNdLEAST8): Likewise.
10344         [C99-based-standards] (SCNiLEAST8): Likewise.
10345         [C99-based-standards] (SCNoLEAST8): Likewise.
10346         [C99-based-standards] (SCNuLEAST8): Likewise.
10347         [C99-based-standards] (SCNxLEAST8): Likewise.
10348         [C99-based-standards] (PRIdFAST8): Likewise.
10349         [C99-based-standards] (PRIiFAST8): Likewise.
10350         [C99-based-standards] (PRIoFAST8): Likewise.
10351         [C99-based-standards] (PRIuFAST8): Likewise.
10352         [C99-based-standards] (PRIxFAST8): Likewise.
10353         [C99-based-standards] (PRIXFAST8): Likewise.
10354         [C99-based-standards] (SCNdFAST8): Likewise.
10355         [C99-based-standards] (SCNiFAST8): Likewise.
10356         [C99-based-standards] (SCNoFAST8): Likewise.
10357         [C99-based-standards] (SCNuFAST8): Likewise.
10358         [C99-based-standards] (SCNxFAST8): Likewise.
10359         [C99-based-standards] (PRId16): Likewise.
10360         [C99-based-standards] (PRIi16): Likewise.
10361         [C99-based-standards] (PRIo16): Likewise.
10362         [C99-based-standards] (PRIu16): Likewise.
10363         [C99-based-standards] (PRIx16): Likewise.
10364         [C99-based-standards] (PRIX16): Likewise.
10365         [C99-based-standards] (SCNd16): Likewise.
10366         [C99-based-standards] (SCNi16): Likewise.
10367         [C99-based-standards] (SCNo16): Likewise.
10368         [C99-based-standards] (SCNu16): Likewise.
10369         [C99-based-standards] (SCNx16): Likewise.
10370         [C99-based-standards] (PRIdLEAST16): Likewise.
10371         [C99-based-standards] (PRIiLEAST16): Likewise.
10372         [C99-based-standards] (PRIoLEAST16): Likewise.
10373         [C99-based-standards] (PRIuLEAST16): Likewise.
10374         [C99-based-standards] (PRIxLEAST16): Likewise.
10375         [C99-based-standards] (PRIXLEAST16): Likewise.
10376         [C99-based-standards] (SCNdLEAST16): Likewise.
10377         [C99-based-standards] (SCNiLEAST16): Likewise.
10378         [C99-based-standards] (SCNoLEAST16): Likewise.
10379         [C99-based-standards] (SCNuLEAST16): Likewise.
10380         [C99-based-standards] (SCNxLEAST16): Likewise.
10381         [C99-based-standards] (PRIdFAST16): Likewise.
10382         [C99-based-standards] (PRIiFAST16): Likewise.
10383         [C99-based-standards] (PRIoFAST16): Likewise.
10384         [C99-based-standards] (PRIuFAST16): Likewise.
10385         [C99-based-standards] (PRIxFAST16): Likewise.
10386         [C99-based-standards] (PRIXFAST16): Likewise.
10387         [C99-based-standards] (SCNdFAST16): Likewise.
10388         [C99-based-standards] (SCNiFAST16): Likewise.
10389         [C99-based-standards] (SCNoFAST16): Likewise.
10390         [C99-based-standards] (SCNuFAST16): Likewise.
10391         [C99-based-standards] (SCNxFAST16): Likewise.
10392         [C99-based-standards] (PRId32): Likewise.
10393         [C99-based-standards] (PRIi32): Likewise.
10394         [C99-based-standards] (PRIo32): Likewise.
10395         [C99-based-standards] (PRIu32): Likewise.
10396         [C99-based-standards] (PRIx32): Likewise.
10397         [C99-based-standards] (PRIX32): Likewise.
10398         [C99-based-standards] (SCNd32): Likewise.
10399         [C99-based-standards] (SCNi32): Likewise.
10400         [C99-based-standards] (SCNo32): Likewise.
10401         [C99-based-standards] (SCNu32): Likewise.
10402         [C99-based-standards] (SCNx32): Likewise.
10403         [C99-based-standards] (PRIdLEAST32): Likewise.
10404         [C99-based-standards] (PRIiLEAST32): Likewise.
10405         [C99-based-standards] (PRIoLEAST32): Likewise.
10406         [C99-based-standards] (PRIuLEAST32): Likewise.
10407         [C99-based-standards] (PRIxLEAST32): Likewise.
10408         [C99-based-standards] (PRIXLEAST32): Likewise.
10409         [C99-based-standards] (SCNdLEAST32): Likewise.
10410         [C99-based-standards] (SCNiLEAST32): Likewise.
10411         [C99-based-standards] (SCNoLEAST32): Likewise.
10412         [C99-based-standards] (SCNuLEAST32): Likewise.
10413         [C99-based-standards] (SCNxLEAST32): Likewise.
10414         [C99-based-standards] (PRIdFAST32): Likewise.
10415         [C99-based-standards] (PRIiFAST32): Likewise.
10416         [C99-based-standards] (PRIoFAST32): Likewise.
10417         [C99-based-standards] (PRIuFAST32): Likewise.
10418         [C99-based-standards] (PRIxFAST32): Likewise.
10419         [C99-based-standards] (PRIXFAST32): Likewise.
10420         [C99-based-standards] (SCNdFAST32): Likewise.
10421         [C99-based-standards] (SCNiFAST32): Likewise.
10422         [C99-based-standards] (SCNoFAST32): Likewise.
10423         [C99-based-standards] (SCNuFAST32): Likewise.
10424         [C99-based-standards] (SCNxFAST32): Likewise.
10425         [C99-based-standards] (PRId64): Likewise.
10426         [C99-based-standards] (PRIi64): Likewise.
10427         [C99-based-standards] (PRIo64): Likewise.
10428         [C99-based-standards] (PRIu64): Likewise.
10429         [C99-based-standards] (PRIx64): Likewise.
10430         [C99-based-standards] (PRIX64): Likewise.
10431         [C99-based-standards] (SCNd64): Likewise.
10432         [C99-based-standards] (SCNi64): Likewise.
10433         [C99-based-standards] (SCNo64): Likewise.
10434         [C99-based-standards] (SCNu64): Likewise.
10435         [C99-based-standards] (SCNx64): Likewise.
10436         [C99-based-standards] (PRIdLEAST64): Likewise.
10437         [C99-based-standards] (PRIiLEAST64): Likewise.
10438         [C99-based-standards] (PRIoLEAST64): Likewise.
10439         [C99-based-standards] (PRIuLEAST64): Likewise.
10440         [C99-based-standards] (PRIxLEAST64): Likewise.
10441         [C99-based-standards] (PRIXLEAST64): Likewise.
10442         [C99-based-standards] (SCNdLEAST64): Likewise.
10443         [C99-based-standards] (SCNiLEAST64): Likewise.
10444         [C99-based-standards] (SCNoLEAST64): Likewise.
10445         [C99-based-standards] (SCNuLEAST64): Likewise.
10446         [C99-based-standards] (SCNxLEAST64): Likewise.
10447         [C99-based-standards] (PRIdFAST64): Likewise.
10448         [C99-based-standards] (PRIiFAST64): Likewise.
10449         [C99-based-standards] (PRIoFAST64): Likewise.
10450         [C99-based-standards] (PRIuFAST64): Likewise.
10451         [C99-based-standards] (PRIxFAST64): Likewise.
10452         [C99-based-standards] (PRIXFAST64): Likewise.
10453         [C99-based-standards] (SCNdFAST64): Likewise.
10454         [C99-based-standards] (SCNiFAST64): Likewise.
10455         [C99-based-standards] (SCNoFAST64): Likewise.
10456         [C99-based-standards] (SCNuFAST64): Likewise.
10457         [C99-based-standards] (SCNxFAST64): Likewise.
10458         [C99-based-standards] (PRIdMAX): Likewise.
10459         [C99-based-standards] (PRIiMAX): Likewise.
10460         [C99-based-standards] (PRIoMAX): Likewise.
10461         [C99-based-standards] (PRIuMAX): Likewise.
10462         [C99-based-standards] (PRIxMAX): Likewise.
10463         [C99-based-standards] (PRIXMAX): Likewise.
10464         [C99-based-standards] (SCNdMAX): Likewise.
10465         [C99-based-standards] (SCNiMAX): Likewise.
10466         [C99-based-standards] (SCNoMAX): Likewise.
10467         [C99-based-standards] (SCNuMAX): Likewise.
10468         [C99-based-standards] (SCNxMAX): Likewise.
10469         [C99-based-standards] (PRIdPTR): Likewise.
10470         [C99-based-standards] (PRIiPTR): Likewise.
10471         [C99-based-standards] (PRIoPTR): Likewise.
10472         [C99-based-standards] (PRIuPTR): Likewise.
10473         [C99-based-standards] (PRIxPTR): Likewise.
10474         [C99-based-standards] (PRIXPTR): Likewise.
10475         [C99-based-standards] (SCNdPTR): Likewise.
10476         [C99-based-standards] (SCNiPTR): Likewise.
10477         [C99-based-standards] (SCNoPTR): Likewise.
10478         [C99-based-standards] (SCNuPTR): Likewise.
10479         [C99-based-standards] (SCNxPTR): Likewise.
10480         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10481         allow.
10482         * conform/data/stdint.h-data: Update comments to clarify
10483         requirements.
10484         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10485         type.
10486         [C99-based standards] (INT8_MAX): Likewise.
10487         [C99-based standards] (INT16_MIN): Likewise.
10488         [C99-based standards] (INT16_MAX): Likewise.
10489         [C99-based standards] (INT32_MIN): Likewise.
10490         [C99-based standards] (INT32_MAX): Likewise.
10491         [C99-based standards] (INT64_MIN): Likewise.
10492         [C99-based standards] (INT64_MAX): Likewise.
10493         [C99-based standards] (UINT8_MAX): Likewise.
10494         [C99-based standards] (UINT16_MAX): Likewise.
10495         [C99-based standards] (UINT32_MAX): Likewise.
10496         [C99-based standards] (UINT64_MAX): Likewise.
10497         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10498         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10499         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10500         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10501         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10502         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10503         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10504         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10505         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10506         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10507         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10508         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10509         [C99-based standards] (INT_FAST8_MIN): Likewise.
10510         [C99-based standards] (INT_FAST8_MAX): Likewise.
10511         [C99-based standards] (INT_FAST16_MIN): Likewise.
10512         [C99-based standards] (INT_FAST16_MAX): Likewise.
10513         [C99-based standards] (INT_FAST32_MIN): Likewise.
10514         [C99-based standards] (INT_FAST32_MAX): Likewise.
10515         [C99-based standards] (INT_FAST64_MIN): Likewise.
10516         [C99-based standards] (INT_FAST64_MAX): Likewise.
10517         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10518         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10519         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10520         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10521         [C99-based standards] (INTPTR_MIN): Likewise.
10522         [C99-based standards] (INTPTR_MAX): Likewise.
10523         [C99-based standards] (UINTPTR_MAX): Likewise.
10524         [C99-based standards] (INTMAX_MIN): Likewise.
10525         [C99-based standards] (INTMAX_MAX): Likewise.
10526         [C99-based standards] (UINTMAX_MAX): Likewise.
10527         [C99-based standards] (PTRDIFF_MIN): Likewise.
10528         [C99-based standards] (PTRDIFF_MAX): Likewise.
10529         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10530         [C99-based standards] (SIZE_MAX): Likewise.
10531         [C99-based standards] (WCHAR_MAX): Likewise.
10532         [C99-based standards] (WINT_MAX): Likewise.
10533         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10534         constraint on value.
10535         [C99-based standards] (WCHAR_MIN): Likewise.
10536         [C99-based standards] (WINT_MIN): Likewise.
10537         [C99-based standards] (*_t): Allow.
10538         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10539         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10540         Include math.h-data and complex.h-data.  Remove all expectations
10541         of math.h and complex.h contents.
10542         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10543         at end of line.
10544         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10545         (struct tm): Expect tag.
10546         [C99-based-standards] (wcstof): Expect function.
10547         [C99-based-standards] (wcstold): Likewise.
10548         [C99-based-standards] (wcstoll): Likewise.
10549         [C99-based-standards] (wcstoull): Likewise.
10550         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10551         macro-int-constant.  Specify type.
10552         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10553         constraint on value.
10554         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10555         Specify type.
10556         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10557         Specify value.
10558         [ISO C standards]: Do not allow headers.
10559         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10560         wcs[abcdefghijklmnopqrstuvwxyz]*.
10561         [ISO C standards] (*_t): Do not allow.
10562         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10563         Expect function.
10564         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10565         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10566         Specify type.
10567         [ISO C standards]: Do not allow headers.
10568         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10569         is[abcdefghijklmnopqrstuvwxyz]*.
10570         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10571         to[abcdefghijklmnopqrstuvwxyz]*.
10572         [ISO C standards] (*_t): Do not allow.
10573         * conform/data/stdalign.h-data: New file.
10574         * conform/data/stdbool.h-data: Likewise.
10575         * conform/data/stdnoreturn.h-data: Likewise.
10577 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10579         [BZ #14815]
10580         * manual/filesys.texi (Directory Entries): Typo fix.
10581         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10583 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10585         * elf/elf.h (EM_AARCH64): New macro.
10586         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10587         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10588         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10589         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10590         (R_AARCH64_TLSDESC): Likewise.
10591         (NT_ARM_TLS): Likewise.
10592         (NT_ARM_HW_BREAK): Likewise.
10593         (NT_ARM_HW_WATCH): Likewise.
10595 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10597         [BZ #14811]
10598         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10599         (__ieee754_powl): Saturate nonzero exponents with absolute value
10600         below 0x1p-79 to +/- 0x1p-79.
10601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10602         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10603         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10604         nonzero exponents with absolute value below 0x1p-32 to +/-
10605         0x1p-32.
10606         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10607         (__ieee754_powl): Saturate nonzero exponents with absolute value
10608         below 0x1p-79 to +/- 0x1p-79.
10609         * math/libm-test.inc (pow_test): Add more tests.
10611 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10613         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10614         _dl_s390_cap_flags with kernel. Increase string length.
10615         (_dl_s390_platforms): Add z196 and zEC12.
10617 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10619         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10620         Change XOPEN21K to XOPEN2K.
10622 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10624         * string/memmove.c: Use memcpy when possible.
10626 2012-11-06  Andreas Jaeger  <aj@suse.de>
10628         * po/eo.po: Update from translation team.
10630 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10632         [BZ #14793]
10633         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10634         exponent and small x and y exponents, scale x or y up.  Increase
10635         by 2 the exponent used in scaling up.
10636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10638         * math/libm-test.inc (fma_test): Add more tests.
10639         (fma_test_towardzero): Likewise.
10640         (fma_test_downward): Likewise.
10641         (fma_test_upward): Likewise.
10643 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10645         [BZ #14805]
10646         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10647         fenv_t *.
10649         [BZ #14801]
10650         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10651         namespace for names of struct fields.
10652         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10653         fenv_t fields.
10654         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10655         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10657 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10659         [BZ #3665]
10660         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10662 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10664         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10665         PTR_DEMANGLE.
10667         [BZ #5246]
10668         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10669         PTR_DEMANGLE.
10671 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10673         [BZ #14797]
10674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10675         definitely overflow as x * y not x * y + z.
10676         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10677         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10678         * math/libm-test.inc (fma_test): Add more tests.
10679         (fma_test_towardzero): Likewise.
10680         (fma_test_downward): Likewise.
10681         (fma_test_upward): Likewise.
10683 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10685         [BZ #157]
10687         * include/stub-tag.h: Remove file.
10688         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10689         '#include' of it.
10690         * manual/maint.texi (Porting): Don't reference it.
10691         * Makerules ($(objpfx)stubs): Likewise.
10692         * dirent/closedir.c: Don't include <stub-tag.h>.
10693         * dirent/dirfd.c: Likewise.
10694         * dirent/fdopendir.c: Likewise.
10695         * dirent/getdents.c: Likewise.
10696         * dirent/getdents64.c: Likewise.
10697         * dirent/opendir.c: Likewise.
10698         * dirent/readdir.c: Likewise.
10699         * dirent/readdir64.c: Likewise.
10700         * dirent/readdir64_r.c: Likewise.
10701         * dirent/readdir_r.c: Likewise.
10702         * dirent/rewinddir.c: Likewise.
10703         * dirent/seekdir.c: Likewise.
10704         * dirent/telldir.c: Likewise.
10705         * gmon/profil.c: Likewise.
10706         * grp/setgroups.c: Likewise.
10707         * inet/if_index.c: Likewise.
10708         * io/access.c: Likewise.
10709         * io/chdir.c: Likewise.
10710         * io/chmod.c: Likewise.
10711         * io/chown.c: Likewise.
10712         * io/close.c: Likewise.
10713         * io/dup.c: Likewise.
10714         * io/dup2.c: Likewise.
10715         * io/dup3.c: Likewise.
10716         * io/euidaccess.c: Likewise.
10717         * io/faccessat.c: Likewise.
10718         * io/fchdir.c: Likewise.
10719         * io/fchmod.c: Likewise.
10720         * io/fchmodat.c: Likewise.
10721         * io/fchown.c: Likewise.
10722         * io/fchownat.c: Likewise.
10723         * io/fcntl.c: Likewise.
10724         * io/flock.c: Likewise.
10725         * io/fstatfs.c: Likewise.
10726         * io/fstatfs64.c: Likewise.
10727         * io/fstatvfs.c: Likewise.
10728         * io/fstatvfs64.c: Likewise.
10729         * io/futimens.c: Likewise.
10730         * io/fxstat.c: Likewise.
10731         * io/fxstat64.c: Likewise.
10732         * io/fxstatat.c: Likewise.
10733         * io/fxstatat64.c: Likewise.
10734         * io/getcwd.c: Likewise.
10735         * io/isatty.c: Likewise.
10736         * io/lchmod.c: Likewise.
10737         * io/lchown.c: Likewise.
10738         * io/link.c: Likewise.
10739         * io/linkat.c: Likewise.
10740         * io/lseek.c: Likewise.
10741         * io/lseek64.c: Likewise.
10742         * io/lxstat64.c: Likewise.
10743         * io/mkdir.c: Likewise.
10744         * io/mkdirat.c: Likewise.
10745         * io/mkfifo.c: Likewise.
10746         * io/mkfifoat.c: Likewise.
10747         * io/open.c: Likewise.
10748         * io/open64.c: Likewise.
10749         * io/openat.c: Likewise.
10750         * io/openat64.c: Likewise.
10751         * io/pipe.c: Likewise.
10752         * io/pipe2.c: Likewise.
10753         * io/poll.c: Likewise.
10754         * io/posix_fadvise.c: Likewise.
10755         * io/posix_fadvise64.c: Likewise.
10756         * io/posix_fallocate.c: Likewise.
10757         * io/posix_fallocate64.c: Likewise.
10758         * io/read.c: Likewise.
10759         * io/readlink.c: Likewise.
10760         * io/readlinkat.c: Likewise.
10761         * io/rmdir.c: Likewise.
10762         * io/sendfile.c: Likewise.
10763         * io/sendfile64.c: Likewise.
10764         * io/statfs.c: Likewise.
10765         * io/statfs64.c: Likewise.
10766         * io/statvfs.c: Likewise.
10767         * io/statvfs64.c: Likewise.
10768         * io/symlink.c: Likewise.
10769         * io/symlinkat.c: Likewise.
10770         * io/ttyname.c: Likewise.
10771         * io/ttyname_r.c: Likewise.
10772         * io/umask.c: Likewise.
10773         * io/unlink.c: Likewise.
10774         * io/unlinkat.c: Likewise.
10775         * io/utime.c: Likewise.
10776         * io/utimensat.c: Likewise.
10777         * io/write.c: Likewise.
10778         * io/xmknod.c: Likewise.
10779         * io/xmknodat.c: Likewise.
10780         * io/xstat.c: Likewise.
10781         * io/xstat64.c: Likewise.
10782         * login/getpt.c: Likewise.
10783         * login/grantpt.c: Likewise.
10784         * login/unlockpt.c: Likewise.
10785         * math/e_acoshl.c: Likewise.
10786         * math/e_acosl.c: Likewise.
10787         * math/e_asinl.c: Likewise.
10788         * math/e_atan2l.c: Likewise.
10789         * math/e_atanhl.c: Likewise.
10790         * math/e_coshl.c: Likewise.
10791         * math/e_expl.c: Likewise.
10792         * math/e_fmodl.c: Likewise.
10793         * math/e_gammal_r.c: Likewise.
10794         * math/e_hypotl.c: Likewise.
10795         * math/e_j0l.c: Likewise.
10796         * math/e_j1l.c: Likewise.
10797         * math/e_jnl.c: Likewise.
10798         * math/e_lgammal_r.c: Likewise.
10799         * math/e_log10l.c: Likewise.
10800         * math/e_log2l.c: Likewise.
10801         * math/e_logl.c: Likewise.
10802         * math/e_powl.c: Likewise.
10803         * math/e_rem_pio2l.c: Likewise.
10804         * math/e_sinhl.c: Likewise.
10805         * math/e_sqrtl.c: Likewise.
10806         * math/fclrexcpt.c: Likewise.
10807         * math/fedisblxcpt.c: Likewise.
10808         * math/feenablxcpt.c: Likewise.
10809         * math/fegetenv.c: Likewise.
10810         * math/fegetexcept.c: Likewise.
10811         * math/fegetround.c: Likewise.
10812         * math/feholdexcpt.c: Likewise.
10813         * math/fesetenv.c: Likewise.
10814         * math/fesetround.c: Likewise.
10815         * math/feupdateenv.c: Likewise.
10816         * math/fgetexcptflg.c: Likewise.
10817         * math/fraiseexcpt.c: Likewise.
10818         * math/fsetexcptflg.c: Likewise.
10819         * math/ftestexcept.c: Likewise.
10820         * math/k_cosl.c: Likewise.
10821         * math/k_rem_pio2l.c: Likewise.
10822         * math/k_sinl.c: Likewise.
10823         * math/k_tanl.c: Likewise.
10824         * math/s_asinhl.c: Likewise.
10825         * math/s_atanl.c: Likewise.
10826         * math/s_cbrtl.c: Likewise.
10827         * math/s_erfl.c: Likewise.
10828         * math/s_expm1l.c: Likewise.
10829         * math/s_log1pl.c: Likewise.
10830         * math/s_tanhl.c: Likewise.
10831         * misc/acct.c: Likewise.
10832         * misc/brk.c: Likewise.
10833         * misc/chflags.c: Likewise.
10834         * misc/chroot.c: Likewise.
10835         * misc/fchflags.c: Likewise.
10836         * misc/fgetxattr.c: Likewise.
10837         * misc/flistxattr.c: Likewise.
10838         * misc/fremovexattr.c: Likewise.
10839         * misc/fsetxattr.c: Likewise.
10840         * misc/fsync.c: Likewise.
10841         * misc/ftruncate.c: Likewise.
10842         * misc/futimes.c: Likewise.
10843         * misc/futimesat.c: Likewise.
10844         * misc/getdomain.c: Likewise.
10845         * misc/getdtsz.c: Likewise.
10846         * misc/gethostid.c: Likewise.
10847         * misc/gethostname.c: Likewise.
10848         * misc/getloadavg.c: Likewise.
10849         * misc/getpagesize.c: Likewise.
10850         * misc/getsysstats.c: Likewise.
10851         * misc/getxattr.c: Likewise.
10852         * misc/gtty.c: Likewise.
10853         * misc/ioctl.c: Likewise.
10854         * misc/lgetxattr.c: Likewise.
10855         * misc/listxattr.c: Likewise.
10856         * misc/llistxattr.c: Likewise.
10857         * misc/lremovexattr.c: Likewise.
10858         * misc/lsetxattr.c: Likewise.
10859         * misc/lutimes.c: Likewise.
10860         * misc/madvise.c: Likewise.
10861         * misc/mincore.c: Likewise.
10862         * misc/mlock.c: Likewise.
10863         * misc/mlockall.c: Likewise.
10864         * misc/mmap.c: Likewise.
10865         * misc/mprotect.c: Likewise.
10866         * misc/msync.c: Likewise.
10867         * misc/munlock.c: Likewise.
10868         * misc/munlockall.c: Likewise.
10869         * misc/munmap.c: Likewise.
10870         * misc/preadv.c: Likewise.
10871         * misc/preadv64.c: Likewise.
10872         * misc/ptrace.c: Likewise.
10873         * misc/pwritev.c: Likewise.
10874         * misc/pwritev64.c: Likewise.
10875         * misc/readv.c: Likewise.
10876         * misc/reboot.c: Likewise.
10877         * misc/remap_file_pages.c: Likewise.
10878         * misc/removexattr.c: Likewise.
10879         * misc/revoke.c: Likewise.
10880         * misc/select.c: Likewise.
10881         * misc/setdomain.c: Likewise.
10882         * misc/setegid.c: Likewise.
10883         * misc/seteuid.c: Likewise.
10884         * misc/sethostid.c: Likewise.
10885         * misc/sethostname.c: Likewise.
10886         * misc/setregid.c: Likewise.
10887         * misc/setreuid.c: Likewise.
10888         * misc/setxattr.c: Likewise.
10889         * misc/sstk.c: Likewise.
10890         * misc/stty.c: Likewise.
10891         * misc/swapoff.c: Likewise.
10892         * misc/swapon.c: Likewise.
10893         * misc/sync.c: Likewise.
10894         * misc/syncfs.c: Likewise.
10895         * misc/syscall.c: Likewise.
10896         * misc/truncate.c: Likewise.
10897         * misc/ualarm.c: Likewise.
10898         * misc/usleep.c: Likewise.
10899         * misc/ustat.c: Likewise.
10900         * misc/utimes.c: Likewise.
10901         * misc/vhangup.c: Likewise.
10902         * misc/writev.c: Likewise.
10903         * posix/_exit.c: Likewise.
10904         * posix/alarm.c: Likewise.
10905         * posix/execve.c: Likewise.
10906         * posix/fexecve.c: Likewise.
10907         * posix/fork.c: Likewise.
10908         * posix/fpathconf.c: Likewise.
10909         * posix/getaddrinfo.c: Likewise.
10910         * posix/getegid.c: Likewise.
10911         * posix/geteuid.c: Likewise.
10912         * posix/getgid.c: Likewise.
10913         * posix/getgroups.c: Likewise.
10914         * posix/getlogin.c: Likewise.
10915         * posix/getlogin_r.c: Likewise.
10916         * posix/getpgid.c: Likewise.
10917         * posix/getpid.c: Likewise.
10918         * posix/getppid.c: Likewise.
10919         * posix/getresgid.c: Likewise.
10920         * posix/getresuid.c: Likewise.
10921         * posix/getsid.c: Likewise.
10922         * posix/getuid.c: Likewise.
10923         * posix/glob64.c: Likewise.
10924         * posix/nanosleep.c: Likewise.
10925         * posix/pathconf.c: Likewise.
10926         * posix/pause.c: Likewise.
10927         * posix/posix_madvise.c: Likewise.
10928         * posix/pread.c: Likewise.
10929         * posix/pread64.c: Likewise.
10930         * posix/pwrite.c: Likewise.
10931         * posix/pwrite64.c: Likewise.
10932         * posix/sched_getaffinity.c: Likewise.
10933         * posix/sched_getp.c: Likewise.
10934         * posix/sched_gets.c: Likewise.
10935         * posix/sched_primax.c: Likewise.
10936         * posix/sched_primin.c: Likewise.
10937         * posix/sched_rr_gi.c: Likewise.
10938         * posix/sched_setaffinity.c: Likewise.
10939         * posix/sched_setp.c: Likewise.
10940         * posix/sched_sets.c: Likewise.
10941         * posix/sched_yield.c: Likewise.
10942         * posix/setgid.c: Likewise.
10943         * posix/setlogin.c: Likewise.
10944         * posix/setpgid.c: Likewise.
10945         * posix/setresgid.c: Likewise.
10946         * posix/setresuid.c: Likewise.
10947         * posix/setsid.c: Likewise.
10948         * posix/setuid.c: Likewise.
10949         * posix/sleep.c: Likewise.
10950         * posix/spawni.c: Likewise.
10951         * posix/sysconf.c: Likewise.
10952         * posix/times.c: Likewise.
10953         * posix/wait.c: Likewise.
10954         * posix/wait3.c: Likewise.
10955         * posix/wait4.c: Likewise.
10956         * posix/waitpid.c: Likewise.
10957         * resolv/gai_sigqueue.c: Likewise.
10958         * resource/getpriority.c: Likewise.
10959         * resource/getrlimit.c: Likewise.
10960         * resource/getrusage.c: Likewise.
10961         * resource/nice.c: Likewise.
10962         * resource/setpriority.c: Likewise.
10963         * resource/setrlimit.c: Likewise.
10964         * resource/ulimit.c: Likewise.
10965         * rt/aio_cancel.c: Likewise.
10966         * rt/aio_fsync.c: Likewise.
10967         * rt/aio_read.c: Likewise.
10968         * rt/aio_sigqueue.c: Likewise.
10969         * rt/aio_suspend.c: Likewise.
10970         * rt/aio_write.c: Likewise.
10971         * rt/clock_getres.c: Likewise.
10972         * rt/clock_gettime.c: Likewise.
10973         * rt/clock_nanosleep.c: Likewise.
10974         * rt/clock_settime.c: Likewise.
10975         * rt/lio_listio.c: Likewise.
10976         * rt/mq_close.c: Likewise.
10977         * rt/mq_getattr.c: Likewise.
10978         * rt/mq_notify.c: Likewise.
10979         * rt/mq_open.c: Likewise.
10980         * rt/mq_receive.c: Likewise.
10981         * rt/mq_send.c: Likewise.
10982         * rt/mq_setattr.c: Likewise.
10983         * rt/mq_timedreceive.c: Likewise.
10984         * rt/mq_timedsend.c: Likewise.
10985         * rt/mq_unlink.c: Likewise.
10986         * rt/shm_open.c: Likewise.
10987         * rt/shm_unlink.c: Likewise.
10988         * rt/timer_create.c: Likewise.
10989         * rt/timer_delete.c: Likewise.
10990         * rt/timer_getoverr.c: Likewise.
10991         * rt/timer_gettime.c: Likewise.
10992         * rt/timer_settime.c: Likewise.
10993         * setjmp/__longjmp.c: Likewise.
10994         * setjmp/setjmp.c: Likewise.
10995         * signal/kill.c: Likewise.
10996         * signal/killpg.c: Likewise.
10997         * signal/raise.c: Likewise.
10998         * signal/sigaction.c: Likewise.
10999         * signal/sigaltstack.c: Likewise.
11000         * signal/sigblock.c: Likewise.
11001         * signal/sigignore.c: Likewise.
11002         * signal/sigintr.c: Likewise.
11003         * signal/signal.c: Likewise.
11004         * signal/sigpause.c: Likewise.
11005         * signal/sigpending.c: Likewise.
11006         * signal/sigqueue.c: Likewise.
11007         * signal/sigreturn.c: Likewise.
11008         * signal/sigset.c: Likewise.
11009         * signal/sigsetmask.c: Likewise.
11010         * signal/sigstack.c: Likewise.
11011         * signal/sigsuspend.c: Likewise.
11012         * signal/sigtimedwait.c: Likewise.
11013         * signal/sigvec.c: Likewise.
11014         * signal/sigwait.c: Likewise.
11015         * signal/sigwaitinfo.c: Likewise.
11016         * signal/sysv_signal.c: Likewise.
11017         * socket/accept.c: Likewise.
11018         * socket/accept4.c: Likewise.
11019         * socket/bind.c: Likewise.
11020         * socket/connect.c: Likewise.
11021         * socket/getpeername.c: Likewise.
11022         * socket/getsockname.c: Likewise.
11023         * socket/getsockopt.c: Likewise.
11024         * socket/isfdtype.c: Likewise.
11025         * socket/listen.c: Likewise.
11026         * socket/recv.c: Likewise.
11027         * socket/recvfrom.c: Likewise.
11028         * socket/recvmsg.c: Likewise.
11029         * socket/send.c: Likewise.
11030         * socket/sendmsg.c: Likewise.
11031         * socket/sendto.c: Likewise.
11032         * socket/setsockopt.c: Likewise.
11033         * socket/shutdown.c: Likewise.
11034         * socket/sockatmark.c: Likewise.
11035         * socket/socket.c: Likewise.
11036         * socket/socketpair.c: Likewise.
11037         * stdio-common/ctermid.c: Likewise.
11038         * stdio-common/cuserid.c: Likewise.
11039         * stdio-common/remove.c: Likewise.
11040         * stdio-common/rename.c: Likewise.
11041         * stdio-common/renameat.c: Likewise.
11042         * stdio-common/tempname.c: Likewise.
11043         * stdlib/getcontext.c: Likewise.
11044         * stdlib/makecontext.c: Likewise.
11045         * stdlib/setcontext.c: Likewise.
11046         * stdlib/swapcontext.c: Likewise.
11047         * stdlib/system.c: Likewise.
11048         * streams/fattach.c: Likewise.
11049         * streams/fdetach.c: Likewise.
11050         * streams/getmsg.c: Likewise.
11051         * streams/getpmsg.c: Likewise.
11052         * streams/putmsg.c: Likewise.
11053         * streams/putpmsg.c: Likewise.
11054         * sysdeps/unix/bsd/getpt.c: Likewise.
11055         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11056         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11057         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11059         Likewise.
11060         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11061         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11062         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11063         * sysvipc/msgctl.c: Likewise.
11064         * sysvipc/msgget.c: Likewise.
11065         * sysvipc/msgrcv.c: Likewise.
11066         * sysvipc/msgsnd.c: Likewise.
11067         * sysvipc/semctl.c: Likewise.
11068         * sysvipc/semget.c: Likewise.
11069         * sysvipc/semop.c: Likewise.
11070         * sysvipc/semtimedop.c: Likewise.
11071         * sysvipc/shmat.c: Likewise.
11072         * sysvipc/shmctl.c: Likewise.
11073         * sysvipc/shmdt.c: Likewise.
11074         * sysvipc/shmget.c: Likewise.
11075         * termios/tcdrain.c: Likewise.
11076         * termios/tcflow.c: Likewise.
11077         * termios/tcflush.c: Likewise.
11078         * termios/tcgetattr.c: Likewise.
11079         * termios/tcgetpgrp.c: Likewise.
11080         * termios/tcsendbrk.c: Likewise.
11081         * termios/tcsetattr.c: Likewise.
11082         * termios/tcsetpgrp.c: Likewise.
11083         * time/adjtime.c: Likewise.
11084         * time/clock.c: Likewise.
11085         * time/getitimer.c: Likewise.
11086         * time/gettimeofday.c: Likewise.
11087         * time/setitimer.c: Likewise.
11088         * time/settimeofday.c: Likewise.
11089         * time/stime.c: Likewise.
11090         * time/time.c: Likewise.
11092 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
11094         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11095         /usr/old/bin.
11097         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11098         instead of spaces.
11099         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11101 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
11103         [BZ #14796]
11104         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11105         FE_TONEAREST before applying Dekker multiplication and Knuth
11106         addition.  Clear inexact exceptions and check for exact zero
11107         results afterwards.
11108         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11109         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11110         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11111         * math/libm-test.inc (fma_test): Add more tests.
11112         (fma_test_towardzero): Likewise.
11113         (fma_test_downward): Likewise.
11114         (fma_test_upward): Likewise.
11115         * sysdeps/generic/math_private.h (default_libc_fesetround): New
11116         function.
11117         (libc_fesetround): New macro.
11118         (libc_fesetroundf): Likewise.
11119         (libc_fesetroundl): Likewise.
11120         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11121         function.
11122         (libc_fesetround_387): Likewise.
11123         (libc_fesetroundf): New macro.
11124         (libc_fesetround): Likewise.
11125         (libc_fesetroundl): Likewise.
11126         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11127         function.
11128         (libc_fesetroundf): New macro.
11129         (libc_fesetround): Likewise.
11130         (libc_fesetroundl): Likewise.
11131         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11132         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11133         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11134         libm_hidden_ver.
11135         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11136         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11137         libm_hidden_def.
11138         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11139         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11140         libm_hidden_ver.
11141         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11142         libm_hidden_def.
11144         [BZ #3439]
11145         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11146         integer constant usable in #if and use that to give value to enum
11147         constant.
11148         (FE_DIVBYZERO): Likewise.
11149         (FE_UNDERFLOW): Likewise.
11150         (FE_OVERFLOW): Likewise.
11151         (FE_INVALID): Likewise.
11152         (FE_INVALID_SNAN): Likewise.
11153         (FE_INVALID_ISI): Likewise.
11154         (FE_INVALID_IDI): Likewise.
11155         (FE_INVALID_ZDZ): Likewise.
11156         (FE_INVALID_IMZ): Likewise.
11157         (FE_INVALID_COMPARE): Likewise.
11158         (FE_INVALID_SOFTWARE): Likewise.
11159         (FE_INVALID_SQRT): Likewise.
11160         (FE_INVALID_INTEGER_CONVERSION): Likewise.
11161         (FE_TONEAREST): Likewise.
11162         (FE_TOWARDZERO): Likewise.
11163         (FE_UPWARD): Likewise.
11164         (FE_DOWNWARD): Likewise.
11165         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11166         (FE_DIVBYZERO): Likewise.
11167         (FE_OVERFLOW): Likewise.
11168         (FE_UNDERFLOW): Likewise.
11169         (FE_INEXACT): Likewise.
11170         (FE_TONEAREST): Likewise.
11171         (FE_DOWNWARD): Likewise.
11172         (FE_UPWARD): Likewise.
11173         (FE_TOWARDZERO): Likewise.
11174         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11175         (FE_UNDERFLOW): Likewise.
11176         (FE_OVERFLOW): Likewise.
11177         (FE_DIVBYZERO): Likewise.
11178         (FE_INVALID): Likewise.
11179         (FE_TONEAREST): Likewise.
11180         (FE_TOWARDZERO): Likewise.
11181         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11182         (FE_OVERFLOW): Likewise.
11183         (FE_UNDERFLOW): Likewise.
11184         (FE_DIVBYZERO): Likewise.
11185         (FE_INEXACT): Likewise.
11186         (FE_TONEAREST): Likewise.
11187         (FE_TOWARDZERO): Likewise.
11188         (FE_UPWARD): Likewise.
11189         (FE_DOWNWARD): Likewise.
11190         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11191         (FE_DIVBYZERO): Likewise.
11192         (FE_OVERFLOW): Likewise.
11193         (FE_UNDERFLOW): Likewise.
11194         (FE_INEXACT): Likewise.
11195         (FE_TONEAREST): Likewise.
11196         (FE_DOWNWARD): Likewise.
11197         (FE_UPWARD): Likewise.
11198         (FE_TOWARDZERO): Likewise.
11200 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
11202         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11204 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
11206         * scripts/cross-test-ssh.sh (command): Use newlines to separate
11207         commands.  Quote $PWD.
11208         (blacklist_exports): Don't use remove_newlines.  Replace "declare
11209         -x" by "export".
11210         (remove_newlines): Remove.
11212 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
11214         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11215         * stdlib/stdlib.h (atof): Moved to ...
11216         * include/bits/stdlib-float.h: Here.  New file.
11217         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11218         * stdlib/bits/stdlib-float.h: New file.
11219         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11220         -mno-sse -mno-mmx.
11221         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11222         <xmmintrin.h>.
11224 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11226         * conform/conformtest.pl (@headers): Add fenv.h.
11227         * conform/data/fenv.h-data: New file.
11228         * include/fenv.h [_ISOMAC]: Disable all contents of file except
11229         include of <math/fenv.h>.
11231         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11232         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11233         && !UNIX98].  Enables tests for XOPEN2K8.
11234         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11235         POSIX2008]: Likewise.
11237         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11238         (struct rusage): Do not expect type or its members.
11240         [BZ #3439]
11241         * math/math.h (FP_NAN): Define macro to integer constant usable in
11242         #if and use that to give value to enum constant.
11243         (FP_INFINITE): Likewise.
11244         (FP_ZERO): Likewise.
11245         (FP_SUBNORMAL): Likewise.
11246         (FP_NORMAL): Likewise.
11248 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
11250         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11251         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11252         arguments.
11254 2012-11-02  Roland McGrath  <roland@hack.frob.com>
11256         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11257         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11258         autoconf-time if not.
11259         * configure.in: Remove AC_PREREQ.
11261 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11263         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11264         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11265         of the internal implementation.
11267 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11269         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11270         except include of <misc/sys/syslog.h>.
11272 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11275         function returns with a NULL context exit with zero.
11277 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11279         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11281 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
11283         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11284         (run_program_cmd): This.
11285         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11286         (tst_langinfo): New variable.  Use it.
11288 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
11290         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11291         floating point opcodes.
11293 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11295         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11296         variable.
11298         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11300         * sysdeps/mach/hurd/powerpc: Remove directory.
11301         * sysdeps/mach/powerpc: Likewise.
11303 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11305         * scripts/check-local-headers.sh: Ignore c++ headers.
11307 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11309         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11310         __libc_cleanup_region_start argument.
11312 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
11314         [BZ #14784]
11315         [BZ #14785]
11316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11317         x * y using scaling, not as x * y + z.
11318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11320         * math/libm-test.inc (fma_test): Add more tests.
11321         (fma_test_towardzero): Likewise.
11322         (fma_test_downward): Likewise.
11323         (fma_test_upward): Likewise.
11325 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11327         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11329 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11331         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11332         New variable.
11334 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
11336         * rt/tst-shm.c (worker): Correct checking for mmap failure.
11338 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11341         Fix sort order.
11342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11343         Likewise.
11345 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11348         Fix the order of the list for glibc 2.17.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11350         Likewise.
11352 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11356 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11358         [BZ #14610]
11359         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11360         for low part of x being zero before using __atanl (y).
11361         * math/libm-test.inc (atan2_test): Add another test.
11363         * manual/install.texi (Configuring and compiling): Document
11364         general use of test-wrapper and test-wrapper-env.
11365         * INSTALL: Regenerated.
11367         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11368         (__fma): Do not extract and scale down low bits on after-rounding
11369         systems when result rounded to normal precision would have normal
11370         exponent.
11371         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11372         (__fmal): Do not extract and scale down low bits on after-rounding
11373         systems when result rounded to normal precision would have normal
11374         exponent.
11375         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11376         (__fmal): Do not extract and scale down low bits on after-rounding
11377         systems when result rounded to normal precision would have normal
11378         exponent.
11379         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11380         macro.
11381         (fma_test): Add more tests.
11382         (fma_test_towardzero): Likewise.
11383         (fma_test_downward): Likewise.
11384         (fma_test_upward): Likewise.
11386 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
11388         * sysdeps/i386/tininess.h: Renamed to ...
11389         * sysdeps/x86/tininess.h: This.
11390         * sysdeps/x86_64/tininess.h: Removed.
11392 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11394         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11395         input.  Use $(build-program-cmd).
11396         ($(objpfx)tst-array1-static.out): Likewise.
11397         ($(objpfx)tst-array2.out): Likewise.
11398         ($(objpfx)tst-array3.out): Likewise.
11399         ($(objpfx)tst-array4.out): Likewise.
11400         ($(objpfx)tst-array5.out): Likewise.
11401         ($(objpfx)tst-array5-static.out): Likewise.
11403 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
11405         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11406         if defined.
11408         * nss/nsswitch.h (nss_interface_function): Provide new
11409         macro for use with NSS functions.
11410         * grp/initgroups.c: Use new macro.
11411         * nss/getXXbyYY.c: Likewise.
11412         * nss/getXXbyYY_r.c: Likewise.
11413         * nss/getXXent.c: Likewise.
11414         * nss/getXXent_r.c: Likewise.
11415         * sysdeps/posix/getaddrinfo.c: Likewise.
11417 2012-10-30  Andreas Jaeger  <aj@suse.de>
11419         * po/ru.po: Update Russion translation from translation project.
11421 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11423         [BZ #14152]
11424         [BZ #14783]
11425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11426         result and shift together with sticky bit instead of replicating
11427         round-to-nearest rounding.
11428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11430         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
11431         missing underflow exceptions.
11432         (fma_test_towardzero): Add more tests.
11433         (fma_test_downward): Likewise.
11434         (fma_test_upward): Likewise.
11436         [BZ #14047]
11437         * sysdeps/generic/tininess.h: New file.
11438         * sysdeps/i386/tininess.h: Likewise.
11439         * sysdeps/sh/tininess.h: Likewise.
11440         * sysdeps/x86_64/tininess.h: Likewise.
11441         * stdlib/tst-strtod-underflow.c: Likewise.
11442         * stdlib/tst-tininess.c: Likewise.
11443         * stdlib/strtod_l.c: Include <tininess.h>.
11444         (round_and_return): Do not set errno for exact underflow cases.
11445         Force an underflow exception when setting errno for underflow.
11446         Determine underflow based on rounding to normal precision if
11447         TININESS_AFTER_ROUNDING.
11448         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11449         ERANGE for exact underflow cases.
11450         * stdlib/Makefile (tests): Add tst-tininess and
11451         tst-strtod-underflow.
11452         ($(objpfx)tst-tininess): Use $(link-libm).
11453         ($(objpfx)tst-strtod-underflow): Likewise.
11455 2012-10-30  Andreas Jaeger  <aj@suse.de>
11457         [BZ#14767]
11458         * elf/Makefile (tests): Remove conditional for have-initfini-array
11459         since this is now always required and the variable does not exist
11460         anymore.
11461         (tests-static): Likewise.
11462         (modules-names): Likewise.
11464         * po/eo.po: Add Esperanto translation from translation project.
11466         * elf/tst-array1.c (fini_array): Make writeable so that it can be
11467         merged with constructor/destructor.
11468         (init_array): Likewise.
11469         * elf/tst-array2dep.c (fini_array): Likewise.
11470         (init_array): Likewise.
11472 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11474         * manual/message.texi: Delete @cartouche tags.
11476 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11478         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11479         EOPNOTSUPP.
11480         * sysdeps/mach/hurd/fsync.c: Likewise.
11482         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11483         [_POSIX_REALTIME_SIGNALS]: Change condition to
11484         [_POSIX_REALTIME_SIGNALS > 0].
11486 2012-10-27  Andreas Jaeger  <aj@suse.de>
11488         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11489         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11490         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11491         [__WORDSIZE != 64]: Likewise.
11493 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11495         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11496         *  iconvdata/tst-tables.sh: Likewise.
11498 2012-10-25  David S. Miller  <davem@davemloft.net>
11500         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11501         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11502         of strtoull.
11504         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11505         ifunc-impl-list.c
11506         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11507         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11508         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11509         file.
11511 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11513         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11514         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11515         __getdirentries.
11517 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11518             Jim Blandy  <jimb@codesourcery.com>
11520         * scripts/cross-test-ssh.sh: New file.
11521         * manual/install.texi (Configuring and compiling): Document use of
11522         cross-test-ssh.sh.
11523         * INSTALL: Regenerated.
11525 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11527         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11528         EOPNOTSUPP.
11530 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11532         * Makeconfig (run-program-prefix): Fix comment.
11534 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11535             Jim Blandy  <jimb@codesourcery.com>
11537         * Makeconfig (test-wrapper): New variable,
11538         (test-wrapper-env): Likewise.
11539         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11540         (run-built-tests): Define to yes.
11541         (run-program-prefix): Use $(test-wrapper).
11542         (built-program-cmd): Likewise.
11543         * Rules (make-test-out): Use $(test-wrapper-env) and
11544         $(host-built-program-cmd).
11545         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11546         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11547         tst-pathopt.sh.
11548         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11549         $(test-wrapper-env) to tst-rtld-load-self.sh.
11550         ($(objpfx)order2.out): Use $(test-wrapper).
11551         ($(objpfx)tst-initorder.out): Likewise.
11552         ($(objpfx)tst-initorder2.out): Likewise.
11553         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11554         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11555         (test_wrapper_env): New variable.  Use it to run ld.so.
11556         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11557         Use it to run ld.so.
11558         (test_wrapper_env): Likewise.
11559         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11560         $(test-wrapper) to run-iconv-test.sh.
11561         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11562         (ICONV): Use $test_wrapper.
11563         * posix/Makefile ($(objpfx)globtest.out): Pass
11564         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11565         globtest.sh, not $(run-program-prefix).
11566         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11567         (test_wrapper): Likewise.
11568         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11569         set together with run_via_rtld_prefix.
11570         (run_program_prefix): Define in terms of test_wrapper and
11571         run_via_rtld_prefix.
11573 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11575         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11576         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11577         Targets removed.
11579         [BZ #14743]
11580         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11581         Declare __clock_getres, __clock_gettime, __clock_settime,
11582         __clock_nanosleep, and __clock_getcpuclockid.
11583         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11584         Remove librt_hidden_def (clock_gettime).
11585         * sysdeps/unix/clock_gettime.c: Likewise.
11586         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11587         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11588         * rt/clock_getres.c: Define __clock_getres as an alias.
11589         * sysdeps/posix/clock_getres.c: Likewise.
11590         * rt/clock_settime.c: Define __clock_settime as an alias.
11591         * sysdeps/unix/clock_settime.c: Likewise.
11592         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11593         * sysdeps/unix/clock_nanosleep.c: Likewise.
11594         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11595         * rt/clock-compat.c: New file.
11596         * rt/Makefile (librt-routines): Add clock-compat and move
11597         $(clock-routines) to ...
11598         (routines): ... here, new variable.
11599         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11600         Don't add get_clockfreq here.
11601         * rt/Versions (libc: GLIBC_2.17): New version set.
11602         Add clock_* symbols here.
11603         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11604         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11605         (GLIBC_2.17): Add clock_* symbols.
11606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11610         Likewise.
11611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11612         Likewise.
11613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11617         * NEWS: Mention the move.
11619         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11620         Use __open, __read, __close rather than their public counterparts.
11621         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11622         (__get_clockfreq_via_cpuinfo): Likewise.
11623         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11624         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11626         * config.h.in (HAVE_IFUNC): New #undef.
11627         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11628         was successful.
11629         * configure: Regenerated.
11631 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11633         * configure.in: Move READELF check to start of file.
11634         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11635         libc_cv_asm_gnu_indirect_function in the process.
11636         * configure: Regenerated.
11638 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11640         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11641         send the output to /dev/null.
11642         (libc_cv_cc_with_libunwind): Likewise.
11643         (libc_cv_as_noexecstack): Likewise.
11644         * configure: Regenerate.
11646 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11648         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11650         * posix/globtest.sh (TMPDIR): Do not set.
11651         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11652         (testout): Likewise.
11654 2012-10-24  Andreas Jaeger  <aj@suse.de>
11656         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11657         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11658         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11659         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11660         posix_fadvise64, posix_fallocate64.
11662         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11663         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11664         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11665         Likewise.
11666         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11667         Likewise.
11668         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11671         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11672         <bits/fcntl-linux.h>.
11673         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11676         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11677         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11678         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11679         [__WORDSIZE != 64]: Likewise.
11681 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11683         * Makeconfig (run-built-tests): New variable.
11684         * Rules [$(cross-compiling) = yes]: Change condition to
11685         [$(run-built-tests) = no].
11686         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11687         to [$(run-built-tests) = yes].
11688         * elf/Makefile [$(cross-compiling) = no]: Likewise
11689         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11690         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11691         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11692         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11693         * io/Makefile [$(cross-compiling) = no]: Likewise.
11694         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11695         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11696         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11697         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11698         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11699         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11700         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11701         * string/Makefile [$(cross-compiling) = no]: Likewise.
11703         * posix/Makefile ($(objpfx)globtest.out): Pass
11704         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11705         $(rtld-installed-name).
11706         * posix/globtest.sh (elf_objpfx): Remove variable.
11707         (rtld_installed_name): Likewise.
11708         (library_path): Likewise.
11709         (run_program_prefix): New variable.  Use for running globtest
11710         binary.
11712 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11713             Joseph Myers  <joseph@codesourcery.com>
11715         * Makeconfig (host-built-program-cmd): New variable.
11716         * elf/Makefile (tst-stackguard1-ARGS): Use
11717         $(host-built-program-cmd).
11718         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11719         (tst-spawn-ARGS): Likewise.
11720         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11722 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11723             Jim Blandy  <jimb@codesourcery.com>
11725         * Makeconfig (run-via-rtld-prefix): New variable.
11726         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11727         (built-program-cmd): Likewise.
11729 2012-10-22  Andreas Jaeger  <aj@suse.de>
11731         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11732         __O_RSYNC if it exists, otherwise to O_SYNC.
11734 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11735             Joseph Myers  <joseph@codesourcery.com>
11737         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11738         /dev/null.
11739         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11740         from /dev/null
11741         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11742         /dev/null.
11744 2012-10-22  Andreas Jaeger  <aj@suse.de>
11746         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11747         Define always.
11748         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11751         bits/fcntl-linux.h.
11753         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11754         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11756         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11757         to __O_LARGEFILE.
11758         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11759         to __O_LARGEFILE.
11761 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11762             Joseph Myers  <joseph@codesourcery.com>
11764         * config.make.in (NM): New variable.
11766 2012-10-21  Andreas Jaeger  <aj@suse.de>
11768         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11769         definitions and declarations that are provided by
11770         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11772 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11774         [BZ #14683]
11775         * elf/Makefile (tests-static): Add tst-leaks1-static.
11776         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11777         ($(objpfx)tst-leaks1-static): New rule.
11778         ($(objpfx)tst-leaks1-static-mem): Likewise.
11779         (tst-leaks1-static-ENV): New macro.
11780         * elf/dl-open.c (dl_open_worker): Check the main application
11781         only if SHARED is defined.
11782         * elf/tst-leaks1-static.c: New file.
11784 2012-10-20  Andreas Jaeger  <aj@suse.de>
11786         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11787         generic values for Linux.
11788         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11789         and declarations that are provided by <bits/fcntl-linux.h> and
11790         include <bits/fcntl-linux.h>.
11791         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11794 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11796         * io/fcntl.h: Move include of <bits/types.h> to the top and
11797         include it unconditionally.
11799 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11801         * wcsmbs/Makefile (tests-ifunc): New variable.
11802         (tests): Add $(tests-ifunc).
11803         * wcsmbs/test-wcschr-ifunc.c: New file.
11804         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11805         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11806         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11807         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11808         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11810         * string/Makefile (tests-ifunc): New variable.
11811         (tests): Add $(tests-ifunc).
11812         * string/test-memccpy.c (TEST_NAME): New macro.
11813         * string/test-memchr.c (TEST_NAME): Likewise.
11814         * string/test-memcmp.c (TEST_NAME): Likewise.
11815         * string/test-memcpy.c (TEST_NAME): Likewise.
11816         * string/test-memmem.c (TEST_NAME): Likewise.
11817         * string/test-memmove.c (TEST_NAME): Likewise.
11818         * string/test-memset.c (TEST_NAME): Likewise.
11819         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11820         * string/test-stpcpy.c (TEST_NAME): Likewise.
11821         * string/test-stpncpy.c (TEST_NAME): Likewise.
11822         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11823         * string/test-strcasestr.c (TEST_NAME): Likewise.
11824         * string/test-strcat.c (TEST_NAME): Likewise.
11825         * string/test-strchr.c (TEST_NAME): Likewise.
11826         * string/test-strcmp.c(TEST_NAME): Likewise.
11827         * string/test-strcpy.c (TEST_NAME): Likewise.
11828         * string/test-strcspn.c (TEST_NAME): Likewise.
11829         * string/test-strlen.c (TEST_NAME): Likewise.
11830         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11831         * string/test-strncmp.c (TEST_NAME): Likewise.
11832         * string/test-strncpy.c (TEST_NAME): Likewise.
11833         * string/test-strnlen.c (TEST_NAME): Likewise.
11834         * string/test-strpbrk.c (TEST_NAME): Likewise.
11835         * string/test-strrchr.c (TEST_NAME): Likewise.
11836         * string/test-strspn.c (TEST_NAME): Likewise.
11837         * string/test-strstr.c (TEST_NAME): Likewise.
11838         * string/test-bcopy-ifunc.c: New file.
11839         * string/test-bzero-ifunc.c: Likewise.
11840         * string/test-memccpy-ifunc.c: Likewise.
11841         * string/test-memchr-ifunc.c: Likewise.
11842         * string/test-memcmp-ifunc.c: Likewise.
11843         * string/test-memcpy-ifunc.c: Likewise.
11844         * string/test-memmem-ifunc.c: Likewise.
11845         * string/test-memmove-ifunc.c: Likewise.
11846         * string/test-mempcpy-ifunc.c: Likewise.
11847         * string/test-memset-ifunc.c: Likewise.
11848         * string/test-rawmemchr-ifunc.c: Likewise.
11849         * string/test-stpcpy-ifunc.c: Likewise.
11850         * string/test-stpncpy-ifunc.c: Likewise.
11851         * string/test-strcasecmp-ifunc.c: Likewise.
11852         * string/test-strcasestr-ifunc.c: Likewise.
11853         * string/test-strcat-ifunc.c: Likewise.
11854         * string/test-strchr-ifunc.c: Likewise.
11855         * string/test-strchrnul-ifunc.c: Likewise.
11856         * string/test-strcmp-ifunc.c: Likewise.
11857         * string/test-strcpy-ifunc.c: Likewise.
11858         * string/test-strcspn-ifunc.c: Likewise.
11859         * string/test-strlen-ifunc.c: Likewise.
11860         * string/test-strncasecmp-ifunc.c: Likewise.
11861         * string/test-strncat-ifunc.c: Likewise.
11862         * string/test-strncmp-ifunc.c: Likewise.
11863         * string/test-strncpy-ifunc.c: Likewise.
11864         * string/test-strnlen-ifunc.c: Likewise.
11865         * string/test-strpbrk-ifunc.c: Likewise.
11866         * string/test-strrchr-ifunc.c: Likewise.
11867         * string/test-strspn-ifunc.c: Likewise.
11868         * string/test-strstr-ifunc.c: Likewise.
11870         * debug/Makefile (tests-ifunc): New variable.
11871         (tests): Add $(tests-ifunc).
11872         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11873         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11874         * debug/test-stpcpy_chk-ifunc.c: New file.
11875         * debug/test-strcpy_chk-ifunc.c: Likewise.
11877 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11879         [BZ #13601]
11880         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11881         header is not read in.
11883 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11885         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11886         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11887         directly.  Pass built executable to script as
11888         $(built-program-cmd).
11889         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11890         $testprogram without using LD_LIBRARY_PATH and $ldso.
11892         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11893         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11894         $(rtld-installed-name).
11895         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11896         (rtld_installed_name): Likewise.
11897         (library_path): Likewise.
11898         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11899         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11900         $(run-program-prefix) to tst-tables.sh.
11901         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11902         it to run tst-table-from and tst-table-to.
11903         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11904         Pass it to tst-table.sh.
11905         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11906         $(run-program-prefix) to tst-gettext.sh.
11907         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11908         tst-translit.sh.
11909         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11910         tst-gettext2.sh.
11911         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11912         to run tst-gettext.
11913         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11914         to run tst-gettext2.
11915         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11916         to run tst-translit.
11917         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11918         $(run-program-prefix) to tst-mtrace.sh.
11919         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11920         to run tst-mtrace.
11921         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11922         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11923         $(rtld-installed-name).
11924         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11925         (rtld_installed_name): Likewise.
11926         (run_program_prefix): New variable.  Use it to run wordexp-test.
11928         * Makeconfig (ARCH): Remove all definitions.
11929         (machine): Likewise.
11930         [ARCH]: Remove conditional code.
11931         [!objdir]: Give error.
11932         [!objdir] (objpfx): Remove.
11933         [!objdir] (common-objpfx): Likewise.
11934         [!objdir] (common-objdir): Likewise.
11935         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11936         AC_CONFIG_FILES call.
11937         * configure: Regenerated.
11939         [BZ #13888]
11940         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11941         or TMPDIR.
11942         (testout): Likewise.
11944         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11945         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11946         $(rtld-installed-name).
11947         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11948         (rtld_installed_name): Likwise.
11949         (runit): Remove function.
11950         (run_getconf): New variable,  Use it for running getconf binary.
11952 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11954         [BZ #14716]
11955         * string/test-memmem.c (check_result): New function.
11956         (do_one_test): Use it.
11957         (check1): New function.
11958         (test_main): Use it.
11960 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11962         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11964 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11966         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11967         (_G_LSEEK64): Likewise.
11968         (_G_MMAP64): Likewise.
11969         (_G_FSTAT64): Likewise.
11970         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11971         (_G_LSEEK64): Likewise.
11972         (_G_MMAP64): Likewise.
11973         (_G_FSTAT64): Likewise.
11974         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11975         unconditional.  Call __mmap64 directly.
11976         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11977         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11978         __lseek64 directly.
11979         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11980         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11981         __mmap64 directly.
11982         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11983         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11984         __lseek64 directly.
11985         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11986         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11987         __lseek64 directly.
11988         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11989         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11990         __lseek64 directly.
11991         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11992         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11993         __fxstat64 directly.
11994         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11995         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11996         unconditional.
11997         (freopen64) [!_G_OPEN64]: Remove conditional code.
11998         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11999         unconditional.
12000         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12001         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12002         unconditional.
12003         (ftello64) [!_G_LSEEK64]: Remove conditional code.
12004         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12005         unconditional.
12006         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12007         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12008         unconditional.
12009         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12010         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12011         unconditional.
12012         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12013         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12014         unconditional.
12015         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12016         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12017         unconditional.
12018         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12020 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12022         [BZ #12140]
12023         * manual/memory.texi (Malloc Tunable Parameters): Add note
12024         about free list pointers overwriting some perturb bytes.
12025         Wording suggested by Roland McGrath.
12027 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
12029         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12030         (lgamma_test): Likewise.
12031         (tgamma_test): Likewise.
12033 2012-10-16  Florian Weimer  <fweimer@redhat.com>
12035         [BZ #14700]
12036         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12037         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12039 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
12041         * NEWS: Mention BZ #14716.
12042         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12043         when removing AVAILABLE1_USES_J macro.
12045 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12047         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12048         (__bswap_64): __uint64_t for unsigned 64-bit int.
12050 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
12052         * include/string.h (memmem): Declare libc hidden alias.
12053         * string/memmem.c (memmem): Define libc hidden alias.
12054         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12055         __read, __close instead of open, read, close.
12057 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
12059         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12060         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12061         global and hidden.
12062         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12063         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12064         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12065         Likewise.
12066         (__rawmemchr_sse2): Likewise.
12067         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12068         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12069         (__strchr_sse2): Likewise.
12070         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12071         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12072         (__strcasecmp_sse2): Likewise.
12073         (__strncasecmp_sse2): Likewise.
12074         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12075         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12076         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12077         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12078         (__strrchr_sse2): Likewise.
12079         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12080         ifunc-impl-list.c.
12081         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12082         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12083         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12084         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12085         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12086         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12087         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12088         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12089         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12090         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12091         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12092         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12093         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12094         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12095         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12096         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12097         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12098         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12099         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12100         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12101         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12102         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12103         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12104         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12105         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12106         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12107         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12108         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12109         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12110         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12112         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12113         global and hidden.
12114         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12115         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12116         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12117         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12118         Likewise.
12119         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12120         Likewise.
12121         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12122         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12123         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12124         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12125         ifunc-impl-list.c.
12126         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12127         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12128         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12129         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12130         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12131         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12132         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12133         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12134         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12135         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12136         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12137         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12138         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12139         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12140         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12141         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12142         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12143         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12144         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12145         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12146         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12147         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12148         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12149         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12150         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12151         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12152         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12153         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12154         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12155         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12156         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12157         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12158         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12159         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12160         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12161         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12162         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12163         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12164         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12165         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12166         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12168         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12169         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12170         * include/ifunc-impl-list.h: New file.
12171         * misc/ifunc-impl-list.c: Likewise.
12172         * misc/Makefile (routines): Add ifunc-impl-list.
12173         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12174         * string/test-string.h: Include <ifunc-impl-list.h>.
12175         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12176         impl_array): New variables.
12177         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12178         are defined.
12179         (test_init): Call __libc_ifunc_impl_list to initialize
12180         func_list if TEST_IFUNC and TEST_NAME are defined.
12182         * string/Makefile (strop-tests): Add bcopy and bzero.
12183         * string/test-bcopy.c: New file.
12184         * string/test-bzero.c: Likewise.
12185         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12186         defined.
12187         * string/test-memset.c: Support bzero test if TEST_BZERO is
12188         defined.
12189         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12190         __libc_memmove.
12191         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12192         __libc_memset.
12193         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12194         of memset.
12196 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
12198         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12199         * configure: Regenerated.
12201         * Makeconfig (+link-static-before-libc): Don't include
12202         $(link-static-libc).
12204         * libio/libio.h (_IO_pos_t): Remove.
12206 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12208         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
12209         McGrath.
12211 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12213         * crypt/crypt-entry.c: Include fips-private.h.
12214         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12215         * crypt/md5c-test.c (main): Tolerate disabled MD5.
12216         * sysdeps/unix/sysv/linux/fips-private.h: New file.
12217         * sysdeps/generic/fips-private.h: New file, dummy fallback.
12219 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12221         * crypt/crypt-private.h: Include stdbool.h.
12222         (_ufc_setup_salt_r): Return bool.
12223         * crypt/crypt-entry.c: Include errno.h.
12224         (__crypt_r): Return NULL with EINVAL for bad salt.
12225         * crypt/crypt_util.c (bad_for_salt): New.
12226         (_ufc_setup_salt_r): Check that salt is long enough and within
12227         the specified alphabet.
12228         * crypt/badsalttest.c: New file.
12229         * crypt/Makefile (tests): Add it.
12230         ($(objpfx)badsalttest): New.
12232 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
12234         * NEWS: Add entry for BZ #14602.
12236 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12238         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12239         type-generic.
12240         * math/libm-test.inc: Update comment listing what functions and
12241         macros are tested.
12242         (isgreater_test): New function.
12243         (isgreaterequal_test): Likewise.
12244         (isless_test): Likewise.
12245         (islessequal_test): Likewise.
12246         (islessgreater_test): Likewise.
12247         (isunordered_test): Likewise.
12248         (main): Call the new functions.
12250 2012-10-09  Roland McGrath  <roland@hack.frob.com>
12252         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12253         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12254         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12255         * sysdeps/i386/configure: Regenerated.
12256         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12257         * sysdeps/mach/configure: Regenerated.
12258         * sysdeps/mach/hurd/configure: Regenerated.
12259         * sysdeps/powerpc/configure: Regenerated.
12260         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12261         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12262         * sysdeps/s390/s390-32/configure: Regenerated.
12263         * sysdeps/s390/s390-64/configure: Regenerated.
12264         * sysdeps/sh/configure: Regenerated.
12265         * sysdeps/sparc/configure: Regenerated.
12266         * sysdeps/unix/sysv/linux/configure: Regenerated.
12267         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12268         * sysdeps/x86_64/configure: Regenerated.
12270         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12271         defined.  Don't check if MAP is NULL.
12273 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12275         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12276         (_G_stat64): Likewise.
12277         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12278         (_G_stat64): Likewise.
12279         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12280         instead of struct _G_stat64.
12281         * libio/fileops.c (mmap_remap_check): Likewise.
12282         (decide_maybe_mmap): Likewise.
12283         (_IO_new_file_seekoff): Likewise.
12284         (_IO_file_stat): Likewise.
12285         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12286         _G_off64_t.
12287         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12288         instead of struct _G_stat64.
12289         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12291 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
12293         [BZ #14602]
12294         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12295         Replace with ...
12296         (CHECK_EOL): New macro.
12297         (two_way_short_needle): Check beginning of haystack for EOL.  Use
12298         CHECK_EOL.
12299         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12300         Replace with CHECK_EOL.
12301         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12302         Replace with CHECK_EOL.
12304 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
12306         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12307         type-generic.
12308         * math/libm-test.inc: Update comment listing what functions and
12309         macros are tested.
12310         (finite_test): New function.
12311         (isinf_test): Likewise.
12312         (isnan_test): Likewise.
12313         (fpclassify_test): Test subnormal input.
12314         (isfinite_test): Likewise.
12315         (isnormal_test): Likewise.
12316         (main): Call the new functions.
12318 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
12320         [BZ #14660]
12321         * Makerules (%.dynsym): Force C locale when running
12322         $(OBJDUMP) --dynamic-syms.
12324 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
12326         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12327         <stdint.h>.
12329 2012-10-06  David S. Miller  <davem@davemloft.net>
12331         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12332         upper 32-bits of the length value in %o2 since we use branch-on-register
12333         tests which consider the entire 64-bit register.
12335 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
12337         * string/test-strstr.c (check2): Add a test for page boundary.
12339 2012-10-05  David S. Miller  <davem@davemloft.net>
12341         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12342         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12343         file.
12344         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12345         sysdep_routines.
12346         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12347         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12348         and bzero when HWCAP_SPARC_CRYPTO is present.
12350 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
12352         [BZ #14602]
12353         * string/test-strstr.c (check2): New function.
12354         (test_main): Call check2.
12356         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12357         and bug-strchr1.
12358         * string/bug-strcasestr1.c (do_test): Moved to ...
12359         * string/test-strcasestr.c (check1): Here.  New function.
12360         (do_one_test): Break out result checking code into ...
12361         (check_result): This.  New function.
12362         (do_one_test): Call check_result.
12363         (test_main): Call check1.
12364         * string/bug-strchr1.c (do_test): Moved to ...
12365         * string/test-strchr.c (check1): Here.  New function.
12366         (do_one_test): Break out result checking code into ...
12367         (check_result): This.  New function.
12368         (do_one_test): Call check_result.
12369         (test_main): Call check1.
12370         * string/bug-strstr1.c (main): Moved to ...
12371         * string/test-strstr.c (check1): Here.  New function.
12372         (do_one_test): Break out result checking code into ...
12373         (check_result): This.  New function.
12374         (do_one_test): Call check_result.
12375         (test_main): Call check1.
12376         * string/bug-strcasestr1.c: Removed.
12377         * string/bug-strchr1.c: Likewise.
12378         * string/bug-strstr1.c: Likewise.
12380         * elf/Makefile (dl-routines): Add hwcaps.
12381         * elf/dl-support.c (_dl_important_hwcaps): Removed.
12382         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12383         (_dl_important_hwcaps): Moved to ...
12384         * elf/dl-hwcaps.c: Here.  New file.
12385         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12387         [BZ #14557]
12388         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12389         if IS_IN_rtld isn't defined.
12391         * elf/dl-support.c (_dl_sysinfo_map): New.
12392         Include "get-dynamic-info.h" and "setup-vdso.h".
12393         (_dl_non_dynamic_init): Call setup_vdso.
12394         * elf/dynamic-link.h: Don't include <assert.h>.
12395         (elf_get_dynamic_info): Moved to ...
12396         * elf/get-dynamic-info.h: Here.  New file.
12397         * elf/dynamic-link.h: Include "get-dynamic-info.h".
12398         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12399         * elf/setup-vdso.h: Here.  New file.
12400         * elf/rtld.c: Include "setup-vdso.h".
12401         (dl_main): Call setup_vdso.
12403 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
12405         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12406         creal in comment listing functions tested.  List finite, isinf,
12407         isnan, isless, islessequal, isgreater, isgreaterequal,
12408         islessgreater, isunordered, lgamma_r and pow10 as functions and
12409         macros not tested.  Mention which functions not tested are aliases
12410         for other functions.  Fix typo.  Note that signs of NaNs are not
12411         tested.
12413         * scripts/config.guess: Update from config.git.
12414         * scripts/config.sub: Likewise.
12416 2012-10-04  Roland McGrath  <roland@hack.frob.com>
12418         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12419         * misc/madvise.c (madvise): Renamed to __madvise.
12420         Make madvise a weak alias.
12421         * include/sys/mman.h: Declare __madvise.
12422         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12423         * sysdeps/unix/syscalls.list
12424         (madvise): Make __madvise the strong name, and madvise a weak alias.
12425         * sysdeps/unix/sysv/linux/syscalls.list
12426         (madvise, mmap): Remove redundant entries.
12427         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12428         * malloc/malloc.c (mtrim): Likewise.
12429         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12431 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12433         * sysdeps/mach/hurd/dl-cache.c: File removed.
12434         * config.h.in (USE_LDCONFIG): New #undef.
12435         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12436         * configure: Regenerated.
12437         * elf/Makefile (dl-routines): Add dl-cache only under
12438         [$(use-ldconfig) = yes].
12439         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12440         cache on [USE_LDCONFIG].
12441         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12442         [USE_LDCONFIG].
12443         * elf/rtld.c (dl_main): Likewise.
12445 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
12447         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12448         _SC_LEVEL4_CACHE_LINESIZE.
12450 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12452         * sysdeps/unix/bsd/confstr.h: File removed.
12454 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
12456         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12457         sys/sdt-config.h.
12459 2012-10-02  Roland McGrath  <roland@hack.frob.com>
12461         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12462         Make 'mapoff' field ElfW(Off) rather than off_t.
12464 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
12466         * nscd/Makefile: Remove nscd-cflags and all its users.
12467         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12468         (CFLAGS-nonlib): Add compiler flags for nscd modules.
12470         [BZ #10631]
12471         * malloc.c (malloc_printerr): Clarify error message.
12473 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12475         [BZ #14648]
12476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12477         Set bit_FMA_Usable if FMA is supported.
12478         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12479         macro.
12480         (bit_FMA4_Usable): Updated.
12481         (index_FMA_Usable): New macro.
12482         (CPUID_FMA): Likewise
12483         (HAS_FMA): Defined with bit_FMA_Usable.
12485 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12487         * bits/types.h (__swblk_t): Type removed.
12488         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12489         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12490         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12491         (__SWBLK_T_TYPE): Likewise.
12492         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12493         (__SWBLK_T_TYPE): Likewise.
12494         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12495         (__SWBLK_T_TYPE): Likewise.
12496         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12497         (__SWBLK_T_TYPE): Likewise.
12499 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12500             Honza Horak <hhorak@redhat.com>
12502         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12503         (xdr_mapname): Use YPMAXMAP as maxsize.
12504         (xdr_peername): Use YPMAXPEER as maxsize.
12505         (xdr_keydat): Use YPAXRECORD as maxsize.
12506         (xdr_valdat): Use YPMAXRECORD as maxsize.
12508 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12510         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12512         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12513         * csu/init-first.c: ... here.
12514         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12515         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12516         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12517         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12518         * sysdeps/i386/init-first.c: File removed.
12519         * sysdeps/sh/init-first.c: File removed.
12521 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12523         [BZ #14645]
12524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12525         if x * y might underflow to zero and z is zero.
12526         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12527         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12528         * math/libm-test.inc (min_subnorm_value): New variable.
12529         (fma_test): Add more tests.
12530         (fma_test_towardzero): Likewise.
12531         (fma_test_downward): Likewise
12532         (fma_test_upward): Likewise.
12533         (initialize): Set min_subnorm_value.
12535 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12537         [BZ #14638]
12538         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12539         0 + 0.
12540         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12541         mode for addition resulting in exact zero.
12542         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12543         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12544         exact 0 + 0.
12545         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12547         * math/libm-test.inc (fma_test): Add more tests.
12548         (fma_test_towardzero): New function.
12549         (fma_test_downward): Likewise.
12550         (fma_test_upward): Likewise.
12551         (main): Call the new functions.
12553 2012-09-28  David S. Miller  <davem@davemloft.net>
12555         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12557 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12559         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12560         instead of SIGALRM.
12562         * sysdeps/gnu/_G_config.h: Moved to ...
12563         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12564         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12565         * sysdeps/generic/_G_config.h: ... here.
12567         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12569         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12571         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12572         Conditionalize target on [libnss_test1.so-version].
12574         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12576         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12577         (elfobjdir): Move out of conditionals.
12579         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12580         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12581         (__nss_lookup_function): Conditionalize label remove_from_tree on
12582         [!DO_STATIC_NSS || SHARED], matching its only use.
12584 2012-09-28  David S. Miller  <davem@davemloft.net>
12586         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12587         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12588         file.
12589         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12590         sysdep_routines.
12591         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12592         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12593         when HWCAP_SPARC_CRYPTO is present.
12595 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12597         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12599 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12601         [BZ #6530]
12602         * stdio-common/vfprintf.c (process_string_arg): Revert
12603         2000-07-22 change.
12605 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12607         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12608         for testcase.
12609         * stdio-common/tst-sprintf.c: Include <locale.h>
12610         (main): Test sprintf's handling of incomplete multibyte
12611         characters.
12613 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12615         * elf/dl-runtime.c (VERSYMIDX): Removed.
12616         * elf/dl-version.c (VERSYMIDX): Likewise.
12617         * elf/do-rel.h (VERSYMIDX): Likewise.
12618         (VALIDX): Likewise.
12619         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12620         * elf/rtld.c (VALIDX): Likewise.
12621         (ADDRIDX): Likewise.
12622         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12623         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12624         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12625         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12626         (VALIDX): Likewise.
12627         (ADDRIDX): Likewise.
12629 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12631         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12633 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12635         [BZ #11438]
12636         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12637         to global scope.
12638         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12639         addresses are in the same scope as 192.0.2/24.
12640         * posix/gai.conf: Document new scope table defaults.
12642 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12644         [BZ #5298]
12645         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12646         for ftell.  Compute offsets from write pointers instead.
12647         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12649 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12651         [BZ #14543]
12652         * libio/Makefile (tests): New test case tst-fseek.
12653         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12654         combination works in wide mode.
12655         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12656         state when the external buffer state changes.
12658 2012-09-27  David S. Miller  <davem@davemloft.net>
12660         [BZ #14376]
12661         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12662         pass reloc->r_addend in as the 'high' argument to
12663         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12667 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12669         * rt/tst-aio2.c: Include <pthread.h>.
12670         * rt/tst-aio3.c: Likewise.
12672 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12674         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12676 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12678         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12679         contents on [SHARED].
12681 2012-09-26  Marek Polacek  <polacek@redhat.com>
12683         [BZ #14530]
12684         [BZ #13741]
12685         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12686         for C++ and GCC <4.3 as well as for non GCC compilers.
12688 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12692 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12694         * Makefile.in (all, install): Declare with .PHONY.
12695         Reported by Michael Hope <michael.hope@linaro.org>.
12697 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12699         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12700         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12701         system header.
12702         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12703         Likewise.
12704         (sydep_routines): Add the new and the internal functions.
12705         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12706         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12708         (GLIBC_2.17): Add the new function.
12709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12710         (GLIBC_2.17): Likewise.
12711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12712         (GLIBC_2.17): Likewise.
12713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12714         (GLIBC_2.17): Likewise.
12715         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12717 2012-09-25  Alan Modra  <amodra@gmail.com>
12719         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12720         Add release barrier before setting once_control to say
12721         initialisation is done.  Add hints on lwarx.  Use macro in
12722         place of isync.
12723         (clear_once_control): Add release barrier.
12725 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12727         [BZ #13629]
12728         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12729         specially.
12730         * math/s_clog10.c (__clog10): Likewise.
12731         * math/s_clog10f.c (__clog10f): Likewise.
12732         * math/s_clog10l.c (__clog10l): Likewise.
12733         * math/s_clogf.c (__clogf): Likewise.
12734         * math/s_clogl.c (__clogl): Likewise.
12735         * math/Makefile (libm-calls): Add x2y2m1.
12736         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12737         (__x2y2m1): Likewise.
12738         (__x2y2m1l): Likewise.
12739         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12740         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12741         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12742         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12743         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12744         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12745         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12746         * sysdeps/i386/fpu/libm-test-ulps: Update.
12747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12749         [BZ #14621]
12750         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12751         int as type of variable DEPTH.
12752         (glob): Use size_t instead of int as type of variables NEWCOUNT
12753         and OLD_PATHC.
12755 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12757         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12758         Add s_sincosf-sse2.
12759         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12760         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12761         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12762         macros for using routine as __sincosf_ia32.
12763         Use macro for function declaration and weak_alias.
12764         * sysdeps/i386/fpu/libm-test-ulps: Update.
12766         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12769         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12770         subnormal argument.
12771         * math/s_cexpf.c (__cexpf): Likewise.
12772         * math/s_csinf.c (__csinf): Likewise.
12773         * math/s_csinhf.c (__csinhf): Likewise.
12774         * math/s_ctanf.c (__ctanf): Likewise.
12775         * math/s_ctanhf.c (__ctanhf): Likewise.
12776         * math/s_ccosh.c (__ccoshf): Likewise.
12777         * math/s_cexp.c (__cexpl): Likewise.
12778         * math/s_csin.c (__csin): Likewise.
12779         * math/s_csinh.c (__csinh): Likewise.
12780         * math/s_ctan.c (__ctan): Likewise.
12781         * math/s_ctanh.c (ctanh): Likewise.
12782         * math/s_ccoshl.c (__ccoshl): Likewise.
12783         * math/s_cexpl.c (__cexpl): Likewise.
12784         * math/s_csinl.c (__csinl): Likewise.
12785         * math/s_csinhl.c (__csinhl): Likewise.
12786         * math/s_ctanl.c (__ctanl): Likewise.
12787         * math/s_ctanhl.c (__ctanhl): Likewise.
12789 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12791         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12792         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12793         (_IO_off_t): Define to __off_t, not _G_off_t.
12794         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12795         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12796         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12797         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12798         type of __dummy and __dummy2 fields.
12799         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12800         (_G_ssize_t): Likewise.
12801         (_G_off_t): Likewise.
12802         (_G_pid_t): Likewise.
12803         (_G_uid_t): Likewise.
12804         (_G_wchar_t): Likewise.
12805         (_G_wint_t): Likewise.
12806         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12807         (_G_ssize_t): Likewise.
12808         (_G_off_t): Likewise.
12809         (_G_pid_t): Likewise.
12810         (_G_uid_t): Likewise.
12811         (_G_wchar_t): Likewise.
12812         (_G_wint_t): Likewise.
12813         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12814         (_G_ssize_t): Likewise.
12815         (_G_off_t): Likewise.
12816         (_G_pid_t): Likewise.
12817         (_G_uid_t): Likewise.
12818         (_G_wchar_t): Likewise.
12819         (_G_wint_t): Likewise.
12821 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12823         * malloc/arena.c: Include malloc-sysdep.h.
12824         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12825         is sufficient to shrink the heap or an unmap is needed.
12826         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12827         new function check_may_shrink_heap.
12828         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12829         new function check_may_shrink_heap.
12831 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12833         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12834         comments.
12836 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12838         * catgets/test-gencat.sh: Add "set -e".
12839         * elf/tst-pathopt.sh: Likewise.
12840         * grp/tst_fgetgrent.sh: Likewise.
12841         * iconvdata/run-iconv-test.sh: Likewise.
12842         * intl/tst-gettext.sh: Likewise.
12843         * intl/tst-gettext2.sh: Likewise.
12844         * intl/tst-gettext4.sh: Likewise.
12845         * intl/tst-gettext6.sh: Likewise.
12846         * intl/tst-translit.sh: Likewise.
12847         * io/ftwtest-sh: Likewise.
12848         * libio/test-freopen.sh: Likewise.
12849         * malloc/tst-mtrace.sh: Likewise.
12850         * posix/globtest.sh: Likewise.
12851         * posix/tst-getconf.sh: Likewise.
12852         * posix/wordexp-tst.sh: Likewise.
12853         * stdio-common/tst-printf.sh: Likewise.
12854         * stdio-common/tst-unbputc.sh: Likewise.
12855         * stdlib/tst-fmtmsg.sh: Likewise.
12856         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12857         * catgets/Makefile: Do not specify -e option when running
12858         testsuite shell scripts.
12859         * elf/Makefile: Likewise.
12860         * grp/Makefile: Likewise.
12861         * iconvdata/Makefile: Likewise.
12862         * intl/Makefile: Likewise.
12863         * io/Makefile: Likewise.
12864         * libio/Makefile: Likewise.
12865         * malloc/Makefile: Likewise.
12866         * posix/Makefile: Likewise.
12867         * stdio-common/Makefile: Likewise.
12868         * stdlib/Makefile: Likewise.
12869         * sysdeps/x86_64/Makefile: Likewise.
12871         * io/ftwtest-sh: Add copyright header.
12872         * posix/globtest.sh: Likewise.
12873         * posix/tst-getconf.sh: Likewise.
12874         * posix/wordexp-tst.sh: Likewise.
12875         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12877 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12879         [BZ #13679]
12880         * Makeconfig (+link): Defined as $(+link-static) if
12881         $(build-shared) isn't yes.
12882         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12883         isn't yes.
12884         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12886         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12888         [BZ #14562]
12889         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12890         new chunk size with MALLOC_ALIGN_MASK.
12892 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12894         [BZ #5044]
12895         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12896         <rounding-mode.h>.
12897         (__printf_fphex): Determine rounding using get_rounding_mode and
12898         round_away.
12899         * stdio-common/tst-printf-round.c (struct hex_test): New
12900         structure.
12901         (hex_tests): New variable.
12902         (test_hex_in_one_mode): New function.
12903         (do_test): Also run tests for hex float output.
12905 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12907         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12908         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12909         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12910         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12911         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12912         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12913         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12914         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12916 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12918         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12919         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12920         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12921         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12923 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12925         [BZ #14579]
12926         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12927         mode only.
12928         * elf/tst-rtld-load-self.sh: New test.
12929         * elf/Makefile: Run it.
12931 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12933         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12934         (tst-writev-ENV): Remove.
12935         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12937 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12939         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12941 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12943         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12944         unconditional.
12945         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12946         Likewise.
12947         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12948         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12949         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12950         Likewise.
12952 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12954         [BZ #14587]
12955         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12956         * config.make.in (have-cpp-asm-debuginfo): Removed.
12957         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12958         * configure: Regenerated.
12960 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12962         [BZ #5044]
12963         * stdio-common/printf_fp.c: Include <stdbool.h> and
12964         <rounding-mode.h>.
12965         (___printf_fp): Determine rounding using get_rounding_mode and
12966         round_away.
12967         * stdio-common/tst-printf-round.c: New file.
12968         * stdio-common/Makefile (tests): Add tst-printf-round.
12969         (link-libm): New variable.
12970         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12972 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12974         [BZ #14576]
12975         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12976         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12977         Likewise.
12978         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12979         Likewise.
12981 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12983         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12984         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12985         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12986         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12988 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12990         [BZ #14518]
12991         * include/rounding-mode.h: New file.
12992         * sysdeps/generic/get-rounding-mode.h: Likewise.
12993         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12994         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12995         (MAX_VALUE): New macro.
12996         (MIN_VALUE): Likewise.
12997         (overflow_value): New function.
12998         (underflow_value): Likewise.
12999         (round_and_return): Use overflow_value and underflow_value to
13000         determine return values in overflow and underflow cases.  Use
13001         round_away to determine rounding depending on rounding mode.
13002         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13003         determine return values in overflow and underflow cases.
13004         * stdlib/tst-strtod-round.c: Include <fenv.h>.
13005         (struct test_results): New structure.
13006         (struct test): Use struct test_results to store expected results
13007         for all rounding modes.
13008         (TEST): Include expected results for all rounding modes.
13009         (test_in_one_mode): New function.
13010         (do_test): Use test_in_one_mode to compute and check results.
13011         Check results for all rounding modes.
13012         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13013         $(link-libm).
13015 2012-12-09  Allan McRae  <allan@archlinux.org>
13017         * sysdeps/i386/fpu/libm-test-ulps: Update
13019 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
13021         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13022         (_G_int32_t): Likewise.
13023         (_G_uint16_t): Likewise.
13024         (_G_uint32_t): Likewise.
13025         (_G_HAVE_BOOL): Likewise.
13026         (_G_HAVE_ATEXIT): Likewise.
13027         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13028         (_G_HAVE_IO_FILE_OPEN): Likewise.
13029         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13030         (_G_int32_t): Likewise.
13031         (_G_uint16_t): Likewise.
13032         (_G_uint32_t): Likewise.
13033         (_G_HAVE_BOOL): Likewise.
13034         (_G_HAVE_ATEXIT): Likewise.
13035         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13036         (_G_HAVE_IO_FILE_OPEN): Likewise.
13037         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13038         (_G_int32_t): Likewise.
13039         (_G_uint16_t): Likewise.
13040         (_G_uint32_t): Likewise.
13041         (_G_HAVE_BOOL): Likewise.
13042         (_G_HAVE_ATEXIT): Likewise.
13043         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13044         (_G_HAVE_IO_FILE_OPEN): Likewise.
13046 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
13048         * csu/libc-tls.c: Update copyright years.
13050 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
13052         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13053         [!_G_USING_THUNKS]: Remove conditional code.
13054         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13055         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13057         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13058         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13059         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13060         (_G_VTABLE_LABEL_PREFIX): Likewise.
13061         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13062         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13063         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13064         (_G_VTABLE_LABEL_PREFIX): Likewise.
13065         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13066         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13067         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13068         (_G_VTABLE_LABEL_PREFIX): Likewise.
13069         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13071 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
13073         * libio/Makefile: Include ../Makeconfig before tests.
13074         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13075         only if $(build-shared) is yes.
13077         * iconv/gconv_db.c: Update copyright years.
13079 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13081         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13082         unwind info if defined PIC. Fix special cases description.
13083         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13085         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13086         DP_HI_MASK entry.
13087         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13089 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
13091         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13093         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13094         is NULL.
13096         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13097         (LDLIBS-tst-chk4): This.
13098         (LDFLAGS-tst-chk5): Renamed to ...
13099         (LDLIBS-tst-chk5): This.
13100         (LDFLAGS-tst-chk6): Renamed to ...
13101         (LDLIBS-tst-chk6): This.
13102         (LDFLAGS-tst-lfschk4): Renamed to ...
13103         (LDLIBS-tst-lfschk4): This.
13104         (LDFLAGS-tst-lfschk5): Renamed to ...
13105         (LDLIBS-tst-lfschk5): This.
13106         (LDFLAGS-tst-lfschk6): Renamed to ...
13107         (LDLIBS-tst-lfschk6): This.
13109         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13110         on $(common-objpfx)soversions.mk.
13112 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
13114         [BZ #10014]
13115         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13116         example host name.
13118 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13120         * malloc/arena.c (arena_get_retry): New function that gets
13121         another arena for the caller to try its request on.
13122         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13123         current arena cannot fulfill the request.
13124         (__libc_memalign): Likewise.
13125         (__libc_memalign): Likewise.
13126         (__libc_pvalloc): Likewise.
13127         (__libc_calloc): Likewise.
13129 2012-09-05  John Tobey  <john.tobey@gmail.com>
13131         [BZ #13542]
13132         * manual/arith.texi (Operations on Complex): Fix description
13133         of carg branch cut.
13135 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
13137         [BZ #10014]
13138         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13139         host name.
13141         [BZ #10038]
13142         * manual/memory.texi (Memory): Make order of menu items match
13143         order of sections.
13145 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13147         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13148         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
13149         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13151 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13153         * csu/libc-tls.c (static_dtv): Renamed to ...
13154         (_dl_static_dtv): This.  Make it global.
13155         (_dl_initial_dtv): Removed.
13156         (__libc_setup_tls): Updated.
13157         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13158         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13159         DL_INITIAL_DTV.
13161 2012-09-06  Petr Machata  <pmachata@redhat.com>
13163         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13164         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13165         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13166         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13168 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13170         [BZ #14545]
13171         * csu/libc-tls.c (_dl_initial_dtv): New variable.
13172         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13173         freeing dtv[-1].
13175 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13177         [BZ #14544]
13178         * Makeconfig (link-static-before-libc): Replace $(+prector)
13179         with $(+prectorT).
13180         (link-static-after-libc): Replace $(+postctor) with
13181         $(+postctorT).
13182         (link-bounded): Replace $(+prector)/$(+postctor) with
13183         $(+prectorT)/$(+postctorT).
13184         (+prectorT): New macro.
13185         (+postctorT): Likewise.
13187 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
13189         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13190         (round_str): Handle values above the maximum for IBM long double
13191         as inexact.
13192         * stdlib/tst-strtod-round.c (tests): Regenerated.
13194 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13196         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13197         assembler flag.
13198         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13199         zarch_nohighgprs around the zarch optimized routines.
13200         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13201         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13202         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13203         for zarch.
13205 2012-09-05  David S. Miller  <davem@davemloft.net>
13207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13209         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13210         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13211         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13212         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13213         entries.
13215 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13217         * malloc/arena.c: Fold copyright years.
13218         * malloc/mcheck.c, malloc/memusage.c: Likewise.
13220 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13222         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13224 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13226         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
13228 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13230         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13231         change internal state upon failure.
13233 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13235         * malloc/mcheck.c (mcheck_check_all): Fix typo.
13236         * malloc/memusage.c (mmap): Likewise.
13237         (mmap64, mremap): Likewise.  Adjust name in comment.
13239 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13241         * libio/fileops.c: Fix typos in comments.
13242         * libio/oldfileops.c: Likewise.
13243         * libio/wfileops.c: Likewise.
13245 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13247         [BZ #1349]
13248         * malloc/Makefile (tests): Add tst-malloc-usable test case.
13249         (tst-malloc-usable-ENV): Set environment for test case.
13250         * malloc/hooks.c (malloc_check_get_size): New function to get
13251         requested size.
13252         * malloc/malloc.c (musable): Use malloc_check_get_size.
13253         * malloc/tst-malloc-usable.c: New test case.
13255 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13257         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13259 2012-09-05  Allan McRae  <allan@archlinux.org>
13261         [BZ #13966]
13262         * configure.in (CXX_SYSINCLUDES): Use compiler output to
13263         determine header location.
13264         * configure: Regenerated.
13266 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13268         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13269         float format.
13270         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13271         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13272         format.
13273         (test): Regenerate.
13275 2012-09-04  David S. Miller  <davem@davemloft.net>
13277         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13278         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13279         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13281 2012-09-04  Florian Weimer  <fweimer@redhat.com>
13283         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13284         failures.
13286         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13288 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
13290         [BZ #9914]
13291         * libio/iogetdelim.c: Include <limits.h>.
13292         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13293         + len + 1 would overflow.
13295 2012-09-03  Andreas Jaeger  <aj@suse.de>
13297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13298         * sysdeps/i386/fpu/libm-test-ulps: Update.
13300 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13302         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13303         Add s_sinf-sse2, s_conf-sse2.
13305         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13306         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13307         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13308         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13310         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13311         for using routine as __sinf_ia32.
13312         Use macro for function declaration and weak_alias.
13313         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13314         for using routine as __cosf_ia32.
13315         Use macro for function declaration and weak_alias.
13317         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13318         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13320         * sysdeps/x86_64/fpu/s_sinf.S: New file.
13321         * sysdeps/x86_64/fpu/s_cosf.S: New file.
13322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13324         * math/libm-test.inc (cos_test): Add more test cases.
13325         (sin_test): Likewise.
13326         (sincos_test): Likewise.
13328 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13330         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13331         (IFUNC_RESOLVE): Make pointers to the specialized implementations
13332         hidden.
13333         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13335 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
13337         [BZ #14538]
13338         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13339         first element of the GOT.
13340         (elf_machine_load_address): Return the difference between
13341         the runtime address of _DYNAMIC and elf_machine_dynamic ().
13343 2012-09-01  Allan McRae  <allan@archlinux.org>
13345         [BZ #13412]
13346         * configure.in (AWK): Require gawk version 3.0 or later.
13347         * configure: Regenerated.
13349 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
13351         * sysdeps/unix/sysv/linux/kernel-features.h
13352         (__ASSUME_POSIX_CPU_TIMERS): Remove.
13353         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13354         [__NR_clock_getres]: Make code unconditional.
13355         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13356         (clock_getcpuclockid): Remove code left unreachable by removal of
13357         conditionals.
13358         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13359         code unconditional.
13360         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13361         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13362         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13363         Make code unconditional.
13364         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13365         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13366         * sysdeps/unix/sysv/linux/clock_settime.c
13367         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13368         conditional code.
13369         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13370         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13372 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
13374         [BZ #14476]
13375         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13376         scripts/test-installation.pl.
13378         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13379         and $ld_so_version if it is set.
13381 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13383         [BZ #14516]
13384         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13385         failure if reading from procfs failed.
13386         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13388 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13390         * sysdeps/unix/sysv/linux/kernel-features.h
13391         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13392         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13393         Remove conditional code.
13394         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13395         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13396         Remove conditional code.
13397         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13398         * sysdeps/unix/sysv/linux/i386/fxstat.c
13399         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13400         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13401         * sysdeps/unix/sysv/linux/i386/fxstatat.c
13402         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13403         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13404         * sysdeps/unix/sysv/linux/i386/lxstat.c
13405         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13406         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13407         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13408         Remove conditional code.
13409         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13410         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13411         Remove conditional code.
13412         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13413         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13414         <kernel-features.h>.
13415         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13416         Remove.
13417         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13418         Remove conditional code.
13419         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13420         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13421         Remove conditional.
13423 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
13425         [BZ #5400]
13426         * NEWS: Add fixed bug number.
13428 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13430         [BZ #14519]
13431         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13432         underflowing exponent in case of negative sign.
13433         * stdlib/tst-strtod-round-data: Add more tests.
13434         * stdlib/tst-strtod-round.c (tests): Regenerated.
13436         [BZ #3479]
13437         * stdlib/strtod_l.c (NDIG): Remove.
13438         (HEXNDIG): Likewise.
13439         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13440         smallest representable value.
13441         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13442         lie within an exact representation of 1/2 ulp of the result.
13443         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13444         unconditionally.
13445         (TENS_P9_IDX): Define unconditionally.
13446         (TENS_P9_SIZE): Likewise.
13447         (TENS_P10_IDX): Likewise.
13448         (TENS_P10_SIZE): Likewise.
13449         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13450         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13451         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13452         entries for 10^2^13 and 10^2^14.
13453         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13454         (TENS_P13_IDX): Define.
13455         (TENS_P13_SIZE): Likewise.
13456         (TENS_P14_IDX): Likewise.
13457         (TENS_P14_SIZE): Likewise.
13458         (_fpioconst_pow10): Change array size to
13459         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
13460         unconditional.
13461         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13462         1024]: Add entries for 10^2^13 and 10^2^14.
13463         [LAST_POW10 > _LAST_POW10]: Remove #error.
13464         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13465         (_fpioconst_pow10): Change array size to
13466         FPIOCONST_POW10_ARRAY_SIZE.
13467         * stdlib/gen-fpioconst.c: New file.
13468         * stdlib/gen-tst-strtod-round.c: Likewise.
13469         * stdlib/tst-strtod-round-data: Likewise.
13470         * stdlib/tst-strtod-round.c: Likewise.
13471         * stdlib/Makefile (tests): Add tst-strtod-round.
13473         [BZ #14459]
13474         * stdlib/strtod_l.c: Include <stdint.h>.
13475         (NDEBUG): Do not define.
13476         (round_and_return): Change EXPONENT parameter to type intmax_t.
13477         Rearrange calculations to avoid internal overflow possibilities.
13478         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13479         Rearrange calculations to avoid internal overflow possibilities.
13480         Assert that number fits inside MPNSIZE limbs.
13481         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13482         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13483         calculations and add assertions to avoid internal overflow
13484         possibilities.  Add casts to avoid signed/unsigned operations.
13485         * stdlib/tst-strtod-overflow.c: New file.
13486         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13488 2012-08-25  Marek Polacek  <polacek@redhat.com>
13490         * time/time.h: Fix some typos in comments.
13492 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13494         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13495         * posix/tst-rfc3484-2.c: Likewise.
13496         * posix/tst-rfc3484-3.c: Likewise.
13498 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13500         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13501         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13503 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13505         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13506         #include of fxstatat64.c.
13508 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13510         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13511         * shadow/getspent_r.c: Likewise.
13512         * shadow/getspnam.c: Likewise.
13513         * shadow/getspnam_r.c: Likewise.
13514         * gshadow/getsgent.c: Likewise.
13515         * gshadow/getsgent_r.c: Likewise.
13516         * gshadow/getsgnam.c: Likewise.
13517         * gshadow/getsgnam_r.c: Likewise.
13518         * inet/getnetbyad.c: Likewise.
13519         * inet/getnetbyad_r.c: Likewise.
13520         * inet/getnetbynm.c: Likewise.
13521         * inet/getnetbynm_r.c: Likewise.
13522         * inet/getnetent.c: Likewise.
13523         * inet/getnetent_r.c: Likewise.
13524         * inet/getproto.c: Likewise.
13525         * inet/getproto_r.c: Likewise.
13526         * inet/getprtent.c: Likewise.
13527         * inet/getprtent_r.c: Likewise.
13528         * inet/getprtname.c: Likewise.
13529         * inet/getprtname_r.c: Likewise.
13530         * inet/getrpcbyname.c: Likewise.
13531         * inet/getrpcbyname_r.c: Likewise.
13532         * inet/getrpcbynumber.c: Likewise.
13533         * inet/getrpcbynumber_r.c: Likewise.
13534         * inet/getrpcent.c: Likewise.
13535         * inet/getrpcent_r.c: Likewise.
13536         * inet/getaliasent.c: Likewise.
13537         * inet/getaliasent_r.c: Likewise.
13538         * inet/getaliasname.c: Likewise.
13539         * inet/getaliasname_r.c: Likewise.
13540         * nscd/getgrgid_r.c: Likewise.
13541         * nscd/getgrnam_r.c: Likewise.
13542         * nscd/gethstbyad_r.c: Likewise.
13543         * nscd/gethstbynm3_r.c: Likewise.
13544         * nscd/getpwnam_r.c: Likewise.
13545         * nscd/getpwuid_r.c: Likewise.
13546         * nscd/getsrvbynm_r.c: Likewise.
13547         * nscd/getsrvbypt_r.c: Likewise.
13548         * nscd/gai.c: Likewise.
13550         * configure.in (build_nscd): New substituted variable, set
13551         by --disable-build-nscd and defaults to $use_nscd.
13552         * configure: Regenerated.
13553         * config.make.in (build-nscd): New substituted variable.
13554         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13555         Change conditional to require [$(build-nscd) = yes] as well.
13556         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13558         [BZ# 13696]
13559         * configure.in (use_nscd): New substituted variable, set by
13560         --disable-nscd.  If enabled, define USE_NSCD.
13561         * configure: Regenerated.
13562         * config.h.in: Add USE_NSCD.
13563         * config.make.in (use-nscd): New substituted variable.
13564         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13565         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13566         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13567         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13568         (CFLAGS-getgrnam_r.c): Likewise.
13569         (CFLAGS-initgroups.c): Likewise.
13570         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13571         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13572         Variables removed.
13573         * inet/getnetgrent_r.c
13574         (nscd_setnetgrent): New function, broken out of ...
13575         (setnetgrent): ... here.  Call it.
13576         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13577         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13578         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13579         * nscd/Makefile (routines, aux): Move definitions after include of
13580         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13581         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13582         Conditionalize on [USE_NSCD].
13583         (is_nscd, nscd_init_cb): Likewise.
13584         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13585         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13586         * nss/nss_db/db-init.c: Likewise.
13587         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13588         [USE_NSCD].
13589         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13590         (make_request): Use it.
13591         (cache_valid_p): New function.
13592         (__check_pf): Use it.
13593         * NEWS: Add item for --disable-nscd.
13595 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13597         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13598         to support sed >= 4.2.1-20-ga9bf076.
13599         * configure: Regenerated.
13601 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13603         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13604         Conditionalize whole body on [IREL].
13606 2012-08-22  Jeff Law <law@redhat.com>
13608         [BZ #14505]
13609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13610         if the family is PF_UNSPEC.
13612 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13614         * Makerules (lib-version): Rename from V.
13615         (install-lib-nosubdir): Change V to lib-version.
13617 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13619         [BZ #14252]
13620         * powerpc32/power6/wcschr.c: New file.
13621         * powerpc32/power6/wcscpy.c: New file.
13622         * powerpc32/power6/wcsrchr.c: New file.
13623         * powerpc64/power6/wcschr.c: New file.
13624         * powerpc64/power6/wcscpy.c: New file.
13625         * powerpc64/power6/wcsrchr.c: New file.
13627 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13629         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13630         (two_way_short_needle): Use it.
13631         * string/strstr.c (AVAILABLE1_USES_J): Define.
13632         * string/strcasestr.c: Likewise.
13634         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13635         array references.
13636         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13638         [BZ #11607]
13639         * NEWS: Add an entry.
13640         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13641         define their defaults.
13642         (two_way_short_needle): Detect end-of-string on-the-fly.
13643         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13644         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13645         * string/bug-strcasestr1.c: New test.
13646         * string/Makefile: Run it.
13648 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13650         [BZ #11607]
13651         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13652         the first character.
13654 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13656         * csu/elf-init.c (__libc_csu_irel): Function removed.
13657         * csu/libc-start.c (apply_irel): New function.
13658         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13660 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13662         * sysdeps/unix/sysv/linux/kernel-features.h
13663         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13664         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13665         <kernel-features.h>.
13666         [__NR_fadvise64_64]: Make code unconditional.
13667         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13668         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13669         !__NR_fadvise64_64)]: Likewise.
13670         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13671         !__NR_fadvise64_64))]: Likewise.
13672         [__NR_fadvise64]: Make code unconditional.
13673         [!__NR_fadvise64]: Remove conditional code.
13674         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13675         <kernel-features.h>.
13676         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13677         unconditional.
13678         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13679         conditional code.
13680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13681         not include <kernel-features.h>.
13682         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13683         unconditional.
13684         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13685         conditional code.
13686         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13687         include <kernel-features.h>.
13688         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13689         unconditional.
13690         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13691         conditional code.
13693 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13695         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13696         slight instruction rearrangements per scrollpipe analysis.
13697         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13699 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13701         * manual/syslog.texi (syslog; vsyslog, closelog):
13702         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13703         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13705         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13706         DSOCAPS to match condition on defining it.
13708 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13710         * sysdeps/unix/sysv/linux/kernel-features.h
13711         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13713         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13714         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13716         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13717         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13719         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13720         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13722         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13723         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13725         * sysdeps/unix/sysv/linux/kernel-features.h
13726         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13727         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13728         unconditional.
13729         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13730         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13731         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13732         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13733         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13734         Make code unconditional.
13735         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13736         (__mmap64) [!__NR_mmap2]: Likewise.
13737         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13738         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13739         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13740         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13741         [__NR_mmap2]: Make code unconditional.
13742         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13743         (__mmap64) [!__NR_mmap2]: Likewise.
13745 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13747         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13749 2012-08-18  Andreas Jaeger  <aj@suse.de>
13751         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13753 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13755         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13756         * include/unistd.h (__have_sock_cloexec): Likewise.
13757         (__have_pipe2): Likewise.
13758         (__have_dup3): Likewise.
13760 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13762         [BZ #9685]
13763         * include/unistd.h (__have_pipe2): Change define into an extern int.
13764         (__have_dup3): Likewise.
13765         * socket/have_sock_cloexec.c: Include fcntl.h.
13766         (__have_pipe2): New variable.
13767         (__have_dup3): Likewise.
13769 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13771         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13773 2012-08-17  Marek Polacek  <polacek@redhat.com>
13775         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13776         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13778 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13780         * configure.in: Add AC_SUBST for sysheaders.
13781         * configure: Regenerated.
13782         * config.make.in (sysheaders): New substituted variable.
13784         * sysdeps/unix/mkfifo.c: Moved ...
13785         * sysdeps/posix/mkfifo.c: ... here.
13786         * sysdeps/unix/mkfifoat.c: Moved ...
13787         * sysdeps/posix/mkfifoat.c: ... here.
13789         * sysdeps/unix/utime.c: Moved ...
13790         * sysdeps/posix/utime.c: ... here.
13792         * sysdeps/unix/time.c: Moved ...
13793         * sysdeps/posix/time.c: ... here.
13794         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13795         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13797         * sysdeps/unix/nice.c: Moved ...
13798         * sysdeps/posix/nice.c: ... here.
13800         * sysdeps/unix/alarm.c: Moved ...
13801         * sysdeps/posix/alarm.c: ... here.
13803         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13805 2012-08-17  Jeff Law <law@redhat.com>
13807         * intl/Makefile (codeset_mo): New variable.
13808         ($(codeset_mo)): New target.
13809         (tst-codeset.out): Depend on that.  Remove explicit rule.
13810         (tst-gettext3.out, tst-gettext5.out): Likewise.
13811         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13812         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13813         * intl/tst-codeset.sh: Remove.
13814         * intl/tst-gettext3.sh: Likewise.
13815         * intl/tst-gettext5.sh: Likewise.
13817 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13819         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13820         * sysdeps/unix/syscalls.list: ... here.
13822         * sysdeps/posix/getaddrinfo.c
13823         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13824         (gaiconf_init, gaiconf_reload): Use them.
13825         [!_STATBUF_ST_NSEC]
13826         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13827         Define using time_t rather than struct timespec.
13829         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13830         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13831         Macros removed.
13832         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13833         [!NO_THREADS].
13834         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13835         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13836         Likewise.
13838         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13839         __libc_cleanup_push argument.
13841         * bits/param.h: New file.
13842         * misc/sys/param.h: New file.
13843         * include/sys/param.h: New file.
13844         * misc/Makefile (headers): Add bits/param.h.
13845         * sysdeps/generic/sys/param.h: File removed.
13846         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13847         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13848         * sysdeps/mach/hurd/bits/param.h: New file.
13849         * sysdeps/mach/hurd/sys/param.h: File removed.
13851         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13852         last change.
13854         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13855         [_IO_MTSAFE_IO].
13856         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13857         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13858         New macros.
13860         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13861         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13862         rather than -D_IO_MTSAFE_IO conditionally.
13863         * stdio-common/Makefile (CPPFLAGS): Likewise.
13864         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13865         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13866         Use $(libio-mtsafe).
13867         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13868         of -D_IO_MTSAFE_IO.
13869         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13870         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13871         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13872         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13873         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13874         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13875         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13876         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13877         (CFLAGS-fread_u_chk.c): Likewise.
13878         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13879         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13880         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13881         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13882         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13883         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13884         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13885         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13886         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13888         * libio/Makefile: Test [$(libc-reentrant) = yes]
13889         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13891         * Makeconfig
13892         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13893         * sysdeps/pthread/configure: File removed.
13894         * sysdeps/pthread/Makeconfig: New file.
13895         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13896         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13898 2012-08-16  Gary Benson  <gbenson@redhat.com>
13900         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13901         unmapping the first object in a namespace.
13903 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13905         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13906         (__internal_setnetgrent): ... this.  Add internal_function to
13907         definition.  Add libc_hidden_def.
13908         (setnetgrent): Update caller.
13909         (internal_endnetgrent): Renamed to ...
13910         (__internal_endnetgrent): ... this.  Add internal_function to
13911         definition.  Add libc_hidden_def.
13912         (endnetgrent): Update caller.
13913         (internal_getnetgrent_r): Renamed to ...
13914         (__internal_getnetgrent_r): ... this.  Add internal_function to
13915         definition.  Add libc_hidden_def.
13916         (__getnetgrent_r): Update caller.
13917         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13919 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13921         * stdlib/longlong.h: Update from GCC.
13923 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13925         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13926         on _QL, which is set by umul_ppmm but never used.
13927         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13928         variables, which are set by GMP macros but never used.
13929         * stdio-common/_itowa.c (_itowa): Likewise.
13930         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13931         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13933 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13935         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13936         struct La_sh_regs is not constant.
13937         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13938         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13939         and struct La_sparc64_regs are not constant.
13941 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13943         * sysdeps/unix/sysv/linux/kernel-features.h
13944         (__ASSUME_POSIX_TIMERS): Remove.
13945         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13946         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13947         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13948         Make code unconditional.
13949         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13950         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13951         Make code unconditional.
13952         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13953         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13954         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13955         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13956         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13957         Make code unconditional.
13958         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13959         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13960         (__libc_missing_posix_timers): Remove.
13962 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13964         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13965         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13967         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13969         * elf/dl-sym.c: Include <stdlib.h>.
13971         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13972         constants, which avoids warnings in 32-bit builds.
13974         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13975         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13977         * misc/lseek.c: File moved to ...
13978         * io/lseek.c: ... here.
13980         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13982         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13983         shifting LEN more than 31 bits at once.
13985 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13987         [BZ #14195]
13988         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13989         segmentation fault for a case of two empty input strings.
13990         * string/test-strncasecmp.c (check1): Renamed to...
13991         (bz12205): ...this.
13992         (bz14195): Add new testcase for two empty input strings and N > 0.
13993         (test_main): Call new testcase, adapt for renamed function.
13995 2012-08-15  Andreas Jaeger  <aj@suse.de>
13997         [BZ #14090]
13998         * crypt/md5test2.c: New test, based on test supplied by Serge
13999         Belyshev <belyshev@depni.sinp.msu.ru>.
14000         * crypt/Makefile (xtests): Add md5test-giant..
14001         * crypt/Makefile ($(objpfx)md5test-giant): Add.
14003 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
14005         [BZ #14090]
14006         * crypt/md5.c (md5_process_block): Don't assume the buffer
14007         length is less than 2**32.
14008         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14009         length is less than 2**64.
14011 2012-08-15  Roland McGrath  <roland@hack.frob.com>
14013         * string/str-two-way.h: Include <sys/param.h>.
14014         (MAX): Macro removed.
14016         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14017         Move #define and #undef of memmove to just before and after
14018         including <string.h>.
14020         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14021         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14022         and after including <string.h>.  Move declarations of
14023         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14024         to before #include "string/memmove.c".
14026         * include/dirent.h: Declare __getdirentries.
14028         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14029         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14031 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
14033         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14034         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14035         * sysdeps/i386/configure: Regenerated.
14036         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14037         STABS_CURRENT_FILE, and STABS_FUN.
14038         (END): Remove call to STABS_FUN_END.
14039         (STABS_CURRENT_FILE1): Delete.
14040         (STABS_CURRENT_FILE): Likewise.
14041         (STABS_FUN): Likewise.
14042         (STABS_FUN_END): Likewise.
14043         (STABS_FUN2): Likewise.
14044         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14045         * sysdeps/x86_64/configure: Regenerated.
14047 2012-08-14  Roland McGrath  <roland@hack.frob.com>
14049         * elf/dl-open.c: Include <atomic.h>.
14050         * elf/dl-lookup.c: Likewise.
14052 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
14054         * sysdeps/unix/sysv/linux/kernel-features.h
14055         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14056         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14057         unconditionally.
14058         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14059         unconditionally.
14060         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14061         condition on __ASSUME_CLONE_THREAD_FLAGS.
14063 2012-08-14  Andreas Jaeger  <aj@suse.de>
14065         * sysdeps/i386/fpu/libm-test-ulps: Update.
14067 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
14069         * include/atomic.h (atomic_exchange_and_add): Split into ...
14070         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14071         New atomic macros.
14073 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
14075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14077 2012-08-13  Jeff Law <law@redhat.com>
14079         * manual/stdio.texi (snprintf): Clarify handling of the trailing
14080         null byte in the output string.
14082 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
14084         * sysdeps/unix/sysv/linux/kernel-features.h
14085         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14086         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14087         (__ASSUME_ARG_MAX_STACK_BASED): Define.
14088         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14089         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14090         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
14091         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14093 2012-08-09  Jeff Law <law@redhat.com>
14095         [BZ #13939]
14096         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14097         When avoid_arena is set, don't retry in the that arena.  Pick the
14098         next one, whatever it might be.
14099         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14100         (arena_lock): Pass in new parameter to arena_get2.
14101         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14102         arena_get2.
14103         (__libc_malloc): Unify retrying after main arena failure with
14104         __libc_memalign version.
14105         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14107 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14109         [BZ #14166]
14110         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14111         to __redirect_strstr.
14112         (__strstr_sse42): Use typeof __redirect_strstr.
14113         (__strstr_ia32): Likewise.
14114         (__libc_strstr): New prototype.
14115         (strstr): Renamed to ...
14116         (__libc_strstr): This.
14117         (strstr): New strong alias of __libc_strstr.
14118         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14119         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14120         __redirect_time.
14121         Include <time.h>.
14122         (__libc_time): New prototype.
14123         (time_ifunc): Replace time with __libc_time.
14124         (time): New strong alias and hidden definition of __libc_time.
14125         (__GI_time): Remove strong alias.
14126         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14127         Include <stddef.h>.
14128         (memmove): Redefined to __redirect_memmove.
14129         (__memmove_sse2): Use typeof __redirect_memmove.
14130         (__memmove_ssse3): Likewise.
14131         (__memmove_ssse3_back): Likewise.
14132         (__libc_memmove): New prototype.
14133         (memmove): Renamed to ...
14134         (__libc_memmove): This.
14135         (memmove): New strong alias of __libc_memmove.
14137 2012-08-08  Mark Salter  <msalter@redhat.com>
14139         * elf/elf.h
14140         (R_MN10300_TLS_GD): Define.
14141         (R_MN10300_TLS_LD): Likewise.
14142         (R_MN10300_TLS_LDO): Likewise.
14143         (R_MN10300_TLS_GOTIE): Likewise.
14144         (R_MN10300_TLS_IE): Likewise.
14145         (R_MN10300_TLS_LE): Likewise.
14146         (R_MN10300_TLS_DTPMOD): Likewise.
14147         (R_MN10300_TLS_DTPOFF): Likewise.
14148         (R_MN10300_TLS_TPOFF): Likewise.
14149         (R_MN10300_SYM_DIFF): Likewise.
14150         (R_MN10300_ALIGN): Likewise.
14151         (R_MN10300_NUM): Update.
14153 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
14155         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14156         Remove.
14158 2012-08-08  Roland McGrath  <roland@hack.frob.com>
14160         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14162         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14163         sysdeps/unix -> sysdeps/posix move.
14164         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14166 2012-08-07      Allan McRae     <allan@archlinux.org>
14168         [BZ #14303]
14169         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14170         (SUNOS_CPP): Likewise.
14171         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14172         not found.
14173         (open_input): Call CPP using execvp.
14175 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14177         * sysdeps/unix/sysv/linux/kernel-features.h
14178         (__ASSUME_PROT_GROWSUPDOWN): Remove.
14179         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14180         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14181         (__ASSUME_WAITID_SYSCALL): Likewise.
14182         * sysdeps/unix/sysv/linux/dl-execstack.c
14183         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14184         code unconditional.
14185         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14186         conditional code.
14187         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14188         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14189         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14190         code.
14191         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14192         unconditional.
14193         [__ASSUME_WAITID_SYSCALL]: Likewise.
14194         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14196 2012-08-07  Roland McGrath  <roland@hack.frob.com>
14198         * sysdeps/unix/closedir.c: Renamed to ...
14199         * sysdeps/posix/closedir.c: ... here.
14200         * sysdeps/unix/dirfd.c: Renamed to ...
14201         * sysdeps/posix/dirfd.c: ... here.
14202         * sysdeps/unix/dirstream.h: Renamed to ...
14203         * sysdeps/posix/dirstream.h: ... here.
14204         * sysdeps/unix/fdopendir.c: Renamed to ...
14205         * sysdeps/posix/fdopendir.c: ... here.
14206         * sysdeps/unix/opendir.c: Renamed to ...
14207         * sysdeps/posix/opendir.c: ... here.
14208         * sysdeps/unix/readdir.c: Renamed to ...
14209         * sysdeps/posix/readdir.c: ... here.
14210         * sysdeps/unix/readdir_r.c: Renamed to ...
14211         * sysdeps/posix/readdir_r.c: ... here.
14212         * sysdeps/unix/rewinddir.c: Renamed to ...
14213         * sysdeps/posix/rewinddir.c: ... here.
14214         * sysdeps/unix/seekdir.c: Renamed to ...
14215         * sysdeps/posix/seekdir.c: ... here.
14216         * sysdeps/unix/telldir.c: Renamed to ...
14217         * sysdeps/posix/telldir.c: ... here.
14218         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14219         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14220         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14221         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14223         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14224         * bits/fcntl.h: ... here.
14226         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14227         not 0.
14228         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14229         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14230         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14231         (struct flock): Move l_start, l_len to the beginning.
14232         Use __pid_t for l_pid.
14233         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14234         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14235         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14236         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14237         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14238         [__USE_LARGEFILE64] (struct flock64): New type.
14239         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14241         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14242         * bits/dirent.h: ... here.
14244         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14245         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14247 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14249         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14250         Change from 2.6.0 to 2.6.16.
14251         * sysdeps/unix/sysv/linux/configure: Regenerated.
14252         * sysdeps/unix/sysv/linux/kernel-features.h
14253         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14254         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14255         version.
14256         (__ASSUME_UTIMES): Likewise.
14257         (__ASSUME_CLONE_STOPPED): Remove.
14258         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14259         architectures, not kernel version.
14260         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14261         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14262         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14263         (__ASSUME_WAITID_SYSCALL): Likewise.
14264         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14265         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14266         * README: State 2.6.16 as minimum Linux kernel version.  Do not
14267         refer to older versions.
14269 2012-08-06  Roland McGrath  <roland@hack.frob.com>
14271         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14272         Define alphasort64 as an alias.
14273         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14274         Define versionsort64 as an alias.
14275         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14276         Define scandir64 as an alias.
14277         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14278         Define scandirat64 as an alias.
14279         * dirent/alphasort64.c (alphasort64):
14280         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14281         * dirent/versionsort64.c: Likewise.
14282         * dirent/scandir64.c: Likewise.
14283         * dirent/scandirat64.c: Likewise.
14284         * sysdeps/wordsize-64/alphasort.c: File removed.
14285         * sysdeps/wordsize-64/alphasort64.c: File removed.
14286         * sysdeps/wordsize-64/scandir.c: File removed.
14287         * sysdeps/wordsize-64/scandir64.c: File removed.
14288         * sysdeps/wordsize-64/scandirat.c: File removed.
14289         * sysdeps/wordsize-64/scandirat64.c: File removed.
14290         * sysdeps/wordsize-64/versionsort.c: File removed.
14291         * sysdeps/wordsize-64/versionsort64.c: File removed.
14292         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14293         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14294         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14295         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14296         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14297         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14298         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14299         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14301         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14302         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14303         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14304         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14305         [defined __arch64__ || defined __sparcv9]
14306         (__INO_T_MATCHES_INO64_T): New macro.
14307         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14308         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14309         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14310         * sysdeps/unix/sysv/linux/bits/dirent.h
14311         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14312         (_DIRENT_MATCHES_DIRENT64): New macro.
14314         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14315         Define lockf64 as an alias.
14316         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14317         Define fseeko64 as an alias.
14318         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14319         Define ftello64 as an alias.
14320         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14321         Define _IO_fgetpos64 and fgetpos64 as aliases.
14322         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14323         Define _IO_fsetpos64 and fsetpos64 as aliases.
14324         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14325         Conditionalize body on this.
14326         * libio/fseeko64.c: Likewise.
14327         * libio/ftello64.c: Likewise.
14328         * libio/iofgetpos64.c: Likewise.
14329         * libio/iofsetpos64.c: Likewise.
14330         * sysdeps/wordsize-64/lockf.c: File removed.
14331         * sysdeps/wordsize-64/lockf64.c: File removed.
14332         * sysdeps/wordsize-64/fseeko.c: File removed.
14333         * sysdeps/wordsize-64/fseeko64.c: File removed.
14334         * sysdeps/wordsize-64/ftello.c: File removed.
14335         * sysdeps/wordsize-64/ftello64.c: File removed.
14336         * sysdeps/wordsize-64/iofgetpos.c: File removed.
14337         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14338         * sysdeps/wordsize-64/iofsetpos.c: File removed.
14339         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14340         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14341         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14342         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14343         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14344         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14345         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14346         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14347         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14348         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14349         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14351         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14352         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14353         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14355         [defined __arch64__ || defined __sparcv9]
14356         (__OFF_T_MATCHES_OFF64_T): New macro.
14357         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14358         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14360         (__OFF_T_MATCHES_OFF64_T): New macro.
14362 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14364         * stdlib/secure-getenv.c (__secure_getenv): Replace
14365         GLIBC_2_16 with GLIBC_2_17.
14367 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14369         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14370         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14372 2012-08-03  David S. Miller  <davem@davemloft.net>
14374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14376 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14378         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14379         Remove.
14380         (__ASSUME_CORRECT_SI_PID): Likewise.
14381         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14382         (__ASSUME_TMPFS_NAME): Likewise.
14383         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14384         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14385         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14386         (HAVE_AUX_SECURE): Make definition unconditional.
14387         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14388         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14390 2012-08-03  Roland McGrath  <roland@hack.frob.com>
14392         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14393         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14394         * sysdeps/mach/hurd/eloop-threshold.h: New file.
14395         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14396         __eloop_threshold instead of SYMLOOP_MAX.
14398         * sysdeps/generic/eloop-threshold.h: New file.
14399         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14400         of MAXSYMLINKS.
14401         * elf/chroot_canon.c (chroot_canon): Likewise.
14403 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14405         [BZ #13717]
14406         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14407         Change to 2.6.0 everywhere.
14408         * sysdeps/unix/sysv/linux/configure: Regenerated.
14409         * sysdeps/unix/sysv/linux/kernel-features.h
14410         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14411         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14412         kernel versions.
14413         (__ASSUME_POSIX_TIMERS): Define unconditionally.
14414         (__ASSUME_FUTEX_REQUEUE): Remove.
14415         (__ASSUME_STATFS64): Define unconditionally.
14416         (__ASSUME_AT_SECURE): Likewise.
14417         (__ASSUME_CORRECT_SI_PID): Likewise.
14418         (__ASSUME_TGKILL): Define without depending on kernel version for
14419         i386.
14420         (__ASSUME_UTIMES): Likewise.
14421         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14422         kernel version.
14423         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14424         (__ASSUME_TMPFS_NAME): Likewise.
14425         * README: Update reference to Linux kernel versions.
14427 2012-08-02  Marek Polacek  <polacek@redhat.com>
14429         [BZ# 14150]
14430         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
14431         libc_cv_asm_type_prefix with %.
14432         * configure: Regenerated.
14433         * include/libc-symbols.h: Remove comment about
14434         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14435         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14436         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14437         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14438         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14439         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14440         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14441         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14442         * elf/tst-unique2mod1.c: Likewise.
14443         * elf/tst-unique1mod2.c: Likewise.
14444         * elf/tst-unique1mod1.c: Likewise.
14445         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14446         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14447         Replace ASM_TYPE_DIRECTIVE with .type.
14448         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14449         * sysdeps/i386/sysdep.h: Likewise.
14450         * sysdeps/x86_64/sysdep.h: Likewise.
14451         * sysdeps/sh/sysdep.h: Likewise.
14452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14453         Do not define ASM_TYPE_DIRECTIVE.
14454         * sysdeps/powerpc/sysdep.h: Likewise.
14455         * sysdeps/powerpc/powerpc32/sysdep.h:
14456         Replace ASM_TYPE_DIRECTIVE with .type.
14457         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14458         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14459         * sysdeps/i386/fpu/e_powf.S: Likewise.
14460         * sysdeps/i386/fpu/e_expl.S: Likewise.
14461         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14462         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14463         * sysdeps/i386/fpu/e_pow.S: Likewise.
14464         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14465         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14466         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14467         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14468         * sysdeps/i386/fpu/e_log2.S: Likewise.
14469         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14470         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14471         * sysdeps/i386/fpu/e_powl.S: Likewise.
14472         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14473         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14474         * sysdeps/i386/fpu/e_logl.S: Likewise.
14475         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14476         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14477         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14478         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14479         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14480         * sysdeps/i386/fpu/e_log.S: Likewise.
14481         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14482         * sysdeps/i386/fpu/e_logf.S: Likewise.
14483         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14484         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14485         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14486         * sysdeps/i386/fpu/e_log10.S: Likewise.
14487         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14488         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14489         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14490         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14491         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14492         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14493         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14494         * sysdeps/i386/i686/strtok.S: Likewise.
14495         * sysdeps/i386/i386-mcount.S: Likewise.
14496         * sysdeps/i386/strtok.S: Likewise.
14497         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14498         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14499         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14500         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14501         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14502         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14503         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14504         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14505         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14506         * sysdeps/x86_64/_mcount.S: Likewise.
14507         * sysdeps/x86_64/strtok.S: Likewise.
14508         * sysdeps/sh/_mcount.S: Likewise.
14510 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14512         * libio/iofopen.c: Include <fcntl.h>.
14513         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14514         (_IO_fopen64, fopen64): Define as aliases.
14515         * libio/iofopen64.c: Include <fcntl.h>.
14516         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14517         Conditionalize body on this.
14518         * sysdeps/wordsize-64/iofopen.c: File removed.
14519         * sysdeps/wordsize-64/iofopen64.c: File removed.
14521 2012-08-01  Marek Polacek  <polacek@redhat.com>
14523         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14524         Use dlfcn directly instead of a variable.
14525         (binfmt-subdir): Do not define.
14526         (dlfcn): Likewise.
14528 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14530         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14531         Remove all definitions.
14532         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14533         <kernel-features.h>.
14534         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14535         (miss_F_GETOWN_EX): Remove all definitions.
14536         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14537         macro definition.
14538         [!__ASSUME_FCNTL64]: Remove conditional code.
14539         [__ASSUME_FCNTL64]: Make code unconditional.
14540         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14541         <kernel-features.h>.
14542         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14543         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14544         (lockf64) [__NR_fcntl64]: Make code unconditional.
14545         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14547         * sysdeps/unix/sysv/linux/kernel-features.h
14548         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14549         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14550         Make code unconditional.
14551         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14552         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14554         [__NR_vfork]: Make code unconditional.
14555         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14556         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14558         [__NR_vfork]: Make code unconditional.
14559         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14560         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14562 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14564         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14565         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14567         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14568         Define mkstemp64 as an alias.
14569         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14570         Define mkstemps64 as an alias.
14571         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14572         Define mkostemp64 as an alias.
14573         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14574         Define mkostemps64 as an alias.
14575         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14576         Conditionalize body on this.
14577         * misc/mkostemp64.c: Likewise.
14578         * misc/mkostemps64.c: Likewise.
14579         * misc/mkstemps64.c: Likewise.
14580         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14581         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14582         * sysdeps/wordsize-64/mkostemp.c: File removed.
14583         * sysdeps/wordsize-64/mkstemp.c: File removed.
14584         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14585         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14586         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14587         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14589         [BZ #14138]
14590         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14591         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14592         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14593         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14595         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14596         compat_symbol macros from <shlib-compat.h> rather than the underlying
14597         default_symbol_version and symbol_version macros, so that DEFAULT
14598         lines in shlib-versions are respected.
14599         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14601 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14603         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14604         Declare with warn_unused_result.
14605         (setgid, setregid, setegid, setresgid): Likewise.
14606         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14607         Likewise.
14608         * WUR-REPORT: Remove set*id functions.
14610 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14612         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14614 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14616         [BZ #10191]
14617         * include/sys/socket.h (__libc_accept, __libc_accept4):
14618         Add attribute_hidden.
14619         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14621         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14622         use of PTR_MANGLE.
14623         * inet/getnetgrent_r.c (setup): Likewise.
14625         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14627 2012-07-31  David S. Miller  <davem@davemloft.net>
14629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14631 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14633         [BZ #13629]
14634         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14635         value between 1.0 and 2.0 and smaller part has absolute value less
14636         than 1.0.
14637         * math/s_clog10.c (__clog10): Likewise.
14638         * math/s_clog10f.c (__clog10f): Likewise.
14639         * math/s_clog10l.c (__clog10l): Likewise.
14640         * math/s_clogf.c (__clogf): Likewise.
14641         * math/s_clogl.c (__clogl): Likewise.
14642         * math/libm-test.inc (clog_test): Add more tests.
14643         (clog10_test): Likewise.
14644         * sysdeps/i386/fpu/libm-test-ulps: Update.
14645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14649         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14650         Exit with zero in case no suitable GID is found, and write a
14651         message to standard error.
14653 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14655         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14656         rather than to 1.
14657         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14658         (MAXPATHLEN): Removed.
14659         (NOGROUP, NODEV): New macros.
14660         (setbit, clrbit, isset, isclr): New macros.
14661         (howmany, roundup, powerof2): New macros.
14662         (DEV_BSIZE): New macro.
14664         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14665         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14667         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14668         definition on [!__NO_LONG_DOUBLE_MATH].
14670         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14671         PTR_MANGLE and PTR_DEMANGLE.
14673         * socket/accept4.c (accept4): Rename to __libc_accept4.
14674         Define accept4 as a weak alias.
14676         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14677         on [_DIRENT_HAVE_D_TYPE].
14678         * io/ftw.c (ftw_dir): Likewise.
14680         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14682         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14684         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14685         Use the BSD numbers rather than the arbitrary ones we had.
14686         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14687         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14688         (SIGXCPU, SIGXFSZ): New macros.
14689         (_NSIG): Now 32.
14691         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14692         initializer on [_LIBC_REENTRANT].
14694         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14695         definitions inside [_POSIX_MAPPED_FILES].
14697         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14699         * dirent/opendir.c: Include <fcntl.h>.
14701         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14702         (__libc_getspecific): Likewise.
14703         (__libc_key_create): Likewise.
14705         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14706         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14707         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14708         (tmpfile64): Define as alias.
14709         * sysdeps/wordsize-64/tmpfile.c: File removed.
14710         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14711         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14712         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14714         * stdio-common/vfscanf.c: Include <stdbool.h>.
14715         * nss/makedb.c: Likewise.
14716         * stdio-common/_i18n_number.h: Likewise.
14717         * argp/argp-help.c: Likewise.
14718         * posix/wordexp.c: Likewise.
14719         * sysdeps/posix/spawni.c: Likewise.
14720         * nss/nss_files/files-initgroups.c: Likewise.
14721         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14722         * nss/nss_files/files-initgroups.c: Likewise.
14723         * nss/nss_db/db-netgrp.c: Likewise.
14724         * nss/nss_db/db-initgroups.c: Likewise.
14725         * io/fchmodat.c: Include <sys/stat.h>.
14727         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14728         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14730         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14731         [HAVE_MMAP].
14733         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14734         Add multiple inclusion protection.
14736 2012-07-27  David S. Miller  <davem@davemloft.net>
14738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14740 2012-07-27  Gary Benson  <gbenson@redhat.com>
14742         [BZ #14298]
14743         * elf/rtld.c: Include <stap-probe.h>.
14744         (dl_main): Added static probes "init_start" and "init_complete".
14745         * elf/dl-load.c: Include <stap-probe.h>.
14746         (lose): Take new parameter "nsid".
14747         Added static probe "map_failed".
14748         (_dl_map_object_from_fd): Pass namespace id to lose.
14749         Added static probe "map_start".
14750         (open_verify): Pass namespace id to lose.
14751         * elf/dl-open.c: Include <stap-probe.h>.
14752         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14753         and "reloc_complete".
14754         * elf/dl-close.c: Include <stap-probe.h>.
14755         (_dl_close_worker): Added static probes "unmap_start" and
14756         "unmap_complete".
14757         * elf/rtld-debugger-interface.txt: New file documenting the above.
14759 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14761         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14762         rather than a string variable.
14763         * sunrpc/rpc_main.c (h_output): Likewise.
14764         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14766 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14768         * inet/check_native.c: New file.
14770 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14772         [BZ #13629]
14773         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14774         if larger part has absolute value 1.0.
14775         * math/s_clog10.c (__clog10): Likewise.
14776         * math/s_clog10f.c (__clog10f): Likewise.
14777         * math/s_clog10l.c (__clog10l): Likewise.
14778         * math/s_clogf.c (__clogf): Likewise.
14779         * math/s_clogl.c (__clogl): Likewise.
14780         * math/libm-test.inc (clog_test): Add more tests.
14781         (clog10_test): Likewise.
14782         * sysdeps/i386/fpu/libm-test-ulps: Update.
14783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14785         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14786         (pltexit): Likewise.
14787         (La_regs): Likewise.
14788         (La_retval): Likewise.
14789         (int_retval): Likewise.
14790         Update #error for removed macros to refer only to definitions in
14791         tst-audit.h.
14792         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14793         macro.
14794         (pltexit): Likewise.
14795         (La_regs): Likewise.
14796         (La_retval): Likewise.
14797         (int_retval): Likewise.
14798         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14799         macro.
14800         (pltexit): Likewise.
14801         (La_regs): Likewise.
14802         (La_retval): Likewise.
14803         (int_retval): Likewise.
14804         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14805         macro.
14806         (pltexit): Likewise.
14807         (La_regs): Likewise.
14808         (La_retval): Likewise.
14809         (int_retval): Likewise.
14810         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14811         macro.
14812         (pltexit): Likewise.
14813         (La_regs): Likewise.
14814         (La_retval): Likewise.
14815         (int_retval): Likewise.
14816         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14817         macro.
14818         (pltexit): Likewise.
14819         (La_regs): Likewise.
14820         (La_retval): Likewise.
14821         (int_retval): Likewise.
14822         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14823         macro.
14824         (pltexit): Likewise.
14825         (La_regs): Likewise.
14826         (La_retval): Likewise.
14827         (int_retval): Likewise.
14828         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14829         macro definitions in tst-audit.h.
14830         * sysdeps/i386/tst-audit.h: New file.
14831         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14832         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14833         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14834         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14835         * sysdeps/sh/tst-audit.h: Likewise.
14836         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14837         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14838         * sysdeps/x86_64/tst-audit.h: Likewise.
14840 2012-07-26  Andreas Jaeger  <aj@suse.de>
14842         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14843         ptrace.
14845         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14846         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14847         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14848         PTRACE_O_MASK.
14849         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14850         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14851         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14853         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14854         value.
14856         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14857         _sigsys.
14858         (si_call_addr, si_syscall, si_arch): Define new macro.
14859         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14860         _sigsys.
14861         (si_call_addr, si_syscall, si_arch): Define new marcro.
14862         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14863         _sigsys.
14864         (si_call_addr, si_syscall, si_arch): Define new macro.
14865         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14866         _sigsys.
14867         (si_call_addr, si_syscall, si_arch): Define new macro.
14869 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14871         [BZ #13717]
14872         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14873         Change to 2.4.21 where previously 2.4.1.
14874         * sysdeps/unix/sysv/linux/configure: Regenerated.
14875         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14876         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14877         Linux kernel version.
14878         (__ASSUME_STD_AUXV): Remove.
14879         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14880         kernel version.
14881         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14882         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14883         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14884         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14885         (__ASSUME_NETLINK_SUPPORT): Likewise.
14886         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14887         (__no_netlink_support): Remove conditional definition.
14888         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14889         Remove.
14890         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14891         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14892         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14893         (if_nameindex_ioctl): Remove.
14894         (if_nameindex_netlink): Do not handle __no_netlink_support.
14895         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14896         code.
14897         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14898         Remove conditional code.
14899         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14900         code.
14901         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14902         unconditional.
14903         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14904         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14905         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14906         Remove.
14907         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14908         [!__ASSUME_STD_AUXV]: Remove conditional code.
14909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14910         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14911         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14913         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14914         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14915         code.
14916         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14918         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14919         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14920         conditional code.
14921         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14923         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14924         code.
14925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14926         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14927         conditional code.
14928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14929         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14930         code unconditional.
14931         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14932         conditional code.
14933         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14934         unconditional.
14935         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14936         conditional code.
14937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14938         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14939         unconditional.
14940         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14941         conditional code.
14942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14943         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14944         code unconditional.
14945         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14946         conditional code.
14947         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14948         unconditional.
14949         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14950         conditional code.
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14952         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14953         code unconditional.
14954         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14955         conditional code.
14956         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14957         unconditional.
14958         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14959         conditional code.
14961 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14963         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14964         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14965         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14966         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14967         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14968         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14969         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14970         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14971         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14972         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14973         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14974         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14975         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14976         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14977         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14978         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14979         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14980         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14981         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14982         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14983         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14984         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14985         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14987 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14989         * Versions.def: Add GLIBC_2.17.
14990         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14991         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14992         Introduce __libc_secure_getenv.
14993         * stdlib/Versions (2.17): Add secure_getenv
14994         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14995         * stdlib/secure-getenv.c: Rename __secure_getenv to
14996         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14997         symbol __secure_getenv for GLIBC_2.0.
14998         * stdlib/tst-secure-getenv.c: New.
14999         * stdlib/Makefile (tests): Add testcase.
15000         * manual/startup.texi (Environment Access): Document
15001         secure_getenv.
15002         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15003         __libc_secure_getenv.
15004         * inet/ruserpass.c (ruserpass): Likewise.
15005         * malloc/mtrace.c (mtrace): Likewise.
15006         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15007         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15008         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15009         * sysdeps/posix/tempname.c: Likewise.  Evaluate
15010         HAVE_SECURE_GETENV.
15011         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15012         __secure_getenv to __libc_secure_getenv.
15013         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15015         Likewise.
15016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15017         Likewise.
15018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15026 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
15028         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15029         (struct La_i86_retval): Likewise.
15030         (struct La_x86_64_regs): Likewise.
15031         (struct La_x86_64_retval): Likewise.
15032         (struct La_x32_regs): Likewise.
15033         (struct La_x32_retval): Likewise.
15034         (struct La_ppc32_regs): Likewise.
15035         (struct La_ppc32_retval): Likewise.
15036         (struct La_ppc64_regs): Likewise.
15037         (struct La_ppc64_retval): Likewise.
15038         (struct La_sh_regs): Likewise.
15039         (struct La_sh_retval): Likewise.
15040         (struct La_s390_32_regs): Likewise.
15041         (struct La_s390_32_retval): Likewise.
15042         (struct La_s390_64_regs): Likewise.
15043         (struct La_s390_64_retval): Likewise.
15044         (struct La_sparc32_regs): Likewise.
15045         (struct La_sparc32_retval): Likewise.
15046         (struct La_sparc64_regs): Likewise.
15047         (struct La_sparc64_retval): Likewise.
15048         (struct audit_ifaces): Remove architecture-specific pltenter and
15049         pltexit members.
15050         * sysdeps/i386/ldsodefs.h: New file.
15051         * sysdeps/powerpc/ldsodefs.h: Likewise.
15052         * sysdeps/s390/ldsodefs.h: Likewise.
15053         * sysdeps/sh/ldsodefs.h: Likewise.
15054         * sysdeps/sparc/ldsodefs.h: Likewise.
15055         * sysdeps/x86_64/ldsodefs.h: Likewise.
15057 2012-07-25  Marek Polacek  <polacek@redhat.com>
15059         [BZ #6808]
15060         * math/libm-test.inc (yn_test): Add another test.
15061         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15062         to ERANGE when the result is +-Inf.
15063         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15064         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15065         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15066         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15068 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
15070         * conform/data/time.h-data (NULL): Use macro-constant.  Require
15071         equal to 0.
15072         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
15073         clock_t.
15074         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
15076 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
15078         * configure.in <sysdeps resolving>: Correct printing
15079         Implies_before.
15080         * configure: Regenerate.
15082 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
15084         * math/w_ilogb.c: Include <limits.h>.
15085         * math/w_ilogbl.c: Likewise.
15087 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
15089         * manual/lang.texi (__va_copy): Document primarily as ISO C99
15090         va_copy.  Document allowing for unavailable va_copy only as
15091         pre-C99 compatibility.
15092         * manual/string.texi (Copying and Concatenation): Use va_copy
15093         instead of __va_copy in concat example.
15095 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
15097         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15098         (__sendto): Use create_address_port.  Initialize APORT and deallocate
15099         it if not null.
15101         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15102         with O_NOLINK passed to __file_name_lookup.
15104         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15105         with O_NOLINK passed to __file_name_lookup.
15107         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15108         negative N or less than NGIDS.
15110         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15111         type to string_t.  Set ERANGE as errno and return it if NAME is not big
15112         enough.  Use memcpy instead of strncpy.
15114 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
15116         * elf/Makefile (check-data): Remove.
15117         (localplt.data): New vpath directive.
15118         ($(objpfx)check-localplt.out): Use localplt.data from vpath
15119         instead of $(check-data).
15120         * scripts/data/localplt-generic.data: Move to ...
15121         * sysdeps/generic/localplt.data: ... here.
15122         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15123         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15124         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15126         ... here.
15127         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15129         ... here.
15130         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15132         ... here.
15133         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15135         ... here.
15136         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15138         ... here.
15139         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15141         ... here.
15143 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15145         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15146         PPC32 and PPC64 files.
15147         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15148         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15150 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15152         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15153         __makecontext_ret to ...
15154         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15155         ... here and call exit if uc_link is NULL.  New file.
15156         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15157         __makecontext_ret.S.
15158         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15159         __makecontext_ret to ...
15160         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15161         ... here and call exit if uc_link is NULL.  New file.
15162         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15163         __makecontext_ret.S.
15165 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15167         * elf/elf.h (R_390_IRELATIVE): New definition.
15168         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15169         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
15170         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15171         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15172         (elf_machine_lazy_rel): Likewise.
15173         * sysdeps/s390/dl-irel.h: New file.
15174         * sysdeps/s390/s390-64/memcpy.S: New asm code.
15175         * sysdeps/s390/s390-64/memset.S: New asm code.
15176         * sysdeps/s390/s390-64/memcmp.S: New asm code.
15177         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15178         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15179         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15180         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15181         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15182         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15183         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15184         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15185         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15186         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15187         * sysdeps/s390/s390-32/memcpy.S: New asm code.
15188         * sysdeps/s390/s390-32/memset.S: New asm code.
15189         * sysdeps/s390/s390-32/memcmp.S: New asm code.
15191 2012-07-17  Marek Polacek  <polacek@redhat.com>
15193         [BZ #14349]
15194         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15195         * sysdeps/s390/s390-64/configure.in: Likewise.
15196         * sysdeps/sparc/configure.in: Likewise.
15197         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15198         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15199         * sysdeps/i386/configure.in: Likewise.
15200         * sysdeps/x86_64/configure.in: Likewise.
15201         * sysdeps/sh/configure.in: Likewise.
15202         * sysdeps/s390/s390-32/configure: Regenerated.
15203         * sysdeps/s390/s390-64/configure: Likewise.
15204         * sysdeps/x86_64/configure: Likewise.
15205         * sysdeps/sh/configure: Likewise.
15206         * sysdeps/powerpc/powerpc64/configure: Likewise.
15207         * sysdeps/powerpc/powerpc32/configure: Likewise.
15208         * sysdeps/sparc/configure: Likwise.
15209         * sysdeps/i386/configure: Likewise.
15211         * elf/dl-open.c: Comment fixes.
15213 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
15215         * Makefile [CXX] (check-data): Remove.
15216         [CXX] (c++-types.data): New vpath directive.
15217         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15218         vpath.  Do not allow for C++ type data being missing.
15219         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15220         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15221         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15222         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15223         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15224         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15225         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15227         ... here.
15228         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15230         ... here.
15231         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15233         ... here.
15234         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15236         ... here.
15237         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15239         ... here.
15240         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15242         ... here.
15243         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15245         ... here.
15246         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15249         * elf/tls-macros.h (TLS_LE): Move architecture-specific
15250         definitions to architecture-specific files.
15251         (TLS_IE): Likewise.
15252         (TLS_LD): Likewise.
15253         (TLS_GD): Likewise.
15254         * sysdeps/i386/tls-macros.h: New file.
15255         * sysdeps/powerpc/tls-macros.h: Likewise.
15256         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15257         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15258         * sysdeps/sh/tls-macros.h: Likewise.
15259         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15260         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15261         * sysdeps/x86_64/tls-macros.h: Likewise.
15263 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15265         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15266         zero value for regular exit case.
15268         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15269         (__start_context): Preserve zero value for regular exit case.
15271 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15272             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15274         * manual/setjmp.texi (setcontext): Clarify normal process
15275         termination when uc_link is the null pointer.
15276         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15277         exit call.
15279 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
15281         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15282         preprocessor.  Test for each exception mask separately.
15284 2012-07-16  Andreas Jaeger  <aj@suse.de>
15286         * po/ru.po: Update from translation team.
15288 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
15290         * conform/data/string.h-data (NULL): Use macro-constant.  Require
15291         equal to 0.
15292         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15293         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15294         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15295         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15296         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15298 2012-07-13  Andreas Jaeger  <aj@suse.de>
15300         * po/fr.po: Update from translation team.
15302 2012-07-12  Marek Polacek  <polacek@redhat.com>
15304         [BZ #14173]
15305         * math/libm-test.inc (yn_test): Add test for BZ #14173.
15306         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15307         loop condition.
15309 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
15311         [BZ #13717]
15312         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15313         Change to 2.4.1 where previously 2.4.0.
15314         * sysdeps/unix/sysv/linux/configure: Regenerated.
15315         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15316         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15317         version.
15318         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15319         (__ASSUME_AT_CLKTCK): Remove.
15320         (__ASSUME_AT_PAGESIZE): Likewise.
15321         (__ASSUME_AT_XID): Likewise.
15322         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15323         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15324         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15325         unconditionally.
15326         (HAVE_AUX_PAGESIZE): Likewise.
15327         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15328         [__ASSUME_AT_CLKTCK]: Make code unconditional.
15329         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15331 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
15333         [BZ #14307]
15334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15335         the temporary buffer used to invoke __gethostbyname2_r,
15336         __gethostbyaddr_r and gethostbyname4_r to make room for struct
15337         host_data / struct gaih_addrtuple.
15338         * resolv/nss_dns/dns-host.c (global scope): Move definition of
15339         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15340         header file nss/nsswitch.h.
15341         * nss/nsswitch.h (global scope): Add definition of implementation
15342         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15343         resolv/nss_dns/dns-host.c).
15345 2012-07-11  Andreas Jaeger  <aj@suse.de>
15347         * po/fr.po: Update from translation team.
15349         * po/sv.po: Update from translation team
15350         * po/fr.po: Another update from translation team.
15352 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15354         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15355         for subnormals or multiply small sinh result by itself.
15356         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15359 2012-07-11  David S. Miller  <davem@davemloft.net>
15361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15363 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
15365         [BZ #14347]
15366         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15367         (INTERNAL_MARK): Shift it here.
15369 2012-07-10  Marek Polacek  <polacek@redhat.com>
15371         [BZ #14151]
15372         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15373         libc_cv_asm_global_directive with .globl.
15374         * configure: Regenerated.
15375         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15376         with .globl.
15377         * sysdeps/i386/configure: Regenerated.
15378         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15379         with .globl.
15380         * sysdeps/x86_64/configure: Regenerated.
15381         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15382         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15383         * elf/tst-unique2mod2.c: Likewise.
15384         * elf/tst-unique2mod1.c: Likewise.
15385         * elf/tst-unique1mod2.c: Likewise.
15386         * elf/tst-unique1mod1.c: Likewise.
15387         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15388         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15389         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15390         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15391         * sysdeps/mach/sysdep.h: Likewise.
15392         * sysdeps/i386/sysdep.h: Likewise.
15393         * sysdeps/i386/i386-mcount.S: Likewise.
15394         * sysdeps/x86_64/_mcount.S: Likewise.
15395         * sysdeps/x86_64/sysdep.h: Likewise.
15396         * sysdeps/sh/_mcount.S: Likewise.
15397         * sysdeps/sh/sysdep.h: Likewise.
15398         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15399         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15400         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15401         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15402         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15403         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15404         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15405         * locale/localeinfo.h: Likewise.
15406         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15407         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15409 2012-07-09  Roland McGrath  <roland@hack.frob.com>
15411         [BZ #14336]
15412         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15413         system".
15414         * manual/message.texi (The Uniforum approach): Likewise.
15415         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15416         (glibc iconv Implementation): Likewise.
15418 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
15420         [BZ #14337]
15421         * math/s_clog.c (__clog): Avoid scaling a value down where that
15422         could result in underflow.
15423         * math/s_clog10.c (__clog10): Likewise.
15424         * math/s_clog10f.c (__clog10f): Likewise.
15425         * math/s_clog10l.c (__clog10l): Likewise.
15426         * math/s_clogf.c (__clogf): Likewise.
15427         * math/s_clogl.c (__clogl): Likewise.
15428         * math/libm-test.inc (clog_test): Add more tests.
15429         (clog10_test): Likewise.
15430         * sysdeps/i386/fpu/libm-test-ulps: Update.
15431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15433 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
15435         [BZ #14283]
15436         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15437         by 7 not 8 to examine high bit of fractional part.
15439         [BZ #14042]
15440         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15441         for call to __mcount_internal.
15442         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15443         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15444         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15446 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
15448         [BZ #14154]
15449         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15450         approximation for values within 0x1p-13f of an odd multiple of
15451         pi/4.
15452         * math/libm-test.inc (tan_test): Do not allow spurious underflow
15453         exception.  Add more tests.
15454         * sysdeps/i386/fpu/libm-test-ulps: Update.
15456         [BZ #6778]
15457         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15458         inputs and return -1 for them.  Do not check for +Inf in case not
15459         reachable for +Inf.
15460         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15461         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15462         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15463         and return -1 for them.  Do not check for +Inf in case not
15464         reachable for +Inf.
15465         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15466         define.
15467         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15468         and return -1 for them.  Do not check for +Inf in case not
15469         reachable for +Inf.
15470         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
15471         spurious underflow.
15472         * sysdeps/i386/fpu/libm-test-ulps: Update.
15473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15475 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15477         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15479 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15481         [BZ #14157]
15482         [BZ #14331]
15483         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15484         could result in spurious underflow.  Scale down values above
15485         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15486         * math/s_csqrtf.c (__csqrtf): Likewise.
15487         * math/s_csqrtl.c (__csqrtl): Likewise.
15488         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15489         spurious underflow.
15490         * sysdeps/i386/fpu/libm-test-ulps: Update.
15491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15493 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15495         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15496         xopen-msg.sed.
15497         * catgets/xopen-msg.awk: New file.
15498         * catgets/xopen-msg.sed: Removed.
15500         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15501         po2text.sed.
15502         * intl/po2test.awk: New file.
15503         * intl/po2test.sed: Removed.
15505 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15507         [BZ #14328]
15508         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15509         or multiply small sinh result by itself.
15510         * math/s_ctanf.c (__ctanf): Likewise.
15511         * math/s_ctanh.c (__ctanh): Likewise.
15512         * math/s_ctanhf.c (__ctanhf): Likewise.
15513         * math/s_ctanhl.c (__ctanhl): Likewise.
15514         * math/s_ctanl.c (__ctanl): Likewise.
15515         * math/libm-test.inc (ctan_test_tonearest): New function.
15516         (ctan_test_towardzero): Likewise.
15517         (ctan_test_downward): Likewise.
15518         (ctan_test_upward): Likewise.
15519         (ctanh_test_tonearest): Likewise.
15520         (ctanh_test_towardzero): Likewise.
15521         (ctanh_test_downward): Likewise.
15522         (ctanh_test_upward): Likewise.
15523         (main): Call these new functions.
15524         * sysdeps/i386/fpu/libm-test-ulps: Update.
15525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15527 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15529         * .gitignore: Delete /ports entry.
15531 2012-07-03  Andreas Jaeger  <aj@suse.de>
15533         * po/bg.po: Update from translation team.
15534         * po/cs.po: Likewise.
15535         * po/de.po: Likewise.
15536         * po/hr.po: Likewise.
15537         * po/nl.pl: Likewise.
15538         * po/pl.po: Likewise.
15539         * po/vi.po: Likewise.
15541 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15543         * Makeconfig [!+link] (+link-before-libc): New variable.
15544         [!+link] (+link-after-libc): Likewise.
15545         [!+link] (+link-tests): Likewise.
15546         [!+link] (+link): Define in terms of $(+link-before-libc) and
15547         $(+link-after-libc).
15548         [!+link-static] (+link-static-before-libc): New variable.
15549         [!+link-static] (+link-static-after-libc): Likewise.
15550         [!+link-static] (+link-static-tests): Likewise.
15551         [!+link-static] (+link-static): Define in terms of
15552         $(+link-static-before-libc) and $(+link-static-after-libc).
15553         [build-shared] (link-libc-before-gnulib): New variable.
15554         [build-shared] (link-libc-tests): Likewise.
15555         [build-shared] (link-libc): Define in terms of
15556         $(link-libc-before-gnulib).
15557         [!build-shared] (link-libc-tests): New variable.
15558         (link-libc-static-tests): New variable.
15559         [!gnulib] (gnulib-arch): New variable.
15560         [!gnulib] (gnulib-tests): Likewise.
15561         [!gnulib] (static-gnulib-arch): Likewise.
15562         [!gnulib] (static-gnulib-tests): Likewise.
15563         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15564         Define with "=" instead of ":=".
15565         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15566         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15567         * Rules (binaries-all-notests): New variable.
15568         (binaries-all-tests): Likewise.
15569         (binaries-static-notests): Likewise.
15570         (binaries-static-tests): Likewise.
15571         (binaries-all): Define using $(binaries-all-notests) and
15572         $(binaries-all-tests).
15573         (binaries-static): Define using $(binaries-static-notests) and
15574         $(binaries-static-tests).
15575         (binaries-shared-tests): New variable.
15576         (binaries-shared-notests): Likewise.
15577         (binaries-shared): Remove variable.
15578         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15579         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15580         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15581         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15582         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15583         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15584         * elf/Makefile (sln-modules): New variable.
15585         (extra-objs): Add $(sln-modules:=.o).
15586         (ldconfig-modules): Add static-stubs.
15587         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15588         * elf/static-stubs.c: New file.
15590         [BZ #14283]
15591         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15592         by 7 not 8 to examine high bit of fractional part.  Use volatile
15593         variables when splitting into final array of floats if
15594         __FLT_EVAL_METHOD__ != 0.
15595         * math/libm-test.inc (cos_test): Add another test.
15596         (sin_test): Likewise.
15597         * sysdeps/i386/fpu/libm-test-ulps: Update.
15599         [BZ #14273]
15600         * math/libm-test.inc (cosh_test): Add more tests.
15602         * version.h (RELEASE): Set to "development".
15603         (VERSION): Set to "2.16.90".
15605 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15607         * NEWS: Update copyright. Remove last-updated date.
15608         Mention math library bug fixes and timezone data changes.
15609         * README: Mention GNU/Hurd, x32, and HPPA support status.
15611 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15613         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15615 2012-06-27  Andreas Jaeger  <aj@suse.de>
15617         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15619 2012-06-25  Andreas Jaeger  <aj@suse.de>
15621         * sysdeps/s390/fpu/libm-test-ulps: Update.
15623 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15624             Thomas Schwinge  <thomas@codesourcery.com>
15626         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15627         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15628         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15629         fanotify_mark.
15631 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15633         * sysdeps/mach/start.c: Remove file.
15634         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15635         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15636         * sysdeps/sh/init-first.c: Likewise.
15638         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15639         registers for frame unwinding purposes, add CFI directives.
15640         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15641         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15642         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15643         Likewise.
15645         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15646         __fortify_fail returning.
15647         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15649         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15650         sysdeps/sh/____longjmp_chk.S.
15651         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15652         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15653         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15654         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15656         * sysdeps/sh/abort-instr.h: New file.
15657         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15658         process in case exit returns.
15660         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15661         initialize the GOT register before use.
15663         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15664         calculation of ARGC > 4.
15666         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15667         meaningful names to some local labels.
15669 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15670             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15672         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15673         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15674         (__arch_compare_and_exchange_val_16_acq): Likewise.
15675         (__arch_compare_and_exchange_val_32_acq): Likewise.
15676         (atomic_exchange_and_add): Fix gUSA sequence.
15677         (atomic_add): Likewise.
15678         (atomic_add_negative): Likewise.
15679         (atomic_add_zero): Likewise.
15680         (atomic_bit_test_set): Likewise.
15682 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15684         [BZ #13579]
15685         * include/link.h (struct link_map): Add l_free_initfini.
15686         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15687         l_initfini.
15688         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15689         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15690         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15691         set.
15693 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15695         * configure.in: Use AC_LANG_SOURCE.
15696         * configure: Regenerate.
15698 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15700         * configure.in (libc_cv_localstatedir): New substituted variable.
15701         * configure: Regenerated.
15702         * config.make.in (localstatedir): New variable, substituted from
15703         libc_cv_localstatedir.
15704         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15705         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15706         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15707         * sysdeps/gnu/configure: Regenerated.
15709 2012-06-21  Jeff Law  <law@redhat.com>
15711         [BZ #14277]
15712         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15713         free.  Simplify list management for _LIBC case.
15715 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15717         [BZ #14273]
15718         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15719         Clear sign bit of 64-bit integer value before comparing against
15720         overflow value.
15722         * sysdeps/mach/configure: Regenerated.
15724 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15726         [BZ #14278]
15727         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15729 2012-06-21  Jeff Law  <law@redhat.com>
15731         [BZ #13882]
15732         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15733         uint16_t for elements in the "seen" array to avoid char overflows.
15734         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15735         * elf/dl-open.c (dl_open_worker): Likewise.
15737 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15739         * scripts/list-sources.sh: Scan PORTS for translations.
15740         * po/libc.pot: Regenerated.
15742 2012-06-21  Andreas Jaeger  <aj@suse.de>
15744         [BZ #12194]
15745         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15746         warning.
15747         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15748         * bits/byteswap-16.h (__bswap_16): Likewise.
15749         * bits/byteswap.h (__bswap_constant_16): Likewise.
15751 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15753         [BZ #14117]
15754         * sysdeps/i386/fpu_control.h: Removed.
15755         * sysdeps/x86_64/fpu_control.h: Moved to ...
15756         * sysdeps/x86/fpu_control.h: Here.
15758         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15759         (_FPU_SETCW): Likewise.
15761 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15763         [BZ #14117]
15764         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15765         * sysdeps/x86/fpu/bits/mathinline.h: This.
15766         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15768         [BZ #14050]
15769         [BZ #14117]
15770         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15771         functions if __x86_64__ is defined.
15773 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15775         * string/endian.h: Add !__ASSEMBLER__ condition for including
15776         conversion interfaces.
15778 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15780         [BZ #14241]
15781         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15782         of ABS(x) in calculating zero to negative powers other than odd
15783         integers.
15784         * math/libm-test.inc (pow_test): Add more tests.
15786 2012-06-15  Andreas Jaeger  <aj@suse.de>
15788         * manual/contrib.texi (Contributors): Update entry of Liubov
15789         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15790         Machado Filho.
15792 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15794         * string/string.h: Add __wur to GNU version of strerror_r.
15796 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15798         [BZ #14229]
15799         * string/Makefile (tests): Add tst-strtok_r.
15800         * string/tst-strtok_r.c: New file.
15801         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15802         RAX_LP/RDX_LP on SAVE_PTR.
15804 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15806         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15808 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15810         * libm_test.inc (csqrt_test): Allow more spurious underflow
15811         exceptions.
15812         (j0_test): Likewise.
15813         (j1_test): Likewise.
15814         (y0_test): Likewise.
15815         (y1_test): Likewise.
15817 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15819         * po/Makefile (libc.pot): Use UTF-8 charset.
15821 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15823         [BZ #14210]
15824         Suppress sign-conversion warning from FD_SET.
15825         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15826         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15827         not unsigned long int.
15828         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15830 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15832         [BZ #14050]
15833         [BZ #14117]
15834         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15835         __extern_always_inline instead of __extern_inline.
15836         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15837         (__signbit): Likewise.
15838         (__signbitl): Support C++ namespace.
15839         (lrintf): New inline function.
15840         (lrint): Likewise.
15841         (llrintf): Likewise.
15842         (llrint): Likewise.
15843         (fmaxf): Likewise.
15844         (fmax): Likewise.
15845         (fminf): Likewise.
15846         (fmin): Likewise.
15847         (rint): Likewise.
15848         (rintf): Likewise.
15849         (ceil): Likewise.
15850         (ceilf): Likewise.
15851         (floor): Likewise.
15852         (floorf): Likewise.
15853         (nearbyint): Likewise.
15854         (nearbyintf): Likewise.
15856 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15858         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15859         non-default versions.
15861 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15863         [BZ #14218]
15864         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15866 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15868         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15869         (FE_UPWARD, FE_DOWNWARD): Don't define.
15870         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15871         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15873         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15874         reading it.
15875         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15876         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15878 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15880         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15881         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15882         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15883         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15885 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15887         [BZ #14117]
15888         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15889         * sysdeps/i386/fpu/Implies: New file.
15890         * sysdeps/x86_64/fpu/Implies: Likewise.
15891         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15892         * sysdeps/x86/fpu/bits/fenv.h: This.
15894         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15895         __SSE_MATH__.
15897 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15899         [BZ #14134]
15900         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15901         character 0xffff that matches the last element of the
15902         conversion table.
15904 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15906         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15907         fmodl commit.
15909 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15911         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15912         values higher than 25.6283.
15914 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15916         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15917         subnormal exponent extraction and add some __builtin_expect.
15918         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15919         Fix for subnormal mantissa calculation.
15921 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15923         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15924         cpu2 is -1 and errno is not ENOSYS.
15926 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15928         [BZ #14117]
15929         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15930         * sysdeps/x86/bits/string.h: This.
15931         * sysdeps/x86_64/bits/string.h: Removed.
15933         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15934         if not compiling for x86-64, but compiling for >= i486.
15936         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15937         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15939         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15940         New macro from Linux kernel 3.4.0.
15941         (FP_XSTATE_MAGIC2): Likewise.
15942         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15943         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15944         (struct _fpx_sw_bytes): New struct.
15945         (struct _xsave_hdr): Likewise.
15946         (struct _ymmh_state): Likewise.
15947         (struct _xstate): Likewise.
15949         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15950         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15951         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15952         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15953         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15954         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15956         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15957         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15958         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15959         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15960         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15961         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15963 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15965         [BZ #13743]
15966         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15967         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15968         (sysdep_headers): Include sys/platform/ppc.h.
15969         * sysdeps/powerpc/test-gettimebase.c: Test for
15970         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15971         * manual/Makefile (appendices): Include platform.texi.
15972         * manual/contrib.texi (Contributors): Update @node pointers.
15973         * manual/maint.texi (Maintenance): Likewise.
15974         (Platform): New node.
15975         * manual/platform.texi: New file.  Document the new features.
15977 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15978             Jakub Jelinek  <jakub@redhat.com>
15980         [BZ #14188]
15981         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15982         where __builtin_expect is unavailable.
15984 2012-06-03  David S. Miller  <davem@davemloft.net>
15986         * stdlib/longlong.h: Updated from GCC.
15988 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15990         [BZ #14042]
15991         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15992         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15993         __mcount_internal.
15994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15995         (GLIBC_2.16): Likewise.
15997 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15999         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16001 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
16003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16004         (default-abi): New variable.
16005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16006         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16007         variable.
16008         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16009         Likewise.
16010         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16011         Likewise.
16012         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16013         Likewise.
16015         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16016         definition.  Document in comment.
16018 2012-06-01  David S. Miller  <davem@davemloft.net>
16020         * stdlib/longlong.h: Updated from GCC.
16022 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16024         [BZ #14117]
16025         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16026         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16027         sys/debugreg.h sys/io.h here.
16028         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16029         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16030         sys/io.h.
16031         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16032         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16033         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16034         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16035         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16036         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16038         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16039         Define only if __x86_64__ is defined.
16041 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
16043         [BZ #14048]
16044         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16045         Use int64_t for variable i.
16046         * math/libm-test.inc (fmod_test): Add more tests.
16048         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16049         z computation is not scheduled after fetestexcept.
16050         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16051         Use math_force_eval instead of asm to ensure calculation scheduled
16052         before exception test.
16053         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16054         Ensure a1 + u.d computation is not scheduled after fetestexcept.
16056 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
16058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16059         computation is not scheduled after fetestexcept.
16061 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16063         [BZ #14117]
16064         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16065         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16067 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16069         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16070         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16072 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
16074         [BZ #14117]
16075         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16076         <bits/wordsize.h>.
16077         (__WCHAR_MIN): Support __WORDSIZE == 64.
16078         (__WCHAR_MAX): Likewise.
16080         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16081         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16083         [BZ #14183]
16084         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16085         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16087         [BZ #14117]
16088         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16089         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16091         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16092         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16094         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16095         Defined to 1 if __x86_64__ isn't defined.
16096         (_STAT_VER_LINUX_OLD): New.
16097         (st_atime): Remove duplicate.
16098         (st_mtime): Likewise.
16099         (st_ctime): Likewise.
16101 2012-05-31  David S. Miller  <davem@davemloft.net>
16103         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16104         entries.
16106 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
16108         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16109         gen-libm-test.pl.
16111         [BZ #14132]
16112         * elf/dl-reloc.c: Include <_itoa.h>.
16113         (_dl_reloc_bad_type): Remove use of INTUSE.
16114         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16115         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16116         * stdio-common/psiginfo.c (psiginfo): Likewise.
16117         * stdio-common/psignal.c (psignal): Likewise.
16118         * string/strsignal.c (strsignal): Likewise.
16119         * include/signal.h (_sys_siglist): Declare hidden proto.
16120         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
16121         INTVARDEF with libc_hidden_data_def.
16122         * stdio-common/itoa-udigits.c: Likewise.
16123         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16124         (_itoa_lower_digits_internal): Remove declaration.
16125         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16126         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16127         (_sys_sigabbrev_internal): Remove aliases.
16128         (_sys_siglist): Define hidden alias.
16130 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
16132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16133         bits/sysctl.h.
16135 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
16137         [BZ #14117]
16138         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16139         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16141         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16142         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16143         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16144         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16145         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16146         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16148         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16149         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16150         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16152         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16153         with __addr.
16154         (insw): Likewise.
16155         (insl): Likewise.
16156         (outsb): Likewise.
16157         (outsw): Likewise.
16158         (outsl): Likewise.
16160         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16161         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16162         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16164         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16165         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16166         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16167         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16168         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16169         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16171         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16172         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16174         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16175         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16177         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16178         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16179         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16181         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16182         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16183         to ...
16184         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16186         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16187         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16188         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16190         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16191         for x86-64.
16192         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16194 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
16196         * math/math.h (M_El): Use two more decimal places.
16197         (M_LOG2El): Likewise.
16198         (M_LOG10El): Likewise.
16199         (M_LN2l): Likewise.
16200         (M_LN10l): Likewise.
16201         (M_PIl): Likewise.
16202         (M_PI_2l): Likewise.
16203         (M_PI_4l): Likewise.
16204         (M_1_PIl): Likewise.
16205         (M_2_PIl): Likewise.
16206         (M_2_SQRTPIl): Likewise.
16207         (M_SQRT2l): Likewise.
16208         (M_SQRT1_2l): Likewise.
16210 2012-05-31  David S. Miller  <davem@davemloft.net>
16212         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16213         values between float registers.
16214         * sysdeps/sparc/sparc64/memset.S: Likewise.
16215         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16217 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
16219         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16220         -D_FORTIFY_SOURCE=1.
16221         (CPPFLAGS-tst-longjmp_chk.c): Define.
16222         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16223         (CPPFLAGS-tst-longjmp_chk2.c): Define.
16224         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16225         CFLAGS-tst-wchar-h.c.
16227 2012-05-31  Marek Polacek  <polacek@redhat.com>
16229         [BZ #14132]
16230         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16231         __endmntent_internal): Remove declaration.
16232         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16233         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16234         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16236 2012-05-30  David S. Miller  <davem@davemloft.net>
16238         * sysdeps/sparc/sparc32/soft-fp/q_util.c
16239         (___Q_simulate_exceptions): Use real FP ops rather than writing
16240         into the %fsr.
16241         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16242         Likewise.
16244 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16246         [BZ #14117]
16247         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16248         * sysdeps/x86/bits/xtitypes.h: This.
16250         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16251         * sysdeps/x86/bits/wordsize.h: This.
16253         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16254         * sysdeps/x86/bits/huge_vall.h: This.
16256         * sysdeps/i386/bits/select.h: Removed.
16257         * sysdeps/x86_64/bits/select.h: Renamed to ...
16258         * sysdeps/x86/bits/select.h: This.
16260         * sysdeps/i386/bits/setjmp.h: Removed.
16261         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16262         * sysdeps/x86/bits/setjmp.h: This.
16264         * sysdeps/i386/bits/mathdef.h: Removed.
16265         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16266         * sysdeps/x86/bits/mathdef.h: This.
16268 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
16270         [BZ #14132]
16271         * include/sys/socket.h (__connect_internal)
16272         (__libc_sa_len_internal): Remove declaration.
16273         (__connect, __libc_sa_len): Declare hidden_proto.
16274         (SA_LEN): Remove use of INTUSE.
16275         * socket/connect.c: Add libc_hidden_def.
16276         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16277         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16278         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16279         alias.
16280         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16281         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16282         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16283         of adding _internal alias.
16285 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16287         [BZ #14117]
16288         * sysdeps/i386/bits/link.h: Removed.
16289         * sysdeps/i386/bits/linkmap.h: Likewise.
16290         * sysdeps/x86_64/bits/link.h: Renamed to ...
16291         * sysdeps/x86/bits/link.h: This.
16292         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16293         * sysdeps/x86/bits/linkmap.h: This.
16295         * sysdeps/i386/bits/endian.h: Removed.
16296         * sysdeps/x86_64/bits/endian.h: Renamed to ...
16297         * sysdeps/x86/bits/endian.h: This.
16299         * sysdeps/i386/bits/byteswap.h: Removed.
16300         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16301         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16302         * sysdeps/x86/bits/byteswap.h: This.
16303         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16304         * sysdeps/x86/bits/byteswap-16.h: This.
16305         * sysdeps/i386/Implies: Add x86.
16306         * sysdeps/x86_64/Implies: Likewise.
16308 2012-05-30  David S. Miller  <davem@davemloft.net>
16310         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16311         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16312         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16313         (FP_TRAPPING_EXCEPTIONS): Define.
16314         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16315         (FP_TRAPPING_EXCEPTIONS): Define.
16316         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16317         subnormals only when inexact has been signalled or underflow
16318         exceptions are enabled.
16319         (_FP_PACK_CANONICAL): Likewise.
16321 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16323         [BZ #14183]
16324         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16325         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16327 2012-05-30  Richard Henderson  <rth@twiddle.net>
16329         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16330         with #ifndef NOT_IN_libc.
16332         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
16333         marked to avoid plt entry.
16335 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16337         [BZ #14112]
16338         * Makeconfig (default-abi): New macro.
16339         (abi-includes): Likewise.
16340         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
16341         $(abi-$(default-abi)-lib-soname) for soname if defined.
16342         ($(common-objpfx)gnu/lib-names.stmp): Generate from
16343         abi-variants.
16344         * Makefile (installed-stubs): Likewise.
16345         * include/stubs-biarch.h: Removed.
16346         * scripts/lib-names.awk: Only handle one library at a time.
16347         * scripts/soversions.awk: Remove WORDSIZE support.
16348         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16349         entries.
16350         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16351         Removed.
16352         (syscall-list-default-condition): Likewise.
16353         (syscall-list-default-condition): Likewise.
16354         (syscall-list-includes): Likewise.
16355         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16356         syscall-list-* with abi-*.  Handle undefined abi-variants.
16357         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16358         * sysdeps/unix/sysv/linux/i386/Implies: New file.
16359         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16360         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16361         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16362         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16363         Removed.
16364         (syscall-list-32-options): Likewise.
16365         (syscall-list-32-condition): Likewise.
16366         (syscall-list-64-options): Likewise.
16367         (syscall-list-64-condition): Likewise.
16368         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16369         macro.
16370         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16371         Renamed to ...
16372         (abi-*): This.
16373         (abi-64-ld-soname): New macro.
16374         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16375         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16376         Renamed to ...
16377         (abi-*): This.
16378         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16379         * sysdeps/x86_64/x32/shlib-versions: Likewise.
16381 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
16383         * sysdeps/unix/sysv/linux/kernel-features.h
16384         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16385         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16386         include <kernel-features.h>.
16387         [!__NR_ftruncate64]: Remove conditional code.
16388         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16389         [__NR_ftruncate64]: Make code unconditional.
16390         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16391         * sysdeps/unix/sysv/linux/truncate64.c: Do not
16392         include <kernel-features.h>.
16393         [!__NR_ftruncate64]: Remove conditional code.
16394         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16395         [__NR_ftruncate64]: Make code unconditional.
16396         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16398         include <kernel-features.h>.
16399         [!__NR_ftruncate64]: Remove conditional code.
16400         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16401         [__NR_ftruncate64]: Make code unconditional.
16402         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16404         include <kernel-features.h>.
16405         [!__NR_ftruncate64]: Remove conditional code.
16406         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16407         [__NR_ftruncate64]: Make code unconditional.
16408         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16410         * configure.in (libc_cv_fpie): Weaken to a compile test using
16411         LIBC_TRY_CC_OPTION.
16412         * configure: Regenerated.
16414 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16420         Refreshed.
16421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16427         Refreshed.
16429 2012-05-27  David S. Miller  <davem@davemloft.net>
16431         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16432         (___Q_zero): New.
16433         (__Q_simulate_exceptions): Return void.  Change to simulate
16434         exceptions by writing into the %fsr.
16435         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16436         (__Qp_handle_exceptions): Likewise.
16437         (numbers): Delete.
16438         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16439         __Qp_handle_exceptions.
16440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16441         __Qp_handle_exceptions.
16442         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16443         as unused and give dummy FP_RND_NEAREST initializer.
16444         (FP_INHIBIT_RESULTS): Define.
16445         (___Q_simulate_exceptions): Update declaration.
16446         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16447         formatting.
16448         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16449         as unused and give dummy FP_RND_NEAREST initializer.
16450         (__Qp_handle_exceptions): Update declaration.
16451         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16452         formatting.
16454 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
16456         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16457         the temporary FPU control word.
16458         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16459         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16460         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16461         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16462         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16463         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16464         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16465         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16466         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16467         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16468         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16470 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16472         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16473         fields.
16475 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16477         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16478         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16479         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16480         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16481         Likewise.
16482         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16483         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16484         Likewise.
16486 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16488         * po/h.po: Update from translation team.
16490 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16492         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16494         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16495         handling of denormals.
16496         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16497         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16498         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16499         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16500         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16501         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16502         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16503         Likewise.
16505 2012-05-26  Marek Polacek  <polacek@redhat.com>
16507         [BZ #14152]
16508         * math/libm-test.inc (fma_test): Don't always expect underflow
16509         exception.
16511 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16513         [BZ #12416]
16514         * elf/tst-execstack.c: Include stackinfo.h.
16515         (do_test): Adjust test case to ensure that pthread_getattr_np
16516         behaviour remains the same after marking stack executable.
16518 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16520         * sysdeps/unix/sysv/linux/kernel-features.h
16521         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16522         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16523         kernel-features.h.
16524         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16525         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16526         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16527         kernel-features.h.
16528         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16529         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16531 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16533         * configure.in: Define the default includes to being none.
16534         * configure: Regenerated.
16536 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16538         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16539         * sysdeps/x86_64/setjmp.S: Likewise.
16540         * sysdeps/i386/bsd-setjmp.S: Likewise.
16541         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16542         * sysdeps/i386/setjmp.S: Likewise.
16543         * sysdeps/i386/__longjmp.S: Likewise.
16544         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16545         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16547         * include/stap-probe.h: New file.
16548         * configure.in: Handle --enable-systemtap.
16549         * configure: Regenerated.
16550         * config.h.in (USE_STAP_PROBE): New #undef.
16551         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16552         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16553         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16555 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16557         [BZ #13717]
16558         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16559         to 2.4.0 where earlier.
16560         * sysdeps/unix/sysv/linux/configure: Regenerated.
16561         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16562         <kernel-features.h>.
16563         [__ASSUME_32BITUIDS]: Make code unconditional.
16564         [!__ASSUME_32BITUIDS]: Remove conditional code.
16565         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16566         <kernel-features.h>.
16567         [__ASSUME_32BITUIDS]: Make code unconditional.
16568         [!__ASSUME_32BITUIDS]: Remove conditional code.
16569         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16570         [__ASSUME_32BITUIDS]: Make code unconditional.
16571         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16572         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16573         <kernel-features.h>.
16574         [__ASSUME_32BITUIDS]: Make code unconditional.
16575         [!__ASSUME_32BITUIDS]: Remove conditional code.
16576         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16577         <kernel-features.h>.
16578         [__ASSUME_32BITUIDS]: Make code unconditional.
16579         [!__ASSUME_32BITUIDS]: Remove conditional code.
16580         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16581         <kernel-features.h>.
16582         [__ASSUME_32BITUIDS]: Make code unconditional.
16583         [!__ASSUME_32BITUIDS]: Remove conditional code.
16584         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16585         <kernel-features.h>.
16586         [__ASSUME_32BITUIDS]: Make code unconditional.
16587         [!__ASSUME_32BITUIDS]: Remove conditional code.
16588         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16589         <kernel-features.h>.
16590         [__ASSUME_32BITUIDS]: Make code unconditional.
16591         [!__ASSUME_32BITUIDS]: Remove conditional code.
16592         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16593         <kernel-features.h>.
16594         [__ASSUME_32BITUIDS]: Make code unconditional.
16595         [!__ASSUME_32BITUIDS]: Remove conditional code.
16596         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16597         <kernel-features.h>.
16598         [__ASSUME_32BITUIDS]: Make code unconditional.
16599         [!__ASSUME_32BITUIDS]: Remove conditional code.
16600         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16601         <kernel-features.h>.
16602         [__ASSUME_32BITUIDS]: Make code unconditional.
16603         [!__ASSUME_32BITUIDS]: Remove conditional code.
16604         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16605         <kernel-features.h>.
16606         [__ASSUME_32BITUIDS]: Make code unconditional.
16607         [!__ASSUME_32BITUIDS]: Remove conditional code.
16608         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16609         <kernel-features.h>.
16610         [__ASSUME_32BITUIDS]: Make code unconditional.
16611         [!__ASSUME_32BITUIDS]: Remove conditional code.
16612         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16613         <kernel-features.h>.
16614         [__NR_setresgid] (__setresgid): Do not declare.
16615         [__ASSUME_32BITUIDS]: Make code unconditional.
16616         [!__ASSUME_32BITUIDS]: Remove conditional code.
16617         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16618         <kernel-features.h>.
16619         [__NR_setresuid] (__setresuid): Do not declare.
16620         [__ASSUME_32BITUIDS]: Make code unconditional.
16621         [!__ASSUME_32BITUIDS]: Remove conditional code.
16622         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16623         <kernel-features.h>.
16624         [__ASSUME_32BITUIDS]: Make code unconditional.
16625         [!__ASSUME_32BITUIDS]: Remove conditional code.
16626         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16627         <kernel-features.h>.
16628         [__ASSUME_32BITUIDS]: Make code unconditional.
16629         [!__ASSUME_32BITUIDS]: Remove conditional code.
16630         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16631         <kernel-features.h>.
16632         [__ASSUME_32BITUIDS]: Make code unconditional.
16633         [!__ASSUME_32BITUIDS]: Remove conditional code.
16634         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16635         <kernel-features.h>.
16636         [__ASSUME_32BITUIDS]: Make code unconditional.
16637         [!__ASSUME_32BITUIDS]: Remove conditional code.
16638         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16639         <kernel-features.h>.
16640         [__ASSUME_32BITUIDS]: Make code unconditional.
16641         [!__ASSUME_32BITUIDS]: Remove conditional code.
16642         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16643         <kernel-features.h>.
16644         [__ASSUME_32BITUIDS]: Make code unconditional.
16645         [!__ASSUME_32BITUIDS]: Remove conditional code.
16646         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16647         <kernel-features.h>.
16648         [__ASSUME_32BITUIDS]: Make code unconditional.
16649         [!__ASSUME_32BITUIDS]: Remove conditional code.
16650         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16651         <kernel-features.h>.
16652         [__ASSUME_32BITUIDS]: Make code unconditional.
16653         [!__ASSUME_32BITUIDS]: Remove conditional code.
16654         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16655         <kernel-features.h>.
16656         [__ASSUME_32BITUIDS]: Make code unconditional.
16657         [!__ASSUME_32BITUIDS]: Remove conditional code.
16658         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16659         <kernel-features.h>.
16660         [__ASSUME_32BITUIDS]: Make code unconditional.
16661         [!__ASSUME_32BITUIDS]: Remove conditional code.
16662         * sysdeps/unix/sysv/linux/kernel-features.h
16663         (__ASSUME_SETRESUID_SYSCALL): Remove.
16664         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16665         (__ASSUME_32BITUIDS): Likewise.
16666         (__ASSUME_LDT_WORKS): Likewise.
16667         (__ASSUME_O_DIRECTORY): Likewise.
16668         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16669         architecture but not kernel version.
16670         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16671         (__ASSUME_MMAP2_SYSCALL): Likewise.
16672         (__ASSUME_STAT64_SYSCALL): Likewise.
16673         (__ASSUME_IPC64): Likewise.
16674         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16675         <kernel-features.h>.
16676         [__ASSUME_32BITUIDS]: Make code unconditional.
16677         [!__ASSUME_32BITUIDS]: Remove conditional code.
16678         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16679         <kernel-features.h>.
16680         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16681         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16682         132096]: Remove conditional code.
16683         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16684         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16685         <kernel-features.h>.
16686         [__ASSUME_32BITUIDS]: Make code unconditional.
16687         [!__ASSUME_32BITUIDS]: Remove conditional code.
16688         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16689         <kernel-features.h>.
16690         [__ASSUME_32BITUIDS]: Make code unconditional.
16691         [!__ASSUME_32BITUIDS]: Remove conditional code.
16692         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16693         <kernel-features.h>.
16694         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16695         unconditional.
16696         (__setresgid): Do not declare.
16697         [__ASSUME_32BITUIDS]: Make code unconditional.
16698         [!__ASSUME_32BITUIDS]: Remove conditional code.
16699         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16700         <kernel-features.h>.
16701         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16702         unconditional.
16703         (__setresuid): Do not declare.
16704         [__ASSUME_32BITUIDS]: Make code unconditional.
16705         [!__ASSUME_32BITUIDS]: Remove conditional code.
16706         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16707         <kernel-features.h>.
16708         [__ASSUME_32BITUIDS]: Make code unconditional.
16709         [!__ASSUME_32BITUIDS]: Remove conditional code.
16710         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16711         <kernel-features.h>.
16712         [__ASSUME_32BITUIDS]: Make code unconditional.
16713         [!__ASSUME_32BITUIDS]: Remove conditional code.
16715 2012-05-25  Richard Henderson  <rth@twiddle.net>
16717         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16718         dl_hwcap to ifunc resolver.
16719         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16720         elf_ifunc_invoke.
16721         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16722         dl_hwcap to ifunc resolver.
16723         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16725 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16727         [BZ #14153]
16728         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16729         for |x| <= 2**-26, not 2**-57.
16730         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16731         exception.
16733 2012-05-24  Jeff Law  <law@redhat.com>
16735         * stdio-common/Makefile (tests): Add bug25.
16736         * stdio-common/bug25.c: New test.
16738 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16740         [BZ #13576]
16741         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16742         multiple of MALLOC_ALIGNMENT in size.
16743         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16745 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16747         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16748         Require >= 256.
16749         (FILENAME_MAX): Use macro-int-constant.
16750         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16751         (_IOFBF): Use macro-int-constant.
16752         (_IOLBF): Likewise.
16753         (_IONBF): Likewise.
16754         (SEEK_CUR): Likewise.
16755         (SEEK_END): Likewise.
16756         (SEEK_SET): Likewise.
16757         (TMP_MAX): Likewise.
16758         (EOF): Use macro-int-constant.  Require < 0.
16759         (NULL): Use macro-constant.  Require == 0.
16760         (stdin): Require type to be FILE *.
16761         (stdout): Likewise.
16762         (stderr): Likewise.
16763         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16764         macro-int-constant.
16765         (EXIT_SUCCESS): Likewise.
16766         (NULL): Use macro-constant.  Require == 0.
16767         (RAND_MAX): Use macro-int-constant.
16768         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16769         [C99-based standards] (strtof): Require function.
16770         [C99-based standards] (strtold): Likewise.
16771         [C99-based standards] (strtoll): Likewise.
16772         [C99-based standards] (strtoull): Likewise.
16773         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16774         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16775         [ISO || ISO99 || ISO11] (math.h): Likewise.
16776         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16777         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16778         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16780 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16782         [BZ #14132]
16783         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16784         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16785         * intl/dgettext.c (DCGETTEXT): Likewise.
16786         * intl/gettext.c (DCGETTEXT): Likewise.
16787         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16788         * posix/regex_internal.h (gettext): Likewise.
16789         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16790         Remove declaration.
16791         * include/argz.h (__argz_count_internal)
16792         (__argz_stringify_internal): Remove declaration.
16793         (__argz_count, __argz_stringify): Declare hidden proto.
16794         * intl/dcgettext.c: Remove use of INTDEF.
16795         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16796         * string/argz-stringify.c: Likewise.
16797         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16798         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16799         Declare hidden proto.
16800         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16801         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16802         Declare hidden proto.
16803         * include/stdio.h (__asprintf_internal): Don't declare.
16804         (__asprintf): Don't define as macro.  Declare hidden proto.
16805         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16806         (__fsetlocking): Declare hidden proto.
16807         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16808         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16809         hidden proto.
16810         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16811         (_IO_setlinebuf): Remove use of INTUSE.
16812         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16813         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16814         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16815         Remove declaration.
16816         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16817         (_IO_do_flush): Remove use of INTUSE.
16818         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16819         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16820         (_IO_adjust_column, _IO_least_wmarker)
16821         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16822         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16823         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16824         (_IO_default_doallocate, _IO_wdefault_doallocate)
16825         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16826         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16827         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16828         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16829         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16830         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16831         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16832         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16833         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16834         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16835         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16836         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16837         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16838         proto.
16839         (_IO_flush_all_internal, _IO_adjust_column_internal)
16840         (_IO_default_uflow_internal, _IO_default_finish_internal)
16841         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16842         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16843         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16844         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16845         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16846         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16847         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16848         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16849         (_IO_file_close_internal, _IO_file_close_it_internal)
16850         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16851         (_IO_file_init_internal, _IO_file_attach_internal)
16852         (_IO_file_fopen_internal, _IO_file_read_internal)
16853         (_IO_file_sync_internal, _IO_file_seek_internal)
16854         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16855         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16856         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16857         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16858         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16859         (_IO_list_all_internal, _IO_link_in_internal)
16860         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16861         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16862         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16863         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16864         (_IO_do_write_internal, _IO_padn_internal)
16865         (_IO_getline_info_internal, _IO_getline_internal)
16866         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16867         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16868         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16869         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16870         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16871         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16872         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16873         with libc_hidden_ver, remove use of INTUSE.
16874         * libio/genops.c: Likewise.
16875         * libio/freopen.c: Likewise.
16876         * libio/freopen64.c: Likewise.
16877         * libio/iofclose.c: Likewise.
16878         * libio/iofdopen.c: Likewise.
16879         * libio/iofflush.c: Likewise.
16880         * libio/iofflush_u.c: Likewise.
16881         * libio/iofgets.c: Likewise.
16882         * libio/iofgets_u.c: Likewise.
16883         * libio/iofopen.c: Likewise.
16884         * libio/iofopncook.c: Likewise.
16885         * libio/iofread.c: Likewise.
16886         * libio/iofread_u.c: Likewise.
16887         * libio/ioftell.c: Likewise.
16888         * libio/iofwrite.c: Likewise.
16889         * libio/iogetline.c: Likewise.
16890         * libio/iogets.c: Likewise.
16891         * libio/iogetwline.c: Likewise.
16892         * libio/iopadn.c: Likewise.
16893         * libio/iopopen.c: Likewise.
16894         * libio/ioseekoff.c: Likewise.
16895         * libio/ioseekpos.c: Likewise.
16896         * libio/iosetbuffer.c: Likewise.
16897         * libio/iosetvbuf.c: Likewise.
16898         * libio/ioungetc.c: Likewise.
16899         * libio/ioungetwc.c: Likewise.
16900         * libio/iovdprintf.c: Likewise.
16901         * libio/iovsprintf.c: Likewise.
16902         * libio/iovsscanf.c: Likewise.
16903         * libio/memstream.c: Likewise.
16904         * libio/obprintf.c: Likewise.
16905         * libio/oldfileops.c: Likewise.
16906         * libio/oldiofclose.c: Likewise.
16907         * libio/oldiofdopen.c: Likewise.
16908         * libio/oldiofopen.c: Likewise.
16909         * libio/oldiopopen.c: Likewise.
16910         * libio/oldstdfiles.c: Likewise.
16911         * libio/putc.c: Likewise.
16912         * libio/setbuf.c: Likewise.
16913         * libio/setlinebuf.c: Likewise.
16914         * libio/stdfiles.c: Likewise.
16915         * libio/strops.c: Likewise.
16916         * libio/vasprintf.c: Likewise.
16917         * libio/vscanf.c: Likewise.
16918         * libio/vsnprintf.c: Likewise.
16919         * libio/vswprintf.c: Likewise.
16920         * libio/wfiledoalloc.c: Likewise.
16921         * libio/wfileops.c: Likewise.
16922         * libio/wgenops.c: Likewise.
16923         * libio/wmemstream.c: Likewise.
16924         * libio/wstrops.c: Likewise.
16925         * libio/__fpurge.c: Likewise.
16926         * libio/__fsetlocking.c: Likewise.
16927         * assert/assert.c: Likewise.
16928         * debug/fgets_chk.c: Likewise.
16929         * debug/fgets_u_chk.c: Likewise.
16930         * debug/fread_chk.c: Likewise.
16931         * debug/fread_u_chk.c: Likewise.
16932         * debug/gets_chk.c: Likewise.
16933         * debug/obprintf_chk.c: Likewise.
16934         * debug/vasprintf_chk.c: Likewise.
16935         * debug/vdprintf_chk.c: Likewise.
16936         * debug/vsnprintf_chk.c: Likewise.
16937         * debug/vsprintf_chk.c: Likewise.
16938         * malloc/mtrace.c: Likewise.
16939         * misc/error.c: Likewise.
16940         * misc/syslog.c: Likewise.
16941         * stdio-common/asprintf.c: Likewise.
16942         * stdio-common/fxprintf.c: Likewise.
16943         * stdio-common/getw.c: Likewise.
16944         * stdio-common/isoc99_fscanf.c: Likewise.
16945         * stdio-common/isoc99_scanf.c: Likewise.
16946         * stdio-common/isoc99_vfscanf.c: Likewise.
16947         * stdio-common/isoc99_vscanf.c: Likewise.
16948         * stdio-common/isoc99_vsscanf.c: Likewise.
16949         * stdio-common/printf-prs.c: Likewise.
16950         * stdio-common/printf_fp.c: Likewise.
16951         * stdio-common/printf_fphex.c: Likewise.
16952         * stdio-common/printf_size.c: Likewise.
16953         * stdio-common/putw.c: Likewise.
16954         * stdio-common/scanf.c: Likewise.
16955         * stdio-common/sprintf.c: Likewise.
16956         * stdio-common/tmpfile.c: Likewise.
16957         * stdio-common/vfprintf.c: Likewise.
16958         * stdio-common/vfscanf.c: Likewise.
16959         * stdlib/strfmon_l.c: Likewise.
16960         * sunrpc/openchild.c: Likewise.
16961         * sunrpc/xdr_stdio.c: Likewise.
16962         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16963         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16965 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16967         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16969         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16970         in the third column, to generate for the shared library an IFUNC
16971         that uses _dl_vdso_vsym.
16972         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16973         * Makeconfig (object-suffixes-noshared): New variable.
16975         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16976         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16977         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16978         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16980         [BZ #14132]
16981         * include/sys/time.h (__gettimeofday): Remove macro.
16982         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16983         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16984         Remove INTDEF.
16985         (__gettimeofday): Add libc_hidden_def.
16986         (gettimeofday): Add libc_hidden_weak.
16987         * sysdeps/mach/gettimeofday.c: Likewise.
16988         * sysdeps/posix/gettimeofday.c: Likewise.
16989         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16990         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16991         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16992         (__gettimeofday_internal): Remove strong_alias.
16993         (__gettimeofday): Add libc_hidden_def.
16994         (gettimeofday): Add libc_hidden_weak.
16995         * sysdeps/unix/syscalls.list (gettimeofday):
16996         Remove __gettimeofday_internal alias.
16998 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16999             H.J. Lu  <hongjiu.lu@intel.com>
17001         [BZ #12495]
17002         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17003         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17004         (largebin_index_32_big): New.
17005         (largebin_index): Use it for 16-byte alignment.
17006         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
17007         correction with front_misalign.
17009 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17013         Likewise.
17014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17015         Likewise.
17016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17017         Likewise.
17018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17019         Likewise.
17020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17021         Likewise.
17022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17023         Likewise.
17024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17025         Likewise.
17026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17027         Likewise.
17028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17029         Likewise.
17030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17031         Likewise.
17032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17033         Likewise.
17034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17035         Likewise.
17037         * scripts/data/c++-types-x32-linux-gnu.data: New file.
17038         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17040 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17042         [BZ #10846]
17043         [BZ #14036]
17044         * math/libm-test.inc (exp_test): Add test from bug 14036.
17045         (pow_test): Add test from bug 10846.
17047         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17048         and other flags.
17049         (special_function): Do not include flags in test name.
17050         (parse_args): Likewise.
17051         * sysdeps/i386/fpu/libm-test-ulps: Update.
17052         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17053         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17054         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17057         * math/gen-libm-test.pl (%beautify): Add entries for underflow
17058         exceptions.
17059         * math/libm-test.inc ("Philosophy"): Update comment about
17060         exception testing.
17061         (UNDERFLOW_EXCEPTION): New macro.
17062         (UNDERFLOW_EXCEPTION_OK): Likewise.
17063         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17064         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17065         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17066         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17067         (INVALID_EXCEPTION_OK): Update value.
17068         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17069         (OVERFLOW_EXCEPTION_OK): Likewise.
17070         (IGNORE_ZERO_INF_SIGN): Likewise.
17071         (test_exceptions): Handle underflow exceptions.
17072         (acos_test): Update for underflow exception expectations.
17073         (cexp_test): Likewise.
17074         (clog_test): Likewise.
17075         (clog10_test): Likewise.
17076         (csqrt_test): Likewise.
17077         (ctan_test): Likewise.
17078         (ctanh_test): Likewise.
17079         (exp_test): Likewise.
17080         (exp10_test): Likewise.
17081         (exp2_test): Likewise.
17082         (expm1_test): Likewise.
17083         (fma_test): Likewise.
17084         (j0_test): Likewise.
17085         (jn_test): Likewise.
17086         (nexttoward_test): Likewise.
17087         (pow_test): Likewise.
17088         (scalbn_test): Likewise.
17089         (scalbln_test): Likewise.
17090         (tan_test): Likewise.
17091         (y1_test): Likewise.
17092         * sysdeps/i386/fpu/libm-test-ulps: Update.
17093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17095 2012-05-23  David S. Miller  <davem@davemloft.net>
17097         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17098         (__libc_sigaction): Remove unused local variables.
17100 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17102         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17104 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
17106         mktime: avoid signed integer overflow
17107         * time/mktime.c (__mktime_internal): Do not mishandle the case
17108         where diff == INT_MIN.
17110         mktime: simplify computation of average
17111         * time/mktime.c (ranged_convert): Use new time_t_avg function
17112         instead of rolling our own (probably-slower) code.
17114         mktime: do not assume signed right shift propagates sign bit
17115         * time/mktime.c (isdst_differ): New static function.
17116         (__mktime_internal): No need to normalize tm_isdst now.
17117         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17118         tm_isdst values.
17120         mktime: merge another wrapv change from gnulib
17121         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17122         from some compilers.
17124         mktime: remove incorrect attempt at unusual arithmetics
17125         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17126         The code didn't really work on such machines anyway.
17127         (TYPE_MINIMUM): Assume two's complement.
17128         (twos_complement_arithmetic): Verify that long_int and time_t
17129         are two's complement (or unsigned, in the latter case).
17131         mktime: check signed shifts on long_int and time_t, too
17132         * time/mktime.c (SHR): Check that shifts work as desired
17133         on the types long_int and time_t too, as SHR is used on
17134         such types.
17136         mktime: do not assume 'long' is wide enough
17137         * time/mktime.c (verify): Move decl up.
17138         (long_int): New type.
17139         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17140         to remove assumption in the code that 'long' is wide enough to
17141         store year values.  This assumption is not true on x32 and on
17142         some non-glibc platforms.
17144         mktime: merge wrapv change from gnulib
17145         * time/mktime.c (WRAPV): New macro.
17146         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17147         (guess_time_tm, __mktime_internal): Do not assume that signed
17148         integer overflow wraps around; modern compilers generate code
17149         where this assumption is no longer valid.
17151 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17153         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17154         Replace "jmp L(pseudo_end)" with "ret".
17155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17156         Likewise.
17158 2012-05-23  Andreas Jaeger  <aj@suse.de>
17160         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17161         * sysdeps/unix/sysv/linux/poll.c: Remove file.
17163 2012-05-23  Andreas Jaeger  <aj@suse.de>
17164             Maximilian Attems  <max@stro.at>
17166         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17167         New macros.
17169 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17171         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17172         code so that pseudo_end is just ret and the stack pointer is
17173         correct also for static library in error case.
17175 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
17177         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17178         move to syscalls.list.
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17184         * manual/install.texi (Running make install): Do not mention Linux
17185         kernel version for which pt_chown is not needed.
17186         (Linux): Do not mention problems with nscd with 2.0 kernels.
17187         * INSTALL: Regenerated.
17189 2012-05-23  Andreas Jaeger  <aj@suse.de>
17191         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17192         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17193         macro.
17194         * sysdeps/unix/sysv/linux/s390/bits/mman.h
17195         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17196         * sysdeps/unix/sysv/linux/sh/bits/mman.h
17197         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17198         * sysdeps/unix/sysv/linux/i386/bits/mman.h
17199         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17200         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17201         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17202         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17203         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17204         * sysdeps/unix/sysv/linux/bits/in.h
17205         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17207 2012-05-22  Roland McGrath  <roland@hack.frob.com>
17209         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17210         (PREPARE_VERSION): Just use assert instead, it will be elided
17211         under [NDEBUG] anyway.
17213 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17215         * sysdeps/unix/sysv/linux/Makefile: Include
17216         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17217         (sysdep_routines): Remove sysctl.
17218         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17219         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17220         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17221         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17222         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17224 2012-05-22  Andreas Jaeger  <aj@suse.de>
17226         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17227         that pseudo_end is just ret and the stack pointer is correct also
17228         for static library in error case.
17230 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17232         [BZ #14122]
17233         * nss/nsswitch.c (defconfig_entries): New variable.
17234         (__nss_database_lookup): Don't leak defconfig entries.
17235         (nss_parse_service_list): Don't leak on error paths.
17236         (free_database_entries): New function.
17237         (free_defconfig): New function.
17238         (free_mem): Move common code to free_database_entries.
17240 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17242         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17243         Add arch_prctl.
17244         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17246         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17247         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17249         New macro.
17250         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17251         (INTERNAL_SYSCALL_TYPES): Likewise.
17252         (LOAD_ARGS_TYPES_[1-6]): Likewise.
17253         (LOAD_REGS_TYPES_[1-6]): Likewise.
17254         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17255         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17257 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17259         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17260         copysignl for GLIBC_2_0.
17261         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17262         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17264         logbl for GLIBC_2_0.
17265         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17266         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17268 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17270         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17271         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17273         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17274         Use "neg %eax".
17276         * time/mktime.c: Update copyright years.
17278 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17280         mktime: merge comment-quoting-style change from gnulib
17281         * time/mktime.c: Quote 'like this' in comments.
17282         The GNU coding standards suggest that we no longer quote `like this',
17283         as "`" and "'" are typically rendered asymmetrically nowadays.
17284         The typical gnulib style is to quote 'like this' when quoting
17285         code, and "like this" when quoting English.
17287         * time/mktime.c (compile-command): Add "-I.".
17289         mktime: merge mktime-internal.h change from gnulib
17290         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17292         mktime: merge time_r change from gnulib
17293         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17295         mktime: merge DEBUG change from gnulib
17296         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17297         case system <time.h> has a #define.
17299         mktime: merge <sys/types.h> change from gnulib
17300         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17301         since <time.t> is now guaranteed to define time_t.
17303         mktime: merge HAVE_CONFIG_H change from gnulib
17304         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17306 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17309         Use "neg %eax".
17311         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17312         __rlim_t cast.
17313         (struct rusage): Use anonymous union to pad each field to
17314         __syscall_slong_t.
17316 2012-05-21  David S. Miller  <davem@davemloft.net>
17318         * Makefules (o-iterator): Remove .s cases.
17319         (compile-command.s): Delete.
17320         (COMPILE.s): Delete.
17321         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17323 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
17325         * configure.in (libc_cv_predef_stack_protector): Only consider
17326         "foobar" and "__stack_chk_fail" lines in libc_undefs.
17327         * configure: Regenerated.
17329 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17332         New macro.  Use R*LP on int and pointer.
17333         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17334         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17335         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17336         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17338         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17339         [__WORDSIZE_TIME64_COMPAT32] instead of
17340         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17341         (struct utmp): Likewise.
17342         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17343         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17344         Renamed to ...
17345         (__WORDSIZE_TIME64_COMPAT32): This.
17346         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17347         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17348         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17349         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17350         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17351         (__WORDSIZE_TIME64_COMPAT32): New macro.
17353 2012-05-21  Andreas Jaeger  <aj@suse.de>
17355         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17356         only if [SHARED]. Add prototype for __wcschr_ia32.
17358 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17360         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17361         of %rbp unmolested in the jmp_buf while mangling the low bits.
17362         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17363         unmolested high bits of %rbp while demangling the low bits.
17364         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17366 2012-05-21  Andreas Jaeger  <aj@suse.de>
17368         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17369         * sunrpc/svc_simple.c: Use it for registerrpc.
17370         * sunrpc/xcrypt.c: Use it for passwd2des.
17372         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17374 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17376         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17377         Don't define if [__SYSCALL_WORDSIZE != 32].
17378         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17379         New macro.
17381 2012-05-21  Bruno Haible  <bruno@clisp.org>
17382             Andreas Jaeger  <aj@suse.de>
17384         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17385         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17386         inptr and inend for must_buffer_ch.
17387         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17388         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17389         * stdio-common/Makefile (tests): Remove bug15.
17390         (bug15-ENV): Remove macro.
17391         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17392         anymore.
17394 2012-05-19  Andreas Jaeger  <aj@suse.de>
17395             Roland McGrath  <roland@hack.frob.com>
17397         * manual/contrib.texi: Completely rewritten. It contains now an
17398         alphabetical list of contributors and their contributions.
17400 2012-05-21  Richard Henderson  <rth@twiddle.net>
17402         * misc/getauxval.c (__getauxval): Use unsigned long int.
17403         * misc/sys/auxv.h: Include <sys/cdefs.h>.
17404         (getauxval): Use unsigned long int.
17406 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17408         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17410 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17412         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17413         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17414         __alignof__ (long double).
17416 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17420 2012-05-20  Richard Henderson  <rth@twiddle.net>
17422         * misc/getauxval.c: New file.
17423         * misc/sys/auxv.h: New file.
17424         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17425         (routines): Add getauxval.
17426         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17427         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17428         * elf/dl-sysdep.c (_dl_auxv): Remove.
17429         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17430         * elf/dl-support.c (_dl_auxv): New variable.
17431         (_dl_aux_init): Initialize it.
17432         * manual/startup.texi (Auxiliary Vector): New node.
17433         * sysdeps/generic/bits/hwcap.h: New file.
17434         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17435         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
17436         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17437         * sysdeps/sparc/sysdep.h: ... here.  Include it.
17438         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17439         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17441         Update.
17442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17451 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17455 2012-05-19  David S. Miller  <davem@davemloft.net>
17457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17459 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17461         [BZ #14123]
17462         * math/s_ccosh.c: Include <float.h>
17463         (__ccosh): Avoid internal overflow calculating sinh and cosh
17464         values before multiplying by sin and cos values.
17465         * math/s_ccoshf.c: Likewise.
17466         * math/s_ccoshl.c: Likewise.
17467         * math/s_csin.c: Likewise.
17468         * math/s_csinf.c: Likewise.
17469         * math/s_csinl.c: Likewise.
17470         * math/s_csinh.c: Likewise.
17471         * math/s_csinhf.c: Likewise.
17472         * math/s_csinhl.c: Likewise.
17473         * math/libm-test.inc (ccos_test): Add more tests.
17474         (ccosh_test): Likewise.
17475         (csin_test): Likewise.
17476         (csinh_test): Likewise.
17477         * sysdeps/i386/fpu/libm-test-ulps: Update.
17478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17480 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17482         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17483         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17485         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17487 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17489         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17490         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17491         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17492         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17493         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17494         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17495         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17496         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17497         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17498         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17499         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17500         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17501         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17502         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17503         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17504         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17505         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17506         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17507         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17508         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17509         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17510         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17511         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17512         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17513         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17514         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17515         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17516         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17517         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17518         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17519         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17521 2012-05-18  Andreas Jaeger  <aj@suse.de>
17523         * csu/.gitignore: Delete.
17525 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17527         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17528         (timex): Use __syscall_slong_t.
17530 2012-05-18  Andreas Jaeger  <aj@suse.de>
17531             Carlos O'Donell  <carlos_odonell@mentor.com>
17533         * manual/install.texi (Configuring and compiling): Update
17534         description about files modified in the source directory.
17535         * INSTALL: Regenerated.
17537 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17539         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17540         value.  Use "or" to set return value to -1.
17541         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17542         negate return value.
17544 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17546         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17547         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17548         failure if the compiler has Graphite support disabled.
17549         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17550         Likewise.
17551         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17552         CFLAGS-memmove.c): Likewise.
17553         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17554         Likewise.
17556 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17558         * sysdeps/x86_64/x32/_itoa.h: New file.
17560         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17561         getdents system call only if kernel and user dirents have the
17562         same d_ino and d_off.
17564         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17565         LLONG_MAX != LONG_MAX.
17566         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17567         (_fitoa_word): Likewise.
17569         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17570         years.
17571         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17572         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17573         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17575         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17576         include <bits/wordsize.h>.  Check __x86_64__ instead of
17577         __WORDSIZE.
17578         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17579         if __x86_64__ is defined.  Use anonymous union on fpstate.
17581         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17582         anonymous union.
17584 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17586         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17587         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17588         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17589         Refer to _rtld_local_ro instead of _rtld_global_ro.
17590         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17591         Likewise.
17592         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17593         Likewise.
17594         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17595         Likewise.
17596         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17597         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17598         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17600         * sysdeps/powerpc/powerpc32/dl-machine.c
17601         (__elf_machine_runtime_setup) [PROF]: Don't reference
17602         _dl_prof_resolve.
17604 2012-05-18  Andreas Jaeger  <aj@suse.de>
17606         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17607         function only available for GCCs before 3.4 since GCC 3.4
17608         introduced a builtin.
17609         (lrint): Likewise.
17610         (llrintf): Likewise.
17611         (llrint): Likewise.
17612         (fmaxf): Likewise.
17613         (fmax): Likewise.
17614         (fminf): Likewise.
17615         (fmin): Likewise.
17616         (rint): Likewise.
17617         (rintf): Likewise.
17618         (nearbyint): Likewise.
17619         (nearbyintf): Likewise.
17620         (ceil): Likewise.
17621         (ceilf): Likewise.
17622         (floor): Likewise.
17623         (floorf): Likewise.
17625 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17627         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17628         on both fields and cast pointer to __syscall_ulong_t.
17630         * bits/types.h (__fsword_t): New type.
17631         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17632         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17633         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17634         (__FSWORD_T_TYPE): Likewise.
17635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17636         (__FSWORD_T_TYPE): Likewise.
17637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17638         (__FSWORD_T_TYPE): Likewise.
17639         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17640         (__FSWORD_T_TYPE): Likewise.
17641         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17642         __SWORD_TYPE with __fsword_t.
17643         (statfs64): Likewise.
17645 2012-05-17  David S. Miller  <davem@davemloft.net>
17647         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17649 2012-05-17  Andreas Jaeger  <aj@suse.de>
17651         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17652         warning.
17654 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17656         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17658 2012-05-17  Andreas Jaeger  <aj@suse.de>
17660         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17661         when it is used.
17663 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17665         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17667 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17669         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17670         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17672 2012-05-17  Andreas Jaeger  <aj@suse.de>
17673             Carlos O'Donell  <carlos_odonell@mentor.com>
17675         [BZ #14059]
17676         * sysdeps/x86_64/multiarch/init-arch.h
17677         (bit_YMM_Usable): Rename to...
17678         (bit_AVX_Usable): ... this.
17679         (bit_FMA4_Usable): New macro.
17680         (bit_XMM_state): New macro.
17681         (bit_YMM_state): New macro.
17682         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17683         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17684         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17685         (CPUID_OSXSAVE): New macro.
17686         (CPUID_AVX): New macro.
17687         (CPUID_FMA4): New macro.
17688         (index_YMM_Usable): Rename to...
17689         (index_AVX_Usable): ... this.
17690         (HAS_AVX): Use HAS_ARCH_FEATURE.
17691         (HAS_FMA4): Likewise.
17692         (HAS_YMM_USABLE): Remove.
17693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17694         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17695         are present.
17696         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17697         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17698         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17699         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17700         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17702 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17704         * math/libm-test.c: Support platforms without multiple rounding modes.
17705         * math/bug-nextafter.c: Support platforms without FP exceptions.
17706         * math/bug-nexttoward.c: Likewise.
17707         * math/test-fenv.c: Likewise.
17708         * math/test-misc.c: Likewise.
17709         * stdlib/bug-getcontext.c: Likewise.
17711 2012-05-17  Andreas Jaeger  <aj@suse.de>
17713         * manual/examples/search.c (critter_cmp): Change signature to
17714         avoid warnings.
17715         * manual/string.texi (Collation Functions): Likewise.
17717 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17719         * bits/types.h: Fold copyright years.
17720         * bits/typesizes.h: Likewise.
17721         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17725         * time/time.h: Likewise.
17727 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17729         [BZ #208]
17730         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17731         in instead of returning them.  Return void.
17732         (__libc_mallinfo): Accumulate over all arenas.
17733         (__malloc_stats): Adjust for change in int_mallinfo interface.
17735 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17737         [BZ #10375]
17738         * configure.in (NM): Add AC_CHECK_TOOL for it.
17739         (libc_extra_cflags): New substituted variable.
17740         Check for -fstack-protector being used implicitly.
17741         * configure: Regenerated.
17742         * config.make.in (config-extra-cflags): New variable,
17743         gets @libc_extra_cflags@.
17744         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17746         [BZ #10375]
17747         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17748         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17749         * configure: Regenerated.
17750         * config.make.in (CPPUNDEFS): New substituted variable.
17751         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17752         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17753         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17755 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17757         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17758         (mq_attr): Use __syscall_slong_t.
17760 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17762         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17763         Check __x86_64__ instead of __WORDSIZE.
17764         (_STAT_VER_LINUX): Likewise.
17765         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17766         __syscall_ulong_t and __syscall_slong_t.
17767         (stat64): Likewise.
17769 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17771         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17773 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17775         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17777 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17779         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17780         __syscall_ulong_t.
17782         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17783         include <bits/wordsize.h>.  Check __x86_64__ instead of
17784         __WORDSIZE.
17785         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17786         defined.
17787         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17789         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17790         include <bits/wordsize.h>.  Check __x86_64__ instead of
17791         __WORDSIZE.
17792         (user_regs_struct): Use "__extension__ unsigned long long"
17793         instead of "unsigned long" if __x86_64__ is defined.
17794         (user): Likewise.  Pad after pointer field if __ILP32__ is
17795         defined.
17797 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17799         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17800         versions 5 to 9.
17801         * configure: Regenerated.
17802         * manual/install.texi (texinfo): Increase version requirement to
17803         4.5 or later.
17804         * INSTALL: Regenerated.
17806         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17808 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17810         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17812         * sysdeps/x86_64/x32/ffs.c: New file.
17814         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17815         __syscall_ulong_t.
17816         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17817         defined.  Use __syscall_ulong_t.
17818         (shminfo): Use __syscall_ulong_t.
17819         (shm_info): Likewise.
17821         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17822         __syscall_ulong_t.
17824         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17825         <bits/wordsize.h>.
17826         (msgqnum_t): Use __syscall_ulong_t.
17827         (msglen_t): Likewise.
17828         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17829         __syscall_ulong_t.
17831         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17832         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17834         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17836         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17837         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17839         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17840         __syscall_slong_t.
17842         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17843         include <bits/wordsize.h>.  Check __x86_64__ instead of
17844         __WORDSIZE.
17846         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17847         "unsigned long long int" if __x86_64__ is defined.
17848         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17850         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17851         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17852         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17854         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17855         <stdint.h>.
17856         (GET_PC): Cast to uintptr_t first.
17857         (GET_FRAME): Likewise.
17858         (GET_STACK): Likewise.
17860         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17861         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17862         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17863         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17864         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17865         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17866         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17867         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17868         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17869         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17870         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17871         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17872         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17873         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17874         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17875         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17876         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17877         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17878         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17879         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17880         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17881         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17882         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17883         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17884         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17885         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17886         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17887         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17888         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17890 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17892         * Makerules (+depfiles): Also collect depfiles from .oS in
17893         $(extra-objs).
17894         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17895         .oS, $(libnldbl-routines)).
17897         * Makerules (native-compile-mkdep-flags): Define.
17898         * sunrpc/Makefile (extra-objs): Add $(addprefix
17899         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17900         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17901         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17902         calling $(make-target-directory).
17904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17906         * bits/types.h (__snseconds_t): Removed.
17907         * time/time.h (struct timespec): Replace __snseconds_t with
17908         __syscall_slong_t.
17909         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17910         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17911         Likewise.
17912         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17913         (__SNSECONDS_T_TYPE): Likewise.
17914         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17915         (__SNSECONDS_T_TYPE): Likewise.
17916         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17917         (__SNSECONDS_T_TYPE): Likewise.
17919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17921         * sysdeps/mach/hurd/bits/typesizes.h
17922         (__SYSCALL_SLONG_TYPE): New macro.
17923         (__SYSCALL_ULONG_TYPE): Likewise.
17925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17927         * bits/types.h (__syscall_slong_t): New type.
17928         (__syscall_ulong_t): Likewise.
17930         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17931         (__SYSCALL_ULONG_TYPE): Likewise.
17932         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17933         (__SYSCALL_SLONG_TYPE): Likewise.
17934         (__SYSCALL_ULONG_TYPE): Likewise.
17935         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17936         (__SYSCALL_SLONG_TYPE): Likewise.
17937         (__SYSCALL_ULONG_TYPE): Likewise.
17938         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17939         (__SYSCALL_SLONG_TYPE): Likewise.
17940         (__SYSCALL_ULONG_TYPE): Likewise.
17942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17944         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17945         Add sigaltstack-offsets.sym.
17946         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17947         <sigaltstack-offsets.h>.
17948         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17949         longjmp_msg pointer.
17950         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17951         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17952         signal stack.
17953         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17955 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17957         * elf/stackguard-macros.h: Remove file.
17958         * sysdeps/generic/stackguard-macros.h: New file.
17959         * sysdeps/i386/stackguard-macros.h: Likewise.
17960         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17961         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17962         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17963         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17964         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17965         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17966         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17967         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17968         <elf/stackguard-macros.h>.
17970         [BZ #14109]
17971         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17972         __aligned__ in attribute.
17973         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17974         (gregset_t): Likewise.
17976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17978         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17979         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17980         * sysdeps/x86_64/x32/Implies-after: New file.
17982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17984         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17985         and access return value for _dl_profile_fixup.  Use R10_LP to
17986         load frame size.
17988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17990         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17994         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17995         * sysdeps/x86_64/x32/sysdep.h: New file.
17997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17999         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18000         * sysdeps/x86_64/setjmp.S: Likewise.
18002 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18004         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18005         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18006         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18007         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18008         remove unused global constant.
18010 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
18012         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18013         include of <not-cancel.h>.
18015 2012-05-15  Roland McGrath  <roland@hack.frob.com>
18017         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18019 2012-05-15  Jeff Law  <law@redhat.com>
18020             Andreas Jaeger  <aj@suse.de>
18022         [BZ #13594]
18023         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18024         out from...
18025         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18026         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18027         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18028         code changing __hst_map_handle.map.
18030 2012-05-15  Roland McGrath  <roland@hack.frob.com>
18032         * configure.in (sysnames): Look for Implies-before and Implies-after
18033         files.
18034         * configure: Regenerated.
18036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18038         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18039         8-byte data alignment with LP_SIZE alignment.
18041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18043         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18044         into R10_LP.
18046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18048         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18052         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18053         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18054         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18055         Likewise.
18056         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18060         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18061         (stackinfo_sub_sp): Likewise.
18063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18065         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18066         RAX_LP.
18068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18070         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18071         into R*_LP.
18073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18075         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18076         sizes into R*_LP.
18078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18080         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18084         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18085         into R11_LP and load __x86_64_shared_cache_size_half into
18086         R8_LP.
18088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18090         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18091         R8_LP.
18093 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18095         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18096         logb for POWER7.
18097         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18098         logbf for POWER7.
18099         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18100         logbl for POWER7.
18101         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18102         powerpc32/power7/fpu/s_logb.c via #include.
18103         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18104         powerpc32/power7/fpu/s_logbf.c via #include.
18105         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18106         powerpc32/power7/fpu/s_logbl.c via #include.
18108 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
18110         * README.libm: Remove file.
18112 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18114         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18115         count for x32.  Use R*_LP and omit operand-size suffix.
18117 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18119         * shlib-versions: Move x86_64-.*-linux.* entries to ...
18120         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
18121         * sysdeps/x86_64/x32/shlib-versions: New file.
18123 2012-05-14  Roland McGrath  <roland@hack.frob.com>
18125         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18126         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18127         Use _dl_fatal_printf instead.
18129 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18131         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18132         set if not set by the user.  Do not allow for being unset.
18133         * sysdeps/unix/sysv/linux/configure: Regenerated.
18135 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18137         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18138         the `q' suffix from lea and replace .quad with ASM_ADDR.
18140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18143         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
18144         instead of $17.
18145         (PTR_DEMANGLE): Likewise.
18147 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18149         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18150         (LP_OP): Likewise.
18151         (ASM_ADDR): Likewise.
18152         (RAX_LP): Likewise.
18153         (RBP_LP): Likewise.
18154         (RBX_LP): Likewise.
18155         (RCX_LP): Likewise.
18156         (RDI_LP): Likewise.
18157         (RSI_LP): Likewise.
18158         (RSP_LP): Likewise.
18159         (R8_LP): Likewise.
18160         (R9_LP): Likewise.
18161         (R10_LP): Likewise.
18162         (R10_LP): Likewise.
18163         (R11_LP): Likewise.
18164         (R12_LP): Likewise.
18165         (R13_LP): Likewise.
18166         (R14_LP): Likewise.
18167         (R15_LP): Likewise.
18169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18171         * sysdeps/x86_64/x32/dl-machine.h: New file.
18173 2012-05-14  Andreas Jaeger  <aj@suse.de>
18175         * manual/Makefile (subdir): Remove export of subdir.
18176         (all): Remove target.
18177         (.PHONY): Remove all from list.
18178         (mkinstalldirs): Remove.
18179         (.PHONY): Remove installdirs from list.
18180         ($(inst_infodir)/libc.info): Use make-target-directory.
18181         (installdirs): Remove.
18182         (subdir_%): Remove.
18183         (glibc-targets): Remove.
18184         (lib): Remove.
18185         (stubs): Remove.
18186         ($(objpfx)stubs ../po/manual.pot): Remove.
18187         ($(objpfx)stamp%): Remove.
18188         (make-target-directory): Remove.
18189         (subdir_install): Remove.
18190         (routines): Remove.
18191         (aux): Remove.
18192         (sources): Remove.
18193         (objects): Remove.
18194         (headers): Remove.
18196         [BZ #13750]
18197         * manual/.gitignore: Remove, it's not needed anymore.
18198         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18199         all files in it.
18200         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18201         directory.
18202         (texis): Renamed to $(objpfx)texis.
18203         (texis-path): New, contains path to generated files.
18204         (chapters.%): Use texis-path for complete path, add extra argument
18205         libc-texinfo.sh.
18206         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18207         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18208         (summary,texi, stamp-summary): Use complete path of
18209         files. Generate files in build dir.
18210         (dir-add.texi): Build in build dir.
18211         (libm-err.texi,stamp-libm-err): Likewise.
18212         (version.texi, stamp-version): Likewise.
18213         (.%c.texi): Likewise.
18214         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18215         (mostlyclean): Remove target.
18216         (realclean): Remove target.
18217         (generated): Add new variable with contents from mostlyclean and
18218         realclean, remove entries duplicated in common-mostlyclean, add
18219         stamp-libm-err and stamp-version.
18220         (generated-dirs): Add libc directory.
18221         ($(inst_infodir)/libc.info): Install files from build dir.
18223         * manual/install.texi (Configuring and compiling): Adjust since
18224         the info files are not part of the tar ball anymore.
18226 2012-05-14  Andreas Jaeger  <aj@suse.de>
18228         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18229         variable.
18231 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18233         [BZ #13717]
18234         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18235         to 2.2.0 where earlier.
18236         * sysdeps/unix/sysv/linux/configure: Regenerated.
18237         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18238         Remove conditional code.
18239         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18240         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18241         Remove conditional code.
18242         [!__NR_lchown]: Likewise.
18243         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18244         [__NR_lchown]: Likewise.
18245         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18246         comment referencing __ASSUME_LCHOWN_SYSCALL.
18247         * sysdeps/unix/sysv/linux/i386/sigaction.c
18248         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18249         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18250         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18251         Remove conditional code.
18252         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18253         (__protocol_available): Remove #if 0 code.
18254         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18255         conditional code.
18256         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18257         * sysdeps/unix/sysv/linux/kernel-features.h
18258         (__ASSUME_GETCWD_SYSCALL): Don't define.
18259         (__ASSUME_REALTIME_SIGNALS): Likewise.
18260         (__ASSUME_PREAD_SYSCALL): Likewise.
18261         (__ASSUME_PWRITE_SYSCALL): Likewise.
18262         (__ASSUME_POLL_SYSCALL): Likewise.
18263         (__ASSUME_LCHOWN_SYSCALL): Likewise.
18264         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18265         non-SPARC.
18266         (__ASSUME_SIOCGIFNAME): Don't define.
18267         (__ASSUME_MSG_NOSIGNAL): Likewise.
18268         (__ASSUME_SENDFILE): Define unconditionally.
18269         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18270         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18271         conditional code.
18272         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18273         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18274         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18275         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18276         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18277         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18278         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18280         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18281         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18283         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18284         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18286         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18289         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18290         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18292         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18295         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18296         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18298         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18301         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18302         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18303         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18304         Remove conditional code.
18305         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18306         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18307         Remove conditional code.
18308         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18309         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18310         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18311         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18312         Remove conditional code.
18313         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18314         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18315         Remove conditional code.
18316         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18317         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18318         Remove conditional code.
18319         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18320         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18321         Remove conditional code.
18322         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18323         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18324         Remove conditional code.
18325         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18326         * sysdeps/unix/sysv/linux/sh/pwrite64.c
18327         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18328         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18329         * sysdeps/unix/sysv/linux/sigaction.c
18330         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18331         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18332         * sysdeps/unix/sysv/linux/sigpending.c
18333         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18334         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18335         * sysdeps/unix/sysv/linux/sigprocmask.c
18336         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18337         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18338         * sysdeps/unix/sysv/linux/sigsuspend.c
18339         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18340         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18341         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18342         (__libc_missing_rt_sigs): Remove.
18343         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18344         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18345         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18346         Remove conditional code.
18347         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18348         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18349         return 1.
18350         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18351         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18352         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18353         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18355 2012-05-14  Andreas Jaeger  <aj@suse.de>
18357         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18358         it's not used in glibc.
18359         (__coshm1): Likewise.
18360         (__acosh1p): Likewise.
18361         (__sgn): Likewise.
18363         * manual/string.texi (Copying and Concatenation): Add missing
18364         variable in concat example.
18365         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18367 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18369         [BZ #14103]
18370         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18371         __builtin_clzl with __builtin_clzll.
18373 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18375         [BZ #14104]
18376         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18377         libc_freeres_ptr.
18379 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18381         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18382         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18383         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18384         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18386 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
18388         * NEWS: Update ia64 info.
18390 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18392         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18393         used as bcopy.
18395 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
18397         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18398         * sysdeps/unix/syscalls.list (dup3): Likewise.
18399         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18400         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18402 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18404         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18405         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18407 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18409         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18410         thread pointer.
18411         (TLS_IE): Use mov/add instead of movq/addq to load thread
18412         pointer.
18413         (TLS_GD_PREFIX): New.
18414         (TLS_GD): Use it.
18416 2012-05-11  David S. Miller  <davem@davemloft.net>
18418         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18419         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18420         (_FPU_SETCW): Likewise.
18422 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18424         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18425         is 32-byte aligned.
18427 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
18429         [BZ #11837]
18430         * iconvdata/gb18030.c: Update tables.
18431         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
18432         characters specially.
18433         (BODY for TO_LOOP): Add encoding of missing ranges.
18435 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
18437         [BZ #13673]
18438         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18439         * sysdeps/mach/hurd/dup3.c: Likewise.
18440         * sysdeps/mach/hurd/readlinkat.c: Likewise.
18441         * sysdeps/powerpc/memmove.c:: Likewise.
18443 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18445         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18446         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18448 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18450         * elf/elf.h (R_X86_64_RELATIVE64): New.
18451         (R_X86_64_NUM): Updated.
18452         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18453         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
18454         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18455         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18456         tst-quad1pie tst-quad2pie
18457         (modules-names): Add tst-quadmod1 tst-quadmod2.
18458         ($(objpfx)tst-quad1): New dependency.
18459         ($(objpfx)tst-quad2): Likewise.
18460         ($(objpfx)tst-quad1pie): Likewise.
18461         ($(objpfx)tst-quad2pie): Likewise.
18462         * sysdeps/x86_64/tst-quad1.c: New file.
18463         * sysdeps/x86_64/tst-quad1pie.c: New file.
18464         * sysdeps/x86_64/tst-quad2.c: Likewise.
18465         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18466         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18467         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18468         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18469         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18473         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18474         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18475         * streams/stropts.h (t_scalar_t): Define type.
18477         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18478         (_PATH_PRESERVE): Set to "/var/lib".
18479         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18481         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18482         instead of int.
18484         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18485         if __dir_mkfile succeeded.
18487         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18488         checking for _hurd_dtablesize.  Unlock it right after having
18489         finished _hurd_dtable allocation.
18491 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18493         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18494         * sysdeps/mach/hurd/configure: Regenerated.
18495         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18496         special-casing to...
18497         * sysdeps/gnu/configure.in: ... this new file.
18498         * sysdeps/unix/sysv/linux/configure: Regenerated.
18499         * sysdeps/gnu/configure: New generated file.
18501         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18502         for Linux: use nsec instead of usec, as well as:
18503         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18504         members of type struct timespec.
18505         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18506         New macros.
18507         (struct stat64): Likewise.
18508         (_STATBUF_ST_NSEC): New macro.
18509         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18511         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18512         __strtoul_internal rather than strtoul.
18514 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18516         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18517         and reject them.
18519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18521         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18522         which preserves existing values.
18523         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18525 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18527         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18528         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18529         greater than FD_SETSIZE.
18531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18533         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18534         allocated, call __vm_protect to finish enabling the existing space, and
18535         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18536         allocate the remainder.
18538 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18540         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18541         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18545         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18546         sysdeps/mach/hurd/readlink.c.
18548         * posix/tst-sysconf.c (posix_options): Only use
18549         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18550         _POSIX_SYNCHRONIZED_IO when they are defined
18551         * sysdeps/mach/hurd/bits/posix_opt.h:
18552         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18553         (_XOPEN_REALTIME): Undefine macro.
18554         (_XOPEN_REALTIME_THREADS): Undefine macro.
18555         (_XOPEN_SHM): Undefine macro.
18556         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18557         macro to -1.
18558         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18559         macro to -1.
18560         (_POSIX_ASYNC_IO): Undefine macro.
18561         (_POSIX_PRIORITIZED_IO): Undefine macro.
18562         (_POSIX_SPIN_LOCKS): Define macro to -1.
18564         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18565         SA_NODEFER, SA_RESETHAND.
18566         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18567         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18568         F_DUPFD_CLOEXEC.
18570 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18572         * elf/Makefile (pldd-modules): Define unconditionally.
18574 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18576         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18580         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18581         Return ENOENT when name is empty.
18582         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18584 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18586         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18588         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18590 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18592         Fix mlock in all cases except non-readable pages.
18593         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18594         instead of VM_PROT_ALL as parameter to __vm_wire function.
18596         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18597         (__mkdir): When path is `/', just fail with EEXIST.
18598         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18602         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18603         <sys/uio.h> (for writev).
18604         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18605         and <sys/param.h> (for MIN).
18607 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18609         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18610         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18611         if interrupted.
18613 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18615         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18616         Depend on against $(link-rpcuserlibs).
18618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18620         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18621         (__libc_stack_end): Do not use attribute_relro.
18622         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18623         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18624         to libthread-provided value.
18625         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18626         attribute_relro.
18628 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18630         [BZ #3748]
18631         * bits/libc-lock.h (__libc_once_get): New macro.
18632         * sysdeps/mach/bits/libc-lock.h: Likewise.
18633         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18634         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18635         instead of using implementation details.
18637         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18638         * libio/freopen.c: Likewise.
18639         * libio/freopen64.c: Likewise.
18640         * misc/syslog.c: Likewise.
18641         * nscd/connections.c: Likewise.
18642         * nscd/netgroupcache.c: Likewise.
18643         * sysdeps/posix/getcwd.c: Likewise.
18645 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18647         * math/w_ilogbf.c: Add #include <limits.h>.
18649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18651         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18652         path instead of returning without unlocking.
18654         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18655         immediate-write ioctls.
18656         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18660         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18661         __builtin_frame_address instead of making assumptions about the
18662         location of the return address relative to DATA.  Force early load of
18663         the return address.
18664         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18665         __builtin_frame_address.
18667         dup3 for GNU Hurd.
18668         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18669         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18670         implement dup3 and do some further code clean-ups.
18671         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18672         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18676         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18678         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18679         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18680         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18681         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18682         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18683         d->port.lock.
18685         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18686         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18687         when handler == SIG_ERR, not when handler != SIG_ERR.
18689 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18691         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18692         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18693         definitions.
18695         accept4 for GNU Hurd.
18696         * include/sys/socket.h (__libc_accept4): New prototype.
18697         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18698         to implement __libc_accept4.
18699         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18700         __libc_accept4.
18701         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18703         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18704         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18705         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18706         signal-defines.sym.
18708 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18710         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18714         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18715         assertion on O_CLOEXEC flag.
18716         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18717         * hurd/intern-fd.c: Likewise.
18718         * hurd/port2fd.c: Likewise.
18720 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18722         [BZ #3906]
18723         * bits/in.h (IPV6_PKTINFO): Define new macro.
18724         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18726 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18728         [BZ #13954]
18729         [BZ #13955]
18730         [BZ #13956]
18731         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18732         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18733         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18734         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18735         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18736         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18737         * math/libm-test.inc (logb_test) : Additional logb tests.
18739 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18740             Andreas Jaeger  <aj@suse.de>
18742         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18743         * configure: Regenerated.
18744         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18745         * config.make.in (link-obsolete-rpc): New substituted variable.
18746         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18747         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18748         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18749         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18750         so that libc.a contains the symbols.
18751         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18752         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18753         * sunrpc/auth_none.c: Likewise.
18754         * sunrpc/auth_unix.c: Likewise.
18755         * sunrpc/authdes_prot.c: Likewise.
18756         * sunrpc/authuxprot.c: Likewise.
18757         * sunrpc/clnt_gen.c: Likewise.
18758         * sunrpc/clnt_perr.c: Likewise.
18759         * sunrpc/clnt_raw.c: Likewise.
18760         * sunrpc/clnt_simp.c: Likewise.
18761         * sunrpc/clnt_tcp.c: Likewise.
18762         * sunrpc/clnt_udp.c: Likewise.
18763         * sunrpc/clnt_unix.c: Likewise.
18764         * sunrpc/des_crypt.c: Likewise.
18765         * sunrpc/des_soft.c: Likewise.
18766         * sunrpc/get_myaddr.c: Likewise.
18767         * sunrpc/key_call.c: Likewise.
18768         * sunrpc/key_prot.c: Likewise.
18769         * sunrpc/netname.c: Likewise.
18770         * sunrpc/pm_getmaps.c: Likewise.
18771         * sunrpc/pm_getport.c: Likewise.
18772         * sunrpc/pmap_clnt.c: Likewise.
18773         * sunrpc/pmap_prot.c: Likewise.
18774         * sunrpc/pmap_prot2.c: Likewise.
18775         * sunrpc/pmap_rmt.c: Likewise.
18776         * sunrpc/publickey.c: Likewise.
18777         * sunrpc/rpc_cmsg.c: Likewise.
18778         * sunrpc/rpc_common.c: Likewise.
18779         * sunrpc/rpc_dtable.c: Likewise.
18780         * sunrpc/rpc_prot.c: Likewise.
18781         * sunrpc/rpc_thread.c: Likewise.
18782         * sunrpc/rtime.c: Likewise.
18783         * sunrpc/svc.c: Likewise.
18784         * sunrpc/svc_auth.c: Likewise.
18785         * sunrpc/svc_raw.c: Likewise.
18786         * sunrpc/svc_run.c: Likewise.
18787         * sunrpc/svc_tcp.c: Likewise.
18788         * sunrpc/svc_udp.c: Likewise.
18789         * sunrpc/svc_unix.c: Likewise.
18790         * sunrpc/svcauth_des.c: Likewise.
18791         * sunrpc/xcrypt.c: Likewise.
18792         * sunrpc/xdr.c: Likewise.
18793         * sunrpc/xdr_array.c: Likewise.
18794         * sunrpc/xdr_float.c: Likewise.
18795         * sunrpc/xdr_intXX_t.c: Likewise.
18796         * sunrpc/xdr_mem.c: Likewise.
18797         * sunrpc/xdr_rec.c: Likewise.
18798         * sunrpc/xdr_ref.c: Likewise.
18799         * sunrpc/xdr_sizeof.c: Likewise.
18800         * sunrpc/xdr_stdio.c: Likewise.
18802 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18804         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18805         change.  Update copyright years.
18807 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18809         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18811 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18812             Joseph Myers  <joseph@codesourcery.com>
18813             Paul Pluzhnikov  <ppluzhnikov@google.com>
18815         [BZ #14012]
18816         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18817         requiring rpcgen.
18818         [cross-compiling] (extra-libs): Likewise.
18819         [cross-compiling] (extra-libs-others): Likewise.
18820         [cross-compiling] (librpcsvc-routines): Likewise.
18821         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18822         [cross-compiling] (omit-deps): Likewise.
18823         (sunrpc-CPPFLAGS): New variable.
18824         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18825         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18826         (cross-rpcgen-objs): New variable.
18827         (extra-objs): Append $(cross-rpcgen-objs).
18828         ($(cross-rpcgen-objs)): New rule.
18829         ($(objpfx)cross-rpcgen): Likewise.
18830         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18831         comment.
18832         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18833         ($(objpfx)x%.stmp): Likewise.
18834         * sunrpc/proto.h [IS_IN_build] (_): Define.
18835         [IS_IN_build] (_libc_intl_domainname): Likewise.
18837 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18839         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18840         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18841         and R_X86_64_TPOFF64.
18843 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18845         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18846         sysdeps/unix/sysv/syscalls.list.
18847         (stime): Likewise.
18848         (utime): Likewise.
18849         * sysdeps/unix/sysv/syscalls.list: Remove file.
18851 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18853         [BZ #3440]
18854         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18855         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18856         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18857         (__LC_IDENTIFICATION): Make these macros useful in #if
18858         expressions, as required by C99.
18860 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18862         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18863         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18864         after this.
18866 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18868         * stdlib/longlong.h: Updated from GCC.
18870 2012-05-09  Andreas Jaeger  <aj@suse.de>
18872         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18873         default is first entry.
18874         (run_mode): Set type.
18875         (main): Remove informal message about syslog.
18876         (options): Fix typo.
18878         [BZ #14053]
18879         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18880         to asm.
18881         (lrint): Likewise.
18882         (llrintf): Likewise.
18883         (llrint): Likewise.
18884         (rint): Likewise.
18885         (rintf): Likewise.
18886         (nearbyint): Likewise.
18887         (nearbyintf): Likewise.
18889 2012-05-09  Andreas Jaeger  <aj@suse.de>
18890             Pedro Alves  <palves@redhat.com>
18892         * nscd/nscd.c (run_mode): Use enum.
18893         (main): Cleanup coding style issue.
18895 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18896             Andreas Jaeger  <aj@suse.de>
18898         * nscd/nscd.c (go_background): Replaced with...
18899         (run_mode): ... this.
18900         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18901         (options): Add -F --foreground.
18902         (main): Implement it.
18903         (parse_opt): Parse it.
18905 2012-05-09  Andreas Jaeger  <aj@suse.de>
18907         [BZ #14083]
18908         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18909         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18910         -Wconversion warning.
18911         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18912         Likewise.
18914 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18916         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18917         == 0.
18918         (LC_ALL): Use macro-int-constant.
18919         (LC_COLLATE): Likewise.
18920         (LC_CTYPE): Likewise.
18921         (LC_MESSAGES): Likewise.
18922         (LC_MONETARY): Likewise.
18923         (LC_NUMERIC): Likewise.
18924         (LC_TIME): Likewise.
18925         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18926         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18927         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18928         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18929         Specify type.
18930         [C99-based standards] (float_t): Expect type.
18931         [C99-based standards] (double_t): Expect type.
18932         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18933         type.
18934         [C99-based standards] (HUGE_VALL): Likewise.
18935         [C99-based standards] (INFINITY): Likewise.
18936         [C99-based standards] (NAN): Likewise.
18937         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18938         [C99-based standards] (FP_NAN): Likewise.
18939         [C99-based standards] (FP_NORMAL): Likewise.
18940         [C99-based standards] (FP_SUBNORMAL): Likewise.
18941         [C99-based standards] (FP_ZERO): Likewise.
18942         [C99-based standards] (FP_FAST_FMA): Use
18943         optional-macro-int-constant.  Specify type.  Require == 1.
18944         [C99-based standards] (FP_FAST_FMAF): Likewise.
18945         [C99-based standards] (FP_FAST_FMAL): Likewise.
18946         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18947         [C99-based standards] (FP_ILOGBNAN): Likewise.
18948         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18949         Specify type.
18950         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18951         [C99-based standards] (math_errhandling): Specify type.
18952         [ISO99 || ISO11] (signgam): Do not allow.
18953         [non-C99-based standards] (copysignf): Do not allow.
18954         [non-C99-based standards] (exp2f): Likewise.
18955         [non-C99-based standards] (log2f): Likewise.
18956         [non-C99-based standards] (modff): Allow.
18957         [non-C99-based standards] (erff): Do not allow.
18958         [non-C99-based standards] (erfcf): Likewise.
18959         [non-C99-based standards] (gammaf): Likewise.
18960         [non-C99-based standards] (hypotf): Likewise.
18961         [non-C99-based standards] (j0f): Likewise.
18962         [non-C99-based standards] (j1f): Likewise.
18963         [non-C99-based standards] (jnf): Likewise.
18964         [non-C99-based standards] (lgammaf): Likewise.
18965         [non-C99-based standards] (tgammaf): Likewise.
18966         [non-C99-based standards] (y0f): Likewise.
18967         [non-C99-based standards] (y1f): Likewise.
18968         [non-C99-based standards] (ynf): Likewise.
18969         [non-C99-based standards] (isnanf): Likewise.
18970         [non-C99-based standards] (acoshf): Likewise.
18971         [non-C99-based standards] (asinhf): Likewise.
18972         [non-C99-based standards] (atanhf): Likewise.
18973         [non-C99-based standards] (cbrtf): Likewise.
18974         [non-C99-based standards] (expm1f): Likewise.
18975         [non-C99-based standards] (ilogbf): Likewise.
18976         [non-C99-based standards] (log1pf): Likewise.
18977         [non-C99-based standards] (logbf): Likewise.
18978         [non-C99-based standards] (nextafterf): Likewise.
18979         [non-C99-based standards] (remainderf): Likewise.
18980         [non-C99-based standards] (rintf): Likewise.
18981         [non-C99-based standards] (scalbf): Likewise.
18982         [non-C99-based standards] (copysignl): Likewise.
18983         [non-C99-based standards] (exp2l): Likewise.
18984         [non-C99-based standards] (log2l): Likewise.
18985         [non-C99-based standards] (modfl): Allow.
18986         [non-C99-based standards] (erfl): Do not allow.
18987         [non-C99-based standards] (erfcl): Likewise.
18988         [non-C99-based standards] (gammal): Likewise.
18989         [non-C99-based standards] (hypotl): Likewise.
18990         [non-C99-based standards] (j0l): Likewise.
18991         [non-C99-based standards] (j1l): Likewise.
18992         [non-C99-based standards] (jnl): Likewise.
18993         [non-C99-based standards] (lgammal): Likewise.
18994         [non-C99-based standards] (tgammal): Likewise.
18995         [non-C99-based standards] (y0l): Likewise.
18996         [non-C99-based standards] (y1l): Likewise.
18997         [non-C99-based standards] (ynl): Likewise.
18998         [non-C99-based standards] (isnanl): Likewise.
18999         [non-C99-based standards] (acoshl): Likewise.
19000         [non-C99-based standards] (asinhl): Likewise.
19001         [non-C99-based standards] (atanhl): Likewise.
19002         [non-C99-based standards] (cbrtl): Likewise.
19003         [non-C99-based standards] (expm1l): Likewise.
19004         [non-C99-based standards] (ilogbl): Likewise.
19005         [non-C99-based standards] (log1pl): Likewise.
19006         [non-C99-based standards] (logbl): Likewise.
19007         [non-C99-based standards] (nextafterl): Likewise.
19008         [non-C99-based standards] (remainderl): Likewise.
19009         [non-C99-based standards] (rintl): Likewise.
19010         [non-C99-based standards] (scalbl): Likewise.
19011         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19012         [non-C99-based standards] (FP_*): Do not allow.
19013         [C99-based standards] (FP_*): Change to
19014         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19015         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19016         allow.
19017         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19018         (SIG_ERR): Likewise.
19019         [X/Open-based standards] (SIG_HOLD): Likewise.
19020         (SIG_IGN): Likewise.
19021         (SIGABRT): Use macro-int-constant.  Specify type.  Require
19022         positive value.
19023         (SIGFPE): Likewise.
19024         (SIGILL): Likewise.
19025         (SIGINT): Likewise.
19026         (SIGSEGV): Likewise.
19027         (SIGTER): Likewise.
19028         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19029         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19030         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19031         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19032         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19033         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19034         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19035         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19036         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19037         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19038         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19039         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19040         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19041         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19042         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19043         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19044         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19045         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19046         [X/Open-based standards] (SIGTRAP): Likewise.
19047         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19048         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19049         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19050         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19051         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19052         allow.
19054 2012-05-08  Ian Wienand  <ianw@vmware.com>
19056         [BZ #14080]
19057         * time/tzset.c (__tzset_parse_tz): Update default rules for
19058         daylight time changes in the Energy Policy Act of 2005.
19060 2012-05-09  Andreas Jaeger  <aj@suse.de>
19062         [BZ #13983]
19063         * elf/ldconfig.c (parse_conf): Change string to make clear that
19064         ldconfig only issued a warning if ld.so.conf does not exist.
19066 2012-05-08  David S. Miller  <davem@davemloft.net>
19068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19069         movxtod instead of popping the value on the stack.
19071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19073 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
19075         * config.h.in: Add HAVE_ARM_PCS_VFP.
19077 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
19079         [BZ #13979]
19080         * include/features.h: Warn if user requests __FORTIFY_SOURCE
19081         checking but the checks are disabled for any reason.
19083 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19085         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19086         and ELF64_R_TYPE with ELFW(R_TYPE).
19088 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
19090         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19091         (ulimit): Likewise.
19093         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19094         (settimeofday): Likewise.
19096 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
19098         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
19099         a struct th_u2 inside the union, and move tu_block/tu_code into
19100         a new th_u3 union of tu_block/tu_code inside of that.  Move
19101         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
19102         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
19103         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19104         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19105         (th_stuff): Change to th_u1.tu_stuff.
19106         (th_data): Define.
19107         (th_msg): Change to th_u1.th_u2.tu_data.
19109 2012-05-07  David S. Miller  <davem@davemloft.net>
19111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19113         [BZ #14074]
19114         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19115         (SETUP_PIC_REG): Use it.
19116         (SETUP_PIC_REG_LEAF): Use it.
19118 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
19120         [BZ #13885]
19121         [BZ #13923]
19122         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19123         USE_AS_EXPM1L.
19124         (EXPL_FINITE): Likewise.
19125         (FLDLOG): Likewise.
19126         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19127         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19128         e_expl.S.
19129         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19130         USE_AS_EXPM1L.
19131         (EXPL_FINITE): Likewise.
19132         (FLDLOG): Likewise.
19133         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19134         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19135         e_expl.S.
19136         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
19137         test of -max_value argument for long double.
19138         * sysdeps/i386/fpu/libm-test-ulps: Update.
19139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19141 2012-05-06  David S. Miller  <davem@davemloft.net>
19143         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19144         quad soft-float symbols whose references which are compiler
19145         generated.
19146         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19148 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
19150         [BZ #13884]
19151         [BZ #13914]
19152         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19153         USE_AS_EXP10L.
19154         (EXPL_FINITE): Likewise.
19155         (FLDLOG): Likewise.
19156         (c0): Likewise.
19157         (c1): Likewise.
19158         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19159         Adjust comments for base varying.
19160         (__expl_finite): Change alias to EXPL_FINITE.
19161         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19162         e_expl.S.
19163         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19164         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19165         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19166         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19167         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19168         USE_AS_EXP10L.
19169         (EXPL_FINITE): Likewise.
19170         (FLDLOG): Likewise.
19171         (c0): Likewise.
19172         (c1): Likewise.
19173         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19174         Adjust comments for base varying.
19175         (__expl_finite): Change alias to EXPL_FINITE.
19176         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
19177         tests for bugs.
19178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19180         [BZ #14064]
19181         * math/libm-test.inc (check_float_internal): Correct ulp
19182         calculation for subnormal expected results.
19184 2012-05-06  Andreas Jaeger  <aj@suse.de>
19186         * Makeconfig (+math-flags): New, set to -frounding-math.
19187         (+cflags): Add +math-flags so that all of glibc gets compiled with
19188         it.
19190         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19192 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
19194         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19195         Disable one test.
19197         [BZ #13787]
19198         [BZ #13922]
19199         [BZ #14036]
19200         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19201         (__ieee754_expl): Allow for and saturate large arguments.
19202         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19203         (u_threshold): Likewise.
19204         (__exp): Call __ieee754_exp before checking for overflow and
19205         underflow.
19206         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19207         (u_threshold): Likewise.
19208         (__expf): Call __ieee754_expf before checking for overflow and
19209         underflow.
19210         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19211         (u_threshold): Likewise.
19212         (__expl): Call __ieee754_expl before checking for overflow and
19213         underflow.
19214         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19215         (__ieee754_expl): Allow for and saturate large arguments.
19216         * math/libm-test.inc (exp_test): Add another test.  Do not allow
19217         missing overflow exception on overflow.
19218         (expm1_test): Do not allow missing overflow exception on overflow.
19220         * sysdeps/i386/fpu/e_expl.c: Move to ...
19221         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
19222         rather than using inline asm.
19223         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19224         * sysdeps/x86_64/fpu/e_expl.S: Copy from
19225         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19227         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19228         (nice): Likewise.
19229         (poll): Likewise.
19230         (signal): Likewise.
19231         (time): Likewise.
19232         (times): Likewise.
19234 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19236         * sysdeps/unix/syscalls.list (adjtime): Add entry from
19237         sysdeps/unix/common/syscalls.list.
19238         (fchmod): Likewise.
19239         (fchown): Likewise.
19240         (ftruncate): Likewise.
19241         (getrusage): Likewise.
19242         (gettimeofday): Likewise.
19243         (setpgid): Likewise.
19244         (setregid): Likewise.
19245         (setreuid): Likewise.
19246         (sigaction): Likewise.
19247         (truncate): Likewise.
19248         (vhangup): Likewise.
19249         * sysdeps/unix/common/syscalls.list: Remove file.
19250         * sysdeps/unix/bsd/Implies: Don't include unix/common.
19251         * sysdeps/unix/sysv/linux/Implies: Likewise.
19253 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
19255         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19257         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19258         Moved to ...
19259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19260         Here.
19261         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19262         to ...
19263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19264         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19265         to ...
19266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19267         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19268         to ...
19269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19270         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19271         to ...
19272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19273         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19274         to ...
19275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19276         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19277         to ...
19278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19279         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19280         to ...
19281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19282         Here.
19283         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19284         to ...
19285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19286         Here.
19287         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19288         to ...
19289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19290         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19291         Moved to ...
19292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19293         Here.
19294         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19295         to ...
19296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19298 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19300         * sysdeps/unix/common/bits/dirent.h: Remove file.
19301         * sysdeps/unix/common/bits/fcntl.h: Likewise.
19303         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19304         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19305         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19306         * sysdeps/unix/bsd/isatty.c: Likewise.
19307         * sysdeps/unix/bsd/tcdrain.c: Likewise.
19308         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19309         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19311 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19313         [BZ #13563]
19314         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19315         long double comparison inaccuracies.
19316         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19319 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
19321         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19322         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19324 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19326         [BZ #14049]
19327         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19328         nonzero digits before rounding a hex value.
19329         * stdlib/tst-strtod.c (tests): Add another test.
19331 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19333         * sysdeps/s390/fpu/libm-test-ulps: Update.
19335 2012-05-03  Andreas Jaeger  <aj@suse.de>
19337         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19338         does not get optimized out.
19339         (malloc_opt_barrier): New.
19341 2012-05-03  Andreas Jaeger  <aj@suse.de>
19342             Roland McGrath  <roland@hack.frob.com>
19344         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19345         intermediate file deletion.
19346         (generated): Add .symlist files.
19348 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
19350         [BZ #13775]
19351         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19352         Redirect under this condition.
19353         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19354         [__USE_GNU] (__dprintf_chk): Not under this condition.
19355         [__USE_GNU] (__vdprintf_chk): Likewise.
19356         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19357         under this condition.
19358         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19359         [__USE_XOPEN2K8] (dprintf): Define under this condition.
19360         [__USE_XOPEN2K8] (vdprintf): Likewise.
19361         [__USE_GNU] (__dprintf_chk): Not under this condition.
19362         [__USE_GNU] (__vdprintf_chk): Likewise.
19363         [__USE_GNU] (dprintf): Likewise.
19364         [__USE_GNU] (vdprintf): Likewise.
19366 2012-05-03  Roland McGrath  <roland@hack.frob.com>
19368         * elf/Makefile (common-generated): Set this instead of generated for
19369         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
19370         $(all-built-dso)-derived lists.
19372 2012-05-03  Andreas Jaeger  <aj@suse.de>
19374         * sysdeps/i386/fpu/libm-test-ulps: Update.
19376         * FAQ: Removed.
19377         * FAQ.in: Likewise.
19378         * scripts/gen-FAQ.pl: Likewise.
19379         * manual/install.texi (Installation): Point to online location of
19380         FAQ.
19381         * Makefile (files-for-dist): Remove FAQ.
19382         (FAQ): Remove.
19384 2012-05-02  Allan McRae  <allan@archlinux.org>
19386         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19387         (LDFLAGS-reldepmod5.so): Likewise.
19388         (LDFLAGS-reldep6mod1.so): Likewise.
19389         (LDFLAGS-reldep6mod4.so): Likewise.
19390         (LDFLAGS-reldep8mod3.so): Likewise.
19391         (LDFLAGS-unload4mod1.so): Likewise.
19392         (LDFLAGS-unload4mod2.so): Likewise.
19393         (LDFLAGS-tst-initorder): Likewise.
19394         (LDFLAGS-tst-initordera2.so): Likewise.
19395         (LDFLAGS-tst-initordera3.so): Likewise.
19396         (LDFLAGS-tst-initordera4.so): Likewise.
19397         (LDFLAGS-tst-initorderb2.so): Likewise.
19398         (LDFLAGS-noload): Likewise.
19399         (LDFLAGS-next): Likewise.
19400         (LDFLAGS-order2mod1.so): Likewise.
19401         (LDFLAGS-order2mod2.so): Likewise.
19402         (LDFLAGS-tst-initorder2): Likewise.
19403         (LDFLAGS-tst-initorder2a.so): Likewise.
19404         (LDFLAGS-tst-initorder2b.so): Likewise.
19405         (LDFLAGS-tst-initorder2c.so): Likewise.
19406         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19408 2012-05-02  David S. Miller  <davem@davemloft.net>
19410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19412 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19414         [BZ #14055]
19415         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19417 2012-05-02  Andreas Jaeger  <aj@suse.de>
19419         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19420         since we manipulate rounding mode.
19421         (CPPFLAGS-test-idouble.c): Likewise.
19422         (CPPFLAGS-test-ifloat.c): Likewise.
19423         (CFLAGS-test-ldouble.c): Likewise.
19424         (CFLAGS-test-double.c): Likewise.
19425         (CFLAGS-test-float.c): Likewise.
19426         (CFLAGS-test-misc.c): Likewise.
19427         (CFLAGS-test-test-fenv.c): Likewise.
19429 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19431         [BZ #2550]
19432         [BZ #2570]
19433         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19434         comparisons to determine direction to adjust input.
19436 2012-05-01  Roland McGrath  <roland@hack.frob.com>
19438         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19439         output to the target.
19441         * scripts/localplt.awk: New file.
19442         * elf/Makefile ($(objpfx)check-localplt): Target removed.
19443         (check-localplt-CFLAGS): Variable removed.
19444         ($(all-built-dso:=.jmprel)): New static pattern rule.
19445         (generated): Add those targets.
19446         (localplt-built-dso): New variable.
19447         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19449         * elf/check-localplt.c: File removed.
19451         * scripts/check-execstack.awk: New file.
19452         * elf/Makefile ($(objpfx)check-execstack): Target removed.
19453         (check-execstack-CFLAGS): Variable removed.
19454         ($(objpfx)check-execstack.h): Target removed.
19455         ($(objpfx)execstack-default): New target.
19456         (generated): Add that instead of check-execstack.h.
19457         ($(all-built-dso:=.phdr)): New static pattern rule.
19458         (generated): Add those targets.
19459         * elf/check-execstack.c: File removed.
19461         * scripts/check-textrel.awk: New file.
19462         * elf/Makefile ($(objpfx)check-textrel): Target removed.
19463         (check-textrel-CFLAGS): Variable removed.
19464         (all-built-dso): Use := to define.o
19465         ($(all-built-dso:=.dyn)): New static pattern rule.
19466         (generated): Add those targets.
19467         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19468         * config.make.in (READELF): New substituted variable.
19469         * elf/check-textrel.c: File removed.
19471 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19473         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19474         allow.
19475         * conform/data/ctype.h-data [C99-based standards] (isblank):
19476         Expect function.
19477         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19478         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19479         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19480         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19481         Specify type.  Require positive value.
19482         (EILSEQ): Likewise.
19483         (ERANGE): Likewise.
19484         [ISO || POSIX] (EILSEQ): Do not expect.
19485         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19486         Specify type.  Require positive value.
19487         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19488         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19489         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19490         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19491         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19492         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19493         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19494         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19495         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19496         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19497         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19498         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19499         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19500         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19501         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19502         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19503         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19504         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19505         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19506         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19507         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19508         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19509         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19510         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19511         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19512         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19513         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19514         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19515         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19516         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19517         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19518         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19519         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19520         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19521         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19522         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19523         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19524         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19525         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19526         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19527         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19528         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19529         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19530         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19531         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19532         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19533         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19534         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19535         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19536         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19537         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19538         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19539         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19540         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19541         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19542         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19543         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19544         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19545         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19546         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19547         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19548         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19549         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19550         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19551         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19552         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19553         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19554         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19555         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19556         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19557         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19558         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19559         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19560         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19561         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19562         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19563         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19564         Require >= 2.
19565         (FLT_ROUNDS): Expect as macro, not constant.
19566         (FLT_MANT_DIG): Use macro-int-constant.
19567         (DBL_MANT_DIG): Likewise.
19568         (LDBL_MANT_DIG): Likewise.
19569         (FLT_DIG): Likewise.
19570         (DBL_DIG): Likewise.
19571         (LDBL_DIG): Likewise.
19572         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19573         (DBL_MIN_EXP): Likewise.
19574         (LDBL_MIN_EXP): Likewise.
19575         (FLT_MAX_EXP): Use macro-int-constant.
19576         (DBL_MAX_EXP): Likewise.
19577         (LDBL_MAX_EXP): Likewise.
19578         (FLT_MAX_10_EXP): Likewise.
19579         (DBL_MAX_10_EXP): Likewise.
19580         (LDBL_MAX_10_EXP): Likewise.
19581         (FLT_MAX): Use macro-constant.
19582         (DBL_MAX): Likewise.
19583         (LDBL_MAX): Likewise.
19584         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19585         (DBL_EPSILON): Likewise.
19586         (LDBL_EPSILON): Likewise.
19587         (FLT_MIN): Likewise.
19588         (DBL_MIN): Likewise.
19589         (LDBL_MIN): Likewise.
19590         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19591         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19592         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19593         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19594         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19595         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19596         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19597         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19598         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19599         [ISO11] (FLT_TRUE_MIN): Likewise.
19600         [ISO11] (LDBL_TRUE_MIN): Likewise.
19601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19602         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19603         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19604         (SCHAR_MAX): Likewise.
19605         (UCHAR_MAX): Likewise.
19606         (CHAR_MIN): Likewise.
19607         (CHAR_MAX): Likewise.
19608         (MB_LEN_MAX): Use macro-int-constant.
19609         (SHRT_MIN): Use macro-int-constant.  Specify type.
19610         (SHRT_MAX): Likewise.
19611         (USHRT_MAX): Likewise.
19612         (INT_MAX): Likewise.
19613         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19614         bound negative.
19615         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19616         bound with "U".
19617         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19618         bound with "L".
19619         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19620         bound negative.  Suffix upper bound with "L".
19621         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19622         bound with "UL".
19623         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19624         Specify type.
19625         [C99-based standards] (LLONG_MAX): Likewise.
19626         [C99-based standards] (ULLONG_MAX): Likewise.
19627         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19628         == 0.
19629         [ISO11] (max_align_t): Require type.
19630         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19632         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19633         from $CFLAGS, without defining away __attribute__ calls.
19634         (checknamespace): Use $CFLAGS_namespace.
19636         * conform/conformtest.pl (@keywords): Only include C99 keywords
19637         for standards based on C99 or C11.
19639         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19640         Disable tests.
19641         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19642         UNIX98]: Likewise.
19644         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19645         usability of symbols in #if.
19647         * conform/conformtest.pl: If macro or constant types start
19648         "promoted:", expect the symbol to be of the following type
19649         promoted by the integer promotions.
19651         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19652         in one place.  Also handle "macro-constant".
19654         * conform/conformtest.pl: Only accept expected macro values with
19655         "==".  Parse all "macro" lines in one place.
19656         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19658         * conform/conformtest.pl: Handle braced types on "constant" lines
19659         instead of handling "typed-constant".
19660         * conform/data/signal.h-data: Use "constant" instead of
19661         "typed-constant".
19663         * conform/conformtest.pl: Handle "optional-" at start of lines in
19664         one place rather than duplicating several cases.  Handle each
19665         format of "macro" line with initial "optional-".
19667         * conform/conformtest.pl: Only accept expected constant or
19668         optional-constant values with "==".  Parse all "constant" lines in
19669         one place.  Parse all "optional-constant" lines in one place.
19670         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19671         * conform/data/fmtmsg.h-data: Likewise.
19672         * conform/data/netinet/in.h-data: Likewise.
19673         * conform/data/tar.h-data: Likewise.
19674         * conform/data/limits.h-data: Use "==" form on "constant" and
19675         "optional-constant" lines.
19677         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19678         Use -std=c99 for XOPEN2K.
19679         (@knownproblems): Remove.
19680         (newtoken): Don't check %isknown.
19682         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19683         Do not expect macro.
19684         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19685         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19686         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19687         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19688         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19689         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19690         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19691         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19692         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19693         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19694         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19695         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19696         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19697         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19698         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19699         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19700         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19701         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19702         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19703         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19704         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19705         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19706         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19707         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19708         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19709         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19710         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19711         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19712         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19713         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19714         [XPG3] (acosh): Likewise.
19715         [XPG3] (asinh): Likewise.
19716         [XPG3] (atanh): Likewise.
19717         [XPG3] (cbrt): Likewise.
19718         [XPG3] (expm1): Likewise.
19719         [XPG3] (ilogb): Likewise.
19720         [XPG3] (log1p): Likewise.
19721         [XPG3] (logb): Likewise.
19722         [XPG3] (nextafter): Likewise.
19723         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19724         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19725         [XPG3] (remainder): Likewise.
19726         [XPG3] (rint): Likewise.
19727         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19728         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19729         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19730         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19731         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19732         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19733         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19734         [UNIX98 || XOPEN2K] (scalb): Expect.
19735         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19736         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19737         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19738         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19739         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19740         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19741         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19742         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19743         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19744         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19745         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19746         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19747         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19748         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19749         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19750         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19751         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19752         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19753         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19754         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19755         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19756         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19757         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19758         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19759         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19760         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19761         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19762         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19763         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19764         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19765         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19766         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19767         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19768         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19769         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19770         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19771         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19772         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19773         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19774         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19775         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19776         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19777         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19778         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19779         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19780         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19781         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19782         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19783         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19784         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19785         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19786         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19787         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19788         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19789         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19790         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19791         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19792         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19793         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19794         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19795         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19796         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19797         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19798         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19799         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19800         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19801         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19802         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19803         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19804         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19805         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19806         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19807         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19808         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19809         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19810         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19811         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19812         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19813         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19814         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19815         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19816         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19817         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19818         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19819         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19820         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19821         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19822         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19823         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19824         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19825         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19826         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19827         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19828         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19829         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19830         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19831         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19832         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19833         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19834         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19835         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19836         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19837         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19838         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19839         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19840         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19841         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19842         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19843         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19844         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19845         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19846         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19847         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19848         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19849         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19850         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19851         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19852         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19853         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19854         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19855         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19856         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19857         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19858         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19859         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19860         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19861         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19862         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19863         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19864         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19865         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19866         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19867         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19868         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19869         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19870         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19871         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19873         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19874         _XOPEN_SOURCE_EXTENDED for XPG4.
19876         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19878         * Makeconfig (localtime): Remove variable.
19879         (inst_localtime-file): Likewise.
19881 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19884         Update.
19885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19886         Update.
19887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19888         Update.
19889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19890         Update.
19891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19892         Update.
19893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19894         Update.
19895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19896         Update.
19897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19898         Update.
19899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19900         Update.
19902 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19904         [BZ #2550]
19905         [BZ #2570]
19906         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19907         comparisons to determine direction to adjust input.
19908         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19909         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19910         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19911         Likewise.
19912         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19913         Likewise.
19914         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19915         Likewise.
19916         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19917         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19918         Likewise.
19919         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19920         Likewise.
19921         * math/libm-test.inc (nexttoward_test): Add more tests.
19923 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19925         [BZ #14040]
19926         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19927         in version GLIBC_2.1, not GLIBC_2.0.
19928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19929         Likewise.
19931 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19933         [BZ #13942]
19934         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19935         (1 - x) * (1 + x).
19936         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19937         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19938         * math/libm-test.inc (acos_test): Add more tests.
19939         (asin_test): Likewise.
19940         * sysdeps/i386/fpu/libm-test-ulps: Update.
19941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19943         [BZ #14034]
19944         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19945         of square root.
19946         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19947         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19948         * math/libm-test.inc (acos_test_tonearest): New function.
19949         (acos_test_towardzero): Likewise.
19950         (acos_test_downward): Likewise.
19951         (acos_test_upward): Likewise.
19952         (asin_test_tonearest): Likewise.
19953         (asin_test_towardzero): Likewise.
19954         (asin_test_downward): Likewise.
19955         (asin_test_upward): Likewise.
19956         (main): Call the new functions.
19957         * sysdeps/i386/fpu/libm-test-ulps: Update.
19958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19960         [BZ #13884]
19961         [BZ #13924]
19962         * math/e_exp10.c: Include <float.h>.
19963         (__ieee754_exp10): Handle underflow here rather than multiplying
19964         large negative argument by M_LN10.
19965         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19966         of __ieee754_expf.
19967         * math/e_exp10l.c: Include <float.h>.
19968         (__ieee754_exp10l): Handle underflow here rather than multiplying
19969         large negative argument by M_LN10l.
19970         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19971         spurious overflow exception on underflow.
19973 2012-04-29  Marek Polacek  <polacek@redhat.com>
19975         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19976         (__fortify_function): New macro.
19977         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19978         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19979         __extern_always_inline.
19980         * libio/bits/stdio2.h: Likewise.
19981         * libio/bits/stdio.h: Likewise.
19982         * string/string.h: Likewise.
19983         * string/bits/string3.h: Likewise.
19984         * include/stdio.h: Likewise.
19985         * stdlib/bits/stdlib.h: Likewise.
19986         * stdlib/stdlib.h: Likewise.
19987         * rt/bits/mqueue2.h: Likewise.
19988         * rt/mqueue.h: Likewise.
19989         * posix/bits/unistd.h: Likewise.
19990         * posix/unistd.h: Likewise.
19991         * io/bits/poll2.h: Likewise.
19992         * io/bits/fcntl2.h: Likewise.
19993         * io/fcntl.h: Likewise.
19994         * io/sys/poll.h: Likewise.
19995         * misc/bits/syslog.h: Likewise.
19996         * misc/bits/syslog-ldbl.h: Likewise.
19997         * misc/sys/syslog.h: Likewise.
19998         * socket/bits/socket2.h: Likewise.
19999         * socket/sys/socket.h: Likewise.
20000         * debug/tst-chk1.c: Likewise.
20001         * wcsmbs/bits/wchar2.h: Likewise.
20002         * wcsmbs/bits/wchar-ldbl.h: Likewise.
20003         * wcsmbs/wchar.h: Likewise.
20005 2012-04-29  Andreas Jaeger  <aj@suse.de>
20007         * Makerules (tests): Remove enable-check-abi protection.
20008         (check-abi-warn): Remove.
20009         (check-abi-%): Remove check-abi-warn usage.
20011         * configure.in: Remove check-abi configure option.
20012         * configure: Regenerated.
20013         * config.make.in (enable-check-abi): Remove.
20015 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
20017         [BZ #14033]
20018         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20019         double functions to double *_finite functions.
20021         [BZ #13941]
20022         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20023         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20024         LDBL_MIN_EXP.
20025         * stdio-common/Makefile (tests): Add tst-sprintf3.
20026         * stdio-common/tst-sprintf3.c: New file.
20028         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20029         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20031 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20033         * conform/conformtest.pl: Remove duplicate typed-constant
20034         handling.
20036 2012-04-28  David S. Miller  <davem@davemloft.net>
20038         * Makerules (%.abilist): Add vpath on sysdep_dirs.
20039         (check-abi-%): Remove AWK script prerequisite and explicit
20040         abilist directory.
20041         (check-abi): Rewrite to just diff the symlist with the abilist.
20042         (config-tls, config-abi-config): Delete, no longer used.
20043         (update-abi-%): Remove AWK script and explicit abilist directory.
20044         (update-abi): Rewrite to simply compare and conditionally copy the
20045         symlist and the sysdep abilist file.  Remove update-abi-config
20046         checks.
20047         * abilist/ld.abilist: Remove.
20048         * abilist/libBrokenLocale.abilist: Remove.
20049         * abilist/libanl.abilist: Remove.
20050         * abilist/libcrypt.abilist: Remove.
20051         * abilist/libdl.abilist: Remove.
20052         * abilist/librt.abilist: Remove.
20053         * abilist/libthread_db.abilist: Remove.
20054         * abilist/libutil.abilist: Remove.
20055         * scripts/extract-abilist.awk: Remove.
20056         * scripts/merge-abilist.awk: Remove.
20057         * sysdeps/generic/libcidn.abilist: New file.
20058         * sysdeps/generic/libnss_compat.abilist: New file.
20059         * sysdeps/generic/libnss_db.abilist: New file.
20060         * sysdeps/generic/libnss_dns.abilist: New file.
20061         * sysdeps/generic/libnss_files.abilist: New file.
20062         * sysdeps/generic/libnss_hesiod.abilist: New file.
20063         * sysdeps/generic/libnss_nis.abilist: New file.
20064         * sysdeps/generic/libnss_nisplus.abilist: New file.
20065         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20066         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20067         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20068         file.
20069         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20070         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20071         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20072         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20073         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20074         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20075         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20076         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20077         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20078         file.
20079         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20080         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20081         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20082         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20083         file.
20084         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20085         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20086         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20087         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20088         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20089         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20090         file.
20091         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20092         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20093         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20094         file.
20095         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20096         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20097         New file.
20098         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20099         New file.
20100         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20101         New file.
20102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20103         New file.
20104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20105         New file.
20106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20107         New file.
20108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20109         New file.
20110         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20111         New file.
20112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20113         New file.
20114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20115         New file.
20116         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20117         New file.
20118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20119         New file.
20120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20121         New file.
20122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20123         file.
20124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20125         New file.
20126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20127         New file.
20128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20129         file.
20130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20131         New file.
20132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20133         New file.
20134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20135         file.
20136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20137         New file.
20138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20139         New file.
20140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20141         New file.
20142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20143         New file.
20144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20145         New file.
20146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20147         New file.
20148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20150         file.
20151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20152         New file.
20153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20154         file.
20155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20156         file.
20157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20158         file.
20159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20160         file.
20161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20162         file.
20163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20164         New file.
20165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20166         file.
20167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20168         file.
20169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20170         New file.
20171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20172         file.
20173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20175         file.
20176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20177         New file.
20178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20179         file.
20180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20181         file.
20182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20183         file.
20184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20185         file.
20186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20187         file.
20188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20189         New file.
20190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20191         file.
20192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20193         file.
20194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20195         New file.
20196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20197         file.
20198         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20199         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20200         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20201         file.
20202         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20203         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20204         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20205         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20206         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20207         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20208         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20209         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20210         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20211         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20214         file.
20215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20216         New file.
20217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20218         file.
20219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20220         file.
20221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20222         file.
20223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20224         file.
20225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20226         file.
20227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20228         New file.
20229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20230         New file.
20231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20232         file.
20233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20234         New file.
20235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20236         file.
20237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20239         file.
20240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20241         New file.
20242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20243         file.
20244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20245         file.
20246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20247         file.
20248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20249         file.
20250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20251         file.
20252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20253         New file.
20254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20255         New file.
20256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20257         file.
20258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20259         New file.
20260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20261         file.
20263 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20265         * conform/conformtest.pl: Fix typo in handling typed-constant from
20266         allow-header.
20268 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20270         * README: Cut down references to pre-2.6 Linux kernels and
20271         Linuxthreads.  Update lists of configurations in libc and ports
20272         and sort alphabetically.  Say "or newer" with Linux kernel version
20273         requirements.
20275         * config.h.in [IS_IN_build]: Allow compiling without optimization.
20277 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20279         [BZ #887]
20280         * math/libm-test.inc (logb_test_downward): New test to expose
20281         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20282         rounding mode.
20284 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20286         [BZ #14027]
20287         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20288         to be done.
20289         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20290         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20292 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
20294         * sysdeps/unix/i386/brk.S: Remove file.
20295         * sysdeps/unix/i386/dl-brk.S: Likewise.
20296         * sysdeps/unix/i386/pipe.S: Likewise.
20297         * sysdeps/unix/i386/sigreturn.S: Likewise.
20298         * sysdeps/unix/i386/syscall.S: Likewise.
20299         * sysdeps/unix/i386/vfork.S: Likewise.
20300         * sysdeps/unix/i386/wait.S: Likewise.
20302         * sysdeps/unix/common/tcsendbrk.c: Move to ...
20303         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20305         * configure.in (arm*-none*): Do not allow without
20306         --enable-hacker-mode.
20307         (netbsd*): Remove case setting base_os.
20308         (386bsd*): Likewise.
20309         (freebsd*): Likewise.
20310         (bsdi*): Likewise.
20311         (osf*): Likewise.
20312         (sunos*): Likewise.
20313         (ultrix*): Likewise.
20314         (newsos*): Likewise.
20315         (dynix*): Likewise.
20316         (*bsd*): Likewise.
20317         (sysv*): Likewise.
20318         (isc*): Likewise.
20319         (esix*): Likewise.
20320         (sco*): Likewise.
20321         (minix*): Likewise.
20322         (irix4*): Likewise.
20323         (irix6*): Likewise.
20324         (solaris[2-9]*): Likewise.
20325         (none): Likewise.
20326         * configure: Regenerated.
20328 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20330         [BZ #11521]
20331         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20332         overflow or cancellation in calculating denominator.
20333         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20334         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20335         down expression to avoid unexpected rounding in newer GCCs.
20336         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20338 2012-04-26  David S. Miller  <davem@davemloft.net>
20340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20341         long-double compat symbols.
20342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20356 2012-04-25  David S. Miller  <davem@davemloft.net>
20358         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20359         HWCAP_* values only after the memory barriers have been defined.
20360         (atomic_full_barrier): Define.
20361         (atomic_read_barrier): Define.
20362         (atomic_write_barrier): Define.
20364 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20366         * shlib-versions: Add libgcc_s version information.
20367         * sysdeps/generic/libgcc_s.h: Remove.
20368         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20369         libgcc_s.h.
20370         * sysdeps/gnu/unwind-resume.c: Likewise.
20371         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20373 2012-04-25  David S. Miller  <davem@davemloft.net>
20375         * sysdeps/unix/sparc/brk.S: Delete.
20376         * sysdeps/unix/sparc/dl-brk.S: Delete.
20377         * sysdeps/unix/sparc/pipe.S: Delete.
20378         * sysdeps/unix/sparc/sysdep.S: Delete.
20379         * sysdeps/unix/sparc/sysdep.h: Delete.
20380         * sysdeps/unix/sparc/vfork.S: Delete.
20381         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20382         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20383         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20384         ret_ERRVAL, r0, r1, MOVE): Define.
20385         (JUMPTARGET): Remove.
20386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20387         sysdeps/unix/sparc/sysdep.h
20388         (ENTRY, END): Remove.
20389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20391 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
20393         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20394         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20395         -DIS_IN_build.
20397         * timezone/README: Update upstream location and email address for
20398         tzcode and tzdata.
20399         * timezone/zdump.c: Update from tzcode 2012b.
20400         * timezone/zic.c: Likewise.
20402         * configure.in (libc_cv_as_needed): Remove test.
20403         * configure: Regenerated.
20404         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20405         conditional definition.
20406         [$(have-as-needed) != yes] (no-as-needed): Likewise.
20407         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20408         * config.make.in (have-as-needed): Remove variable.
20410 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20411             Paul Pluzhnikov  <ppluzhnikov@google.com>
20413         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20414         strings correctly.
20416 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20418         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20419         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20420         * sysdeps/sh/strlen.S: Likewise.
20422 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20424         * sysdeps/unix/fork.S: Remove file.
20425         * sysdeps/unix/i386/fork.S: Likewise.
20426         * sysdeps/unix/sparc/fork.S: Likewise.
20428         * sysdeps/unix/system.c: Remove file.
20429         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20431         * sysdeps/unix/getegid.S: Remove file.
20432         * sysdeps/unix/geteuid.S: Likewise.
20434 2012-04-24  Roland McGrath  <roland@hack.frob.com>
20436         * scripts/check-localplt.awk: New file.
20437         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20438         of diff.
20439         * scripts/data/localplt-generic.data: Add a comment.
20441         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20442         NODE when __dir_mkfile failed.
20443         * sysdeps/mach/hurd/symlinkat.c: Likewise.
20444         Reported by Ludovic Courtès <ludo@gnu.org>.
20446 2012-04-24  Andreas Jaeger  <aj@suse.de>
20448         * Makerules (common-clean): Also remove gen-as-const-headers
20449         files.
20451 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20453         * Makerules (native-compile): Do not change working directory for
20454         build.  Use $(OUTPUT_OPTION) in command.
20455         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20457 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20459         [BZ #13886]
20460         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20461         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20462         * math/libm-test.inc (floor_test): Add more tests.
20463         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20465 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20467         * sysdeps/unix/getdents.c: Remove file.
20468         * sysdeps/unix/sysv/getdents.c: Likewise.
20469         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20471         * sysdeps/unix/syscalls.list (madvise): Add syscall from
20472         sysdeps/unix/mman/syscalls.list.
20473         (mmap): Likewise.
20474         (mprotect): Likewise.
20475         (msync): Likewise.
20476         (munmap): Likewise.
20477         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20478         * sysdeps/unix/mman/syscalls.list: Remove.
20479         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20481         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20482         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20483         * configure: Regenerated.
20484         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20485         $(libgcc_s_suffix).
20486         * config.make.in (libgcc_s_suffix): Remove variable.
20488 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20490         * sysdeps/unix/sysv/gethostname.c: Move to ...
20491         * sysdeps/posix/gethostname.c: ... here.
20493         * sysdeps/unix/execve.S: Remove file.
20495         * sysdeps/unix/_exit.S: Remove file.
20497 2012-04-23  Andreas Jaeger  <aj@suse.de>
20499         [BZ #13739]
20500         * manual/Makefile: Remove make dist support, there's no
20501         need for a stand-alone documentation tar ball.
20502         (TEXI2DVI): Define always, it's not in Makeconfig.
20503         (dist): Removed.
20504         (tar-it): Removed.
20505         (edition): Removed.
20506         (glibc-doc-$(edition).tar): Removed
20507         (%.Z): Removed.
20508         (%.gz): Removed.
20509         (%.uu): Removed.
20510         (ETAGS): Remove, it's in Makeconfig.
20511         (move-if-change): Remove, it's in Makeconfig.
20513 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20515         [BZ #13970]
20516         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20517         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20518         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20519         (strtod_l, strtof_l, strtold_l): Remove __wur.
20520         It is not necessarily an error to ignore strtol's return value.
20521         One can reliably look at the stored endptr to decide whether
20522         the number had valid syntax.
20524 2012-04-21  Andreas Jaeger  <aj@suse.de>
20526         [BZ #13739]
20527         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20529 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20531         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20532         * sysdeps/unix/sysv/Versions: Remove file.
20534 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20536         [BZ #13927]
20537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20539 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20541         [BZ #7064]
20542         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20543         version from __vm86.
20545 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20547         * sysdeps/unix/common/lxstat.c: Remove file.
20548         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20550         * sysdeps/unix/sysv/Makefile: Remove file.
20552         * sysdeps/unix/sysv/direct.h: Remove file.
20554         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20555         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20556         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20557         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20558         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20559         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20560         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20562         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20564         * sysdeps/unix/xmknod.c: Remove file.
20565         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20567         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20569         * sysdeps/unix/sysv/i386/time.S: Remove file.
20571         * sysdeps/unix/fxstat.c: Remove file.
20572         * sysdeps/unix/xstat.c: Likewise.
20573         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20575         * sysdeps/unix/sysv/sigaction.c: Remove file.
20577         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20578         (sysdep_headers): Remove variable.
20579         [termio.h not in sysdep_headers] (generated): Likewise.
20580         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20581         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20582         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20583         * sysdeps/unix/sysv/tcflow.c: Likewise.
20584         * sysdeps/unix/sysv/tcflush.c: Likewise.
20585         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20586         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20587         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20588         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20589         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20591         * sysdeps/unix/siglist.c: Remove file.
20593         * sysdeps/unix/getppid.S: Remove file.
20595         * sysdeps/unix/mkdir.c: Remove file.
20596         * sysdeps/unix/rmdir.c: Likewise.
20598 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20600         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20601         ERR_MAX value.
20602         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20603         errlist-compat value.
20605 2012-04-18  David S. Miller  <davem@davemloft.net>
20607         * sysdeps/generic/memcopy.h (reg_char): Delete.
20608         * debug/strcat_chk.c: Use char, not reg_char.
20609         * debug/strcpy_chk.c: Likewise.
20610         * debug/strncat_chk.c: Likewise.
20611         * debug/strncpy_chk.c: Likewise.
20612         * string/memchr.c: Likewise.
20613         * string/memrchr.c: Likewise.
20614         * string/rawmemchr.c: Likewise.
20615         * string/strcat.c: Likewise.
20616         * string/strchr.c: Likewise.
20617         * string/strchrnul.c: Likewise.
20618         * string/strcmp.c: Likewise.
20619         * string/strcpy.c: Likewise.
20620         * string/strncat.c: Likewise.
20621         * string/strncmp.c: Likewise.
20622         * string/strncpy.c: Likewise.
20624 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20626         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20627         __builtin_memcopy is called when src and dest ranges are known to not
20628         overlap.
20630 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20632         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20633         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20634         fwd_align_merge macro call.
20635         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20636         bwd_align_merge macro call.
20637         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20639 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20641         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20642         bwd_align_merge macros.
20643         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20644         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20645         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20647 2012-04-18  David S. Miller  <davem@davemloft.net>
20649         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20651 2012-04-18  Andreas Jaeger  <aj@suse.de>
20653         [BZ# 6794]
20654         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20655         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20656         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20658         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20659         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20660         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20662         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20663         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20664         Adjust for changed ldbl-128 files.
20666         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20667         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20668         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20670 2012-04-17  David S. Miller  <davem@davemloft.net>
20672         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20674 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20676         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20677         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20678         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20679         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20680         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20681         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20683 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20685         [BZ #6794]
20686         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20687         * math/libm-test.inc: Add ilogb errno and exception tests.
20688         * math/w_ilogb.c: New file: ilogb wrapper.
20689         * math/w_ilogbf.c: New file: ilogbf wrapper.
20690         * math/w_ilogbl.c: New file: ilogbl wrapper.
20691         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20692         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20693         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20694         exception being thrown with 0.0 as argument.
20695         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20696         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20697         exception being thrown with 0.0 as argument.
20698         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20699         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20700         exception being thrown with 0.0 as argument.
20701         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20702         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20703         exception being thrown with 0.0 as argument.
20704         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20705         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20706         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20707         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20708         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20709         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20710         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20711         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20712         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20714 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20716         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20717         with altivec.
20719 2012-04-16  Marek Polacek  <polacek@redhat.com>
20721         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20723 2012-04-16  Marek Polacek  <polacek@redhat.com>
20725         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20726         operands of fdivp instruction.
20728 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20730         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20731         * elf/tst-auditmod3b.c: Likewise.
20732         * elf/tst-auditmod4b.c: Likewise.
20733         * elf/tst-auditmod5b.c: Likewise.
20734         * elf/tst-auditmod6b.c: Likewise.
20735         * elf/tst-auditmod6c.c: Likewise.
20736         * elf/tst-auditmod7b.c: Likewise.
20737         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20738         * sysdeps/x86_64/preconfigure.in: Likewise.
20739         * sysdeps/x86_64/preconfigure: Regenerated.
20741 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20743         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20744         __ILP32__.
20746 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20748         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20749         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20751 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20753         [BZ #13973]
20754         * locale/iso-639.def: Fix gl language name. Spotted by
20755         Yaron Shahrabani.
20757 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20759         [BZ #2074]
20760         * libio/libio.h (__io_write_fn): Update comment.
20762 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20764         [BZ #2074]
20765         * stdio.texi (Hook Functions): The user provided writer function
20766         is not allowed to return -1.
20768 2012-04-11  David S. Miller  <davem@davemloft.net>
20770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20772 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20774         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20775         Add a leading slash to rtkaio.
20777 2012-04-11  Jim Meyering  <meyering@redhat.com>
20779         [BZ #11959]
20780         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20781         It is not necessarily an error to ignore fwrite's return
20782         value.  One can reliably use ferror to test for errors after
20783         the fact.
20785 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20787         * bits/types.h (__snseconds_t): New type.
20788         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20790         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20791         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20792         (__SNSECONDS_T_TYPE): Likewise.
20793         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20794         (__SNSECONDS_T_TYPE): Likewise.
20795         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20796         (__SNSECONDS_T_TYPE): Likewise.
20798 2012-04-10  Andreas Jaeger  <aj@suse.de>
20800         [BZ #2636]
20801         * manual/time.texi (Processor Time): Return type of times is
20802         elapsed real time since an arbitrary point in the past.
20803         (CPU Time): Move CLK_TCK from here...
20804         (Processor Time): ...to here.  Correct description.
20805         * manual/conf.texi (Constants for Sysconf): Correct description of
20806         _SC_CLK_TCK.
20808 2012-04-10  David S. Miller  <davem@davemloft.net>
20810         [BZ #13967]
20811         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20812         where the is a gap between DT_REL(A) and DT_JMPREL.
20814 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20816         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20817         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20818         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20820 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20822         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20823         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20824         (dl_main): Handle --inhibit-cache.
20825         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20826         _dl_inhibit_cache.
20827         * elf/dl-load.c (_dl_map_object): Use it.
20828         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20830 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20832         [BZ #13872]
20833         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20834         (__ieee754_powl): Saturate large exponents rather than testing for
20835         overflow of y*log2(x).
20836         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20837         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20838         exceptions.
20840         [BZ #11521]
20841         * math/s_ctan.c: Include <float.h>.
20842         (__ctan): Avoid internal overflow or cancellation in calculating
20843         denominator.
20844         * math/s_ctanf.c: Likewise.
20845         * math/s_ctanl.c: Likewise.
20846         * math/s_ctanh.c: Likewise.
20847         * math/s_ctanhf.c: Likewise.
20848         * math/s_ctanhl.c: Likewise.
20849         * math/libm-test.inc (ctan_test): Add more tests.
20850         (ctanh_test): Likewise.
20851         * sysdeps/i386/fpu/libm-test-ulps: Update.
20852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20854 2012-04-09  Andreas Jaeger  <aj@suse.de>
20856         [BZ #6894]
20857         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20858         is an optional BSD extension.
20860         [BZ #10254]
20861         * manual/stdio.texi (Opening Streams): Document additional fopen
20862         parameters.
20864 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20866         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20867         %eax without telling the compiler.
20869 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20871         [BZ # 13963]
20872         * manual/install.texi: Use sourceware.org.
20874 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20876         [BZ #13873]
20877         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20878         (__ieee754_pow): Generate overflow and underflow using huge*huge
20879         and tiny*tiny rather than just returning constant infinity or zero
20880         for large exponents.
20881         * math/libm-test.inc (pow_test): Require overflow exceptions for
20882         applicable cases of large exponents.
20884         [BZ #706]
20885         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20886         (__ieee754_pow): Use iterative multiplication algorithm only for
20887         integer exponents with absolute value below 1024.  Check for odd
20888         integer exponents when using algorithm for real exponents.
20889         * math/libm-test.inc (pow_test): Add more tests.
20890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20892 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20894         [BZ #13705]
20895         * math/libm-test.inc (exp_test): Do not allow overflow exception
20896         on underflow test.
20898 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20900         [BZ #13705]
20901         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20902         instead of __kernel_standard_f.
20904 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20906         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20907         * sysdeps/x86_64/memset_chk.S: Likewise.
20909 2012-04-08  Andreas Jaeger  <aj@suse.de>
20911         [BZ #10153]
20912         * manual/startup.texi (Environment Access): Describe return value
20913         for putenv and setenv.
20915         [BZ #6895]
20916         * manual/filesys.texi (Directory Entries): Add description for
20917         DT_LNK.
20919         [BZ #6890]
20920         * manual/filesys.texi (Directory Entries): Clarify that it's file
20921         system not operating system in the description of DT_UNKNOWN.
20923         [BZ #6578]
20924         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20926 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20928         [BZ #6649]
20929         * manual/llio.texi (Opening and Closing Files): Add cross
20930         reference to explain mode argument.
20932 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20934         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20935         * sysdeps/x86_64/memset_chk.S: Likewise.
20937 2012-04-07  David S. Miller  <davem@davemloft.net>
20939         * elf/elf.h (R_SPARC_WDISP10): Define.
20940         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20941         R_SPARC_SIZE32.
20942         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20943         R_SPARC_SIZE64 and R_SPARC_H34.
20945 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20947         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20948         conditions and remove no longer applicable assertion.
20950 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20952         * bits/byteswap.h: Include <features.h>.
20953         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20954         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20956 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20958         * bits/byteswap.h (__bswap_16): Removed.
20959         Include <bits/byteswap-16.h> to get __bswap_16.
20960         * sysdeps/i386/bits/byteswap.h: Likewise.
20961         * sysdeps/s390/bits/byteswap.h: Likewise.
20962         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20963         * bits/byteswap-16.h: New file.
20964         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20965         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20966         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20967         * string/Makefile (headers): Add bits/byteswap-16.h.
20969 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20971         [BZ #13895]
20972         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20973         extra indirection.
20974         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20975         * nss/tst-nss-static.c: New.
20977 2012-04-06  Robert Millan  <rmh@gnu.org>
20979         [BZ #6486]
20980         * manual/llio.texi (File Position Primitive): lseek
20981         refers to WHENCE when it really means OFFSET.
20983 2012-04-06  Andreas Jaeger  <aj@suse.de>
20985         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20986         strncmp declarations.
20988         * abilist/libc.abilist: Add __poll and __ppoll.
20990 2012-04-05  David S. Miller  <davem@davemloft.net>
20992         * scripts/check-local-headers.sh: Accept a host triplet in the
20993         path matched by the exclude regexp.
20995         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20996         definition.
20997         * sysdeps/powerpc/powerpc32/dl-machine.h
20998         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20999         * sysdeps/s390/s390-32/dl-machine.h
21000         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21001         * sysdeps/sparc/sparc32/dl-machine.h
21002         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21003         * sysdeps/sparc/sparc64/dl-machine.h
21004         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21006         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21007         lazy binding.
21008         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21009         undefined symbol errors.
21011         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21012         DT_NEEDED entries.
21014 2012-04-05  Michael Matz  <matz@suse.de>
21016         [BZ #13592]
21017         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21019 2012-04-05  Andreas Jaeger  <aj@suse.de>
21021         [BZ #13908]
21022         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21023         comment.
21025 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21027         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21028         which ROUND is no valid rounding mode.
21030 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21032         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21033         read again.
21034         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21036 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21038         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21039         an exception using FPU order intentionally.
21041 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21043         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21044         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21045         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21046         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21048 2012-04-05  Simon Josefsson  <simon@josefsson.org>
21050         [BZ #12340]
21051         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21052         EINVAL when BUFLEN is too smal.
21054 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21056         [BZ #13553]
21057         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21058         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21060 2012-04-03  Andreas Jaeger  <aj@suse.de>
21062         [BZ #13938]
21063         * manual/setjmp.texi (System V contexts): Fix sentence.
21065         [BZ #13926]
21066         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21067         New macro for this case.
21068         [!__GNUC__] (__bswap_64): New inline function for this case.
21069         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21070         * bits/byteswap.h: Likewise.
21071         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21072         ull, guard with __GLIBC_HAVE_LONG_LONG.
21074         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21075         __GLIBC_HAVE_LONG_LONG.
21077         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21078         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21080 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21082         [BZ #13691]
21083         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21084         inptr and inend, rather than using last_ch.
21086 2012-04-02  David S. Miller  <davem@davemloft.net>
21088         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21089         * stdio-common/printf-parse.h (read_int): Change return type to
21090         'int', return -1 on INT_MAX overflow.
21091         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21092         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
21093         overflows INT_MAX.  Check for overflow of in-format-string precision
21094         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
21095         SIZE_MAX not INT_MAX for integer overflow test.
21096         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21097         skip the construct in the format string but do not record anything.
21098         * stdio-common/bug22.c: Adjust to test both width/prevision
21099         INT_MAX overflow as well as total length INT_MAX overflow.  Check
21100         explicitly for proper errno values.
21102 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21104         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21105         CHAR_MAX.
21106         * string/test-strcmp.c [! WIDE]: Likewise.
21107         * time/tst-mktime2.c: Likewise for INT_MAX.
21108         * string/test-string.h: #include <sys/param.h> for MIN.
21110         * csu/init-first.c (__libc_init_first): Call __ctype_init.
21111         * sysdeps/i386/init-first.c (init): Likewise.
21112         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21113         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21114         * sysdeps/sh/init-first.c (init): Likewise.
21116 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
21118         * po/ru.po: Update from translation team.
21119         * po/vi.po: Likewise.
21121 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21123         * resolv/nss_dns/dns-host.c: Merge copyright years.
21125 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21127         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21128         Optimize memcpy with prefetch if
21129         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
21130         src, dst pointers have unequal 16 byte alignments.
21132 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21134         [BZ #13928]
21135         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21136         from a CNAME entry and return the minimum ttl for the query.
21137         (gaih_getanswer_slice): Likewise.
21139 2012-03-30  Jeff Law  <law@redhat.com>
21141         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21142         due to long keys.
21143         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21144         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21146         * resolv/nss_dns/dns-host.c: Update copyright year.
21148 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
21150         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21151         requests to save a system call.  Fix check that all bytes are sent.
21153         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21154         comments for sendmmsg.
21156 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21158         [BZ #13691]
21159         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21160         with only 1 character between 0x0041 and 0x01b0.
21161         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21162         * wcsmbs/tst-mbsnrtowcs.c: New file.
21164 2012-03-29  David S. Miller  <davem@davemloft.net>
21166         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21167         small copies by hand.
21169 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21171         [BZ #13761]
21172         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21173         _nss_compat_initgroups_dyn): Fall back to malloc/free
21174         for large group memberships.
21176 2012-03-28  David S. Miller  <davem@davemloft.net>
21178         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21179         that branches into memcpy.
21180         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21181         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21182         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21183         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21184         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21185         bits.
21186         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21187         implementation too.
21188         * sysdeps/sparc/mempcpy.S: New file.
21190         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21191         the IFUNC routine in the libc case.
21192         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21194         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21195         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21196         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21197         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21198         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21199         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21200         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21201         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21203         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21204         loop to 256 bytes instead of 64 bytes and fix test signedness.
21206         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21207         * sysdeps/sparc/sparc32/Makefile: rather than here...
21208         * sysdeps/sparc/sparc64/Makefile: and here.
21210 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
21212         * malloc/mallocbug.c: Avoid warnings about unused variables.
21214 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21216         [BZ #13760]
21217         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21218         in the right place. Discard and retry query if response is
21219         larger than input buffer size.
21221 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
21223         [BZ #369]
21224         [BZ #2678]
21225         [BZ #3866]
21226         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21227         x for large integer exponent.
21228         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21229         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
21230         sign of result as needed afterwards.
21231         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21232         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21233         result for underflowing pow the same as for overflow.
21234         (__kernel_standard_l): Handle powl overflow and underflow here
21235         rather than calling __kernel_standard.
21236         * math/libm-test.inc (pow_test): Add more tests.
21238         [BZ #3868]
21239         [BZ #13879]
21240         [BZ #13910]
21241         [BZ #13911]
21242         [BZ #13912]
21243         [BZ #13913]
21244         [BZ #13915]
21245         [BZ #13916]
21246         [BZ #13917]
21247         [BZ #13918]
21248         [BZ #13919]
21249         [BZ #13920]
21250         [BZ #13921]
21251         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21252         * sysdeps/ieee754/k_standard.c: Include <float.h>.
21253         (__kernel_standard_l): New function.
21254         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21255         __kernel_standard.
21256         * math/w_acosl.c (__acosl): Likewise.
21257         * math/w_asinl.c (__asinl): Likewise.
21258         * math/w_atan2l.c (__atan2l): Likewise.
21259         * math/w_atanhl.c (__atanhl): Likewise.
21260         * math/w_coshl.c (__coshl): Likewise.
21261         * math/w_exp10l.c (__exp10l): Likewise.
21262         * math/w_exp2l.c (__exp2l): Likewise.
21263         * math/w_fmodl.c (__fmodl): Likewise.
21264         * math/w_hypotl.c (__hypotl): Likewise.
21265         * math/w_j0l.c (__j0l, __y0l): Likewise.
21266         * math/w_j1l.c (__j1l, __y1l): Likewise.
21267         * math/w_jnl.c (__jnl, __ynl): Likewise.
21268         * math/w_lgammal.c (__lgammal): Likewise.
21269         * math/w_log10l.c (__log10l): Likewise.
21270         * math/w_log2l.c (__log2l): Likewise.
21271         * math/w_logl.c (__logl): Likewise.
21272         * math/w_powl.c (__powl): Likewise.
21273         * math/w_remainderl.c (__remainderl): Likewise.
21274         * math/w_scalbl.c (sysv_scalbl): Likewise.
21275         * math/w_sinhl.c (__sinhl): Likewise.
21276         * math/w_sqrtl.c (__sqrtl): Likewise.
21277         * math/w_tgammal.c (__tgammal): Likewise.
21278         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21279         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21280         * math/libm-test.inc (acos_test): Add more tests.
21281         (acosh_test): Likewise.
21282         (asin_test): Likewise.
21283         (atanh_test): Likewise.
21284         (exp_test): Likewise.
21285         (exp10_test): Likewise.
21286         (exp2_test): Likewise.
21287         (expm1_test): Likewise.
21288         (lgamma_test): Likewise.
21289         (log_test): Likewise.
21290         (log10_test): Likewise.
21291         (log1p_test): Likewise.
21292         (log2_test): Likewise.
21293         (pow_test): Do not allow some spurious overflow exceptions.
21294         (sqrt_test): Add more tests.
21295         (tgamma_test): Likewise.
21296         (y0_test): Likewise.
21297         (y1_test): Likewise.
21298         (yn_test): Likewise.
21300 2012-03-27  Anton Blanchard  <anton@samba.org>
21302         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21303         MAP_HUGETLB.
21304         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21305         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21306         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21308 2012-03-27  David S. Miller  <davem@davemloft.net>
21310         * conform/Makefile: Run run-conformtest.sh using $(BASH).
21312         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21313         have-as-vis3 check.
21315 2012-03-27  Andreas Jaeger  <aj@suse.de>
21317         * sysdeps/x86_64/elf/configure.in: Moved to ...
21318         * sysdeps/x86_64/configure.in: ... here.
21319         * sysdeps/x86_64/elf/start.S: Moved to ...
21320         * sysdeps/x86_64/start.S: ... here.
21321         * sysdeps/x86_64/elf/configure: Delete.
21323         * sysdeps/x86_64/configure.in: Merge contents from
21324         sysdeps/i386/configure.in (without i686 check).
21326         * sysdeps/i386/elf/Versions: Merge into ...
21327         * sysdeps/i386/Versions: ... this.
21328         * sysdeps/i386/elf/Versions: Delete file.
21329         * sysdeps/i386/elf/start.S: Moved to ...
21330         * sysdeps/i386/start.S: ...here.
21331         * sysdeps/i386/elf/configure.in: Merge into...
21332         * sysdeps/i386/configure.in: ...here.
21333         * sysdeps/i386/elf/configure.in: Delete file.
21334         * sysdeps/i386/elf/configure: Delete file.
21336         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21337         * debug/backtracesyms.c: ... here.
21338         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21339         * debug/backtracesymsfd.c: ... here.
21340         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21341         * sysdeps/generic/ifunc-sel.h: ... here.
21343         * sysdeps/unix/i386/start.c: Delete file.
21344         * sysdeps/unix/sparc/start.c: Delete file.
21345         * sysdeps/unix/start.c: Delete file.
21347         * sysdeps/sh/elf/configure.in: Moved to ...
21348         * sysdeps/sh/configure.in: ... here.
21349         * sysdeps/sh/elf/start.S: Moved to ...
21350         * sysdeps/sh/start.S: ... here.
21351         * sysdeps/sh/elf/configure: Delete file.
21353         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21354         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21355         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21356         * sysdeps/powerpc/powerpc64/entry.h: ... here.
21357         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21358         * sysdeps/powerpc/powerpc64/start.S: here.
21359         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21360         * sysdeps/powerpc/powerpc64/Makefile: ... this.
21361         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21362         * sysdeps/powerpc/powerpc64/configure.in: ... this.
21363         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21365         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21366         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21367         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21368         * sysdeps/powerpc/powerpc32/start.S: ... here.
21369         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21370         * sysdeps/powerpc/powerpc32/configure.in: ... this.
21371         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21373         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21374         * sysdeps/powerpc/ifunc-sel.h: ... here.
21375         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21376         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21378         * sysdeps/sparc/elf/configure.in: Moved to ...
21379         * sysdeps/sparc/configure.in: ... here.
21380         * sysdeps/sparc/elf/configure: Delete file.
21381         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21382         * sysdeps/sparc/sparc32/start.S: ... here.
21383         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21384         * sysdeps/sparc/sparc64/start.S: ... here.
21385         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21386         * sysdeps/sparc/sparc32/Makefile: ... this.
21387         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21388         * sysdeps/sparc/sparc64/Makefile: ... this.
21390         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21391         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21392         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21393         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21394         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21395         * sysdeps/s390/s390-32/setjmp.S: ... here.
21396         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21397         * sysdeps/s390/s390-32/configure.in: ... here.
21398         * sysdeps/s390/s390-32/elf/configure: Delete file.
21399         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21400         * sysdeps/s390/s390-32/start.S: ... here.
21402         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21403         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21404         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21405         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21406         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21407         * sysdeps/s390/s390-64/setjmp.S: ... here.
21408         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21409         * sysdeps/s390/s390-64/configure.in: ... here
21410         * sysdeps/s390/s390-64/elf/configure: Delete file.
21411         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21412         * sysdeps/s390/s390-64/start.S: ... here.
21413         * sysdeps/s390/s390-64/elf/configure: Delete.
21415         * configure.in: Remove support for elf directories in sysdeps.
21417         * configure: Regenerated.
21418         * sysdeps/i386/configure: Regenerated.
21419         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21420         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21421         * sysdeps/s390/s390-32/configure: Regenerated.
21422         * sysdeps/s390/s390-64/configure: Regenerated.
21423         * sysdeps/sh/configure: Regenerated.
21424         * sysdeps/sparc/configure: Regenerated.
21425         * sysdeps/x86_64/configure: Regenerated.
21427 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
21429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21431         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21432         denormal result into account.
21434 2012-03-25  Roland McGrath  <roland@hack.frob.com>
21436         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21437         Reported by Allan McRae <allan@archlinux.org>.
21439 2012-03-23  Jeff Law  <law@redhat.com>
21441         * nss/getnssent.c (__nss_getent): Fix typo.
21443 2012-03-23  David S. Miller  <davem@davemloft.net>
21445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21447 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
21449         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21450         to pad to uint64_t for each field.
21451         (dl_tls_index): Replace unsigned long with uint64_t.
21453 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
21454         Paul Pluzhnikov  <ppluzhnikov@google.com>
21456         [BZ #6528]
21457         * grp/Makefile (otherlibs): Don't set it.
21458         * inet/Makefile (otherlibs): Likewise.
21459         * login/Makefile (otherlibs): Likewise.
21460         * nscd/Makefile (otherlibs): Likewise.
21461         * posix/Makefile (otherlibs): Likewise.
21462         * pwd/Makefile (otherlibs): Likewise.
21463         * rt/Makefile (otherlibs): Likewise.
21464         * sunrpc/Makefile (otherlibs): Likewise.
21465         * nss/Makefile (otherlibs): Likewise.
21466         Add libnss_files to routines and static-only-routines.
21467         ($(objpfx)getent): Remove rule.
21468         * resolv/Makefile: Add libnss_dns and libresolv to routines and
21469         static-only-routines.
21471 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21473         [BZ #13892]
21474         * math/s_cexp.c: Include <float.h>.
21475         (__cexp): Handle exp result overflowing not necessarily
21476         overflowing both real and imaginary parts of result.
21477         * math/s_cexpf.c: Likewise.
21478         * math/s_cexpl.c: Likewise.
21479         * math/libm-test.inc (cexp_test): Add more tests.
21480         * sysdeps/i386/fpu/libm-test-ulps: Update.
21481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21483 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21485         * include/link.h (ELFW): New macro.
21486         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21487         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21489 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21491         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21492         with uint64_t.
21494 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21496         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21497         declaration.
21498         (struct La_x32_retval): Likewise.
21500 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21502         * sysdeps/x86_64/preconfigure.in: New file.
21503         * sysdeps/x86_64/preconfigure: New generated file.
21505 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21507         [BZ #13824]
21508         * math/e_exp2l.c: Include <float.h>.
21509         (__ieee754_exp2l): Handle overflow and underflow cases
21510         separately.  Only pass fractional part of argument to
21511         __ieee754_expl.
21512         * math/libm-test.inc (exp2_test): Add more tests.
21514         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21515         negating x to take absolute value.
21516         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21517         Likewise.
21518         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21519         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21520         Likewise.
21521         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21522         computing low part if x was negated.
21523         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21525 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21527         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21528         la_x32_gnu_pltexit.
21529         (pltexit): Cast int_retval to ptrdiff_t.
21530         * elf/tst-auditmod3b.c: Likewise.
21531         * elf/tst-auditmod4b.c: Likewise.
21532         * elf/tst-auditmod5b.c: Likewise.
21533         * elf/tst-auditmod6b.c: Likewise.
21534         * elf/tst-auditmod6c.c: Likewise.
21535         * elf/tst-auditmod7b.c: Likewise.
21537         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21538         and x32_gnu_pltexit.
21540         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21541         __ELF_NATIVE_CLASS.
21542         (La_x32_regs): New macro.
21543         (La_x32_retval): Likewise.
21544         (la_x32_gnu_pltenter): New function prototype.
21545         (la_x32_gnu_pltexit): Likewise.
21547 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21549         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21550         exponent.
21552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21554         * configure.in (libc_cv_cc_nofma): Check for option to disable
21555         generation of FMA instructions.
21556         * configure: Regenerate.
21557         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21558         * sysdeps/ieee754/dbl-64/Makefile: New file.
21559         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21560         Remove brandred-fma4.
21561         (CFLAGS-brandred-fma4.c): Remove.
21562         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21563         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21564         define.
21565         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21566         define.
21568 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21570         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21571         LLONG_MAX != LONG_MAX.
21572         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21573         (_fitoa_word): Likewise.
21574         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21575         LLONG_MAX != LONG_MAX.
21576         * stdio-common/_itowa.h: Include <_itoa.h>.
21577         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21578         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21579         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21580         only if not defined.
21581         (_ITOA_WORD_TYPE): Likewise.
21582         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21583         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21585 2012-03-21  David S. Miller  <davem@davemloft.net>
21587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21589 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21591         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21592         of x86_64 when setting libc_cv_slibdir, libdir and
21593         libc_cv_localedir.
21594         * sysdeps/unix/sysv/linux/configure: Regenerated.
21596 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21598         * manual/lang.texi (Old Varargs): Remove section.
21599         (How Variadic): Update menu.
21600         (va_start): Do not mention varargs.h.
21602 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21603             Joseph Myers  <joseph@codesourcery.com>
21605         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21606         link test.
21607         * configure: Regenerated.
21609 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21611         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21612         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21613         conformtest.pl
21615 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21617         * NOTES: Remove.
21618         * Makefile (files-for-dist): Remove NOTES.
21619         (NOTES): Remove rule.
21620         * README: Don't refer to NOTES.
21621         * manual/creature.texi: Don't include macros.texi.
21622         * manual/intro.texi (creature.texi): Remove comment referring to
21623         NOTES.
21625         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21626         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21627         * configure: Regenerated.
21628         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21629         LIBC_TRY_CC_OPTION.
21630         (libc_cv_as_i686): Likewise.
21631         (libc_cv_cc_avx): Likewise.
21632         (libc_cv_cc_sse2avx): Likewise.
21633         (libc_cv_cc_fma4): Likewise.
21634         (libc_cv_cc_novzeroupper): Likewise.
21635         * sysdeps/i386/configure: Regenerated.
21637         [BZ #13883]
21638         * sysdeps/i386/fpu/s_cexp.S: Remove.
21639         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21640         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21641         * math/libm-test.inc (cexp_test): Add more tests.
21642         * sysdeps/i386/fpu/libm-test-ulps: Update.
21643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21645 2012-03-21  Allan McRae  <allan@archlinux.org>
21647         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21649 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21651         [BZ #13871]
21652         * math/w_exp2.c: Do not include <float.h>.
21653         (o_threshold, u_threshold): Remove.
21654         (__exp2): Calculate result before checking finiteness and calling
21655         __kernel_standard.
21656         * math/w_exp2f.c: Likewise.
21657         * math/w_exp2l.c: Likewise.
21658         * math/libm-test.inc (exp2_test): Require overflow exception for
21659         1e6 input.
21661         [BZ #3866]
21662         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21663         range of signed 64-bit integers before using fistpll.  Remove
21664         checks for whether integers fit in mantissa bits.
21665         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21666         the range of signed 32-bit integers before using fistpl.  Remove
21667         checks for whether integers fit in mantissa bits.
21668         * sysdeps/i386/fpu/e_powl.S (p64): New object.
21669         (__ieee754_powl): Test for y outside the range of signed 64-bit
21670         integers before using fistpll.  Reduce 64-bit values to 63-bit
21671         ones as needed.
21672         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21673         divide-by-zero is raised for zero to large negative powers.
21674         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21675         (__ieee754_powl): Test for y outside the range of signed 64-bit
21676         integers before using fistpll.  Reduce 64-bit values to 63-bit
21677         ones as needed.
21678         * math/libm-test.inc (pow_test): Add more tests.
21680 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21682         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21683         <stdio-common/_itoa.h>.
21684         * debug/segfault.c: Likewise.
21685         * elf/dl-cache.c: Likewise.
21686         * elf/dl-minimal.c: Likewise.
21687         * elf/dl-misc.c: Likewise.
21688         * elf/dl-sysdep.c: Likewise.
21689         * elf/dl-version.c: Likewise.
21690         * elf/rtld.c: Likewise.
21691         * hurd/hurdsock.c: Likewise.
21692         * hurd/lookup-retry.c: Likewise.
21693         * malloc/malloc.c: Likewise.
21694         * malloc/mtrace.c: Likewise.
21695         * nscd/nscd_getgr_r.c: Likewise.
21696         * nscd/nscd_getpw_r.c: Likewise.
21697         * nscd/nscd_getserv_r.c: Likewise.
21698         * posix/getopt_init.c: Likewise.
21699         * posix/wordexp.c: Likewise.
21700         * stdio-common/_itoa.c: Likewise.
21701         * stdio-common/printf_fphex.c: Likewise.
21702         * stdio-common/vfprintf.c: Likewise.
21703         * string/_strerror.c: Likewise.
21704         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21705         * sysdeps/i386/i686/hp-timing.h: Likewise.
21706         * sysdeps/mach/_strerror.c: Likewise.
21707         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21708         * sysdeps/mach/hurd/sethostid.c: Likewise.
21709         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21710         * sysdeps/mach/xpg-strerror.c: Likewise.
21711         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21712         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21713         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21714         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21715         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21716         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21717         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21718         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21719         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21720         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21721         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21722         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21723         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21724         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21725         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21726         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21727         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21728         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21729         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21730         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21731         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21733         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21735         * stdio-common/_itoa.h: Moved to ...
21736         * sysdeps/generic/_itoa.h: Here.
21738         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21740         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21741         instead of "_itoa.h" and "_itowa.h".
21742         * stdio-common/vfprintf.: Likewise.
21744 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21746         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21747         <bits/wordsize.h>.
21748         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21749         (__signbit): Likwise.
21750         (llrintf): Likwise.
21751         (llrint): Likwise.
21753 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21755         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21756         __WORDSIZE != 64.
21758 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21760         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21761         OVERFLOW_EXCEPTION_OK.
21762         * math/libm-test.inc ("Philosophy"): Update comment about
21763         exception testing.
21764         (OVERFLOW_EXCEPTION): Define.
21765         (OVERFLOW_EXCEPTION_OK): Likewise.
21766         (INVALID_EXCEPTION_OK): Renumber.
21767         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21768         (IGNORE_ZERO_INF_SIGN): Likewise.
21769         (test_exceptions): Handle FE_OVERFLOW.
21770         (exp10_test): Expect overflow exceptions.
21771         (exp2_test): Likewise.
21772         (expm1_test): Likewise.
21773         (nextafter_test): Likewise.
21774         (pow_test): Likewise.
21775         (scalbn_test): Likewise.
21776         (scalbln_test): Likewise.
21778 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21780         * sysdeps/x86_64/bits/atomic.h
21781         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21782         64bit integer.
21783         (atomic_exchange_acq): Likewise.
21784         (__arch_exchange_and_add_body): Likewise.
21785         (__arch_add_body): Likewise.
21786         (atomic_add_negative): Likewise.
21787         (atomic_add_zero): Likewise.
21789 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21791         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21792         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21794 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21796         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21797         Check __x86_64__ instead of __WORDSIZE.
21799 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21801         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21803 2012-03-19  David S. Miller  <davem@davemloft.net>
21805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21807         * sysdeps/sparc/fpu/fenv_private.h: New file.
21808         * sysdeps/sparc/fpu/math_private.h: Use it.
21809         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21810         Remove.
21811         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21812         (libc_feholdexcept_setroundl): Remove.
21813         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21814         Remove.
21815         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21816         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21818 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21820         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21821         int64_t instead of long int.
21822         (INSERT_WORDS64): Likwise.
21824 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21826         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21827         _Unwind_GetCFA return to _Unwind_Ptr first.
21829 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21831         [BZ #13629]
21832         * math/s_clog.c: Include <float.h>.
21833         (__clog): Scale large or subnormal inputs.
21834         * math/s_clogf.c: Likewise.
21835         * math/s_clogl.c: Likewise.
21836         * math/s_clog10.c: Include <float.h>.
21837         (M_LOG10_2): Define.
21838         (__clog10): Scale large or subnormal inputs.
21839         * math/s_clog10f.c: Likewise.
21840         * math/s_clog10l.c: Likewise.
21841         * math/libm-test.inc (clog_test): Add more tests.
21842         (clog10_test): Likewise.
21843         * sysdeps/i386/fpu/libm-test-ulps: Update.
21844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21846         [BZ #11451]
21847         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21848         x and y.
21849         * math/libm-test.inc (atan2_test): Add another test.
21851         * Makerules (common-objdir-compile): Remove.
21852         * sysdeps/unix/Makefile (config-generated): Do not add
21853         $(unix-generated) to variable.
21854         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21855         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21856         Remove rule.
21857         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21858         Likewise.
21859         [generic bits/local_lim.h] (before-compile): Do not append to
21860         variable.
21861         [generic bits/local_lim.h] (common-generated): Likewise.
21862         [generic sys/param.h] (before-compile): Do not append to variable.
21863         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21864         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21865         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21866         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21867         include.
21868         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21869         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21870         [generic sys/param.h] ($(addprefix
21871         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21872         [generic sys/param.h] (common-generated): Do not append to
21873         variable.
21874         [generic sys/param.h] (sysdep_headers): Likewise.
21875         [generic bits/errno.h] (before-compile): Do not append to
21876         variable.
21877         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21878         rule.
21879         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21880         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21881         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21882         [generic bits/errno.h] (common-generated): Do not append to
21883         variable.
21884         [generic bits/ioctls.h] (before-compile): Do not append to
21885         variable.
21886         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21887         rule.
21888         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21889         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21890         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21891         rule.
21892         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21893         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21894         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21895         [generic bits/ioctls.h] (common-generated): Do not append to
21896         variable.
21897         [generic sys/syscall.h] (syscall.h): Remove variable.
21898         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21899         rule.
21900         [generic sys/syscall.h] (before-compile): Do not append to
21901         variable.
21902         [generic sys/syscall.h] (common-generated): Likewise.
21903         * sysdeps/unix/errnos-tmpl.c: Remove file.
21904         * sysdeps/unix/errnos.awk: Likewise.
21905         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21906         * sysdeps/unix/ioctls.awk: Likewise.
21907         * sysdeps/unix/mk-local_lim.c: Likewise.
21908         * sysdeps/unix/snarf-ioctls: Likewise.
21910 2012-03-19  Richard Henderson  <rth@twiddle.net>
21912         * sysdeps/i386/fpu/fenv_private.h: New file.
21913         * sysdeps/i386/fpu/math_private.h: Use it.
21914         (math_opt_barrier, math_force_eval): Remove.
21915         (libc_feholdexcept_setround_53bit): Remove.
21916         (libc_feupdateenv_53bit): Remove.
21917         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21918         (math_opt_barrier, math_force_eval): Remove.
21919         (libc_feholdexcept): Remove.
21920         (libc_feholdexcept_setround): Remove.
21921         (libc_fetestexcept, libc_fesetenv): Remove.
21922         (libc_feupdateenv_test): Remove.
21923         (libc_feupdateenv, libc_feholdsetround): Remove.
21924         (libc_feresetround): Remove.
21926         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21927         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21929         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21930         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21931         (libc_feupdateenv_testl): New.
21932         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21933         (libc_feupdateenv_testf): New.
21934         (libc_feupdateenv): Use libc_feupdateenv_test.
21935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21936         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21938         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21939         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21940         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21941         (libc_feresetround_noex): New.
21942         (libc_feresetround_noexf): New.
21943         (libc_feresetround_noexl): New.
21944         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21945         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21946         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21947         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21948         SET_RESTORE_ROUND.
21949         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21951         (__cos): Likewise.
21952         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21953         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21954         SET_RESTORE_ROUND_NOEX.
21955         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21956         SET_RESTORE_ROUND_NOEXF.
21957         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21958         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21959         (libc_feholdsetroundf): New.
21960         (libc_feresetround, libc_feresetroundf): New.
21962         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21963         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21964         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21966         * sysdeps/generic/math_private.h: Include <fenv.h>.
21967         (default_libc_feholdexcept): New.
21968         (default_libc_feholdexcept_setround): New.
21969         (default_libc_fesetenv, default_libc_feupdateenv): New.
21970         (libc_feholdexcept): Only define if undefined.
21971         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21972         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21973         (libc_feholdexcept_setroundl): Likewise.
21974         (libc_feholdexcept_setround_53bit): Likewise.
21975         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21976         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21977         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21978         (libc_feupdateenv_53bit): Likewise.
21979         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21980         (libc_feholdexcept): Convert from macro to inline function.
21981         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21982         (libc_fesetenv, libc_feupdateenv): Likewise.
21984         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21985         not previously defined.
21986         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21987         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21988         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21989         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21990         * sysdeps/ieee754/flt-32/math_private.h: New file.
21991         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21992         math_private.h below SET_FLOAT_WORD.
21993         (__isnan, __isinf_ns, __finite): Remove.
21994         (__isnanf, __isinf_nsf, __finitef): Remove.
21996 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22000 2012-03-17  David S. Miller  <davem@davemloft.net>
22002         [BZ #6471]
22003         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22004         for 2.16.
22006 2012-03-16  David S. Miller  <davem@davemloft.net>
22008         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22009         warnings.
22011         [BZ #6471]
22012         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22013         properly.
22014         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22015         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22016         sysdep_routines when subdir is sysvipc.
22017         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22018         __getshmlba helper.
22020         * sysdeps/sparc/fpu/libm-test/ulps: Update.
22022 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22024         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22025         [__LP64__].
22027 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22029         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22030         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22031         (__lround): Renamed to ...
22032         (__llround): This.  Replace long int with long long int.
22033         Define lround functions as aliases of llround functions.
22034         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22036 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22038         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22039         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
22040         adresses to uintptr_t.  Replace "long int" and "unsigned long
22041         int" with "greg_t" on va_arg.
22043 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22045         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22046         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22048         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22049         Move e_machine check before EI_CLASS check.  Handle x32
22050         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22051         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22052         SKIP_EM_IA_64 and include
22053         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22055         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22056         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22057         (add_system_dir): New macro.
22059         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22060         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22062 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
22064         [BZ #2551]
22065         [BZ #2552]
22066         [BZ #2553]
22067         [BZ #2554]
22068         [BZ #2562]
22069         [BZ #2563]
22070         [BZ #2565]
22071         [BZ #2566]
22072         [BZ #2576]
22073         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22074         (y0): Likewise.
22075         * math/w_j0f.c (j0f): Likewise.
22076         (y0f): Likewise.
22077         * math/w_j0l.c (__j0l): Likewise.
22078         (__y0l): Likewise.
22079         * math/w_j1.c (j1): Likewise.
22080         (y1): Likewise.
22081         * math/w_j1f.c (j1f): Likewise.
22082         (y1f): Likewise.
22083         * math/w_j1l.c (__j1l): Likewise.
22084         (__y1l): Likewise.
22085         * math/w_jn.c (jn): Likewise.
22086         (yn): Likewise.
22087         * math/w_jnf.c (jnf): Likewise.
22088         (ynf): Likewise.
22089         * math/w_jnl.c (__jnl): Likewise.
22090         (__ynl): Likewise.
22091         * math/libm-test.inc (j0_test): Add more tests.
22092         (j1_test): Likewise.
22093         (jn_test): Likewise.  Add trailing semicolon to existing test.
22094         (y0_test): Likewise.
22095         (y1_test): Likewise.
22096         * sysdeps/i386/fpu/libm-test-ulps: Update.
22097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22099         [BZ #13851]
22100         [BZ #13854]
22101         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22102         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22103         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22104         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22105         (__tanl): Set errno for infinite argument.
22106         * sysdeps/i386/fpu/mptan.c: Remove.
22107         * sysdeps/i386/fpu/s_tan.S: Likewise.
22108         * sysdeps/i386/fpu/s_tanl.S: Likewise.
22109         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22110         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22111         * math/libm-test.inc (tan_test): Add more tests and enable more
22112         tests for double and long double.
22113         * sysdeps/i386/fpu/libm-test-ulps: Update.
22114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
22118         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22119         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22121 2012-03-16  Roland McGrath  <roland@hack.frob.com>
22123         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22124         * configure.in: Use it for both main tree and add-ons.
22125         * configure: Regenerated.
22127 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22129         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22131 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
22133         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22134         in comment.
22136         [BZ #13851]
22137         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22138         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22139         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22140         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22141         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22142         infinite argument.
22143         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22144         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22145         != 0 for prec == 2.
22146         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22147         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22148         * sysdeps/i386/fpu/s_cosl.S: Likewise.
22149         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22150         * sysdeps/i386/fpu/s_sinl.S: Likewise.
22151         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22152         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22153         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22154         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22155         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22156         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22157         * math/libm-test.inc (cos_test): Add more tests and enable more
22158         tests for long double.
22159         (sin_test): Likewise.
22160         (sincos_test): Likewise.
22161         * sysdeps/i386/fpu/libm-test-ulps: Update.
22162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22164 2012-03-16  David S. Miller  <davem@davemloft.net>
22166         * sysdeps/sparc/fpu/math_private.h: New file.
22168 2012-03-15  David S. Miller  <davem@davemloft.net>
22170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22171         file.
22172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22174         file.
22175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22180         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22181         sysdep routines.
22182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22184         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22185         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22187         * sysdeps/sparc/sparc-ifunc.h: New file.
22188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22189         sparc-ifunc.h
22190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22192         Likewise.
22193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22194         Likewise.
22195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22199         Likewise.
22200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22205         Likewise.
22206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22207         Likewise.
22208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22212         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22214         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22215         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22217         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22218         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22222         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22223         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22224         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22225         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22226         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22227         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22228         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22229         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22230         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22231         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22233 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22235         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22236         scaling.
22237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22239 2012-03-15  Andreas Jaeger  <aj@suse.de>
22241         [BZ #13852]
22242         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22243         ieee754/flt-32 implementation for sin, cos and sincos.
22244         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22245         * sysdeps/i386/fpu/s_cosf.S: Likewise.
22246         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22247         * sysdeps/i386/fpu/s_sinf.S: Likewise.
22248         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22249         ieee754/flt-32 implementation for tan.
22251         * math/libm-test.inc (cos_test): Enable some large input tests for
22252         float as well
22253         (sin_test): Likewise.
22254         (sincos_test): Likewise.
22255         (tan_test): Add tests for large input.
22257         * sysdeps/i386/fpu/libm-test-ulps: Update.
22259 2012-03-15  Andreas Jaeger  <aj@suse.de>
22261         [BZ #13658]
22262         * math/libm-test.inc (cos_test): Add more test cases.
22263         (sin_test): Likewise.
22264         (sincos_test): Likewise.
22266 2012-03-15  Andreas Jaeger  <aj@suse.de>
22268         [BZ #13837]
22269         * math/libm-test.inc (cos_test): Add a test case for large input
22270         value.
22271         (sin_test): Likewise.
22272         (sincos_test): Likewise.
22274 2012-03-15  Andreas Jaeger  <aj@suse.de>,
22275         Joseph Myers  <joseph@codesourcery.com>
22277         [BZ #13658]
22278         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22279         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22280         * sysdeps/i386/fpu/branred.c: Likewise.
22281         * sysdeps/i386/fpu/dosincos.c: Likewise.
22282         * sysdeps/i386/fpu/mpa.c: Likewise.
22283         * sysdeps/i386/fpu/s_cos.S: Likewise.
22284         * sysdeps/i386/fpu/s_sin.S: Likewise.
22285         * sysdeps/i386/fpu/s_sincos.S: Likewise.
22286         * sysdeps/i386/fpu/sincos32.c: Likewise.
22288         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22289         Define.
22290         (libc_feupdateenv_53bit): Define.
22291         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22292         Define.
22293         (libc_feupdateenv_53bit): Define.
22295         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22296         53 bit (without extend i386 double precision).
22298         * math/libm-test.inc (sincos_test): Add tests for large input.
22299         (sin): Likewise.
22300         (cos): Likewise.
22302         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22304 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22308 2012-03-15  David S. Miller  <davem@davemloft.net>
22310         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22311         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22312         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22313         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22320         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22321         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22322         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22326         file.
22327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22329         file.
22330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22332         file.
22333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22335         file.
22336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22337         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22338         fmin/fmax sysdep routines.
22339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22341 2012-03-14  David S. Miller  <davem@davemloft.net>
22343         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22344         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22345         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22346         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22347         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22348         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22349         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22350         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22351         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22352         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22353         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22354         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22355         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22356         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22357         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22358         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22359         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22360         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22363         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22364         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22365         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22366         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22367         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22368         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22369         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22370         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22371         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22372         routines.
22373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22374         file.
22375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22377         file.
22378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22380         file.
22381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22383         file.
22384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22386         file.
22387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22389         file.
22390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22391         file.
22392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22393         file.
22394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22395         file.
22396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22397         New file.
22398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22399         file.
22400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22401         file.
22402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22404         file.
22405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22407         file.
22408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22410         file.
22411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22413         VIS3 routines.
22415         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22416         New file.
22418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22420         * sysdeps/sparc/configure.in: New file.
22421         * sysdeps/sparc/configure: Generate.
22422         * configure.in (libc_cv_sparc_as_vis3): Substitute.
22423         * configure: Regenerate.
22424         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22425         * config.make.in (have-as-vis3): New.
22426         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22427         available use -Av9d instead of -Av9a.
22428         * sysdeps/sparc/sparc64/Makefile: Likewise.
22429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22431         New file.
22432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22433         file.
22434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22435         New file.
22436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22437         file.
22438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22439         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22440         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22441         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22442         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22444         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22445         fzeros/fnegs to load 0x80000000 into a float register instead of
22446         using the stack.
22447         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22449 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22452         bits/syscall.h.
22453         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22454         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22455         ($(inst_includedir)/bits/syscall.h): Remove rule.
22456         ($(objpfx)bits/syscall.d): Include instead of
22457         $(objpfx)syscall-list.d.
22458         (generated): Change syscall-list.h and syscall-list.d to
22459         bits/syscall.h and bits/syscall.d.
22461 2012-03-14  Roland McGrath  <roland@hack.frob.com>
22463         [BZ #13846]
22464         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22466 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22468         [BZ #13841]
22469         * math/s_csqrt.c: Include <float.h>.
22470         (__csqrt): Scale large or subnormal inputs.
22471         * math/s_csqrtf.c: Likewise.
22472         * math/s_csqrtl.c: Likewise.
22473         * math/libm-test.inc (csqrt_test): Add more tests.
22474         * sysdeps/i386/fpu/libm-test-ulps: Update.
22475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22477         [BZ #13840]
22478         * math/libm-test.inc (hypot_test): Add more tests.
22480 2012-03-13  David S. Miller  <davem@davemloft.net>
22482         [BZ #13840]
22483         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22484         double-precision for the calculation instead of scaling.
22486 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22488         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22489         manipulate bits before adding and subtracting TWO52[sx].
22490         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22491         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22492         Likewise.
22493         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22495 2012-03-13  David S. Miller  <davem@davemloft.net>
22497         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22498         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22499         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22500         rtld-global-offsets.h
22501         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22503         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22504         large parameters.
22506         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22508         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22509         'err' in the ifdef scope in which it is actually used.
22511         * nss/nss_db/db-init.c: Include string.h
22513 2012-03-12  David S. Miller  <davem@davemloft.net>
22515         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22516         masking out of the most significant byte of random value used.
22517         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22518         Fix coding style in previous change.
22520         * sysdeps/unix/sysv/linux/kernel-features.h
22521         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22522         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22523         expression.
22524         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22525         later.
22527 2012-03-11  David S. Miller  <davem@davemloft.net>
22529         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22530         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22531         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22532         for 'resultvar' otherwise things get truncated on 64-bit.
22534         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22535         Fix masking out of the most significant byte of random value used.
22537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22539 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22543 2012-03-09  David S. Miller  <davem@davemloft.net>
22545         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22546         variables with appropriate CPP guards.
22547         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22548         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22549         on resulting framesize and the management of the outregs buffer for pltexit.
22550         Preserve floating point return values across _dl_call_pltexit call.
22551         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22552         framesize and the management of the outregs buffer for pltexit.
22553         Preserve floating point return values across _dl_call_pltexit
22554         call.
22555         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22556         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22557         (print_exit): Fix format string for return register value.
22559 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22561         * sunrpc/Makefile (others): Add rpcgen.
22562         ($(objpfx)rpcgen): Remove special build rule and dependency on
22563         libc.
22564         * sunrpc/rpcgen.c: New file.
22566 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22568         [BZ #13673]
22569         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22570         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22571         * sysdeps/i386/crti.S: Likewise.
22572         * sysdeps/i386/crtn.S: Likewise.
22573         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22574         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22575         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22576         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22577         * sysdeps/sh/crti.S: Likewise.
22578         * sysdeps/sh/crtn.S: Likewise.
22579         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22581         [BZ #13673]
22582         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22583         with URL.
22584         * locale/programs/locfile-kw.gperf: Likewise.
22585         * locale/programs/charmap-kw.h: Regenerated.
22586         * locale/programs/locfile-kw.h: Likewise.
22588         [BZ #13673]
22589         * intl/plural.y: Replace FSF snail mail address with URL.
22590         * intl/plural.c: Regenerated.
22592 2012-03-09  Richard Henderson  <rth@twiddle.net>
22594         * include/math_private.h: Remove file.
22595         * math/math_private.h: Move file ...
22596         * sysdeps/generic/math_private.h: ... here.
22598         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22599         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22600         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22602         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22603         and <math_private.h>.
22604         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22605         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22606         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22607         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22608         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22609         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22610         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22611         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22612         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22613         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22614         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22615         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22616         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22617         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22618         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22619         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22620         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22621         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22622         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22623         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22625         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22626         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22628         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22629         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22630         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22631         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22632         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22633         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22634         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22635         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22636         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22637         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22638         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22639         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22640         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22641         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22642         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22643         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22644         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22645         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22646         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22647         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22648         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22649         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22650         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22651         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22652         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22653         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22654         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22655         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22656         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22657         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22658         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22659         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22660         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22661         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22662         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22663         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22664         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22665         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22666         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22667         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22668         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22669         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22670         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22671         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22672         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22673         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22674         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22675         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22676         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22677         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22678         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22679         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22680         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22681         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22682         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22683         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22684         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22685         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22686         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22687         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22688         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22689         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22690         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22691         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22692         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22693         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22694         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22695         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22696         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22697         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22698         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22699         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22700         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22701         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22702         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22703         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22704         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22705         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22706         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22707         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22708         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22709         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22710         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22711         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22712         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22713         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22714         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22715         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22716         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22717         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22718         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22719         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22720         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22721         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22722         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22723         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22724         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22725         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22726         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22727         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22728         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22729         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22730         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22731         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22732         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22733         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22734         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22735         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22736         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22737         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22738         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22739         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22740         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22741         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22742         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22743         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22744         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22745         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22746         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22747         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22748         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22749         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22750         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22751         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22752         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22753         * sysdeps/ieee754/k_standard.c: Likewise.
22754         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22755         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22756         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22757         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22758         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22759         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22760         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22761         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22762         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22763         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22764         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22765         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22766         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22767         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22768         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22769         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22770         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22771         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22772         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22773         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22774         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22775         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22776         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22777         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22778         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22779         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22780         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22781         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22782         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22783         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22784         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22785         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22786         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22787         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22788         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22789         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22790         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22791         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22792         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22793         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22794         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22795         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22796         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22797         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22798         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22799         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22800         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22801         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22802         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22803         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22804         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22805         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22806         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22807         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22808         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22809         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22810         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22811         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22812         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22813         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22814         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22815         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22816         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22817         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22818         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22819         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22820         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22821         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22822         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22823         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22824         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22825         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22826         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22827         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22828         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22829         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22830         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22831         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22832         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22833         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22834         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22835         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22836         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22837         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22838         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22839         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22840         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22841         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22842         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22843         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22844         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22845         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22846         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22847         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22848         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22849         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22850         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22851         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22852         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22853         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22854         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22855         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22856         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22857         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22858         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22859         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22860         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22861         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22862         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22863         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22864         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22865         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22866         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22867         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22868         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22869         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22870         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22871         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22872         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22873         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22874         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22875         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22876         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22877         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22878         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22879         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22880         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22881         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22882         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22883         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22884         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22885         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22886         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22887         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22888         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22889         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22890         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22891         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22892         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22893         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22894         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22895         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22896         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22897         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22898         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22899         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22900         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22901         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22902         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22903         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22904         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22905         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22906         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22907         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22908         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22909         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22910         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22911         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22912         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22913         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22914         * sysdeps/ieee754/s_lib_version.c: Likewise.
22915         * sysdeps/ieee754/s_matherr.c: Likewise.
22916         * sysdeps/ieee754/s_signgam.c: Likewise.
22917         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22918         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22919         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22920         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22921         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22922         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22923         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22924         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22925         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22926         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22927         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22928         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22929         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22930         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22931         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22932         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22933         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22934         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22935         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22936         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22937         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22939 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22941         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22942         * sunrpc/rpc_main.c: Likewise.
22943         * sunrpc/rpc_svcout.c: Likewise.
22945 2012-03-09  David S. Miller  <davem@davemloft.net>
22947         * include/math_private.h: New file.
22949 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22951         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22952         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22953         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22954         from <bits/socket_type.h>.
22955         (enum __socket_type): Don't define here.
22956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22958         bits/socket_type.h.
22960         [BZ #13566]
22961         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22962         checking __USE_GNU.
22964         * Makerules ($(inst_includedir)/%.h): New rule.
22965         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22966         (install-others): Remove variable setting.
22967         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22969 2012-03-08  Richard Henderson  <rth@twiddle.net>
22971         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22972         from macro to inline function; merge with the
22973         !__LIBC_INTERNAL_MATH_INLINES version.
22974         (__ieee754_sqrtf): Likewise.
22976         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22977         to inline function.
22978         (__rintf, __floor, __floorf): Likewise.
22980         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22981         macro to inline function.
22982         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22984         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22985         not <math/math_private.h>.
22987 2012-03-08  David S. Miller  <davem@davemloft.net>
22989         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22990         copyright year.
22991         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22993 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22995         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22996         normalization.
22997         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22998         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23000 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
23002         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
23003         be defined individually, they must be defined as a block.  Define
23004         S for printing a string instead of hidint the different by using a
23005         macro for adding the 'l'.
23006         * stdio-common/tst-fphex-wide.c: Adjust.
23008 2012-03-07  Marek Polacek  <polacek@redhat.com>
23010         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23012 2012-03-08  Marek Polacek  <polacek@redhat.com>
23014         [BZ #13806]
23015         * stdio-common/Makefile (tests): Add tst-fphex-wide.
23016         * stdio-common/tst-fphex.c: Define a few macros to make the
23017         test reusable.  Use them.
23018         * stdio-common/tst-fphex-wide.c: New file.
23020 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
23022         [BZ #6911]
23023         * manual/macros.texi (gnusystems): New macro.
23024         (nongnusystems): Likewise.
23025         (gnulinuxhurdsystems): Likewise.
23026         (gnuhurdsystems): Likewise..
23027         (gnulinuxsystems): Likewise.
23028         * manual/charset.texi: Use new macros or @theglibc{} to refer to
23029         variants of the GNU system, not "GNU system".
23030         * manual/conf.texi: Likewise.
23031         * manual/errno.texi: Likewise.  Update example of errno macro
23032         expansion.
23033         * manual/filesys.texi: Likewise.
23034         (getumask): Document as specific to GNU/Hurd.
23035         * manual/install.texi: Likewise.  Reword some references to
23036         GNU/Linux.
23037         * manual/intro.texi: Likewise.
23038         * manual/io.texi: Likewise.
23039         (File Name Portability): Detail which constraints are inapplicable
23040         to all GNU systems and which are only inapplicable to GNU/Hurd.
23041         * manual/job.texi: Likewise.
23042         * manual/llio.texi: Likewise.
23043         (O_NOCTTY): Document as present on GNU/Linux.
23044         * manual/maint.texi: Likewise.
23045         * manual/memory.texi: Likewise.
23046         * manual/pattern.texi: Likewise.
23047         * manual/pipe.texi: Likewise.
23048         * manual/process.texi: Likewise.
23049         * manual/resource.texi: Likewise.
23050         (RUSAGE_CHILDREN): Remove statement about specifying a particular
23051         child on GNU/Hurd.
23052         * manual/setjmp.texi: Likewise.
23053         * manual/signal.texi: Likewise.
23054         * manual/startup.texi: Likewise.
23055         * manual/stdio.texi: Likewise.
23056         * manual/terminal.texi: Likewise.
23057         (ONLCR): Document as POSIX.
23058         (OXTABS): Document availability on GNU/Linux as XTABS.
23059         (ONOEOT): Document availability separately from other bits.
23060         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23061         * manual/time.texi: Likewise.
23062         * manual/users.texi: Likewise.
23063         * INSTALL: Regenerated.
23064         * sysdeps/gnu/errlist.c: Regenerated.
23066         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23067         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23068         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
23069         puts.
23070         * configure: Regenerated.
23072 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
23074         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23075         default includes instead of AC_HEADER_CHECK.
23076         * sysdeps/i386/configure: Regenerated.
23078         [BZ #10716]
23079         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23080         * math/s_cacoshf.c (__cacoshf): Likewise.
23081         * math/s_cacoshl.c (__cacoshl): Likewise.
23082         * math/s_casinh.c (__casinh): Set signs of result from argument.
23083         * math/s_casinhf.c (__casinhf): Likewise.
23084         * math/s_casinhl.c (__casinhl): Likewise.
23085         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23086         (casinh_test): Add more tests.
23087         * sysdeps/i386/fpu/libm-test-ulps: Update.
23088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23090 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
23092         * po/zh_TW.po: Update from translation team.
23094         * login/Makefile (distribute): Remove variable.
23095         * catgets/Makefile: Likewise.
23096         * mach/Makefile: Likewise.
23097         * malloc/Makefile: Likewise.
23098         * misc/Makefile: Likewise.
23099         * iconv/Makefile: Likewise.
23100         * nscd/Makefile: Likewise.
23101         * hurd/Makefile: Likewise.
23102         * manual/Makefile: Likewise.
23103         * locale/Makefile: Likewise.
23104         * intl/Makefile: Likewise.
23105         * conform/Makefile: Likewise.
23106         * nss/Makefile: Likewise.
23107         * time/Makefile: Likewise.
23108         * soft-fp/Makefile: Likewise.
23109         * dirent/Makefile: Likewise.
23110         * gmon/Makefile: Likewise.
23111         * po/Makefile: Likewise.
23112         * rt/Makefile: Likewise.
23113         * socket/Makefile: Likewise.
23114         * math/Makefile: Likewise.
23115         * signal/Makefile: Likewise.
23116         * debug/Makefile: Likewise.
23117         * elf/Makefile: Likewise.
23118         * timezone/Makefile: Likewise.
23119         * stdlib/Makefile: Likewise.
23120         * iconvdata/Makefile: Likewise.
23121         * sunrpc/Makefile: Likewise.
23122         * io/Makefile: Likewise.
23123         * argp/Makefile: Likewise.
23124         * inet/Makefile: Likewise.
23125         * hesiod/Makefile: Likewise.
23126         * grp/Makefile: Likewise.
23127         * csu/Makefile: Likewise.
23128         * wctype/Makefile: Likewise.
23129         * crypt/Makefile: Likewise.
23130         * libio/Makefile: Likewise.
23131         * string/Makefile: Likewise.
23132         * nis/Makefile: Likewise.
23133         * resolv/Makefile: Likewise.
23134         * stdio-common/Makefile: Likewise.
23135         * wcsmbs/Makefile: Likewise.
23136         * dlfcn/Makefile: Likewise.
23137         * posix/Makefile: Likewise.
23139         [BZ #6959]
23140         * timezone/Makefile: Don't install timezone files, just the programs
23141         and scripts.
23143 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
23145         * nss/databases.def: Add missing gshadow entry.
23147         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
23149 2012-03-06  Marek Polacek  <polacek@redhat.com>
23151         [BZ #13726]
23152         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23153         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23154         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23155         * stdio-common/tst-long-dbl-fphex.c: New file.
23157 2012-03-06  David S. Miller  <davem@davemloft.net>
23159         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23160         (set_obp_int): New function.
23161         (get_obp_int): New function.
23162         (__get_clockfreq_via_dev_openprom): Likewise.
23163         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23164         Avoid unused variable warnings on 'val' and use builtin_expect.
23165         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23166         __builtin_expect.
23167         (INLINE_CLONE_SYSCALL): Likewise.
23169 2012-03-05  David S. Miller  <davem@davemloft.net>
23171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23173 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
23175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23177         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23178         only for |x| >= 40.
23179         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23181 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23183         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23184         Replace gettimeofday with __vdso_gettimeofday.
23186         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23187         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23188         __vdso_clock_gettime and __vdso_getcpu.
23190         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23191         time with __vdso_time.
23193 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23195         * manual/lang.texi (size_t): Note types to which size_t may be
23196         equivalent with the GNU C Library, but do not describe when
23197         differences between them are significant.
23199 2012-03-05  Andreas Jaeger  <aj@suse.de>
23201         * sysdeps/i386/fpu/libm-test-ulps: Update.
23203 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23205         [BZ #3976]
23206         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23207         (__ieee754_pow): Save and restore rounding mode and use
23208         round-to-nearest for main computations.
23209         * math/libm-test.inc (pow_test_tonearest): New function.
23210         (pow_test_towardzero): Likewise.
23211         (pow_test_downward): Likewise.
23212         (pow_test_upward): Likewise.
23213         (main): Call the new functions.
23214         * sysdeps/i386/fpu/libm-test-ulps: Update.
23215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23217         [BZ #3976]
23218         * math/libm-test.inc (cosh_test_tonearest): New function.
23219         (cosh_test_towardzero): Likewise.
23220         (cosh_test_downward): Likewise.
23221         (cosh_test_upward): Likewise.
23222         (sinh_test_tonearest): Likewise.
23223         (sinh_test_towardzero): Likewise.
23224         (sinh_test_downward): Likewise.
23225         (sinh_test_upward): Likewise.
23226         (main): Call the new functions.
23227         * sysdeps/i386/fpu/libm-test-ulps: Update.
23228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23230 2012-03-05  Tom de Vries  <tom@codesourcery.com>
23232         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23233         default stack guard is set in last bytes.
23234         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23236 2012-03-05  Kees Cook  <keescook@chromium.org>
23238         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23240         [BZ #13656]
23241         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23242         possibly allocate from heap instead of stack.
23243         * stdio-common/bug-vfprintf-nargs.c: New file.
23244         * stdio-common/Makefile (tests): Add nargs overflow test.
23246 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
23248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23250 2012-03-03  Marek Polacek  <polacek@redhat.com>
23252         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23253         * math/math_private.h: Likewise.
23254         * stdlib/tst-strtod.c: Likewise.
23255         * sysdeps/i386/i486/bits/atomic.h: Likewise.
23256         * sysdeps/x86_64/bits/atomic.h: Likewise.
23258 2012-03-02  David S. Miller  <davem@davemloft.net>
23260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23264         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23265         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23266         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23267         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23269 2012-03-02  Roland McGrath  <roland@hack.frob.com>
23271         [BZ #13792]
23272         * manual/examples/README: New file, says the example source files
23273         can be used under GPL>=2.
23274         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23275         line containing just "*/".
23276         * manual/examples/add.c: Add copyright header (GPL>=2).
23277         * manual/examples/argp-ex1.c: Likewise.
23278         * manual/examples/argp-ex2.c: Likewise.
23279         * manual/examples/argp-ex3.c: Likewise.
23280         * manual/examples/argp-ex4.c: Likewise.
23281         * manual/examples/atexit.c: Likewise.
23282         * manual/examples/db.c: Likewise.
23283         * manual/examples/dir.c: Likewise.
23284         * manual/examples/dir2.c: Likewise.
23285         * manual/examples/execinfo.c: Likewise.
23286         * manual/examples/filecli.c: Likewise.
23287         * manual/examples/filesrv.c: Likewise.
23288         * manual/examples/fmtmsgexpl.c: Likewise.
23289         * manual/examples/genpass.c: Likewise.
23290         * manual/examples/inetcli.c: Likewise.
23291         * manual/examples/inetsrv.c: Likewise.
23292         * manual/examples/isockad.c: Likewise.
23293         * manual/examples/longopt.c: Likewise.
23294         * manual/examples/memopen.c: Likewise.
23295         * manual/examples/memstrm.c: Likewise.
23296         * manual/examples/mkfsock.c: Likewise.
23297         * manual/examples/mkisock.c: Likewise.
23298         * manual/examples/mygetpass.c: Likewise.
23299         * manual/examples/pipe.c: Likewise.
23300         * manual/examples/popen.c: Likewise.
23301         * manual/examples/rprintf.c: Likewise.
23302         * manual/examples/search.c: Likewise.
23303         * manual/examples/select.c: Likewise.
23304         * manual/examples/setjmp.c: Likewise.
23305         * manual/examples/sigh1.c: Likewise.
23306         * manual/examples/sigusr.c: Likewise.
23307         * manual/examples/stpcpy.c: Likewise.
23308         * manual/examples/strdupa.c: Likewise.
23309         * manual/examples/strftim.c: Likewise.
23310         * manual/examples/strncat.c: Likewise.
23311         * manual/examples/subopt.c: Likewise.
23312         * manual/examples/swapcontext.c: Likewise.
23313         * manual/examples/termios.c: Likewise.
23314         * manual/examples/testopt.c: Likewise.
23315         * manual/examples/testpass.c: Likewise.
23316         * manual/examples/timeval_subtract.c: Likewise.
23318         [BZ #13792]
23319         * manual/time.texi (Elapsed Time): Move timeval_subtract example
23320         function to ...
23321         * manual/timeval_subtract.c.texi: ... here, new file.
23323 2012-03-02  David S. Miller  <davem@davemloft.net>
23325         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23327 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
23329         [BZ #3976]
23330         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23331         (__sin): Save and restore rounding mode and use round-to-nearest
23332         for all computations.
23333         (__cos): Save and restore rounding mode and use round-to-nearest
23334         for all computations.
23335         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23336         <fenv.h>.
23337         (tan): Save and restore rounding mode and use round-to-nearest for
23338         all computations.
23339         * math/libm-test.inc (cos_test_tonearest): New function.
23340         (cos_test_towardzero): Likewise.
23341         (cos_test_downward): Likewise.
23342         (cos_test_upward): Likewise.
23343         (sin_test_tonearest): Likewise.
23344         (sin_test_towardzero): Likewise.
23345         (sin_test_downward): Likewise.
23346         (sin_test_upward): Likewise.
23347         (tan_test_tonearest): Likewise.
23348         (tan_test_towardzero): Likewise.
23349         (tan_test_downward): Likewise.
23350         (tan_test_upward): Likewise.
23351         (main): Call the new functions.
23352         * sysdeps/i386/fpu/libm-test-ulps: Update.
23353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23355         [BZ #10135]
23356         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23357         small n, then large n, before computing and testing k+n.
23358         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23359         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23360         Likewise.
23361         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23362         Likewise.
23363         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23364         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23365         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23366         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23367         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23368         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23369         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23370         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23371         * math/libm-test.inc (scalbn_test): Add more tests.
23372         (scalbln_test): Likewise.
23374         * manual/filesys.texi (mode_t): Describe constraints on size and
23375         signedness, not exact equivalence to a particular type.
23376         (ino_t): Likewise.
23377         (ino64_t): Likewise.
23378         (dev_t): Likewise.
23379         (nlink_t): Likewise.
23380         (blkcnt_t): Likewise.
23381         (blkcnt64_t): Likewise.
23382         * manual/llio.texi (off_t): Likewise.
23384         [BZ #3976]
23385         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23386         (__ieee754_exp): Save and restore rounding mode and use
23387         round-to-nearest for all computations.
23388         * math/libm-test.inc (exp_test_tonearest): New function.
23389         (exp_test_towardzero): Likewise.
23390         (exp_test_downward): Likewise.
23391         (exp_test_upward): Likewise.
23392         (main): Call the new functions.
23393         * sysdeps/i386/fpu/libm-test-ulps: Update.
23394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23396 2012-03-01  Chris Demetriou  <cgd@google.com>
23398         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23399         have predictable order.
23401 2012-03-01  David S. Miller  <davem@davemloft.net>
23403         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23405         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23406         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23407         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23408         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23410         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23411         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23412         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23414         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23415         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23416         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23417         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23418         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23422         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23423         * sysdeps/sparc/fpu/libm-test-ulps: to here.
23424         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23426         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23427         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23428         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23429         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23430         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23431         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23432         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23433         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23434         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23435         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23436         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23437         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23439         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23440         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23442         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23443         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23444         * sysdeps/sparc/elf/configure: Regenerated.
23446 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
23448         * configure.in (AS, LD): Require binutils 2.20 or later.
23449         * configure: Regenerated.
23450         * manual/install.texi (Tools for Compilation): Give binutils 2.20
23451         as required minimum version.
23452         * INSTALL: Regenerated.
23454         [BZ #2541]
23455         [BZ #4108]
23456         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23457         before squaring exponent.
23458         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23459         bottom long double and 27 bits of top long double before squaring
23460         exponent.
23461         * math/libm-test.inc (erfc_test): Add more tests.
23462         * sysdeps/i386/fpu/libm-test-ulps: Update.
23463         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23466 2012-03-01  Kai Tietz  <ktietz@redhat.com>
23468         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23469         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23470         containing bit-fields.
23471         * soft-fp/extended.h (_FP_UNION_E): Likewise.
23472         * soft-fp/single.h (_FP_UNION_S): Likewise.
23473         * soft-fp/double.h (_FP_UNION_D): Likewise.
23475 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23477         [BZ #13786]
23478         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23479         not include ../strcmp.S.
23480         [USE_AS_STRNCASECMP_L]: Likewise.
23481         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23482         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23483         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23484         (__strncasecmp_l_ia32): Define as alias to
23485         __strncasecmp_l_nonascii.
23487         [BZ #5794]
23488         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23489         * sysdeps/i386/fpu/libm-test-ulps: Update.
23490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23492         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23495 2012-02-29  Jeff Law  <law@redhat.com>
23497         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23498         out of bounds read.
23500 2012-02-29  Marek Polacek  <polacek@redhat.com>
23502         [BZ #13706]
23503         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23504         * elf/Makefile: Add rules to run tst-unused-dep.out.
23506 2012-02-28  David S. Miller  <davem@davemloft.net>
23508         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23509         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23510         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23511         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23512         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23513         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23515 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23517         * math/libm-test.inc (llround_test): Move one test from
23518         lround_test.  Use TEST_f_L in moved test.
23519         (lround_test): Move misplaced test to llround_test.  Add testcase
23520         from bug 2561.
23522 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23524         * sysdeps/x86_64/fpu/e_expf.S: New file.
23525         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23527 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23529         [BZ #13637]
23530         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23531         of remain_len that may cause incomplete multi-byte character and
23532         false match.
23533         * posix/bug-regex33.c: New file.
23534         * posix/Makefile (tests): Add bug-regex33.
23536 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23538         * manual/macros.texi: New file.
23539         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23540         * manual/libc.texinfo: Include macros.texi.
23541         * manual/creatute.texi: Likewise.
23542         * manual/install.texi: Likewise.
23543         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23544         @glibcadj{} in references to the GNU C Library.
23545         * manual/charset.texi: Likewise.
23546         * manual/conf.texi: Likewise.
23547         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23548         when not using those macros.
23549         * manual/creature.texi: Likewise.
23550         * manual/crypt.texi: Likewise.
23551         * manual/errno.texi: Likewise.
23552         * manual/filesys.texi: Likewise.
23553         * manual/header.texi: Likewise.
23554         * manual/install.texi: Likewise.
23555         * manual/intro.texi: Likewise.
23556         * manual/io.texi: Likewise.
23557         * manual/job.texi: Likewise.
23558         * manual/lang.texi: Likewise.
23559         * manual/libc.texiinfo: Likewise.
23560         * manual/llio.texi: Likewise.
23561         * manual/locale.texi: Likewise.
23562         * manual/maint.texi: Likewise.
23563         * manual/math.texi: Likewise.
23564         * manual/memory.texi: Likewise.
23565         * manual/message.texi: Likewise.
23566         * manual/nss.texi: Likewise.
23567         * manual/pattern.texi: Likewise.
23568         * manual/process.texi: Likewise.
23569         * manual/resource.texi: Likewise.
23570         * manual/search.texi: Likewise.
23571         * manual/setjmp.texi: Likewise.
23572         * manual/signal.texi: Likewise.
23573         * manual/socket.texi: Likewise.
23574         * manual/startup.texi: Likewise.
23575         * manual/stdio.texi: Likewise.
23576         * manual/string.texi: Likewise.
23577         * manual/sysinfo.texi: Likewise.
23578         * manual/syslog.texi: Likewise.
23579         * manual/terminal.texi: Likewise.
23580         * manual/time.texi: Likewise.
23581         * manual/users.texi: Likewise.
23582         * INSTALL: Regenerated.
23583         * NOTES: Regenerated.
23584         * sysdeps/gnu/errlist.c: Regenerated.
23586 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23588         * include/dirent.h: Include <dirstream.h> before
23589         <dirent/dirent.h>.
23591 2012-02-28  David S. Miller  <davem@davemloft.net>
23593         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23594         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23595         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23596         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23598 2012-02-27  David S. Miller  <davem@davemloft.net>
23600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23602         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23603         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23606         frame pointer instead of stack pointer relative arg slot.
23607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23608         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23609         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23611 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23613         [BZ #3992]
23614         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23616 2012-02-27  David S. Miller  <davem@davemloft.net>
23618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23622         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23623         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23624         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23625         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23627 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23629         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23630         later.  Allow versions 5-9.
23631         * configure: Regenerated.
23632         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23633         required minimum version and 4.6 as recommended version.  Do not
23634         mention bugs in GCC 2.7 and 2.8.
23635         * INSTALL: Regenerated.
23637 2012-02-27  David S. Miller  <davem@davemloft.net>
23639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23643         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23644         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23645         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23646         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23648         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23649         manipulate bits before adding and subtracting TWO112[sx].
23650         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23652 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23654         [BZ #13775]
23655         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23656         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23657         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23658         being in POSIX, because they are in 1003.1-2008.
23660         * rt/tst-aio.c: Include <fcntl.h>.
23661         * rt/tst-aio7.c: Likewise.
23662         * rt/tst-aio64.c: Likewise.
23664         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23666 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23668         * manual/install.texi (--with-headers): Describe headers as
23669         interface headers, not private headers.
23670         (Specific advice for GNU/Linux systems): Describe use of headers
23671         from "make headers_install", not private headers from older
23672         kernels.
23673         * INSTALL: Regenerated.
23674         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23675         Change to 2.6.19.
23676         * sysdeps/unix/sysv/linux/configure: Regenerated.
23678         * manual/llio.texi (fclean): Remove documentation.
23680         * manual/Makefile (libc-texi-generated): New variable.  Include
23681         version.texi.
23682         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23683         $(libc-texi-generated), not duplicated list of files.
23684         (version.texi, stamp-version): New rules.
23685         (realclean): Remove $(libc-texi-generated), not individual files
23686         from that list.  Do not remove dir-add.texinfo.
23687         * manual/libc.texinfo: Comment out uses of edition numbers and
23688         references to printed manual.  Remove last-updated dates.
23689         (EDITION): Comment out.
23690         (ISBN): Likewise.
23691         (VERSION, UPDATED): Remove.
23692         (version.texi): Include.
23694 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23696         * sysdeps/posix/spawni.c: Include <signal.h>.
23697         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23698         * sysdeps/pthread/aio_fsync.c: Likewise.
23700 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23702         * conform/Makefile (tests): Run only when not cross-compiling and
23703         when fast-check is not defined.
23705         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23706         * conform/data/limits.h-data: Fixes for POSIX2008.
23707         * conform/run-conformtest.sh: Run all tests.
23708         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23709         headers.
23710         * include/bits/dlfcn.h: Likewise.
23711         * include/langinfo.h: Likewise.
23712         * include/monetary.h: Likewise.
23713         * include/sys/poll.h: Likewise.
23715         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23716         for __USE_GNU.
23717         * posix/spawn.h: Define __need_sigset_t.
23718         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23719         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23720         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23721         to get sigevent_t only.
23722         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23723         only for __USE_GNU.
23724         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23725         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23726         process_vm_writev only for __USE_GNU.
23727         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23729         * conform/Makefile: For now ignore errors from run-conformtest.
23730         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23731         POSIX to avoid namespace pollution.  Don't prepend headers.
23732         * conform/data/aio.h-data: Fixes for POSIX testing.
23733         * conform/data/fcntl.h-data: Likewise.
23734         * conform/data/glob.h-data: Likewise.
23735         * conform/data/grp.h-data: Likewise.
23736         * conform/data/pthread.h-data: Likewise.
23737         * conform/data/pwd.h-data: Likewise.
23738         * conform/data/signal.h-data: Likewise.
23739         * conform/data/spawn.h-data: Likewise.
23740         * conform/data/stdio.h-data: Likewise.
23741         * conform/data/stdlib.h-data: Likewise.
23742         * conform/data/stropts.h-data: Likewise.
23743         * conform/data/sys/mman.h-data: Likewise.
23744         * conform/data/sys/stat.h-data: Likewise.
23745         * conform/data/sys/types.h-data: Likewise.
23746         * conform/data/sys/wait.h-data: Likewise.
23747         * conform/data/time.h-data: Likewise.
23748         * conform/data/unistd.h-data: Likewise.
23749         * conform/data/utime.h-data: Likewise.
23751         * io/sys/stat.h: fchmod was always in POSIX.
23752         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23753         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23754         * rt/aio.h: Define __need_timespec before including <time.h>.
23755         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23756         struct.  Add forward declaration of pthread_attr_t and use it in
23757         sigevent.
23758         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23760         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23761         always remove CLK_TCK definition.
23763 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23765         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23767 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23769         * conform/run-conformtest.sh: New file.
23770         * conform/Makefile: Run run-conformtest for tests.
23771         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23772         support.
23774         * conform/data/uchar.h-data: New file.
23775         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23776         * conform/data/arpa/inet.h-data: Likewise.
23777         * conform/data/assert.h-data: Likewise.
23778         * conform/data/complex.h-data: Likewise.
23779         * conform/data/cpio.h-data: Likewise.
23780         * conform/data/ctype.h-data: Likewise.
23781         * conform/data/dirent.h-data: Likewise.
23782         * conform/data/dlfcn.h-data: Likewise.
23783         * conform/data/errno.h-data: Likewise.
23784         * conform/data/fcntl.h-data: Likewise.
23785         * conform/data/float.h-data: Likewise.
23786         * conform/data/fmtmsg.h-data: Likewise.
23787         * conform/data/fnmatch.h-data: Likewise.
23788         * conform/data/ftw.h-data: Likewise.
23789         * conform/data/glob.h-data: Likewise.
23790         * conform/data/grp.h-data: Likewise.
23791         * conform/data/iconv.h-data: Likewise.
23792         * conform/data/inttypes.h-data: Likewise.
23793         * conform/data/langinfo.h-data: Likewise.
23794         * conform/data/libgen.h-data: Likewise.
23795         * conform/data/limits.h-data: Likewise.
23796         * conform/data/locale.h-data: Likewise.
23797         * conform/data/math.h-data: Likewise.
23798         * conform/data/monetary.h-data: Likewise.
23799         * conform/data/mqueue.h-data: Likewise.
23800         * conform/data/ndbm.h-data: Likewise.
23801         * conform/data/net/if.h-data: Likewise.
23802         * conform/data/netdb.h-data: Likewise.
23803         * conform/data/netinet/in.h-data: Likewise.
23804         * conform/data/nl_types.h-data: Likewise.
23805         * conform/data/poll.h-data: Likewise.
23806         * conform/data/pthread.h-data: Likewise.
23807         * conform/data/pwd.h-data: Likewise.
23808         * conform/data/regex.h-data: Likewise.
23809         * conform/data/sched.h-data: Likewise.
23810         * conform/data/search.h-data: Likewise.
23811         * conform/data/semaphore.h-data: Likewise.
23812         * conform/data/setjmp.h-data: Likewise.
23813         * conform/data/signal.h-data: Likewise.
23814         * conform/data/spawn.h-data: Likewise.
23815         * conform/data/stdarg.h-data: Likewise.
23816         * conform/data/stdio.h-data: Likewise.
23817         * conform/data/stdlib.h-data: Likewise.
23818         * conform/data/string.h-data: Likewise.
23819         * conform/data/strings.h-data: Likewise.
23820         * conform/data/stropts.h-data: Likewise.
23821         * conform/data/sys/ipc.h-data: Likewise.
23822         * conform/data/sys/mman.h-data: Likewise.
23823         * conform/data/sys/msg.h-data: Likewise.
23824         * conform/data/sys/resource.h-data: Likewise.
23825         * conform/data/sys/select.h-data: Likewise.
23826         * conform/data/sys/sem.h-data: Likewise.
23827         * conform/data/sys/shm.h-data: Likewise.
23828         * conform/data/sys/socket.h-data: Likewise.
23829         * conform/data/sys/stat.h-data: Likewise.
23830         * conform/data/sys/statvfs.h-data: Likewise.
23831         * conform/data/sys/time.h-data: Likewise.
23832         * conform/data/sys/timeb.h-data: Likewise.
23833         * conform/data/sys/times.h-data: Likewise.
23834         * conform/data/sys/types.h-data: Likewise.
23835         * conform/data/sys/uio.h-data: Likewise.
23836         * conform/data/sys/un.h-data: Likewise.
23837         * conform/data/sys/utsname.h-data: Likewise.
23838         * conform/data/sys/wait.h-data: Likewise.
23839         * conform/data/syslog.h-data: Likewise.
23840         * conform/data/tar.h-data: Likewise.
23841         * conform/data/termios.h-data: Likewise.
23842         * conform/data/utime.h-data: Likewise.
23843         * conform/data/utmpx.h-data: Likewise.
23844         * conform/data/varargs.h-data: Likewise.
23845         * conform/data/wchar.h-data: Likewise.
23846         * conform/data/wctype.h-data: Likewise.
23847         * conform/data/wordexp.h-data: Likewise.
23849         * include/stropts.h: New file.
23850         * include/uchar.h: New file.
23851         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23852         * include/assert.h: Likewise.
23853         * include/ctype.h: Likewise.
23854         * include/dirent.h: Likewise.
23855         * include/dlfcn.h: Likewise.
23856         * include/fcntl.h: Likewise.
23857         * include/fnmatch.h: Likewise.
23858         * include/glob.h: Likewise.
23859         * include/grp.h: Likewise.
23860         * include/libio.h: Likewise.
23861         * include/locale.h: Likewise.
23862         * include/math.h: Likewise.
23863         * include/net/if.h: Likewise.
23864         * include/netdb.h: Likewise.
23865         * include/netinet/in.h: Likewise.
23866         * include/pthread.h: Likewise.
23867         * include/pwd.h: Likewise.
23868         * include/regex.h: Likewise.
23869         * include/sched.h: Likewise.
23870         * include/search.h: Likewise.
23871         * include/setjmp.h: Likewise.
23872         * include/signal.h: Likewise.
23873         * include/stdio.h: Likewise.
23874         * include/stdlib.h: Likewise.
23875         * include/string.h: Likewise.
23876         * include/sys/cdefs.h: Likewise.
23877         * include/sys/mman.h: Likewise.
23878         * include/sys/msg.h: Likewise.
23879         * include/sys/resource.h: Likewise.
23880         * include/sys/select.h: Likewise.
23881         * include/sys/socket.h: Likewise.
23882         * include/sys/stat.h: Likewise.
23883         * include/sys/statvfs.h: Likewise.
23884         * include/sys/time.h: Likewise.
23885         * include/sys/times.h: Likewise.
23886         * include/sys/uio.h: Likewise.
23887         * include/sys/utsname.h: Likewise.
23888         * include/sys/wait.h: Likewise.
23889         * include/termios.h: Likewise.
23890         * include/time.h: Likewise.
23891         * include/ulimit.h: Likewise.
23892         * include/unistd.h: Likewise.
23893         * include/utime.h: Likewise.
23894         * include/wchar.h: Likewise.
23895         * include/wctype.h: Likewise.
23896         * include/wordexp.h: Likewise.
23898         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23900         * time/time.h: TIME_UTC must be a macro.
23901         Make timespec_get available for ISO C11 only as well.
23903 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23905         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23906         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23908 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23910         * configure.in: Use -o not -a in test for unsupported multi-arch.
23912 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23914         * manual/texinfo.tex: Update to version 2012-01-19.16.
23916 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23918         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23920 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23922         [BZ #13738]
23923         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23924         * manual/fdl-1.3.texi: New file.
23925         * manual/fdl-1.1.texi: File removed.
23927         [BZ #13738]
23928         * manual/libc.texinfo (FDL_VERSION): New @set.
23929         Use it for mention of FDL in cover text.
23930         (Documentation License): Use it in @include file name.
23932 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23933             Roland McGrath  <roland@hack.frob.com>
23935         [BZ #5461]
23936         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23937         not LONG_LONG_MAX and LONG_LONG_MIN.
23938         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23939         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23940         name.
23941         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23943 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23945         [BZ #2547]
23946         [BZ #11365]
23947         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23948         manipulate bits before adding and subtracting TWO23[sx].
23949         * math/libm-test.inc (nearbyint_test): Add more tests.
23951 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23953         [BZ #2548]
23954         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23955         bits before adding and subtracting TWO23[sx].
23956         * math/libm-test.inc (rint_test): Add more tests.
23957         (rint_test_tonearest): Likewise.
23958         (rint_test_towardzero): Likewise.
23959         (rint_test_downward): Likewise.
23960         (rint_test_upward: Likewise.
23962 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23964         [BZ #10110]
23965         * include/stdc-predef.h: New file.  Extracted from features.h.
23966         * include/features.h: Include stdc-predef.h.
23967         * Makefile (headers): Add stdc-predef.h.
23968         * CONFORMANCE (Compiler limitations): Update.
23970 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23972         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23974 2012-02-21  David S. Miller  <davem@davemloft.net>
23976         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23977         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23979 2012-02-20  David S. Miller  <davem@davemloft.net>
23981         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23982         using a normal save/restore sequence, rather than allocating a
23983         dummy stack frame just to store a frame pointer and restore.
23984         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23986 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23988         * manual/install.texi: Fix stray word in line-wrapped comment.
23990 2012-02-20  David S. Miller  <davem@davemloft.net>
23992         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23993         both binutils and gcc support GOTDATA.
23995         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23996         "rd %pc" in the PIC register setup sequences.
23998         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23999         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24000         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24001         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24002         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24003         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24004         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24005         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24006         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24007         (SYSCALL_ERROR_HANDLER): Likewise.
24008         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24009         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24010         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24011         (SYSCALL_ERROR_HANDLER): Likewise.
24013         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24014         (HAVE_GCC_GOTDATA): New.
24015         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24016         relocation support in both binutils and gcc.
24017         * sysdeps/sparc/elf/configure: Regenerate.
24019         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24020         * sysdeps/sparc/sparc32/elf/configure: Delete.
24021         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24022         * sysdeps/sparc/sparc64/elf/configure: Delete.
24023         * sysdeps/sparc/elf/configure.in: New file.
24024         * sysdeps/sparc/elf/configure: Generate.
24026         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24027         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24028         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24029         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24030         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24032 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24034         * manual/install.texi: Do not mention specific glibc version
24035         numbers.
24036         * manual/libc.texinfo (VERSION, UPDATED): Update.
24037         (@copying): Use @copyright{} and range of years.
24039 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24041         [BZ #13695]
24042         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24043         [crti.S not in sysdirs] (generated): Do not append.
24044         [crti.S not in sysdirs] (omit-deps): Likewise.
24045         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24046         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24047         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24048         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24049         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24050         Likewise.
24051         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24052         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24053         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24054         * csu/defs.awk: Remove file.
24055         * sysdeps/generic/initfini.c: Likewise.
24056         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24057         variable.
24058         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24059         Likewise.
24061 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24063         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24064         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24065         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24066         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24067         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24068         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24069         <bits/epoll.h>.
24070         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24071         (__EPOLL_PACKED): Define to empty if not defined by
24072         <bits/epoll.h>.
24073         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24075         bits/epoll.h.
24077 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24079         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24080         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24081         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24082         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24083         <bits/timerfd.h>.
24084         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24086         bits/timerfd.h.
24088 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
24090         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24091         in C locale.
24092         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24093         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24094         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24097 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
24099         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24100         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24102 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
24104         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24105         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24106         defined.
24107         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24108         Likewise.
24109         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24110         entry for 2.16.
24112 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
24114         * math/w_acos.c: Use non-signaling floating-point comparisons.
24115         * math/w_acosf.c: Likewise.
24116         * math/w_acosh.c: Likewise.
24117         * math/w_acoshf.c: Likewise.
24118         * math/w_acoshl.c: Likewise.
24119         * math/w_acosl.c: Likewise.
24120         * math/w_asin.c: Likewise.
24121         * math/w_asinf.c: Likewise.
24122         * math/w_asinl.c: Likewise.
24123         * math/w_atanh.c: Likewise.
24124         * math/w_atanhf.c: Likewise.
24125         * math/w_atanhl.c: Likewise.
24126         * math/w_exp2.c: Likewise.
24127         * math/w_exp2f.c: Likewise.
24128         * math/w_exp2l.c: Likewise.
24129         * math/w_j0.c: Likewise.
24130         * math/w_j0f.c: Likewise.
24131         * math/w_j0l.c: Likewise.
24132         * math/w_j1.c: Likewise.
24133         * math/w_j1f.c: Likewise.
24134         * math/w_j1l.c: Likewise.
24135         * math/w_jn.c: Likewise.
24136         * math/w_jnf.c: Likewise.
24137         * math/w_log.c: Likewise.
24138         * math/w_log10.c: Likewise.
24139         * math/w_log10f.c: Likewise.
24140         * math/w_log10l.c: Likewise.
24141         * math/w_log2.c: Likewise.
24142         * math/w_log2f.c: Likewise.
24143         * math/w_log2l.c: Likewise.
24144         * math/w_logf.c: Likewise.
24145         * math/w_logl.c: Likewise.
24146         * math/w_sqrt.c: Likewise.
24147         * math/w_sqrtf.c: Likewise.
24148         * math/w_sqrtl.c: Likewise.
24149         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24150         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24151         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24152         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24153         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24155 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24157         [BZ #9739]
24158         * manual/string.texi (strnlen): Use correct parameter name in
24159         equivalent expression.
24161 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24163         [BZ #11174]
24164         * manual/users.texi (seteuid): Consistently use neweuid for
24165         argument name.
24167 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24169         [BZ #13704]
24170         * manual/nss.texi (Services in the NSS configuration): Correct
24171         list of services in example configuration file.
24173 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
24175         [BZ #11322]
24176         * manual/arith.texi: Remove statements about negative zero
24177         behaving identically to zero.
24179 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24181         [BZ #5993]
24182         * manual/install.texi: Do not document upgrading from libc5.
24184 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24186         [BZ #4596]
24187         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24189 2012-02-18  David S. Miller  <davem@davemloft.net>
24191         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24192         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24193         %o7 across the call.
24194         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24195         instead.
24196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24197         SETUP_PIC_REG_LEAF.
24198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24199         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24200         * sysdeps/sparc/crtn.S: Likewise.
24202 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
24204         * aout/Makefile: Remove.
24206 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
24208         [BZ #13058]
24209         * manual/examples/argp-ex1.c (main): Format definition in GNU
24210         style.
24211         * manual/examples/argp-ex2.c (main): Likewise.
24212         * manual/examples/argp-ex3.c (main): Likewise.
24213         * manual/examples/argp-ex4.c (main): Likewise.
24214         * manual/examples/longopt.c (main): Use new-style prototype
24215         definition.
24216         * manual/examples/strncat.c (main): Specify return type and use
24217         (void) for arguments.
24218         * manual/examples/subopt.c (main): Use char **argv argument.
24220 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24222         [BZ #5077]
24223         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24224         rounding modes.
24226 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
24228         [BZ #6907]
24229         * manual/string.texi (strchr): Change when strchrnul is
24230         recommended.
24232 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
24234         [BZ #174]
24235         * manual/locale.texi (setlocale): Document LOCPATH.
24237 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24239         [BZ #10210]
24240         * manual/process.texi (execle): Move @dots{} before last argument.
24242 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
24244         [BZ #12047]
24245         * manual/charset.texi (Generic Charset Conversion): Fix typo
24246         (LC_TYPE -> LC_CTYPE).
24248 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
24250         [BZ #5805]
24251         * manual/arith.texi (scalbn): Use @var{} on parameter names.
24252         (scalbnf): Likewise.
24253         (scalbnl): Likewise.
24254         (scalbln): Likewise.
24255         (scalblnf): Likewise.
24256         (scalblnl): Likewise.
24257         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24258         (vwarnx): Likewise.
24259         (verr): Likewise.
24260         (verrx): Likewise.
24261         * manual/filesys.texi (telldir): Use braces around return type.
24262         * manual/llio.texi (mmap): Add space after comma.
24263         (mmap64): Likewise.
24264         * manual/math.texi (jn): Use @var{} on parameter names.
24265         (jnf): Likewise.
24266         (jnl): Likewise.
24267         (yn): Likewise.
24268         (ynf): Likewise.
24269         (ynl): Likewise.
24270         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24271         line.
24272         * manual/resource.texi (ulimit): Use @dots{} instead of literal
24273         "...".
24274         (sched_get_priority_min): Remove semicolon on @deftypefun line.
24275         (sched_get_priority_max): Likewise.
24276         * manual/signal.texi (sigvec): Add space after comma.
24277         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24278         names.
24279         (if_indextoname): Likewise.
24280         (if_freenameindex): Likewise.
24281         (sendto): Use ',' instead of '.' in prototype.
24282         * manual/startup.texi (syscall): Use @dots{} instead of literal
24283         "...".
24284         * manual/stdio.texi (__fpending): Separate initial words of
24285         paragraph from @deftypefun line.
24286         * manual/syslog.texi (syslog): Use @dots{} instead of literal
24287         "...".
24288         (vsyslog): Use @var{} on parameter names.
24289         * manual/terminal.texi (stty): Use @var{} on parameter names.
24290         * manual/users.texi (getutmp): Use @var{} on parameter names.
24291         (getutmpx): Likewise.
24293 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24295         [BZ #6884]
24296         * manual/stdio.texi (fopen): Fix typos in description of
24297         ",ccs=STRING".
24299 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
24301         [BZ #4026]
24302         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24303         get clock_id definition.
24305 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
24307         [BZ #4822]
24308         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24309         (madvise): Cast every argument to void on its own.
24311 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24313         [BZ #9902]
24314         * manual/startup.texi (Exit Status): Fix typo.
24316 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24318         [BZ #10140]
24319         * manual/examples/argp-ex1.c: Include <stdlib.h>.
24320         * manual/examples/argp-ex2.c: Likewise.
24321         * manual/examples/argp-ex3.c: Likewise.
24323 2012-02-16  Richard Henderson  <rth@redhat.com>
24325         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24326         * sysdeps/s390/s390-32/initfini.c: Remove.
24327         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24328         * sysdeps/s390/s390-64/initfini.c: Remove.
24330 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24332         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24333         compiler output for sysdeps/generic/initfini.c.
24334         * sysdeps/sh/elf/initfini.c: Remove file.
24336 2012-02-16  David S. Miller  <davem@davemloft.net>
24338         [BZ #11494]
24339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24341         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24342         * sysdeps/sparc/crti.S: New file.
24343         * sysdeps/sparc/crtn.S: New file.
24344         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24345         * sysdeps/sparc/sparc64/Makefile: Likewise.
24347 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
24349         [BZ #3335]
24350         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24352 2012-02-15  Roland McGrath  <roland@hack.frob.com>
24354         [BZ #4822]
24355         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24357         * mach/devstream.c (cookie_io_functions_t): Macro removed.
24358         (write, read, close): Likewise.
24359         Patch by Aurelien Jarno <aurelien@aurel32.net>.
24361 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
24363         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24364         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24365         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24366         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24367         <bits/signalfd.h>.
24368         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24369         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24370         bits/signalfd.h.
24372 2012-02-14  Marek Polacek  <polacek@redhat.com>
24374         * sysdeps/x86_64/crti.S: New file.
24375         * sysdeps/x86_64/crtn.S: New file.
24376         * sysdeps/x86_64/elf/initfini.c: Remove file.
24378 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24380         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24381         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24382         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24383         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24384         <bits/inotify.h>.
24385         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24387         bits/inotify.h.
24389 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24391         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24392         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24393         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24394         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24395         <bits/eventfd.h>.
24396         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24398         bits/eventfd.h.
24400 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
24402         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24403         __feraiseexcept instead of feraiseexcept.
24405         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24406         nanosleep invocations.
24407         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24408         strings, and add error checking for a nanosleep invocations.
24410 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
24412         Replace FSF snail mail address with URLs, as per GNU coding standards.
24413         Most of the snail mail addresses were wrong anyway, and omitting
24414         them makes the source code easier to maintain.  Almost all of the
24415         changes are to license notices and to locale LC_IDENTIFICATION
24416         addresses, except for this one:
24417         * manual/libc.texinfo: In "Published by", give the FSF's URL,
24418         not its snail mail address.
24420 2012-02-09  Richard Henderson  <rth@twiddle.net>
24422         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24423         of kernel-features.h.
24425         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24427 2012-02-08  Marek Polacek  <polacek@redhat.com>
24429         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24430         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24431         * sysdeps/gnu/_G_config.h: Likewise.
24432         * sysdeps/generic/_G_config.h: Likewise.
24434 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
24436         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24437         tests.
24438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24440         * sysdeps/powerpc/powerpc32/crti.S: New file.
24441         * sysdeps/powerpc/powerpc32/crtn.S: New file.
24442         * sysdeps/powerpc/powerpc64/crti.S: New file.
24443         * sysdeps/powerpc/powerpc64/crtn.S: New file.
24445         * Makeconfig (have-initfini): Don't set.
24446         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24447         * configure.in (nopic_initfini): Don't substitute.
24448         * config.h.in (HAVE_INITFINI): Don't #undef.
24449         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24450         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24452 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
24454         Support crti.S and crtn.S provided directly by architectures.
24455         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24456         [crti.S in sysdirs] (omit-deps): Likewise.
24457         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24458         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24459         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24460         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24461         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24462         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24463         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24464         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24465         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24466         compiler output for sysdeps/generic/initfini.c.
24467         * sysdeps/i386/elf/Makefile: Remove file.
24468         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24470 2012-02-07  Marek Polacek  <polacek@redhat.com>
24472         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24473         * sysdeps/gnu/_G_config.h: Likewise.
24474         * sysdeps/mach/hurd/_G_config.h: Likewise.
24476 2012-02-07  Marek Polacek  <polacek@redhat.com>
24478         * math/Makefile (tests): Add tst-CMPLX2.
24479         * math/tst-CMPLX2.c: New file.
24481 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24483         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24485         * math/libm-test.inc (jn_test): Add missing L suffix.
24487 2012-02-06  Marek Polacek  <polacek@redhat.com>
24489         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24490         * sysdeps/i386/fpu/e_powf.S: Likewise.
24491         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24492         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24493         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24494         * sysdeps/i386/fpu/e_pow.S: Likewise.
24495         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24496         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24497         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24498         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24499         * sysdeps/i386/fpu/e_log2.S: Likewise.
24500         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24501         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24502         * sysdeps/i386/fpu/e_powl.S: Likewise.
24503         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24504         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24505         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24506         * sysdeps/i386/fpu/e_logl.S: Likewise.
24507         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24508         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24509         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24510         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24511         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24512         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24513         * sysdeps/i386/fpu/e_log.S: Likewise.
24514         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24515         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24516         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24517         * sysdeps/i386/fpu/e_logf.S: Likewise.
24518         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24519         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24520         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24521         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24522         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24523         * sysdeps/i386/fpu/e_log10.S: Likewise.
24524         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24525         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24526         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24527         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24528         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24529         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24530         * sysdeps/i386/asm-syntax.h: Likewise.
24531         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24532         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24533         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24534         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24535         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24536         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24537         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24538         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24539         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24540         * sysdeps/powerpc/sysdep.h: Likewise.
24541         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24542         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24544 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24546         [BZ #411]
24547         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24549 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24551         * sysdeps/i386/sysdep.h: Include <features.h>.
24552         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24553         version.
24555 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24557         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24558         Define.
24559         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24560         LOAD_PIC_REG_STR.
24562 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24564         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24565         (SETUP_PIC_REG): Use GET_PC_THUNK.
24566         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24567         macro.
24569 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24571         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24572         for non-PIC compilation.
24573         (SETUP_PIC_REG): Add .p2align directive.
24574         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24575         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24576         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24577         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24578         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24579         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24580         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24581         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24582         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24583         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24584         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24585         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24586         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24587         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24588         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24589         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24590         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24591         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24592         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24593         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24594         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24595         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24596         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24597         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24598         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24599         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24600         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24601         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24602         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24603         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24604         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24605         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24606         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24607         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24608         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24609         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24610         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24611         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24612         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24613         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24614         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24616 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24618         * math/tst-CMPLX.c: Include <stdio.h>.
24620 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24622         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24623         float.
24624         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24625         * sysdeps/sparc/bits/mathdef.h: Likewise.
24627 2012-01-31  Marek Polacek  <polacek@redhat.com>
24629         * libio/libio.h: Don't define _PARAMS.
24630         * locale/programs/config.h: Don't define PARAMS.
24631         * stdlib/strtol_l.c: Likewise.
24632         (__strtol_l): Remove PARAMS from the prototype.
24634 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24636         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24637         names.  Just use the correct names.  Remove unnecessary wrapper
24638         functions.
24639         * malloc/arena.c: Likewise.
24640         * malloc/hooks.c: Likewise.
24642         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24643         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24644         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24646 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24648         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24649         into tail calls.
24650         (update_get_addr): New function.
24651         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24652         GET_ADDR_MODULE parameter.
24654 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24656         * crypt/cert.c: Remove __STDC__ conditionals.
24657         * crypt/crypt-entry.c: Likewise.
24658         * crypt/crypt_util.c: Likewise.
24659         * libio/filedoalloc.c: Likewise.
24660         * libio/fileops.c: Likewise.
24661         * libio/genops.c: Likewise.
24662         * libio/iofclose.c: Likewise.
24663         * libio/iofdopen.c: Likewise.
24664         * libio/iofopen.c: Likewise.
24665         * libio/iofopen64.c: Likewise.
24666         * libio/iogetdelim.c: Likewise.
24667         * libio/iopopen.c: Likewise.
24668         * libio/obprintf.c: Likewise.
24669         * libio/oldfileops.c: Likewise.
24670         * libio/oldiofclose.c: Likewise.
24671         * libio/oldiofdopen.c: Likewise.
24672         * libio/oldiofopen.c: Likewise.
24673         * libio/oldiopopen.c: Likewise.
24674         * libio/wfiledoalloc.c: Likewise.
24675         * libio/wgenops.c: Likewise.
24676         * locale/programs/xmalloc.c: Likewise.
24677         * misc/syslog.c: Likewise.
24678         * stdio-common/xbug.c: Likewise.
24679         * string/memchr.c: Likewise.
24680         * string/memcmp.c: Likewise.
24681         * string/memrchr.c: Likewise.
24682         * string/rawmemchr.c: Likewise.
24683         * sysdeps/posix/getcwd.c: Likewise.
24684         * time/strftime_l.c: Likewise.
24686 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24688         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24689         * config.make.in (config-cflags-sse2avx): Define.
24690         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24691         Fix typo.
24693 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24695         * scripts/config.guess: Update from upstream config git repository.
24696         * scripts/config.sub: Likewise.
24698 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24700         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24701         (EM_NUM): Update.
24702         (R_TILEPRO_*, R_TILEGX_*): New macros.
24704         * scripts/firstversions.awk: Fix bug in version range handling.
24706         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24708         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24710         * include/sys/epoll.h: New file.
24711         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24712         libc_hidden_def.
24714 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24716         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24717         Avoid unnecessary __WORDSIZE == 64 test.
24718         (fmaxf): Use VEX format if possible.
24719         (fmax): Likewise.
24720         (fminf): Likewise.
24721         (fmin): Likewise.
24723         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24724         * math/math_private.h: Remove libc_fegetround* and
24725         libc_fesetround*.
24726         * sysdeps/i386/configure.in: Check for -msse2avx.
24727         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24728         also if SSE2AVX is defined.
24729         Remove libc_fegetround* and libc_fesetround*.
24730         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24731         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24732         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24733         of HAS_YMM_USABLE.
24734         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24735         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24736         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24737         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24738         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24740         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24742 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24744         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24745         size is not set.
24746         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24748 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24750         [BZ #13618]
24751         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24752         relocation.
24753         * Makeconfig (libm): Define.
24754         * elf/Makefile: Add rules to build and run tst-relsort1.
24755         * elf/tst-relsort1.c: New file.
24756         * elf/tst-relsort1mod1.c: New file.
24757         * elf/tst-relsort1mod2.c: New file.
24759 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24761         * math/s_ldexp.c: Remove __STDC__ conditionals.
24762         * math/s_ldexpf.c: Likewise.
24763         * math/s_ldexpl.c: Likewise.
24764         * math/s_nextafter.c: Likewise.
24765         * math/s_nexttowardf.c: Likewise.
24766         * math/s_significand.c: Likewise.
24767         * math/s_significandf.c: Likewise.
24768         * math/s_significandl.c: Likewise.
24769         * math/w_jnl.c: Likewise.
24770         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24771         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24772         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24773         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24774         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24775         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24776         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24777         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24778         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24779         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24780         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24781         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24782         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24783         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24784         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24785         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24786         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24787         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24789         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24790         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24791         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24792         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24793         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24794         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24795         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24796         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24797         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24798         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24799         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24800         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24801         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24802         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24803         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24804         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24805         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24806         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24807         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24808         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24809         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24810         * sysdeps/ieee754/k_standard.c: Likewise.
24811         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24812         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24813         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24814         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24815         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24816         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24817         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24818         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24819         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24820         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24821         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24822         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24823         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24824         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24825         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24827         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24828         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24829         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24830         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24831         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24832         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24833         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24834         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24835         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24836         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24837         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24838         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24840         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24841         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24842         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24843         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24844         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24846         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24847         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24848         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24849         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24850         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24851         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24852         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24853         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24854         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24855         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24856         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24857         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24858         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24859         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24860         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24861         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24862         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24863         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24864         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24865         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24866         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24867         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24868         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24869         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24870         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24871         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24872         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24873         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24874         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24875         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24876         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24877         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24878         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24879         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24880         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24881         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24882         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24883         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24884         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24885         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24886         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24887         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24888         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24889         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24890         * sysdeps/ieee754/s_matherr.c: Likewise.
24891         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24892         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24893         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24896 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24898         * crypt/md5.h: Remove __STDC__ conditionals.
24899         * libio/libioP.h: Likewise.
24900         * locale/programs/config.h: Likewise.
24901         * sysdeps/generic/sysdep.h: Likewise.
24902         * sysdeps/i386/asm-syntax.h: Likewise.
24903         * sysdeps/s390/asm-syntax.h: Likewise.
24904         * sysdeps/unix/sysdep.h: Likewise.
24905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24908 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24910         * libio/libio.h: Remove __STDC__ conditionals.
24911         * malloc/obstack.h: Likewise.
24912         * math/complex.h: Likewise.
24913         * math/math.h: Likewise.
24914         * sysdeps/generic/_G_config.h: Likewise.
24915         * sysdeps/gnu/_G_config.h: Likewise.
24916         * sysdeps/mach/hurd/_G_config.h: Likewise.
24917         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24918         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24919         * sysdeps/sparc/bits/mathdef.h: Likewise.
24921 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24923         [BZ #13583]
24924         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24925         Clean up HAS_* macros.
24926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24927         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24928         possible.
24929         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24930         HAS_AVX.
24931         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24932         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24933         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24934         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24935         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24937 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24939         * elf/tst-unique3.cc (gets): Remove declaration.
24940         * elf/tst-unique3lib.cc (gets): Likewise.
24941         * elf/tst-unique3lib2.cc (gets): Likewise.
24942         * elf/tst-unique4.cc (gets): Likewise.
24944 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24946         * include/stdio.h: Add C++ protection.  Add gets declarations and
24947         definitions.
24948         * debug/tst-chk1.c: Don't declare gets here.
24949         * stdio-common/tst-gets.c: Likewise.
24951 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24953         * posix/glob: Remove directory.
24955 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24957         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24959 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24961         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24962         of the non-standard EPFNOSUPPORT.
24964 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24966         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24967         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24968         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24970 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24972         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24974 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24976         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24977         transient errors.
24978         * nscd/grpcache.c (cache_addgr): Likewise.
24979         * nscd/hstcache.c (cache_addhst): Likewise.
24980         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24981         * nscd/pwdcache.c (cache_addpw): Likewise.
24982         * nscd/servicescache.c (cache_addserv): Likewise.
24984 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24986         * malloc/malloc.c: Various cleanups.
24987         * malloc/hooks.c: Likewise.
24989         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24990         * stdlib/bug-fmtmsg1.c: New file.
24992         * stdlib/fmtmsg.c (init): Add missing unlock.
24993         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24995 2012-01-12  Marek Polacek  <polacek@redhat.com>
24997         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24998         and _GNU_SOURCE.
25000 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
25002         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25003         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25004         macro to ensure uniqueness of label name.
25005         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25006         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25008 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
25010         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25012         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25013         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25014         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25015         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25017 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
25019         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25021         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25022         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25023         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25025         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25027         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25028         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25029         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25030         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25032         * math/bits/math-finite.h: Add ldexp support.
25034 2012-01-10  Marek Polacek  <polacek@redhat.com>
25036         * locale/programs/localedef.h (show_archive_content): Add noreturn
25037         attribute.
25039 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
25041         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25043 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25045         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25047         * io/Makefile (headers): Add bits/poll2.h.
25049 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
25051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25052         typo #include statement.
25054 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25056         * include/sys/cdefs.h: Define __attribute_alloc_size.
25057         * catgets/gencat.c: Add alloc_size attribute and apply consistently
25058         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25059         * elf/pldd.c: Likewise.
25060         * iconv/iconv_charmap.c: Likewise.
25061         * iconv/iconvconfig.c: Likewise.
25062         * iconv/strtab.c: Likewise.
25063         * locale/programs/locale.c: Likewise.
25064         * locale/programs/localedef.h: Likewise.
25065         * locale/programs/simple-hash.c: Likewise.
25066         * nscd/nscd.h: Likewise.
25067         * nss/makedb.c: Likewise.
25068         * sysdeps/generic/ldconfig.h: Likewise.
25069         * locale/programs/localedef.c: Remove xmalloc prototype.
25070         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25072 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25074         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25075         appropriate.
25077 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25079         * math/Makefile (tests): Add tst-CMPLX.
25080         * math/tst-CMPLX.c: New file.
25082         * math/complex.h (CMPLXL): Fix typo.
25084         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25085         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25086         GLIBC_2.16.
25087         * debug/tst-chk1.c: Add poll and ppoll tests.
25088         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25089         * include/sys/poll.h: Add hidden proto for ppoll.
25090         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25091         * sysdeps/mach/hurd/ppoll.c: Likewise.
25092         * io/ppoll.c: Likewise.
25093         * debug/poll_chk.c: New file.
25094         * debug/ppoll_chk.c: New file.
25095         * include/bits/poll2.h: New file.
25096         * io/bits/poll2.h: New file.
25098         [BZ #1350]
25099         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25101         * configure.in: static is always set to yes.  Remove.
25102         * config.make.in: Don't set build-static.
25103         * Makeconfig: Remove use of build-static.
25104         * dlfcn/Makefile: Likewise.
25105         * elf/Makefile: Likewise.
25106         * math/Makefile: Likewise.
25107         * misc/Makefile: Likewise.
25108         * nptl/Makefile: Likewise.
25109         * sysdeps/mach/hurd/Makefile: Likewise.
25111         * configure.in: PWD_P is not used anymore.
25112         * config.make.in: Remove PWD_P entry.
25114         * configure.in: Remove last remnants of RANLIB.
25115         No need to check for signed size_t anymore.
25116         Don't set libc_commonpagesize and libc_relro_required here for Alpha
25117         and IA-64.
25118         Remove __builtin_expect test because we require at least gcc 3.4.
25119         * aclocal.m4: Likewise.
25121         * wcsmbs/mbrtoc16.c: Implement using towc function.
25122         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25123         * wcsmbs/wcsmbsload.c: Likewise.
25124         * iconv/gconv_simple.c: Likewise.
25125         * iconv/gconv_int.h: Likewise.
25126         * iconv/gconv_builtin.h: Likewise.
25127         * iconv/iconv_prog.c: Remove CHAR16 handling.
25129         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25131         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25133         * configure.in: Remove --with-elf and --enable-bounded options.
25134         Dont set base_machine for ia64.  More non-ELF conditions removed.
25135         Remove testing and setting of leading underscore information.
25136         * config.make.in (build-bounded): Set to no.
25137         * config.h.in: Remove NO_UNDERSCORES entry.
25138         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
25139         them.
25140         * csu/start.c: Remove !NO_UNDERSCORE code.
25141         * locale/localeinfo.h: Likewise.
25142         * sysdeps/generic/machine-gmon.h: Likewise.
25143         * sysdeps/generic/sysdep.h: Likewise.
25144         * sysdeps/i386/sysdep.h: Likewise.
25145         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25146         * sysdeps/mach/sysdep.h: Likewise.
25147         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25148         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25149         * sysdeps/sh/sysdep.h: Likewise.
25150         * sysdeps/sparc/sparc32/alloca.S: Likewise.
25151         * sysdeps/unix/i386/sysdep.S: Likewise.
25152         * sysdeps/unix/sparc/start.c: Likewise.
25153         * sysdeps/unix/sparc/sysdep.S: Likewise.
25154         * sysdeps/unix/sparc/sysdep.h: Likewise.
25155         * sysdeps/unix/start.c: Likewise.
25156         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25157         * sysdeps/x86_64/sysdep.h: Likewise.
25159 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
25161         [BZ #13553]
25162         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25163         for non-gcc.
25164         * argp/argp-fmtstream.h: Use const instead __const.
25165         * argp/argp.h: Likewise.
25166         * assert/assert.h: Likewise.
25167         * bits/fenv.h: Likewise.
25168         * bits/sched.h: Likewise.
25169         * bits/sigset.h: Likewise.
25170         * bits/sigthread.h: Likewise.
25171         * catgets/nl_types.h: Likewise.
25172         * conform/data/pthread.h-data: Likewise.
25173         * crypt/crypt-private.h: Likewise.
25174         * crypt/crypt.h: Likewise.
25175         * crypt/crypt_util.c: Likewise.
25176         * ctype/ctype.h: Likewise.
25177         * debug/execinfo.h: Likewise.
25178         * debug/mbsnrtowcs_chk.c: Likewise.
25179         * debug/mbsrtowcs_chk.c: Likewise.
25180         * debug/wcsnrtombs_chk.c: Likewise.
25181         * debug/wcsrtombs_chk.c: Likewise.
25182         * debug/wcstombs_chk.c: Likewise.
25183         * dirent/dirent.h: Likewise.
25184         * dlfcn/dlfcn.h: Likewise.
25185         * elf/neededtest4.c: Likewise.
25186         * grp/grp.h: Likewise.
25187         * gshadow/gshadow.h: Likewise.
25188         * iconv/gconv.h: Likewise.
25189         * iconv/gconv_int.h: Likewise.
25190         * iconv/gconv_simple.c: Likewise.
25191         * iconv/iconv.h: Likewise.
25192         * iconv/loop.c: Likewise.
25193         * iconv/skeleton.c: Likewise.
25194         * include/aio.h: Likewise.
25195         * include/aliases.h: Likewise.
25196         * include/argz.h: Likewise.
25197         * include/arpa/inet.h: Likewise.
25198         * include/assert.h: Likewise.
25199         * include/dirent.h: Likewise.
25200         * include/dlfcn.h: Likewise.
25201         * include/execinfo.h: Likewise.
25202         * include/fcntl.h: Likewise.
25203         * include/fenv.h: Likewise.
25204         * include/glob.h: Likewise.
25205         * include/grp.h: Likewise.
25206         * include/libintl.h: Likewise.
25207         * include/mntent.h: Likewise.
25208         * include/netdb.h: Likewise.
25209         * include/pwd.h: Likewise.
25210         * include/rpc/netdb.h: Likewise.
25211         * include/sched.h: Likewise.
25212         * include/search.h: Likewise.
25213         * include/shadow.h: Likewise.
25214         * include/signal.h: Likewise.
25215         * include/stdio.h: Likewise.
25216         * include/stdlib.h: Likewise.
25217         * include/string.h: Likewise.
25218         * include/sys/socket.h: Likewise.
25219         * include/sys/stat.h: Likewise.
25220         * include/sys/statfs.h: Likewise.
25221         * include/sys/statvfs.h: Likewise.
25222         * include/sys/syslog.h: Likewise.
25223         * include/sys/time.h: Likewise.
25224         * include/sys/uio.h: Likewise.
25225         * include/time.h: Likewise.
25226         * include/unistd.h: Likewise.
25227         * include/utmp.h: Likewise.
25228         * include/wchar.h: Likewise.
25229         * include/wctype.h: Likewise.
25230         * inet/aliases.h: Likewise.
25231         * inet/arpa/inet.h: Likewise.
25232         * inet/netinet/ether.h: Likewise.
25233         * inet/netinet/in.h: Likewise.
25234         * intl/libintl.h: Likewise.
25235         * io/bits/fcntl2.h: Likewise.
25236         * io/fcntl.h: Likewise.
25237         * io/ftw.h: Likewise.
25238         * io/sys/poll.h: Likewise.
25239         * io/sys/stat.h: Likewise.
25240         * io/sys/statfs.h: Likewise.
25241         * io/sys/statvfs.h: Likewise.
25242         * io/utime.h: Likewise.
25243         * libio/bits/stdio.h: Likewise.
25244         * libio/bits/stdio2.h: Likewise.
25245         * libio/libio.h: Likewise.
25246         * libio/libioP.h: Likewise.
25247         * libio/stdio.h: Likewise.
25248         * locale/lc-ctype.c: Likewise.
25249         * locale/locale.h: Likewise.
25250         * login/utmp.h: Likewise.
25251         * malloc/arena.c: Likewise.
25252         * malloc/malloc.c: Likewise.
25253         * malloc/malloc.h: Likewise.
25254         * malloc/mcheck.c: Likewise.
25255         * malloc/mtrace.c: Likewise.
25256         * math/bits/mathcalls.h: Likewise.
25257         * math/fenv.h: Likewise.
25258         * math/math_private.h: Likewise.
25259         * misc/bits/error.h: Likewise.
25260         * misc/bits/syslog.h: Likewise.
25261         * misc/err.h: Likewise.
25262         * misc/error.h: Likewise.
25263         * misc/fstab.h: Likewise.
25264         * misc/mntent.h: Likewise.
25265         * misc/regexp.h: Likewise.
25266         * misc/search.h: Likewise.
25267         * misc/sgtty.h: Likewise.
25268         * misc/sys/mman.h: Likewise.
25269         * misc/sys/syslog.h: Likewise.
25270         * misc/sys/uio.h: Likewise.
25271         * misc/sys/xattr.h: Likewise.
25272         * misc/ttyent.h: Likewise.
25273         * nis/rpcsvc/ypclnt.h: Likewise.
25274         * nss/nss.h: Likewise.
25275         * posix/bits/unistd.h: Likewise.
25276         * posix/fnmatch.h: Likewise.
25277         * posix/glob.h: Likewise.
25278         * posix/sched.h: Likewise.
25279         * posix/spawn.h: Likewise.
25280         * posix/sys/wait.h: Likewise.
25281         * posix/unistd.h: Likewise.
25282         * posix/wordexp.h: Likewise.
25283         * pwd/pwd.h: Likewise.
25284         * resolv/netdb.h: Likewise.
25285         * resource/sys/resource.h: Likewise.
25286         * rt/aio.h: Likewise.
25287         * rt/bits/mqueue2.h: Likewise.
25288         * rt/mqueue.h: Likewise.
25289         * shadow/shadow.h: Likewise.
25290         * signal/signal.h: Likewise.
25291         * socket/send.c: Likewise.
25292         * socket/sendto.c: Likewise.
25293         * socket/sys/socket.h: Likewise.
25294         * stdio-common/printf.h: Likewise.
25295         * stdlib/bits/stdlib.h: Likewise.
25296         * stdlib/fmtmsg.h: Likewise.
25297         * stdlib/monetary.h: Likewise.
25298         * stdlib/stdlib.h: Likewise.
25299         * stdlib/ucontext.h: Likewise.
25300         * streams/stropts.h: Likewise.
25301         * string/argz.h: Likewise.
25302         * string/bits/string2.h: Likewise.
25303         * string/string.h: Likewise.
25304         * string/strings.h: Likewise.
25305         * sunrpc/rpc/auth.h: Likewise.
25306         * sunrpc/rpc/auth_des.h: Likewise.
25307         * sunrpc/rpc/clnt.h: Likewise.
25308         * sunrpc/rpc/netdb.h: Likewise.
25309         * sunrpc/rpc/pmap_clnt.h: Likewise.
25310         * sunrpc/rpc/xdr.h: Likewise.
25311         * sysdeps/generic/inttypes.h: Likewise.
25312         * sysdeps/generic/net/if.h: Likewise.
25313         * sysdeps/generic/sys/swap.h: Likewise.
25314         * sysdeps/gnu/net/if.h: Likewise.
25315         * sysdeps/gnu/utmpx.h: Likewise.
25316         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25317         * sysdeps/i386/i486/bits/string.h: Likewise.
25318         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25319         * sysdeps/s390/bits/string.h: Likewise.
25320         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25321         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25322         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25323         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25324         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25325         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25326         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25327         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25328         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25329         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25330         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25331         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25332         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25333         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25334         * sysdeps/unix/sysv/linux/readv.c: Likewise.
25335         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25336         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25337         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25338         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25339         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25340         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25341         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25342         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25343         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25344         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25345         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25346         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25347         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25348         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25349         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25350         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25351         * sysvipc/sys/ipc.h: Likewise.
25352         * sysvipc/sys/msg.h: Likewise.
25353         * sysvipc/sys/sem.h: Likewise.
25354         * sysvipc/sys/shm.h: Likewise.
25355         * termios/termios.h: Likewise.
25356         * time/sys/time.h: Likewise.
25357         * time/time.h: Likewise.
25358         * wcsmbs/bits/wchar2.h: Likewise.
25359         * wcsmbs/uchar.h: Likewise.
25360         * wcsmbs/wchar.h: Likewise.
25361         * wctype/wctype.h: Likewise.
25363         [BZ #13551]
25364         * Makeconfig: Remove all but ELF support including AIX support.
25365         * Makerules: Likewise.
25366         * config.h.in: Likewise.
25367         * config.make.in: Likewise.
25368         * configure: Likewise.
25369         * configure.in: Likewise.
25370         * csu/Makefile: Likewise.
25371         * csu/version.c: Likewise.
25372         * debug/Makefile: Likewise.
25373         * dlfcn/Makefile: Likewise.
25374         * elf/Makefile: Likewise.
25375         * extra-lib.mk: Likewise.
25376         * iconv/Makefile: Likewise.
25377         * include/libc-symbols.h: Likewise.
25378         * include/shlib-compat.h: Likewise.
25379         * resolv/Makefile: Likewise.
25380         * resolv/res_libc.c: Likewise.
25381         * rt/Makefile: Likewise.
25382         * sysdeps/i386/asm-syntax.h: Likewise.
25383         * sysdeps/i386/sysdep.h: Likewise.
25384         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25385         * sysdeps/mach/sysdep.h: Likewise.
25386         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25387         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25388         * sysdeps/s390/asm-syntax.h: Likewise.
25389         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25390         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25391         * sysdeps/sh/sysdep.h: Likewise.
25392         * sysdeps/unix/sparc/sysdep.h: Likewise.
25393         * sysdeps/wordsize-32/divdi3.c: Likewise.
25394         * sysdeps/x86_64/sysdep.h: Likewise.
25396         * argp/Versions: Remove _argp_unlock_xxx.
25398         [BZ #13559]
25399         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
25400         * abilist/libBrokenLocale.abilist: Likewise.
25401         * abilist/libanl.abilist: Likewise.
25402         * abilist/libc.abilist: Likewise.
25403         * abilist/libcrypt.abilist: Likewise.
25404         * abilist/libdl.abilist: Likewise.
25405         * abilist/libm.abilist: Likewise.
25406         * abilist/libnsl.abilist: Likewise.
25407         * abilist/libpthread.abilist: Likewise.
25408         * abilist/libresolv.abilist: Likewise.
25409         * abilist/librt.abilist: Likewise.
25410         * abilist/libthread_db.abilist: Likewise.
25411         * abilist/libutil.abilist: Likewise.
25412         * abilist/libnss_db.abilist: New file.
25414         * scripts/abilist.awk: Add support for indirect functions.
25416         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25418         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25420         * shlib-versions: Remove entries for ports architectures.
25422         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
25423         files in ports.
25424         * elf/stackguard-macros.h: Remove support for IA-64.
25425         * elf/tst-auditmod1.c: Likewise.
25426         * sysdeps/generic/ldsodefs.h: Likewise.
25428         * sysdeps/unix/sysv/linux/configure.in: Ports should define
25429         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25430         configure files.
25432         [BZ #13552]
25433         * configure.in: Remove --enable-omitfp support.
25434         * FAQ.in: Adjust.
25435         * config.make.in: Likewise.
25436         * Makeconfig: Likewise.
25437         * manual/install.texi: Likewise.
25439         In case anyone cares, the IA-64 architecture could move to ports.
25440         * sysdeps/ia64/*: Removed.
25441         * sysdeps/unix/sysv/linux/ia64/*: Removed.
25442         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25444         [BZ #13555]
25445         * configure.in: Remove entries for unsupported architectures.
25447         [BZ #13533]
25448         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25449         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
25450         routines.
25451         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25452         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25453         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
25454         fall back to using wcrtomb.
25455         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25456         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
25457         renaming.
25458         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25459         * wcsmbs/tst-c16c32-1.c: New file.
25461         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25462         local variable.
25464         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25466         * elf/tst-unique3.cc: Add explicit declaration of gets.
25467         * elf/tst-unique3lib.cc: Likewise.
25468         * elf/tst-unique3lib2.cc: Likewise.
25469         * elf/tst-unique4.cc: Likewise.
25471         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25473 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25475         [BZ #13566]
25476         * assert/assert.h (static_assert): Don't define for C++.
25477         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25478         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25480 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25482         * iconv/loop.c (single loop): Fix assertion in storing of
25483         remaining bytes.
25485         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25487 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25489         * posix/getconf.c: Update copyright year.
25490         * nss/getent.c: Likewise.
25491         * nss/makedb.c: Likewise.
25492         * iconv/iconvconfig.c: Likewise.
25493         * iconv/iconv_prog.c: Likewise.
25494         * elf/ldconfig.c: Likewise.
25495         * elf/pldd.c: Likewise.
25496         * elf/sotruss.ksh: Likewise.
25497         * catgets/gencat.c: Likewise.
25498         * csu/version.c: Likewise.
25499         * elf/ldd.bash.in: Likewise.
25500         * elf/sprof.c (print_version): Likewise.
25501         * locale/programs/locale.c: Likewise.
25502         * locale/programs/localedef.c: Likewise.
25503         * login/programs/pt_chown.c: Likewise.
25504         * nscd/nscd.c (print_version): Likewise.
25505         * debug/xtrace.sh: Likewise.
25506         * malloc/memusage.sh: Likewise.
25507         * malloc/mtrace.pl: Likewise.
25508         * debug/catchsegv.sh: Likewise.
25510 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25512         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25513         pure attribute.
25515 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25517         [BZ #13533]
25518         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25519         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25520         transformations.
25521         * iconv/gconv_int.h: Likewise.
25522         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25523         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25524         from libc for GLIBC_2.16.
25525         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25526         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25527         * wcsmbs/uchar.h: Really define mbstate_t.
25528         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25529         * wcsmbs/c16rtomb.c: New file.
25530         * wcsmbs/mbrtoc16.c: New file.
25531         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25532         for C/POSIX locale.
25533         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25534         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25536         * wcsmbs/wchar.h: Add missing __restrict.
25538 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25540         [BZ #13532]
25541         * time/Makefile (routines): Add timespec_get.
25542         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25543         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25544         timespec for ISO C11.
25545         * time/timespec_get.c: New file.
25546         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25547         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25549         [BZ #13531]
25550         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25551         * stdlib/stdlib.h: Declare aligned_alloc.
25552         * Versions.def: Add GLIBC_2.16 for libc.
25553         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25555         [BZ 13527]
25556         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25557         ISO C11.
25559         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25560         code.
25562         [BZ #13528]
25563         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25565         [BZ #13529]
25566         * assert/assert.h (static_assert): Define.
25568         * version.h: Update for 2.16 development version.
25570         [BZ #13526]
25571         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25572         _ISOC11_SOURCE.
25574         * version.h (RELEASE): Bump for 2.15 release.
25575         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25577         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25578         Patch by Marek Polacek <mpolacek@redhat.com>.
25580         * bits/byteswap.h: Protect long long constants with __extension__.
25581         * sysdeps/i386/bits/byteswap.h: Likewise.
25582         * sysdeps/ia64/bits/byteswap.h: Likewise.
25583         * sysdeps/s390/bits/byteswap.h: Likewise.
25584         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25586 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25588         [BZ #13540]
25589         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25590         destination buffer.
25591         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25593 2011-12-23  Marek Polacek  <polacek@redhat.com>
25595         * elf/dl-addr.c (determine_info): Add inline keyword.
25596         * elf/tst-auditmod4b.c (check_avx): Likewise.
25597         * elf/tst-auditmod6b.c (check_avx): Likewise.
25598         * elf/tst-auditmod6c.c (check_avx): Likewise.
25599         * elf/tst-auditmod7b.c (check_avx): Likewise.
25601 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25603         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25604         !__SSE_MATH__.
25606 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25608         [BZ #13540]
25609         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25610         processing for last bytes.
25612 2011-08-06  Bruno Haible  <bruno@clisp.org>
25614         [BZ #13061]
25615         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25616         U+0385, not to U+1FEE.
25618         [BZ #13062]
25619         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25620         entry for U+00A5 U+0301.
25622 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25624         [BZ #13166]
25625         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25626         buffer for the output is too small.
25628         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25629         optimization.
25631         [BZ #13185]
25632         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25633         SSE flags if possible.
25635 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25637         [BZ #13540]
25638         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25639         processing for last bytes.
25641 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25643         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25644         (syscall-list-default-options, syscall-list-default-condition)
25645         (syscall-list-includes): Define.
25646         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25647         list of ABIs and options and #if conditions for each ABI.  Do not
25648         handle common syscalls between ABIs specially.
25649         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25650         Remove.
25651         (syscall-list-variants, syscall-list-32bit-options)
25652         (syscall-list-32bit-condition, syscall-list-64bit-options)
25653         (syscall-list-64bit-condition): Define.
25654         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25655         (syscall-list-variants, syscall-list-32bit-options)
25656         (syscall-list-32bit-condition, syscall-list-64bit-options)
25657         (syscall-list-64bit-condition): Define.
25658         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25659         Remove.
25660         (syscall-list-variants, syscall-list-32bit-options)
25661         (syscall-list-32bit-condition, syscall-list-64bit-options)
25662         (syscall-list-64bit-condition): Define.
25663         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25664         Remove.
25665         (syscall-list-variants, syscall-list-32bit-options)
25666         (syscall-list-32bit-condition, syscall-list-64bit-options)
25667         (syscall-list-64bit-condition): Define.
25669 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25671         * locale/iso-639.def: Add brx entry.
25673         [BZ #13328]
25674         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25675         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25677         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25678         __feraiseexcept_renamed.
25680 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25682         [BZ #13538]
25683         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25684         EPOLLET with unsigned values.
25685         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25686         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25688         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25689         to large cancellation.
25690         * math/s_cacoshf.c: Likewise.
25691         * math/s_cacoshl.c: Likewise.
25693 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25695         [BZ #13305]
25696         [BZ #12786]
25697         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25698         * math/s_cacoshf.c: Likewise.
25699         * math/s_cacoshl.c: Likewise.
25701 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25703         [BZ #13439]
25704         * iconv/gconv.h: Define __GCONV_SWAP.
25705         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25706         * iconvdata/utf-16.c: Likewise.
25707         * iconvdata/utf-32.c: Likewise.
25709 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25711         [BZ #13524]
25712         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25713         numerator after shifting it by one limb.
25715 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25717         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25718         under [__USE_EXTERN_INLINES].
25720 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25722         [BZ #13446]
25723         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25725 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25727         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25728         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25729         optimized code.
25730         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25731         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25732         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25733         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25734         for strncasecmp/strncasecmp_l compilation.
25735         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25736         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25738 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25740         [BZ #13484]
25741         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25742         of __asm__.
25744 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25746         [BZ #13506]
25747         * time/tzfile.c (__tzfile_read): Check values from file header.
25749 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25751         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25752         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25753         * powerpc/powerpc32/dl-start.S: Likewise.
25754         * powerpc/powerpc32/elf/start.S: Likewise.
25755         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25756         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25757         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25758         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25759         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25760         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25761         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25762         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25763         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25764         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25765         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25766         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25767         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25768         * powerpc/powerpc32/memset.S: Likewise.
25769         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25770         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25771         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25772         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25773         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25774         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25775         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25776         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25777         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25778         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25779         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25780         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25781         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25783 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25785         * math/libm-test.inc: Added more nearbyint tests.
25786         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25787         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25788         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25789         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25791 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25793         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25794         FD_CLOEXEC.
25796 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25798         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25799         Add wcscpy-ssse3 wcscpy-c.
25800         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25801         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25802         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25803         * sysdeps/x86_64/wcschr.S: New file.
25804         * sysdeps/x86_64/wcsrchr.S: New file.
25805         * string/test-strcmp.c: Remove checking of wcscmp function for
25806         wrong alignments.
25807         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25808         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25809         wcsrchr-sse2 wcsrchr-c.
25810         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25811         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25812         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25813         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25814         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25815         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25816         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25817         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25818         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25819         * wcsmbc/wcschr.c (WCSCHR): New macro.
25821 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25823         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25824         * wcsmbs/test-wcsrchr.c: New file.
25825         * string/test-strrchr.c: Add wcsrchr support.
25826         (WIDE): New macro.
25827         * wcsmbs/test-wcscpy.c: New file.
25828         * string/test-strcpy.c: Add wcscpy support.
25829         (WIDE): New macro.
25831 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25833         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25834         the inner loop.
25836 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25838         [BZ #13472]
25839         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25841 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25843         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25844         Minor optimizations.
25846         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25847         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25848         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25850 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25852         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25853         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25854         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25855         for gcc to avoid warnings.
25856         * inet/Makefile (tests): Add tst-checks.
25857         * inet/tst-checks.c: New file.
25859         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25860         warning.
25862         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25863         __wmemcmp_sse2.
25865         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25866         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25868         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25870 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25872         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25873         problem.
25875         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25877 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25879         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25880         conditional on GCC version.
25881         (__arch_compare_and_exchange_val_8_acq)
25882         (__arch_compare_and_exchange_val_16_acq)
25883         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25884         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25885         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25887 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25889         * sysdeps/sh/backtrace.c: New file.
25891 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25893         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25894         parenthesis.
25896 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25898         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25899         falling back to utime.
25901 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25903         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25904         expectations for float.
25906 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25908         * locale/weight.h (findidx): Add parameter len.
25909         * locale/weightwc.h (findidx): Likewise.
25910         * posix/fnmatch_loop.c (FCT): Adjust caller.
25911         * posix/regcomp.c (build_equiv_class): Likewise.
25912         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25913         * posix/regexec.c (check_node_accept_bytes): Likewise.
25914         * string/strcoll_l.c (STRCOLL): Likewise.
25915         * string/strxfrm_l.c (STRXFRM): Likewise.
25917 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25919         * Makefile.in: Remove CVSOPT handling.
25920         * configure.in: Remove use of AC_REVISION.
25921         * iconvdata/Makefile (distribute): No need to filter out CVS.
25922         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25923         handling.
25925 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25928         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25929         [USE_AS_STRNCASECMP_L]: Likewise.
25930         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25931         NO_TLS_DIRECT_SEG_REFS.
25932         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25933         Fix argument offsets for non-PIC.
25934         [USE_AS_STRNCASECMP_L]: Likewise.
25935         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25936         NO_TLS_DIRECT_SEG_REFS.
25938 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25940         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25941         O_CLOEXEC.
25942         * locale/loadlocale.c (_nl_load_locale): Likewise.
25944 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25946         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25947         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25948         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25949         (SYSCALL_GETTIME): Set errno on error.
25951         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25952         count references to noai6ai_cached.
25954 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25956         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25958         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25959         FD_CLOEXEC for /proc/self/maps.
25961         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25962         FD_CLOEXEC for /proc/meminfo.
25964         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25965         gai.conf.
25967         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25968         FD_CLOEXEC for given file.
25970         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25972         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25973         FD_CLOEXEC for /etc/hosts.
25974         (_gethtent): Likewise.
25976         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25978         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25979         cancellation and set FD_CLOEXEC for /etc/netgroup.
25981         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25982         reading /etc/publickey.
25984         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25985         allow cancellation when reading /etc/group.
25987         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25988         cancellation.
25989         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25991         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25992         when using data file.
25994         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25996         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25997         (write_nis_obj): Use "c" and "e" in fopen.
25999         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26001         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26003         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26005         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26007         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26008         locale.alias.
26010         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26012         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26014         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26016         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26017         file parsing and set FD_CLOEXEC.
26019 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
26021         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26023 2011-11-14  Andreas Schwab  <schwab@redhat.com>
26025         * malloc/arena.c (arena_get2): Don't call reused_arena when
26026         _int_new_arena failed.
26028 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
26030         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26031         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26032         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26033         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26034         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26035         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26036         to compile strcasecmp and strncasecmp.
26037         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26038         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26040         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26042 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
26044         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26045         locale-defines.sym to gen-as-const-headers.
26046         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26047         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26048         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26049         to compile strcasecmp and strncasecmp.
26050         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26051         strcasecmp_l and strncasecmp_l.
26052         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26053         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26054         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26055         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26056         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26057         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26058         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26059         * sysdeps/i386/i686/multiarch/strncase.S: New file.
26060         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26061         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26062         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26064 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
26066         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26067         result of SYSDEP_GETTIME_CPU to retval.
26068         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26069         parameter list to macro.  Remove trailing semicolon.  Adjust users.
26071         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26072         variable.
26074         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26075         mantissa words.
26076         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26078         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26079         from unused variable.
26081         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26082         DWARF definitions.
26083         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26084         for assembling.
26086         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26087         over namespaces.
26089         * sunrpc/rpc_prot.c (rejected): Fix case value.
26091         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26092         unsigned long long int to avoid warnings in shift.
26094         * posix/regex_internal.c (re_string_reconstruct): Actually use result
26095         of use of trans.
26096         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26097         variable tmp.
26099         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26100         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26101         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26103         * nis/nis_table.c (nis_list): Use variable of correct type for
26104         result of __follow_path call.
26106 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26108         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26109         of math functions ceil, trunc, floor, round, and sqrt, when
26110         avaliable on the platform.
26111         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26112         name clash.
26113         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26114         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26115         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26117 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
26119         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26120         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26122 2011-11-11  Roland McGrath  <roland@hack.frob.com>
26124         * include/unistd.h: Fix __readlink return type.
26125         Reported by Chris Metcalf <cmetcalf@tilera.com>.
26127 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
26129         * stdlib/ucontext.h: Undo last change for makecontext.
26131 2011-11-11  Andreas Schwab  <schwab@redhat.com>
26133         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26135         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26136         * setjmp/setjmp.h: Mark functions as non-leaf.
26137         * setjmp/bits/setjmp2.h: Likewise.
26138         * stdlib/ucontext.h: Likewise.
26140 2011-11-10  Andreas Schwab  <schwab@redhat.com>
26142         * malloc/arena.c (_int_new_arena): Don't increment narenas.
26143         (reused_arena): Don't check arena limit.
26144         (arena_get2): Atomically check arena limit.
26146 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
26148         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26149         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26152         instructions.
26154 2011-11-07  Andreas Schwab  <schwab@redhat.com>
26156         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26157         handler when locking.
26159         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26160         Fix size of allocated buffer.
26162 2011-11-04  Andreas Schwab  <schwab@redhat.com>
26164         [BZ #10103]
26165         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26166         declarations for long double functions.
26167         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26169         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26171 2011-11-03  Andreas Schwab  <schwab@redhat.com>
26173         * nscd/nscd.c (main): Don't start AVC thread until credentials are
26174         installed.
26176         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26177         is disabled.
26179 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26181         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26183 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26185         * include/alloca.h (stackinfo_alloca_round): Define.
26186         (extend_alloca): Use it.
26187         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26188         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26189         here.
26191         * scripts/check-local-headers.sh: Ignore libaudit.h.
26193         * nscd/Makefile (extra-objs): Make recursively expanded.
26195 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
26197         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26198         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26200         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26201         * posix/tst-rfc3484-2.c: Likewise.
26202         * posix/tst-rfc3484-3.c: Likewise.
26204         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26205         process_vm_writev.
26206         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26207         process_vm_writev.
26208         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26209         process_vm_writev from libc using GLIBC_2.15 version.
26211         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26213 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
26215         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26216         stack usage.
26218 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
26220         [BZ #13367]
26221         * nss/getent.c (initgroups_keys): Show error message in case no group
26222         names are given.
26224         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26225         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26226         __bump_nl_timestamp.
26227         * nscd/connections (nscd_init): When host database is served open
26228         netlink socket and request notification about configuration changes.
26229         (main_loop_poll): Track netlink file descriptor and bump timestamp
26230         in case data becomes available.
26231         (main_loop_epoll): Likewise.
26232         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26233         (database_pers_head): Add extra_data fileds.
26234         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26235         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26236         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26237         Adjust caller.
26238         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26239         in6ai data, call __free_in6ai.
26240         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26241         Add -DHAVE_NETLINK.
26242         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
26243         interface information.  Reuse previous data if netlink timestamp
26244         is not changed.
26245         (__bump_nl_timestamp): New function.
26246         (__free_in6ai): New function.
26248 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
26250         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26251         close_not_cancel_no_status here.
26252         (__check_pf): Reorganize code a bit to not call close twice if OOM.
26254 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26256         [BZ #13276]
26257         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26258         return value.
26260         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26261         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26262         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26264 2011-07-03  Andreas Jaeger  <aj@suse.de>
26266         [BZ #10709]
26267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26268         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26269         * math/libm-test.inc (sin_test): Add test case.
26271 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26273         [BZ #13337]
26274         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26275         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26277         * elf/chroot_canon.c (chroot_canon): Cleanups.
26279         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26281         [BZ #13335]
26282         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26283         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26285         * string/test-strchr.c: Make usable for strchrnul testing.
26286         * string/test-strchrnul.c: New file.
26287         * string/Makefile (strop-tests): Add strchrnul.
26289         * po/it.po: Update from translation team.
26290         * po/es.po: Likewise.
26292 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
26294         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26295         the three constants needed as parameters.  Drop the others.
26296         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26297         __m128i_strloadu_tolower.
26298         Create and initialize variable zero and use it in all the places
26299         where _mm_setzero_si128 was used.
26301         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26302         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26303         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26304         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26305         anymore.
26306         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26307         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26308         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26309         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26310         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26311         __mpranred, __mptan.
26312         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26313         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26314         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26315         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26316         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26317         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26318         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26319         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26320         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26322 2011-10-28  Andreas Schwab  <schwab@redhat.com>
26324         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26325         redefine if SHARED.
26326         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26328         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26329         wide char related routines to wcsmbs subdir.
26331 2011-10-27  Andreas Schwab  <schwab@redhat.com>
26333         [BZ #13344]
26334         * misc/sys/cdefs.h (__THROWNL): Define.
26335         * posix/unistd.h: Use __THREADNL instead of __THREAD
26336         for memory synchronization functions.
26338 2011-10-26  Roland McGrath  <roland@hack.frob.com>
26340         [BZ #13349]
26341         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26342         doesn't exist.
26343         * manual/stdio.texi (Obstack Streams): Node removed.
26345 2011-10-26  Andreas Schwab  <schwab@redhat.com>
26347         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26348         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26349         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26351         * math/math_private.h (math_force_eval): Allow non-addressable
26352         arguments.
26353         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26355 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26357         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26358         file is not needed.
26360         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26362         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26363         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26364         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26365         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26366         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26367         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26368         Add AVX variants.
26369         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26370         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26371         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26372         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26373         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26374         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26375         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26376         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26377         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26378         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26379         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26380         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26381         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26382         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26383         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26384         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26385         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26386         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26387         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26389         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26390         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
26392         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26393         place.  Use VEX encoding when compiling for AVX.
26395 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26397         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26398         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26400         * string/test-strchr.c (do_test): Don't generate NUL bytes.
26402 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26404         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26405         useless if() expression.
26406         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26407         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26408         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26409         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26410         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26411         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26412         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26413         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26414         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26415         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26416         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26417         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26418         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26419         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26420         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26421         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26422         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26423         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26424         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26426         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26428 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26430         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26431         condition.
26432         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26434 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26436         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26437         .text section.  Avoid duplicate constants.
26438         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26439         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26440         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26442         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26443         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26444         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26446         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26447         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26448         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26449         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26450         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26451         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26452         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26453         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26454         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26455         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26456         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26457         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26458         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26459         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26460         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26461         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26462         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26463         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26464         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26465         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26466         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26467         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26468         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26469         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26470         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26471         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26472         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26473         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26474         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26475         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26476         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26477         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26478         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26479         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26480         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26481         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26482         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26484 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26486         * sysdeps/x86_64/dla.h: Move to ...
26487         * sysdeps/x86_64/fpu/dla.h: ...here.
26488         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26489         situations.  Use __builtin_fma only for gcc 4.6 and up.
26491         * config.make.in: Add have-mfma4 entry.
26492         * configure.in: Substitute libc_cv_cc_fma4.
26493         * math/Makefile (dbl-only-routines): Add sincostab.
26494         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26495         Use __sincostab not sincos.
26496         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26497         name is a macro.
26498         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26499         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26500         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26501         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26502         using __copysign.
26503         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26504         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26505         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26506         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26507         and __inv.
26508         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26509         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26510         __copysign.
26511         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26512         define aliases when function name is a macro.
26513         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26514         sysdeps/ieee754/dbl-64/sincos.tbl.
26515         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26516         fma4-enabled routines.
26517         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26518         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26519         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26520         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26521         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26522         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26523         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26524         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26525         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26526         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26527         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26528         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26529         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26530         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26531         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26532         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26533         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26534         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26535         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26536         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26537         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26538         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26539         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26540         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26541         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26542         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26543         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26544         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26545         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26546         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26548         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26549         rename.
26550         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26551         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26555         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26556         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26557         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26559 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26561         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26563 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26565         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26567         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26568         prediction.
26569         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26571         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26572         Remove unused variable magic_bits.
26573         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26575         * string/strnlen.c: Define and use STRNLEN macro.
26576         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26577         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26578         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26579         * wcsmbs/wcslen.c: Define and use WCSLEN.
26580         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26581         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26582         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26583         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26584         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26585         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26586         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26588 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26591         strnlen-sse2-no-bsf.
26592         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26593         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26594         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26595         Add strnlen support.
26596         (USE_AS_STRNLEN): New macro.
26597         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26598         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26599         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26600         * sysdeps/x86_64/wcslen.S: New file.
26602 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26604         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26605         XMM-moves are used for copying on small sizes.
26607 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26609         * wcsmbs/Makefile (strop-tests): Add wcschr.
26610         * wcsmbs/test-wcschr.c: New file.
26611         * string/test-strchr.c: Update.
26612         Add wcschr support.
26613         (WIDE): New macro.
26615 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26617         * wcsmbs/Makefile (strop-tests): Add wcslen.
26618         * wcsmbs/test-wcslen.c: New file.
26619         * string/test-strlen.c: Update.
26620         Add wcslen support.
26621         (WIDE): New macro.
26623 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26625         * po/it.po: Update from translation team.
26627 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26629         * sysdeps/x86_64/wcscmp.S: Update.
26630         Fix wrong comparison semantics.
26631         wcscmp shall use signed comparison not unsigned.
26632         Don't use substraction to avoid overflow bug.
26633         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26634         * wcsmbc/wcscmp.c: Likewise.
26635         * string/test-strcmp.c: Likewise.
26636         Add new tests to check cases with negative values.
26638 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26640         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26641         * sysdeps/x86_64/dla.h: ...here.  New file.
26642         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26643         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26644         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26645         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26646         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26647         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26648         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26649         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26650         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26652 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26654         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26655         __ynl_finite aliases.
26657 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26661         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26662         define DLA_FMA.
26663         [DLA_FMA] (EMULV): Use DLA_FMA.
26664         [DLA_FMA] (MUL12): Use EMULV.
26665         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26666         that are not needed.
26667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26670         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26671         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26672         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26673         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26675 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26677         * math/s_nan.c: Undef __nan.
26678         * math/s_nanf.c: Undef __nanf.
26679         * math/s_nanl.c: Undef __nanl.
26680         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26681         "math_private.h".
26683 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26685         * math/s_catan.c: Add branch predictions.
26686         * math/s_catanf.c: Likewise.
26687         * math/s_catanh.c: Likewise.
26688         * math/s_catanhf.c: Likewise.
26689         * math/s_catanhl.c: Likewise.
26690         * math/s_catanl.c: Likewise.
26691         * math/s_cexp.c: Likewise.
26692         * math/s_cexpf.c: Likewise.
26693         * math/s_cexpl.c: Likewise.
26694         * math/s_clog.c: Likewise.
26695         * math/s_clog10.c: Likewise.
26696         * math/s_clog10f.c: Likewise.
26697         * math/s_clog10l.c: Likewise.
26698         * math/s_clogf.c: Likewise.
26699         * math/s_clogl.c: Likewise.
26700         * math/s_csqrt.c: Likewise.
26701         * math/s_csqrtf.c: Likewise.
26702         * math/s_csqrtl.c: Likewise.
26703         * math/s_ctanf.c: Likewise.
26704         * math/s_ctanh.c: Likewise.
26705         * math/s_ctanhf.c: Likewise.
26706         * math/s_ctanhl.c: Likewise.
26707         * math/s_ctanl.c: Likewise.
26709         * math/math_private.h: Define __nan, __nanf, __nanl.
26710         * math/s_cacosh.c: Include <math_private.h>.
26711         * math/s_cacoshl.c: Likewise.
26712         * math/s_casinh.c: Likewise.
26713         * math/s_casinhf.c: Likewise.
26714         * math/s_casinhl.c: Likewise.
26715         * math/s_ccos.c: Rely entire on ccosh.
26716         * math/s_ccosf.c: Rely entire on ccoshf.
26717         * math/s_ccosl.c: Rely entirely on ccoshl.
26718         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26719         Remove tests for FE_INVALID.
26720         * math/s_ccoshf.c: Likewise.
26721         * math/s_ccoshl.c: Likewise.
26722         * math/s_csin.c: Likewise.
26723         * math/s_csinf.c: Likewise.
26724         * math/s_csinh.c Likewise.
26725         * math/s_csinhf.c: Likewise.
26726         * math/s_csinhl.c: Likewise.
26727         * math/s_csinl.c: Likewise.
26728         * math/s_ctan.c: Likewise.
26729         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26730         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26731         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26733 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26736         compilation problems.
26738         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26739         __builtin_expect.
26741 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26743         * sysdeps/i386/configure.in: Test for -mfma4 option.
26744         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26745         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26746         COMMON_CPUID_INDEX_80000001.
26747         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26748         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26749         use it if FMA3 is not supported.
26750         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26752         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26753         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26755 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26757         [BZ #12892]
26758         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26759         it would create a cycle with a link time dependency.
26761 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26763         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26764         instruction.
26765         * string/Makefile (strop-tests): Add rawmemchr.
26766         * string/test-rawmemchr.c: New file.
26768         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26769         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26770         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26771         when compiling str{,n}casecmp and when AVX is available.  Hook up
26772         new optimized code in initializers.
26774 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26776         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26777         __feraiseexcept instead of feraiseexcept.
26779 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26781         * math/math_private.h: Define defaults for libc_fetestexcept and
26782         libc_feupdateenv.
26783         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26784         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26785         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26786         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26787         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26788         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26789         libc_fetestexcept and libc_feupdateenv.
26791         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26792         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26793         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26794         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26795         libc_feholdexcept_setround.
26797         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26798         Add s_nearbyint-c and s_nearbyintf-c.
26799         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26800         nearbyintf inlines.
26801         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26802         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26803         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26804         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26806         * math/math_private.h: Define defaults for libc_fegetround,
26807         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26808         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26809         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26810         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26811         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26812         standard functions.
26813         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26814         Remove comments and hacks for old compiler versions.
26815         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26816         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26817         libc_feholdexceptl.
26819 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26821         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26822         (__feraiseexcept_renamed): Add __NTH.
26823         (feraiseexcept): Add __NTH.  Rename local variables to fix
26824         namespace violations.
26826 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26828         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26830         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26832         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26833         recently added interfaces.
26834         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26836         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26837         about macro parameter expansion.
26839         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26840         __NO_MATH_INLINES is defined.  Cleanups.
26842         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26843         and __floorf is target has SSE4.1.
26844         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26845         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26846         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26847         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26849         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26850         name.
26851         (floorf): Likewise.
26853         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26855 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26857         * misc/sys/cdefs.h: Fix last change.
26859         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26860         database lookup.
26862 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26864         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26866         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26867         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26868         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26869         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26870         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26871         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26872         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26873         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26874         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26875         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26876         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26877         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26878         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26879         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26880         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26881         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26882         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26883         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26884         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26885         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26886         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26887         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26889         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26890         ceil, ceilf, floor, floorf.
26892         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26893         Perform IRELATIVE relocations last.
26895         * elf/do-rel.h: Add another parameter nrelative, replacing the
26896         local variable with the same name.  Change name of the function
26897         to end in Rel or Rela (uppercase).
26898         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26899         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26900         elf_dynamic_do_##reloc function.
26902 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26904         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26905         is sufficient, at least on modern CPUs.
26907         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26909         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26910         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26912         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26913         __expl_finite.
26914         * math/bits/math-finite.h: Add entries for exp.
26915         * math/e_expl.c: Add __*_finite alias.
26916         * sysdeps/i386/fpu/e_exp.S: Likewise.
26917         * sysdeps/i386/fpu/e_expf.S: Likewise.
26918         * sysdeps/i386/fpu/e_expl.c: Likewise.
26919         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26920         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26921         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26922         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26923         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26924         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26925         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26927         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26928         is sufficient, at least on modern CPUs.
26930         * ctype/ctype-info.c (__ctype_init): Define.
26931         * include/ctype.h (__ctype_init): Declare.
26932         (__ctype_b_loc): The variable is always initialized.
26933         (__ctype_toupper_loc): Likewise.
26934         (__ctype_tolower_loc): Likewise.
26935         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26936         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26938 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26940         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26942         * configure.in: Also look in $cxxmachine/include for C++ system
26943         headers.
26945 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26947         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26948         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26949         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26950         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26951         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26952         (USE_AS_WMEMCMP): New macro.
26953         Fixing indents.
26954         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26955         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26956         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26957         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26958         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26959         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26960         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26961         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26962         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26963         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26964         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26965         (USE_AS_WMEMCMP): New macro.
26966         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26967         * sysdeps/string/test-memcmp.c: Update.
26968         Fix simple_wmemcmp.
26969         Add new tests.
26970         * wcsmbs/wmemcmp.c: Update.
26971         (WMEMCMP): New macro.
26972         Fix overflow bug.
26974 2011-10-12  Andreas Jaeger  <aj@suse.de>
26976         [BZ #13268]
26977         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26979 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26981         * libio/iofwide.c (do_length): Avoid warning.
26983         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26985 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26987         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26989         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26990         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26991         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26992         * sysdeps/i386/i686/fpu/e_log.S: New file.
26993         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26994         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26996         * ctype/ctype.h: Add support for inlined isXXX functions when
26997         compiling C++ code.
26999 2011-10-14  Andreas Schwab  <schwab@redhat.com>
27001         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27003         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27005 2011-10-13  Roland McGrath  <roland@hack.frob.com>
27007         [BZ #13291]
27008         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27010 2011-10-13  Andreas Schwab  <schwab@redhat.com>
27012         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27013         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27014         feraiseexcept.
27016         * sysdeps/x86_64/memrchr.S: Check for zero size.
27018         * string/stratcliff.c: Add memrchr tests.
27020 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27022         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27023         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27024         rawmemchr-sse2 rawmemchr-sse2-bsf.
27025         * sysdeps/i386/i686/multiarch/memchr.S: New file.
27026         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27027         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27028         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27029         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27030         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27031         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27032         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27033         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27034         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27035         * string/memrchr.c (MEMRCHR): New macro.
27037 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
27039         Add integration with gcc's -ffinite-math-only and optimize wrapper
27040         functions in libm.
27041         * Versions.def: Define GLIBC_2.15 version for libm.
27042         * math/Makefile (headers): Add bits/math-finite.h.
27043         * math/bits/math-finite.h: New file.
27044         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27045         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27046         * math/e_acoshl.c: Add __*_finite alias.
27047         * math/e_acosl.c: Likewise.
27048         * math/e_asinl.c: Likewise.
27049         * math/e_atan2l.c: Likewise.
27050         * math/e_atanhl.c: Likewise.
27051         * math/e_coshl.c: Likewise.
27052         * math/e_exp10.c: Likewise.
27053         * math/e_exp10f.c: Likewise.
27054         * math/e_exp10l.c: Likewise.
27055         * math/e_exp2l.c: Likewise.
27056         * math/e_fmodl.c: Likewise.
27057         * math/e_gammal_r.c: Likewise.
27058         * math/e_hypotl.c: Likewise.
27059         * math/e_j0l.c: Likewise.
27060         * math/e_j1l.c: Likewise.
27061         * math/e_jnl.c: Likewise.
27062         * math/e_lgammal_r.c: Likewise.
27063         * math/e_log10l.c: Likewise.
27064         * math/e_log2l.c: Likewise.
27065         * math/e_logl.c: Likewise.
27066         * math/e_powl.c: Likewise.
27067         * math/e_sinhl.c: Likewise.
27068         * math/e_sqrtl.c: Likewise.
27069         * math/e_scalb.c: Completely rewritten and optimized.
27070         * math/e_scalbf.c: Likewise.
27071         * math/e_scalbl.c: Likewise.
27072         * math/w_acos.c: Likewise.
27073         * math/w_acosf.c: Likewise.
27074         * math/w_acosl.c: Likewise.
27075         * math/w_acosh.c: Likewise.
27076         * math/w_acoshf.c: Likewise.
27077         * math/w_acoshl.c: Likewise.
27078         * math/w_asin.c: Likewise.
27079         * math/w_asinf.c: Likewise.
27080         * math/w_asinl.c: Likewise.
27081         * math/w_atan2.c: Likewise.
27082         * math/w_atan2f.c: Likewise.
27083         * math/w_atan2l.c: Likewise.
27084         * math/w_atanh.c: Likewise.
27085         * math/w_atanhf.c: Likewise.
27086         * math/w_atanhl.c: Likewise.
27087         * math/w_exp10.c: Likewise.
27088         * math/w_exp10f.c: Likewise.
27089         * math/w_exp10l.c: Likewise.
27090         * math/w_fmod.c: Likewise.
27091         * math/w_fmodf.c: Likewise.
27092         * math/w_fmodl.c: Likewise.
27093         * math/w_j0.c: Likewise.
27094         * math/w_j0f.c: Likewise.
27095         * math/w_j0l.c: Likewise.
27096         * math/w_j1.c: Likewise.
27097         * math/w_j1f.c: Likewise.
27098         * math/w_j1l.c: Likewise.
27099         * math/w_jn.c: Likewise.
27100         * math/w_jnf.c: Likewise.
27101         * math/w_log.c: Likewise.
27102         * math/w_logf.c: Likewise.
27103         * math/w_logl.c: Likewise.
27104         * math/w_log10.c: Likewise.
27105         * math/w_log10f.c: Likewise.
27106         * math/w_log10l.c: Likewise.
27107         * math/w_log2.c: Likewise.
27108         * math/w_log2f.c: Likewise.
27109         * math/w_log2l.c: Likewise.
27110         * math/w_pow.c: Likewise.
27111         * math/w_powf.c: Likewise.
27112         * math/w_powl.c: Likewise.
27113         * math/w_remainder.c: Likewise.
27114         * math/w_remainderf.c: Likewise.
27115         * math/w_remainderl.c: Likewise.
27116         * math/w_scalb.c: Likewise.
27117         * math/w_scalbf.c: Likewise.
27118         * math/w_scalbl.c: Likewise.
27119         * math/w_sqrt.c: Likewise.
27120         * math/w_sqrtf.c: Likewise.
27121         * math/w_sqrtl.c: Likewise.
27122         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27123         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
27124         used.
27125         * math/math_private.h: Declare __kernel_standard_f.
27126         * math/w_cosh.c: Remove cruft and optimize a bit.
27127         * math/w_coshf.c: Likewise.
27128         * math/w_coshl.c: Likewise.
27129         * math/w_exp2.c: Likewise.
27130         * math/w_exp2f.c: Likewise.
27131         * math/w_exp2l.c: Likewise.
27132         * math/w_hypot.c: Likewise.
27133         * math/w_hypotf.c: Likewise.
27134         * math/w_hypotl.c: Likewise.
27135         * math/w_lgamma.c: Likewise.
27136         * math/w_lgamma_r.c: Likewise.
27137         * math/w_lgammaf.c: Likewise.
27138         * math/w_lgammaf_r.c: Likewise.
27139         * math/w_lgammal.c: Likewise.
27140         * math/w_lgammal_r.c: Likewise.
27141         * math/w_sinh.c: Likewise.
27142         * math/w_sinhf.c: Likewise.
27143         * math/w_sinhl.c: Likewise.
27144         * math/w_tgamma.c: Likewise.
27145         * math/w_tgammaf.c: Likewise.
27146         * math/w_tgammal.c: Likewise.
27147         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27148         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27149         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27150         Minor optimizations.  Pretty printing.  Remove cruft.
27151         * sysdeps/i386/fpu/e_acosf.S: Likewise.
27152         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27153         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27154         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27155         * sysdeps/i386/fpu/e_acosl.c: Likewise.
27156         * sysdeps/i386/fpu/e_asin.S: Likewise.
27157         * sysdeps/i386/fpu/e_asinf.S: Likewise.
27158         * sysdeps/i386/fpu/e_atan2.S: Likewise.
27159         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27160         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27161         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27162         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27163         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27164         * sysdeps/i386/fpu/e_exp10.S: Likewise.
27165         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27166         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27167         * sysdeps/i386/fpu/e_exp2.S: Likewise.
27168         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27169         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27170         * sysdeps/i386/fpu/e_fmod.S: Likewise.
27171         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27172         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27173         * sysdeps/i386/fpu/e_hypot.S: Likewise.
27174         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27175         * sysdeps/i386/fpu/e_log.S: Likewise.
27176         * sysdeps/i386/fpu/e_log10.S: Likewise.
27177         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27178         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27179         * sysdeps/i386/fpu/e_log2.S: Likewise.
27180         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27181         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27182         * sysdeps/i386/fpu/e_logf.S: Likewise.
27183         * sysdeps/i386/fpu/e_logl.S: Likewise.
27184         * sysdeps/i386/fpu/e_pow.S: Likewise.
27185         * sysdeps/i386/fpu/e_powf.S: Likewise.
27186         * sysdeps/i386/fpu/e_powl.S: Likewise.
27187         * sysdeps/i386/fpu/e_remainder.S: Likewise.
27188         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27189         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27190         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27191         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27192         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27193         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27194         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27195         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27196         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27197         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27199         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27200         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27201         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27202         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27203         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27204         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27205         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27206         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27207         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27208         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27209         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27210         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27211         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27212         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27213         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27214         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27216         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27217         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27218         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27219         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27220         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27221         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27222         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27223         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27224         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27225         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27226         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27227         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27228         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27229         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27230         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27231         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27232         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27233         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27234         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27235         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27236         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27237         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27238         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27239         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27240         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27241         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27242         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27243         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27244         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27245         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27246         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27247         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27248         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27249         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27250         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27251         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27252         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27253         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27254         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27255         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27256         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27257         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27258         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27259         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27260         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27263         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27264         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27265         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27266         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27267         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27268         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27269         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27270         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27271         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27272         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27273         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27274         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27275         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27276         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27277         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27278         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27279         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27280         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27281         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27282         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27283         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27284         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27285         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27286         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27287         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27288         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27289         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27290         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27291         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27292         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27293         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27294         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27295         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27296         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27297         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27298         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27299         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27300         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27301         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27302         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27303         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27304         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27305         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27306         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
27307         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27308         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27309         (__isnanf): Likewise.
27310         (__isinf_ns): Likewise.
27311         (__isinf_nsf): Likewise.
27312         (__finite): Likewise.
27313         (__finitef): Likewise.
27314         (__ieee754_sqrt): Define as macro.
27315         (__ieee754_sqrtf): Define as macro.
27316         (__ieee754_sqrtl): Define as macro.
27317         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27318         inlined copy.
27319         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27320         __FINITE_MATH_ONLY__ consistent.
27321         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27323 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
27325         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27326         of rawmemchr.
27328         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27330 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
27332         * po/ja.po: Update from translation team.
27334 2011-10-08  Roland McGrath  <roland@hack.frob.com>
27336         * locale/programs/locarchive.c (prepare_address_space): New function.
27337         (create_archive, enlarge_archive, open_archive): Use it.
27339         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27340         inside [SHARED], where it is used.
27342         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27344         * nss/getent.c (netgroup_keys): Remove unused variable.
27345         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27347 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
27349         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27350         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27351         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27352         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27353         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27354         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27355         * math/Makefile (libm-calls): Add s_isinf_ns.
27356         * math/divtc3.c: Use __isinf_nsl instead of isinf.
27357         * math/multc3.c: Likewise.
27358         * math/s_casin.c: Likewise.
27359         * math/s_casinf.c: Likewise.
27360         * math/s_casinl.c: Likewise.
27361         * math/s_ccos.c: Likewise.
27362         * math/s_ccosf.c: Likewise.
27363         * math/s_ccosl.c: Likewise.
27364         * math/s_ctan.c: Likewise.
27365         * math/s_ctanf.c: Likewise.
27366         * math/s_ctanh.c: Likewise.
27367         * math/s_ctanhf.c: Likewise.
27368         * math/s_ctanhl.c: Likewise.
27369         * math/s_ctanl.c: Likewise.
27370         * math/w_fmod.c: Likewise.
27371         * math/w_fmodf.c: Likewise.
27372         * math/w_fmodl.c: Likewise.
27373         * math/w_remainder.c: Likewise.
27374         * math/w_remainderf.c: Likewise.
27375         * math/w_remainderl.c: Likewise.
27376         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27377         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27378         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27379         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27380         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27381         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27382         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27383         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27385         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27386         of the number.
27387         * stdio-common/printf_fphex.c: Likewise.
27388         * stdio-common/printf_size.c: Likewise.
27390         * math/e_exp10.c: Include math_private.h using <...> not "...".
27391         * math/e_exp10f.c: Likewise.
27392         * math/e_exp10l.c: Likewise.
27393         * math/e_exp2l.c: Likewise.
27394         * math/e_j0l.c: Likewise.
27395         * math/e_j1l.c: Likewise.
27396         * math/e_jnl.c: Likewise.
27397         * math/e_lgammal_r.c: Likewise.
27398         * math/e_rem_pio2l.c: Likewise.
27399         * math/e_scalb.c: Likewise.
27400         * math/e_scalbf.c: Likewise.
27401         * math/e_scalbl.c: Likewise.
27402         * math/k_cosl.c: Likewise.
27403         * math/k_sinl.c: Likewise.
27404         * math/k_tanl.c: Likewise.
27405         * math/s_cacoshf.c: Likewise.
27406         * math/s_catan.c: Likewise.
27407         * math/s_catanf.c: Likewise.
27408         * math/s_catanh.c: Likewise.
27409         * math/s_catanhf.c: Likewise.
27410         * math/s_catanhl.c: Likewise.
27411         * math/s_catanl.c: Likewise.
27412         * math/s_ccosh.c: Likewise.
27413         * math/s_ccoshf.c: Likewise.
27414         * math/s_ccoshl.c: Likewise.
27415         * math/s_cexp.c: Likewise.
27416         * math/s_cexpf.c: Likewise.
27417         * math/s_cexpl.c: Likewise.
27418         * math/s_clog.c: Likewise.
27419         * math/s_clog10.c: Likewise.
27420         * math/s_clog10f.c: Likewise.
27421         * math/s_clog10l.c: Likewise.
27422         * math/s_clogf.c: Likewise.
27423         * math/s_clogl.c: Likewise.
27424         * math/s_csin.c: Likewise.
27425         * math/s_csinf.c: Likewise.
27426         * math/s_csinh.c: Likewise.
27427         * math/s_csinhf.c: Likewise.
27428         * math/s_csinhl.c: Likewise.
27429         * math/s_csinl.c: Likewise.
27430         * math/s_csqrt.c: Likewise.
27431         * math/s_csqrtf.c: Likewise.
27432         * math/s_csqrtl.c: Likewise.
27433         * math/s_ctan.c: Likewise.
27434         * math/s_ctanf.c: Likewise.
27435         * math/s_ctanh.c: Likewise.
27436         * math/s_ctanhf.c: Likewise.
27437         * math/s_ctanhl.c: Likewise.
27438         * math/s_ctanl.c: Likewise.
27439         * math/s_ldexp.c: Likewise.
27440         * math/s_ldexpf.c: Likewise.
27441         * math/s_ldexpl.c: Likewise.
27442         * math/s_significand.c: Likewise.
27443         * math/s_significandf.c: Likewise.
27444         * math/s_significandl.c: Likewise.
27445         * math/w_acos.c: Likewise.
27446         * math/w_acosf.c: Likewise.
27447         * math/w_acosh.c: Likewise.
27448         * math/w_acoshf.c: Likewise.
27449         * math/w_acoshl.c: Likewise.
27450         * math/w_acosl.c: Likewise.
27451         * math/w_asin.c: Likewise.
27452         * math/w_asinf.c: Likewise.
27453         * math/w_asinl.c: Likewise.
27454         * math/w_atan2.c: Likewise.
27455         * math/w_atan2f.c: Likewise.
27456         * math/w_atan2l.c: Likewise.
27457         * math/w_atanh.c: Likewise.
27458         * math/w_atanhf.c: Likewise.
27459         * math/w_atanhl.c: Likewise.
27460         * math/w_cosh.c: Likewise.
27461         * math/w_coshf.c: Likewise.
27462         * math/w_coshl.c: Likewise.
27463         * math/w_dremf.c: Likewise.
27464         * math/w_exp10.c: Likewise.
27465         * math/w_exp10f.c: Likewise.
27466         * math/w_exp10l.c: Likewise.
27467         * math/w_exp2.c: Likewise.
27468         * math/w_exp2f.c: Likewise.
27469         * math/w_fmod.c: Likewise.
27470         * math/w_fmodf.c: Likewise.
27471         * math/w_fmodl.c: Likewise.
27472         * math/w_hypot.c: Likewise.
27473         * math/w_hypotf.c: Likewise.
27474         * math/w_hypotl.c: Likewise.
27475         * math/w_j0.c: Likewise.
27476         * math/w_j0f.c: Likewise.
27477         * math/w_j0l.c: Likewise.
27478         * math/w_j1.c: Likewise.
27479         * math/w_j1f.c: Likewise.
27480         * math/w_j1l.c: Likewise.
27481         * math/w_jn.c: Likewise.
27482         * math/w_jnf.c: Likewise.
27483         * math/w_jnl.c: Likewise.
27484         * math/w_lgamma.c: Likewise.
27485         * math/w_lgamma_r.c: Likewise.
27486         * math/w_lgammaf.c: Likewise.
27487         * math/w_lgammaf_r.c: Likewise.
27488         * math/w_lgammal.c: Likewise.
27489         * math/w_lgammal_r.c: Likewise.
27490         * math/w_log.c: Likewise.
27491         * math/w_log10.c: Likewise.
27492         * math/w_log10f.c: Likewise.
27493         * math/w_log10l.c: Likewise.
27494         * math/w_log2.c: Likewise.
27495         * math/w_log2f.c: Likewise.
27496         * math/w_log2l.c: Likewise.
27497         * math/w_logf.c: Likewise.
27498         * math/w_logl.c: Likewise.
27499         * math/w_pow.c: Likewise.
27500         * math/w_powf.c: Likewise.
27501         * math/w_powl.c: Likewise.
27502         * math/w_remainder.c: Likewise.
27503         * math/w_remainderf.c: Likewise.
27504         * math/w_remainderl.c: Likewise.
27505         * math/w_scalb.c: Likewise.
27506         * math/w_scalbf.c: Likewise.
27507         * math/w_scalbl.c: Likewise.
27508         * math/w_sinh.c: Likewise.
27509         * math/w_sinhf.c: Likewise.
27510         * math/w_sinhl.c: Likewise.
27511         * math/w_sqrt.c: Likewise.
27512         * math/w_sqrtf.c: Likewise.
27513         * math/w_sqrtl.c: Likewise.
27514         * math/w_tgamma.c: Likewise.
27515         * math/w_tgammaf.c: Likewise.
27516         * math/w_tgammal.c: Likewise.
27518         * po/ja.po: Update from translation team.
27520 2011-09-29  Andreas Jaeger  <aj@suse.de>
27522         [BZ #13179]
27523         * sunrpc/netname.c (netname2host): Fix logic.
27525         [BZ #6779]
27526         [BZ #6783]
27527         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27528         correctly.
27529         * math/w_remainder.c (__remainder): Likewise.
27530         * math/w_remainderf.c (__remainderf): Likewise.
27531         * math/libm-test.inc (remainder_test): Add test cases.
27533 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27535         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27536         sdiv_qrnnd.
27538 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27540         * string/test-memcmp.c: Avoid unncessary #defines.
27541         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27543 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27545         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27546         Use new sse2 version for core i3 - i7 as it's faster
27547         than sse42 version.
27548         (bit_Prefer_PMINUB_for_stringop): New.
27549         * sysdeps/x86_64/rawmemchr.S: Update.
27550         Replace with faster SSE2 version.
27551         * sysdeps/x86_64/memrchr.S: New file.
27552         * sysdeps/x86_64/memchr.S: Update.
27553         Replace with faster SSE2 version.
27555 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27557         * elf/dl-load.c (lose): Add cast to avoid warning.
27559 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27561         * po/ca.po: Update from translation team.
27563         * inet/getnetgrent_r.c: Hook up nscd.
27564         * nscd/Makefile (routines): Add nscd_netgroup.
27565         (nscd-modules): Add netgroupcache.
27566         (CFLAGS-netgroupcache.c): Define.
27567         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27568         (cache_search): Add const to second parameter.
27569         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27570         INNETGR.
27571         (dbs): Add netgrdb entry.
27572         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27573         (verify_persistent_db): Handle netgrdb.
27574         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27575         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27576         GETFDNETGR.
27577         (netgroup_response_header): Define.
27578         (innetgroup_response_header): Define.
27579         (datahead): Add netgroup_response_header and innetgroup_response_header
27580         elements.
27581         * nscd/nscd.conf: Add entries for netgroup cache.
27582         * nscd/nscd.h (dbtype): Add netgrdb.
27583         (_PATH_NSCD_NETGROUP_DB): Define.
27584         (netgroup_iov_disabled): Declare.
27585         (xmalloc, xcalloc, xrealloc): Move declarations here.
27586         (cache_search): Adjust prototype.
27587         Add netgroup-related prototypes.
27588         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27589         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27590         (__nscd_innetgr): Declare.
27591         * nscd/selinux.c (perms): Use access_vector_t as element type and
27592         add netgroup-related initializers.
27593         * nscd/netgroupcache.c: New file.
27594         * nscd/nscd_netgroup.c: New file.
27595         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27596         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27597         For four parameters use innetgr.
27598         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27599         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27600         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27601         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27603         * nscd/connections.c (register_traced_file): Don't register file
27604         for disabled databases.
27606 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27608         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27610         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27611         from tree and freeing node.
27613 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27615         * nss/nsswitch.c (__nss_database_lookup): Handle
27616         nss_parse_service_list out of memory case.
27618 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27620         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27621         out of memory case.
27623 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27625         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27626         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27627         pass it down.
27628         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27629         elf_machine_rela, elf_machine_lazy_rel.
27630         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27631         (ELF_DYNAMIC_DO_REL): Likewise.
27632         (ELF_DYNAMIC_DO_RELA): Likewise.
27633         (ELF_DYNAMIC_RELOCATE): Likewise.
27634         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27635         to ELF_DYNAMIC_DO_REL.
27636         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27637         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27638         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27639         elf_machine_rela.
27640         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27641         skip_ifunc, don't call ifunc function if non-zero.
27642         (elf_machine_rela): Likewise.
27643         (elf_machine_lazy_rel): Likewise.
27644         (elf_machine_lazy_rela): Likewise.
27645         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27646         (elf_machine_lazy_rel): Likewise.
27647         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27648         Likewise.
27649         (elf_machine_lazy_rel): Likewise.
27650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27651         Likewise.
27652         (elf_machine_lazy_rel): Likewise.
27653         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27654         (elf_machine_lazy_rel): Likewise.
27655         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27656         (elf_machine_lazy_rel): Likewise.
27657         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27658         (elf_machine_lazy_rel): Likewise.
27659         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27660         (elf_machine_lazy_rel): Likewise.
27661         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27662         (elf_machine_lazy_rel): Likewise.
27663         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27664         (elf_machine_lazy_rel): Likewise.
27666 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27668         * nss/nss_files/files-init.c (_nss_files_init): Use static
27669         initialization for all the *_traced_file variables.
27671 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27673         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27675 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27677         [BZ #13226]
27678         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27680 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27682         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27683         Reread the line before reparsing it.
27685 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27687         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27689 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27690             Maxim Kuvyrkov  <maxim@codesourcery.com>
27691             Joseph Myers  <joseph@codesourcery.com>
27693         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27694         if needed for __stack_chk_guard.
27696 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27698         * sysdeps/posix/spawni.c (script_execute): Always define it.
27699         It will be optimized away if unused.
27700         (maybe_script_execute): New function.
27701         (__spawni): Call it.
27703         * Makerules: Don't include tls.make.
27704         (config-tls): Always set to thread.
27705         * tls.make.c: File removed.
27707 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27709         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27710         * config.make.in (CPPFLAGS-config): New substituted variable.
27712 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27714         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27716         [BZ #13192]
27717         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27718         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27720 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27722         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27723         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27724         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27725         (CALL_FAIL): Likewise.
27726         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27727         (CALL_FAIL): Macro removed.
27728         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27730 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27732         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27733         for __FINITE_MATH_ONLY__ == 1.
27735 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27737         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27738         __ieee754_sqrt instead of sqrt.
27739         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27740         __ieee754_sqrtf instead of sqrtf.
27741         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27742         __floorf instead of floorf.
27743         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27744         __floorf, __truncf instead of floorf, truncf.
27746 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27748         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27750         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27751         __extern_always_inline.
27752         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27753         32-bit.
27755 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27757         * elf/rtld.c (dl_main): Also relocate in dependency order when
27758         doing symbol dependency testing.
27760 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27762         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27763         Always define `refsym'.
27765 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27767         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27768         (__FD_ELT): Renamed from __FDELT.
27769         * misc/bits/select2.h (__FD_ELT): Likewise.
27770         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27771         __FD_MASK instead of __FDELT, __FDMASK.
27772         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27773         Likewise.
27774         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27775         Likewise.
27777         * elf/Makefile (gen-ldd): Fix pattern.
27779         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27780         (init_tls): Likewise.
27782 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27784         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27786 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27788         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27789         `struct cmsghdr *' instead of `void *'.
27790         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27791         Likewise.
27793 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27795         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27796         if non-absolute.
27797         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27798         ldd_rewrite_script.
27800 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27802         * configure.in: Remove --with-tls option.
27803         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27804         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27805         out in case it is missing.
27806         * sysdeps/ia64/elf/configure.in: Likewise.
27807         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27808         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27809         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27810         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27811         * sysdeps/sh/elf/configure.in: Likewise.
27812         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27813         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27814         * sysdeps/x86_64/elf/configure.in: Likewise.
27815         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27816         * sysdeps/mach/hurd/tls.h: Likewise.
27818         [BZ #13067]
27819         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27821         [BZ #13090]
27822         * configure.in: Fix use of AC_INIT.
27824         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27826 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27828         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27829         __set_errno.
27830         * malloc/hooks.c: Likewise.
27832         [BZ #11929]
27833         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27834         variables statically.
27835         (narenas): Initialize.
27836         (list_lock): Initialize.
27837         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27838         initializtion of main_arena and list_lock.  Small cleanups.
27839         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27840         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27841         Add initializers to main_arena and mp_.
27842         (malloc_state): Remove pagesize member.  Change all users to use
27843         GLRO(dl_pagesize).
27845         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27846         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27847         is always initialized.
27849         * malloc/malloc.c: Removed unused configurations and dead code.
27850         * malloc/arena.c: Likewise.
27851         * malloc/hooks.c: Likewise.
27852         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27854         * include/tls.h: Removed.  USE___THREAD must always be defined.
27855         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27856         * elf/dl-libc.c: Likewise.
27857         * elf/dl-tsd.c: Likewise.
27858         * include/errno.h: Likewise.
27859         * include/netdb.h: Likewise.
27860         * include/resolv.h: Likewise.
27861         * inet/herrno-loc.c: Likewise.
27862         * inet/herrno.c: Likewise.
27863         * malloc/arena.c: Likewise.
27864         * malloc/hooks.c: Likewise.
27865         * malloc/malloc.c: Likewise.
27866         * resolv/res-state.c: Likewise.
27867         * resolv/res_libc.c: Likewise.
27868         * sysdeps/i386/dl-machine.h: Likewise.
27869         * sysdeps/ia64/dl-machine.h: Likewise.
27870         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27871         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27872         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27873         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27874         * sysdeps/sh/dl-machine.h: Likewise.
27875         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27876         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27877         * sysdeps/unix/i386/sysdep.S: Likewise.
27878         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27879         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27881         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27882         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27883         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27884         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27885         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27888         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27889         * sysdeps/x86_64/dl-machine.h: Likewise.
27890         * tls.make.c: Likewise.
27892         * configure.in: Remove --with-__thread option.  Make tests for
27893         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27894         tls_model attribute fail if no support is available.  Remove
27895         USE_IN_LIBIO.
27896         * Makeconfig: Adjust for dropped configure option.  All features are
27897         now mandatory.
27898         * Makerules: Likewise.
27899         * Versions.def: Likewise.
27900         * argp/argp-fmtstream.c: Likewise.
27901         * argp/argp-fmtstream.h: Likewise.
27902         * argp/argp-help.c: Likewise.
27903         * assert/assert.c: Likewise.
27904         * config.h.in: Likewise.
27905         * config.make.in: Likewise.
27906         * configure: Likewise.
27907         * configure.in: Likewise.
27908         * csu/Versions: Likewise.
27909         * csu/init.c: Likewise.
27910         * elf/tst-audit2.c: Likewise.
27911         * elf/tst-tls10.c: Likewise.
27912         * elf/tst-tls10.h: Likewise.
27913         * elf/tst-tls11.c: Likewise.
27914         * elf/tst-tls12.c: Likewise.
27915         * elf/tst-tls14.c: Likewise.
27916         * elf/tst-tlsmod11.c: Likewise.
27917         * elf/tst-tlsmod12.c: Likewise.
27918         * elf/tst-tlsmod13.c: Likewise.
27919         * elf/tst-tlsmod13a.c: Likewise.
27920         * elf/tst-tlsmod14a.c: Likewise.
27921         * elf/tst-tlsmod15b.c: Likewise.
27922         * elf/tst-tlsmod16a.c: Likewise.
27923         * elf/tst-tlsmod16b.c: Likewise.
27924         * elf/tst-tlsmod7.c: Likewise.
27925         * elf/tst-tlsmod8.c: Likewise.
27926         * elf/tst-tlsmod9.c: Likewise.
27927         * gmon/gmon.c: Likewise.
27928         * grp/fgetgrent_r.c: Likewise.
27929         * grp/putgrent.c: Likewise.
27930         * hurd/fopenport.c: Likewise.
27931         * include/libc-symbols.h: Likewise.
27932         * include/tls.h: Likewise.
27933         * intl/gettextP.h: Likewise.
27934         * intl/loadinfo.h: Likewise.
27935         * locale/global-locale.c: Likewise.
27936         * locale/localeinfo.h: Likewise.
27937         * mach/devstream.c: Likewise.
27938         * malloc/arena.c: Likewise.
27939         * malloc/set-freeres.c: Likewise.
27940         * misc/err.c: Likewise.
27941         * misc/getttyent.c: Likewise.
27942         * misc/mntent_r.c: Likewise.
27943         * posix/getopt.c: Likewise.
27944         * posix/wordexp.c: Likewise.
27945         * pwd/fgetpwent_r.c: Likewise.
27946         * resolv/Versions: Likewise.
27947         * resolv/res_hconf.c: Likewise.
27948         * shadow/fgetspent_r.c: Likewise.
27949         * shadow/putspent.c: Likewise.
27950         * stdio-common/printf_fphex.c: Likewise.
27951         * stdio-common/tmpfile.c: Likewise.
27952         * stdlib/abort.c: Likewise.
27953         * stdlib/fmtmsg.c: Likewise.
27954         * sunrpc/auth_unix.c: Likewise.
27955         * sunrpc/clnt_perr.c: Likewise.
27956         * sunrpc/clnt_tcp.c: Likewise.
27957         * sunrpc/clnt_udp.c: Likewise.
27958         * sunrpc/clnt_unix.c: Likewise.
27959         * sunrpc/openchild.c: Likewise.
27960         * sunrpc/svc_simple.c: Likewise.
27961         * sunrpc/svc_tcp.c: Likewise.
27962         * sunrpc/svc_udp.c: Likewise.
27963         * sunrpc/svc_unix.c: Likewise.
27964         * sunrpc/xdr.c: Likewise.
27965         * sunrpc/xdr_array.c: Likewise.
27966         * sunrpc/xdr_rec.c: Likewise.
27967         * sunrpc/xdr_ref.c: Likewise.
27968         * sunrpc/xdr_stdio.c: Likewise.
27970 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27972         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27974 2011-07-03  Andreas Jaeger  <aj@suse.de>
27976         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27977         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27978         regenerate with gen-libm-tests.pl.
27980 2010-05-12  Petr Baudis  <pasky@suse.cz>
27982         [BZ #11589]
27983         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27984         around j0() zero points by switching to j1().
27985         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27986         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27987         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27988         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27990 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27992         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27993         instead of 0.
27994         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27995         instead of 0.
27996         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27997         Patch in part by Pavel Roskin <proski@gnu.org>.
27999         [BZ #13138]
28000         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28001         realloc.
28002         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
28003         Free memory block if necessary.
28005         [BZ #12847]
28006         * libio/genops.c (INTDEF): For string streams the _lock pointer can
28007         be NULL.  Don't lock in this case.
28009 2011-09-09  Roland McGrath  <roland@hack.frob.com>
28011         * elf/elf.h (ELFOSABI_GNU): New macro.
28012         (ELFOSABI_LINUX): Define to that.
28014 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
28016         * string/strncat.c (strncat): Undef the symbol in case it has been
28017         defined in bits/string.h.
28019 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28021         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28023         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28024         link map.
28026 2011-08-17  Andreas Jaeger  <aj@suse.de>
28028         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28030 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28031             Ian Lance Taylor  <iant@google.com>
28033         * math/libm-test.inc (lround_test): New testcase.
28034         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28036 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
28038         * Makefile: Remove support for automatic cvs check-ins.
28039         * Makerules: Likewise.
28040         * config.make.in: Likewise.
28041         * configure.in: Likewise.
28042         * intl/Makefile: Likewise.
28043         * locale/Makefile: Likewise.
28044         * po/Makefile: Likewise.
28045         * posix/Makefile: Likewise.
28046         * sysdeps/gnu/Makefile: Likewise.
28047         * sysdeps/mach/hurd/Makefile: Likewise.
28048         * sysdeps/sparc/sparc32/Makefile: Likewise.
28050         [BZ #13118]
28051         * posix/Makefile (bug-regex32-ENV): Define.
28052         Patch by John Stanley <jpsinthemix@verizon.net>.
28054         * misc/Makefile (headers): Add bits/select2.h.
28055         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28056         * misc/bits/select2.h: New file.
28057         * include/bits/select2.h: New file.
28058         * debug/Makefile (routines): Add fdelt_chk.
28059         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28060         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28061         FD_ISSET.
28062         * debug/fdelt_chk.c: New file.
28064         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
28065         * wcsmbs/test-wmemcmp.c: Likewise.
28066         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28067         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28069 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28071         * string/Makefile (strop-tests): Add memcmp.
28072         * string/test-wmemcmp.c: New file.
28073         * string/test-memcmp.c: Add wmemcmp support.
28075 2011-09-08  Roland McGrath  <roland@hack.frob.com>
28077         [BZ #13153]
28078         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28079         2011-07-19 change.
28081         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28082         garbage value in a __mach_port_mod_refs call in the cases of the
28083         task-self and thread-self ports.
28085 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28087         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28089 2011-09-08  Andreas Schwab  <schwab@redhat.com>
28091         * elf/dl-load.c (lose): Check for non-null L.
28093 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
28095         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28097         * elf/dl-libc.c (dlerror_run): Pass back error code from
28098         dl_catch_error.
28100         [BZ #13123]
28101         * elf/dl-load.c (lose): Free l_origin if it is valid.
28103         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28104         names.
28105         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28108         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28109         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28110         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28112 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28114         * sysdeps/powerpc/fpu/e_hypot.c: New file.
28115         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28116         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28117         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28118         * sysdeps/powerpc/fpu/k_cosf.c: New file.
28119         * sysdeps/powerpc/fpu/k_sinf.c: New file.
28120         * sysdeps/powerpc/fpu/s_cosf.c: New file.
28121         * sysdeps/powerpc/fpu/s_sinf.c: New file.
28122         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28123         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28125 2011-08-15  Alan Modra  <amodra@gmail.com>
28127         [BZ #13092]
28128         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28129         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28130         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
28131         ppc_mcount to static-only-routines.
28132         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28133         __mcount_internal.
28134         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28135         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
28137 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
28139         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28140         for finite and infinity parameters.
28142 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28144         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28145         and add nop instructions for throughput optimization.
28146         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28148 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
28150         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28151         aligned copy for power7 with vector-scalar instructions.
28152         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28154 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
28156         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28157         AVX check.
28159 2011-09-07  Andreas Schwab  <schwab@redhat.com>
28161         [BZ #13144]
28162         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28163         last change.
28165 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
28167         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28168         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28169         syscall wrapper around clock_gettime in __vdso_clock_gettime.
28170         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28171         clock_gettime.
28173 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28175         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28176         Forgot to demangle the pointer.
28178         * sysdeps/i386/sysdep.h: Define atom_text_section.
28179         * sysdeps/x86_64/sysdep.h: Likewise.
28180         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28181         section with atom_text_section.
28182         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28183         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28184         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28185         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28186         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28188         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28189         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28190         already be defined.  Change to take two parameters and don't assign
28191         result to variable.  Adjust all users.
28192         Define INTERNAL_GETTIME if not already defined.
28193         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28194         call.
28195         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28196         HAVE_CLOCK_GETTIME_VSYSCALL.
28197         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28200         gettimeofday vsyscall, just use time.
28202 2011-09-06  Andreas Schwab  <schwab@redhat.com>
28204         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28205         <errno.h>.
28207 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28209         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28210         syscall on x86-64.
28211         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28212         syscall.
28213         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28214         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28215         syscall if possible.
28217 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28219         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28220         e_ident.  Don't pass to find_mapsXX.
28221         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28223 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28226         strchr-sse2-no-bsf strrchr-sse2-no-bsf
28227         * sysdeps/x86_64/multiarch/strchr.S: Update.
28228         Check bit_slow_BSF bit.
28229         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28230         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28231         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28233 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28235         [BZ #13134]
28236         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28237         before glibc 2.15.
28238         (tryshell): Define.
28239         (__spawni): Change last parameter to be flag.  Test
28240         SPAWN_XFLAGS_USE_PATH flag to use path or not.
28241         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28242         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28243         * posix/spawni.c: Likewise.
28244         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28245         * posix/spawnp.c: Likewise.  Change normal version to use
28246         SPAWN_XFLAGS_USE_PATH.
28247         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28248         SPAWN_XFLAGS_TRY_SHELL.
28250         [BZ #13150]
28251         * posix/glob.h: Remove gcc 1.x support.
28253         [BZ #13068]
28254         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28256 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28258         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28259         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28260         strrchr-sse2-bsf
28261         * sysdeps/i386/i686/multiarch/strchr.S: New file.
28262         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28263         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28264         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28265         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28266         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28268 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28270         * sysdeps/x86_64/wcscmp.S: New file.
28272         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28273         wcscmp-c wcscmp-sse2
28274         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28275         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28276         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28277         * wcsmbs/wcscmp.c: Allow renaming.
28279 2011-09-05  David S. Miller  <davem@davemloft.net>
28281         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28282         stack slot, rather than the struct return pointer slot.
28283         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28284         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28286         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28288 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28290         * po/ja.po: Update from translation team.
28292         [BZ #13144]
28293         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28294         kernel in 64-bit binaries.
28296 2011-09-01  David S. Miller  <davem@davemloft.net>
28298         * elf/elf.h (HWCAP_SPARC_*): Move to..
28299         * sysdeps/sparc/sysdep.h: this new file and add new values.
28300         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28301         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28302         _DL_HWCAP_COUNT to 24.
28303         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28304         entries.
28305         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28306         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28307         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28308         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28309         instead of magic constants.
28310         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28312 2011-08-31  David S. Miller  <davem@davemloft.net>
28314         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28316         Reimplement to do errno handling inline.
28317         (SYSCALL_ERROR_HANDLER): New macro.
28318         (__SYSCALL_STRING): Do not do errno handling in asm.
28319         (__CLONE_SYSCALL_STRING): Delete.
28320         (__INTERNAL_SYSCALL_STRING): Delete.
28321         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28322         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28323         (PSEUDO): Reimplement to do errno handling inline.
28324         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28325         (SYSCALL_ERROR_HANDLER): New macro.
28326         (__SYSCALL_STRING): Do not do errno handling in asm.
28327         (__CLONE_SYSCALL_STRING): Delete.
28328         (__INTERNAL_SYSCALL_STRING): Delete.
28329         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28330         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28331         i386.
28332         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28333         (inline_syscall*): Add 'err' argument.
28334         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28335         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28336         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28337         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28339         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28340         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28342 2011-08-30  Andreas Schwab  <schwab@redhat.com>
28344         * elf/rtld.c (dl_main): Relocate objects in dependency order.
28346 2011-08-29  Jiri Olsa <jolsa@redhat.com>
28348         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28349         directive.
28351 2011-08-24  David S. Miller  <davem@davemloft.net>
28353         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28355 2011-08-24  Andreas Schwab  <schwab@redhat.com>
28357         * elf/Makefile: Add rules to build and run unload8 test.
28358         * elf/unload8.c: New file.
28359         * elf/unload8mod1.c: New file.
28360         * elf/unload8mod1x.c: New file.
28361         * elf/unload8mod2.c: New file.
28362         * elf/unload8mod3.c: New file.
28364         * elf/dl-close.c (_dl_close_worker): Reset private search list if
28365         it wasn't used.
28367 2011-08-23  David S. Miller  <davem@davemloft.net>
28369         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28370         subtract stack bias.
28371         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28372         %sp not %fp in calculations.
28373         (_JMPBUF_UNWINDS_ADJ): Likewise.
28375         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28376         (aio_suspend): Call it to force an exception region around the
28377         AIO_MISC_WAIT() invocation.
28379 2011-08-23  Andreas Schwab  <schwab@redhat.com>
28381         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28382         backslash.
28384 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
28386         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28387         protection macro.
28388         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28389         and <dl-machine.h>.
28390         (Elf64_FuncDesc): Remove.
28392 2011-08-22  David S. Miller  <davem@davemloft.net>
28394         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28395         sigaltstack check, add missing cfi directives.
28396         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28397         missing cfi directives, and sigaltstack handling.
28399 2011-08-16  Andreas Schwab  <schwab@redhat.com>
28401         [BZ #11724]
28402         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28403         object is seen twice.
28404         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28406         * elf/Makefile (distribute): Add tst-initorder2.c.
28407         (tests): Add tst-initorder2.
28408         (modules-names): Add tst-initorder2a tst-initorder2b
28409         tst-initorder2c tst-initorder2d.  Add rules to build them.
28410         ($(objpfx)tst-initorder2.out): New rule.
28411         * elf/tst-initorder2.c: New file.
28412         * elf/tst-initorder2.exp: New file.
28414 2011-08-22  Andreas Schwab  <schwab@redhat.com>
28416         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28418         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28419         dependencies back to end of function.
28421         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28422         $(elfobjdir)/ld.so.
28424 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
28426         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28427         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28429         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28430         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28431         of __vdso_gettimeofday.
28432         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28433         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
28434         attribute_hidden.
28435         (_libc_vdso_platform_setup): Remove initialization of
28436         __vdso_gettimeofday and __vdso_time.
28438 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28440         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28441         and fgetc_unlocked.
28442         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28443         getc_unlocked.
28445         * elf/dl-open.c (add_to_global): Report additions to the global scope
28446         for LD_DEBUG=scopes.
28447         (dl_open_worker): Also print scope of newly loaded dependencies.
28448         (_dl_show_scope): Indicate if there is no scope.
28450         [BZ #13114]
28451         * stdio-common/Makefile (tests): Add bug24.
28452         * stdio-common/bug24.c: New file.
28454 2011-08-19  Andreas Jaeger  <aj@suse.de>
28456         [BZ #13114]
28457         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28458         non-existant file when using close-on-exec mode.
28460 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28462         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28463         the very first instruction.
28465         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28466         the CFI state in the end.
28467         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28468         inclusion of dl-trampoline.h.
28469         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28471 2011-08-19  Andreas Schwab  <schwab@redhat.com>
28473         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28474         expectations for long double.
28476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28477         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28479 2011-08-14  David S. Miller  <davem@davemloft.net>
28481         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28482         artificual limit depends upon the system page size.
28484 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28486         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28487         * resolv/Makefile: Define CFLAGS-libresolv.
28489 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28491         * nss/makedb.c (compute_tables): Make variables used in nested
28492         function static.
28494 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28496         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28497         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28498         if buffer was too small.
28500         * elf/pldd.c (main): Attach to all threads in the process.
28501         Rewrite /proc handling to use *at functions.
28503 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28505         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28506         specifies first scope to show.
28507         (dl_open_worker): Update callers.  Move printing scope of new
28508         object to before the relocation.
28509         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28510         * sysdeps/generic/ldsodefs.h: Update declaration.
28512         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28513         string for the scope number.
28515 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28517         * nscd/servicescache.c (cache_addserv): Make sure written is always
28518         initialized.
28520 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28522         * sysdeps/i386/i486/bits/atomic.h
28523         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28524         statement expression, so as to suppress "set but not used" warning.
28525         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28527         * string/strncat.c (STRNCAT): Use prototype definition.
28529         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28530         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28531         -Iprograms here.
28532         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28533         (localedef-modules): Add localedef.
28534         (locale-modules): Add locale.
28536         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28537         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28538         to avoid a warning.
28540 2011-08-14  David S. Miller  <davem@davemloft.net>
28542         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28543         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28545 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28547         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28548         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28549         * elf/rtld.c (dl_main): Set l_name of vDSO.
28550         Call _dl_show_scope when DL_DEBUG_SCOPES.
28551         (process_dl_debug): Recognize scopes flag and also set it for all.
28552         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28553         Declare _dl_show_scope.
28555         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28556         (do_dlopen): Pass caller_dlopen to dl_open.
28557         (__libc_dlopen_mode): Initialize caller_dlopen.
28559         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28560         of libc.  Make tolower call locale-independent.  Optimize a bit by
28561         using isdigit instead of isalnum.
28562         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28564 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28566         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28567         was a dependency or dynamically loaded.
28569 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28571         * intl/l10nflist.c: Allow architecture-specific pop function.
28572         * sysdeps/x86_64/l10nflist.c: New file.
28574         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28575         classification.
28577 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28579         * include/dirent.h: Add libc_hidden_proto for scandirat and
28580         scandirat64.  Don't declare __scandirat64.
28581         * dirent/scandirat.c: Add libc_hidden_def.
28582         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28583         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28585 2011-08-10  David S. Miller  <davem@davemloft.net>
28587         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28588         enum.
28589         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28590         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28591         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28593 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28595         * Versions.def [libc]: Add GLIBC_2.15.
28596         * dirent/Makefile (routines): Add scandirat and scandirat64.
28597         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28598         GLIBC_2.15.
28599         * dirent/dirent.h: Declare scandirat and scandirat64.
28600         * dirent/scandirat.c: New file.
28601         * dirent/scandirat64.c: New file.
28602         * sysdeps/wordsize-64/scandirat.c: New file.
28603         * sysdeps/wordsize-64/scandirat64.c: New file.
28604         * dirent/opendir.c: Define opendirat.
28605         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28606         using scandirat.
28607         * dirent/scandir64.c: Adjust for scandir.c change.
28608         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28609         __scandirat64, and __scandir_cancel_handler.
28610         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28611         additional parameter and use openat instead of open (outside of ld.so).
28612         Add new __opendir as wrapper around __opendirat.
28613         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28614         here without requiring old scandirat implementation.
28616 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28618         * dirent/scandir.c (cancel_handler): Renamed to
28619         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28620         defined.  Adjust users.
28621         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28622         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28624 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28626         * string/test-string.h (IMPL): Use __STRING to expand name and then
28627         stringify it.
28629         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28630         of cleanups.
28632 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28634         * string/Makefile: Update.
28635         (strop-tests): Append strncat.
28636         * string/test-wcscmp.c: New file.
28637         New comprehensive test for wcscmp.
28638         * string/test-strcmp.c: Update.
28639         (WIDE): New define.
28641 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28643         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28644         line.
28646 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28649         encoding to ACE if AI_IDN.
28651 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28653         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28654         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28656 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28658         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28659         Fix overflow bug in strncat.
28660         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28662         * string/test-strncat.c: Update.
28663         Add new tests for checking overflow bugs.
28665 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28667         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28668         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28669         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28670         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28671         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28672         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28673         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28674         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28675         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28677         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28678         (USE_AS_STRCAT): Define.
28679         Add strcat and strncat support.
28680         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28682 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28684         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28685         __n bigger than INT_MAX+1.
28686         (__strncmp_g): Likewise.
28688 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28690         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28691         * libio/stido.h: Likewise.
28693         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28694         (AF_NFC): Define.
28695         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28696         (AF_NFC): Define.
28698         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28699         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28700         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28701         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28702         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28704         [BZ #13021]
28705         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28706         installed.
28708         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28709         typo.
28710         (_dl_x86_64_save_sse): Likewise.
28712 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28715         OSXSAVE.
28716         (_dl_x86_64_save_sse): Likewise.
28718         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28720         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28722 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28724         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28725         change.
28726         (_dl_x86_64_save_sse): Use correct AVX check.
28728 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28730         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28731         bug in strncpy/strncat.
28732         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28734 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28736         * string/tester.c (test_strcat): Add tests for different alignments
28737         of source and destination.
28738         (test_strncat): Likewise.
28740 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28742         [BZ #12852]
28743         * posix/glob.c (glob): Check passed in values before using them in
28744         expressions to avoid some overflows.
28745         (glob_in_dir): Likewise.
28747         [BZ #13007]
28748         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28749         check for AVX enablement so that we don't crash with old kernels and
28750         new hardware.
28751         * elf/tst-audit4.c: Add same checks here.
28752         * elf/tst-audit6.c: Likewise.
28754         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28756 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28758         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28760 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28762         * po/cs.po: Update from translation team.
28763         * po/bg.po: Likewise.
28765 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28767         * misc/sys/cdefs.h: Add support for const attribute.
28768         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28769         to gnu_dev_{major,minor,makedev} functions.
28771 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28773         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28775 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28777         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28778         strlen results.
28780 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28783         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28784         register in order to avoid conflicts with the soft frame pointer
28785         being held in r11 when necessary.
28786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28787         (INTERNAL_VSYSCALL_NCS): Likewise.
28789 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28791         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28792         * elf/dl-fini.c (_dl_fini): Adjust caller.
28793         * elf/dl-close.c (_dl_close_worker): Likewise.
28794         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28796 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28798         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28799         "aux_cache->nlibs < 0".
28801         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28802         in the reload-count case.
28804 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28807         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28808         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28809         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28810         * sysdeps/x86_64/multiarch/strcat.S: New file.
28811         * sysdeps/x86_64/multiarch/strncat.S: New file.
28812         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28813         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28814         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28815         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28816         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28817         (USE_AS_STRCAT): Define.
28818         Add strcat and strncat support.
28819         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28820         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28821         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28822         * string/strncat.c: Update.
28823         (USE_AS_STRNCAT): Define.
28824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28825         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28826         and i7.
28827         * sysdeps/x86_64/multiarch/init-arch.h
28828         (bit_Prefer_PMINUB_for_stringop): New.
28829         (index_Prefer_PMINUB_for_stringop): Likewise.
28830         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28831         bit_Prefer_PMINUB_for_stringop.
28833 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28835         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28836         buffer64.
28837         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28838         of casting of buffer.
28839         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28840         buffer32 and buffer64.
28841         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28842         writes instead of casting of buffer.
28843         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28844         buffer32.
28845         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28846         casting of buffer.
28848 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28850         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28852 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28854         * nscd/nscd.c (termination_handler): Don't do anything for a database
28855         if it has not yet been initialized.
28857 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28859         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28861 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28863         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28865 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28867         * po/nl.po: Update from translation team.
28868         * po/sv.po: Likewise.
28870 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28872         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28873         now disallowed by GCC.
28875         * configure.in (use-default-link): Default to yes if a test -shared
28876         link meets our qualifications.
28877         * configure: Regenerated.
28879         * config.make.in (output-format): New variable.
28880         * configure.in: Check for ld --print-output-format support.
28881         * configure: Regenerated.
28882         * Makerules ($(common-objpfx)format.lds)
28883         [$(output-format) != unknown]: Just use $(output-format),
28884         instead of the linker-script munging.
28886 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28888         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28889         of $(common-objpfx)shlib.lds.
28890         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28892         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28893         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28895         * configure.in (-z relro check): Adjust test code to add a large
28896         writable data section after it.
28897         * configure: Regenerated.
28899 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28901         * configure.in (-z relro check): Fix test code to make the variable
28902         truly const.
28903         * configure: Regenerated.
28905 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28907         * nscd/nscd.h (struct traced_file): Define.
28908         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28909         elements.  Add traced_files.
28910         (inotify_fd): Declare.
28911         (register_traced_file): Declare.
28912         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28913         (inotify_fd): Export.
28914         (resolv_conf_descr): Remove.
28915         (nscd_init): Move inotify descriptor creation to main.
28916         Don't register files for notification here.
28917         (register_traced_file): New function.
28918         (invalidate_cache): Don't use reset_res to determine whether to call
28919         res_init, go through the list of registered files.
28920         (main_loop_poll): The inotify descriptors are now stored in the
28921         structures for the traced files.
28922         (main_loop_epoll): Likewise
28923         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28924         to __nss_disable_nscd.
28925         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28926         for a database anymore.  Check the records for all the registered
28927         files instead.
28928         * nss/Makefile (libnss_files-routines): Add files-init.
28929         (libnss_db-routines): Add db-init.
28930         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28931         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28932         * nss/nss_db/db-init.c: New file.
28933         * nss/nss_files/files-init.c: New file.
28934         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28935         __nss_lookup_function.
28936         (__nss_lookup_function): Call nss_load_library.
28937         (nss_load_all_libraries): New function.
28938         (__nss_disable_nscd): Take parameter with callback function for files
28939         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28940         used for the cached services.
28941         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28942         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28943         options for features to all the files in nscd.
28945         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28947 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28949         * csu/elf-init.c (__libc_csu_init): Comment typo.
28951 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28953         * po/pl.po: Update from translation team.
28954         * po/ja.po: Likewise.
28955         * po/ru.po: Likewise.
28956         * po/ko.po: Likewise.
28957         * po/fr.po: Likewise.
28959 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28961         * configure.in (.ctors/.dtors header and trailer check):
28962         Use an empirical test on a built program.
28963         * configure: Regenerated.
28965         * configure.in (-z relro check): Use an empirical test on a built DSO.
28966         Detect, but do not require, on ia64.
28967         * configure: Regenerated.
28969         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28970         Update tests that use readelf to use $READELF instead.
28971         * configure: Regenerated.
28973 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28975         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28976         if the result is not used.
28978 2011-07-05  Andreas Jaeger  <aj@suse.de>
28980         [BZ#9696]
28981         * stdlib/tst-strtod.c: Add testcase.
28983 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28985         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28986         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28987         The latter has a higher limit.  Take additional parameter to pass to
28988         the new function.
28989         (__pathconf): Pass file to __statfs_link_max.
28990         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28991         __statfs_link_max.
28992         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28993         __statfs_link_max.
28995         [BZ #12868]
28996         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28997         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28998         Handle Lustre.
28999         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29000         (__statfs_filesize_max): Likewise.
29001         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29003 2011-07-05  Andreas Jaeger  <aj@suse.de>
29005         * resolv/res_comp.c (dn_skipname): Remove unused variable.
29007 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
29009         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29010         `status' variable.
29011         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29012         Likewise.
29014 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
29016         * Makefile (strop-tests): Add strncat.
29017         * string/test-strncat.c: New file.
29019 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
29021         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29023 2011-06-21  Andreas Jaeger  <aj@suse.de>
29025         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29026         Copy rule from iconvdata/Makefile.
29028 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
29030         [BZ #12922]
29031         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29032         but no long options are defined, just return 'W'.
29034 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
29036         [BZ #9696]
29037         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29039 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
29041         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29042         netgroups to read.
29043         (innetgr): Likewise.
29045 2011-07-05  Roland McGrath  <roland@hack.frob.com>
29047         * config.make.in (install_root): Default to $(DESTDIR).
29049 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
29051         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29053 2011-07-02  Roland McGrath  <roland@hack.frob.com>
29055         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29057         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29058         containing directory rather than embedding absolute directory names.
29060         * scripts/check-local-headers.sh: Rewritten using awk.
29061         Match by word, not by line.  Print error messages for matches.
29062         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29064         * Makerules [shlib-lds-flags empty]:
29065         ($(common-objpfx)libc_pic.opts): New target.
29066         ($(common-objpfx)libc_pic.os.clean): New target.
29067         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29069         * config.make.in (OBJCOPY): New variable.
29070         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29071         * configure: Regenerated.
29073         * config.make.in (use-default-link): New variable.
29074         * configure.in (use_default_link): Grok --with-default-link to set it.
29075         * configure: Regenerated.
29076         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29077         (shlib-lds, shlib-lds-flags): Define to empty.
29079         * Makerules (shlib-lds): New variable.
29080         (shlib-lds-flags): New variable.
29081         (build-shlib, build-moduile, build-module-asneeded): Use it.
29082         ($(common-objpfx)libc.so): Use $(shlib-lds).
29083         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29084         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29086         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29087         DT_FLAGS/DT_FLAGS_1 with zero flags.
29089         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29090         linker script munging.
29092 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
29094         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29095         as 128-bit value.
29096         * crypt/sha512.c (sha512_process_block): Perform total addition using
29097         128-bit if possible.
29098         (__sha512_finish_ctx): Likewise.
29099         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29100         as 64-bit value.
29101         * crypt/sha256.c (SWAP64): Define.
29102         (sha256_process_block): Perform total addition using 64-bit if
29103         possible.
29104         (__sha256_finish_ctx): Likewise.
29106 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
29108         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
29109         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29110         * nscd/hstcache.c (cache_addhst): Likewise.
29111         * nscd/grpcache.c (cache_addgr): Likewise.
29112         * nscd/aicache.c (addhstaiX): Likewise
29113         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29115 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
29117         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29118         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29119         * nscd/hstcache.c (cache_addhst): Likewise.
29120         * nscd/grpcache.c (cache_addgr): Likewise.
29121         * nscd/aicache.c (addhstaiX): Likewise
29123 2011-07-01  Andreas Schwab  <schwab@redhat.com>
29125         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29126         domain only when needed.
29128 2011-06-30  Andreas Schwab  <schwab@redhat.com>
29130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29131         is always restored.
29133 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
29135         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29136         are re-adding the entry.
29137         * nscd/servicescache.c (cache_addserv): Likewise.
29139 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
29141         * sysdeps/generic/dl-irel.h: fix protection against multiple
29142         inclusions.
29143         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29145 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
29147         [BZ #12935]
29148         * malloc/memusage.sh: Fix quoting in message.
29149         * debug/xtrace.sh: Likewise.
29151         * configure.in: Remove support for --experimental-malloc option, make
29152         it the default.
29153         * config.make.in: Likewise.
29154         * malloc/Makefile: Likewise.
29156 2011-06-27  Andreas Schwab  <schwab@redhat.com>
29158         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29159         two-byte characters.
29161 2011-06-27  Roland McGrath  <roland@hack.frob.com>
29163         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29164         AC_CACHE_CHECK invocation.
29165         * configure: Regenerated.
29167         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29169 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
29171         [BZ #12350]
29172         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
29173         bit from old_res_options.
29175         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29177         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29178         value type for setfct.
29180 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
29182         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29183         __gettimeofday instead of gettimeofday.
29185 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
29187         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29189 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29191         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29193         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29194         info.
29196 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29199         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29200         strcpy-sse2-unaligned strncpy-sse2-unaligned
29201         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29202         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29203         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29204         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29205         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29206         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29207         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29208         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29209         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29210         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29211         (STRCPY): Support SSE2 and SSSE3 versions.
29213 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
29215         [BZ #12874]
29216         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29217         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29218         kernels which artificially limit size of requests.
29220 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29223         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29224         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29225         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29226         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29227         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29228         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29229         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29230         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29231         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29232         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29233         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29234         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29235         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29236         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29238         Enable unaligned load optimization for Intel Core i3, i5 and i7
29239         processors.
29240         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29241         Define.
29242         (index_Fast_Unaligned_Load): Define.
29243         (HAS_FAST_UNALIGNED_LOAD): Define.
29245 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
29247         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29249 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29251         [BZ #12907]
29252         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29253         until it is clear that the information is realy needed.
29254         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29256 2011-06-22  Andreas Schwab  <schwab@redhat.com>
29258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29260 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29262         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29263         /sys/devices/system/cpu/online if it is usable.
29265         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29266         reading the information from the /proc filesystem to once a second.
29268 2011-06-21  Andreas Jaeger  <aj@suse.de>
29270         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29271         NULL after inclusion of kernel headers.
29273 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
29275         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29276         calls to internal_setent.
29278         [BZ #12885]
29279         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29280         addresses using gethostbyname4_r ignore IPv4 addresses.
29282         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29283         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
29285         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29287 2011-06-20  David S. Miller  <davem@davemloft.net>
29289         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29290         inclusions.
29291         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29293         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29294         (elf_irel): Use it.
29295         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29296         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29297         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29298         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29299         * sysdeps/x86_64/dl-irel.h: Likewise.
29301         * elf/dl-runtime.c: Use elf_ifunc_invoke.
29302         * elf/dl-sym.c: Likewise.
29304 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29306         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
29307         need to dereference resplen2.
29309 2011-06-14  Andreas Schwab  <schwab@redhat.com>
29311         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29313 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29315         * Makeconfig: Define vardbdir and inst_vardbdir.
29316         * nss/Makefile: Add rules to install db-Makefile.
29318         * nss/nss_db/db-XXX.c: Cleanup.
29320         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29321         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29322         GLIBC_PRIVATE.
29323         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29324         * nss/makedb.c: Implement -g option to specify that value strings
29325         are generated and should not be added to table iterated over for
29326         get*ent calls.
29327         * nss/nss_db/db-initgroups.c: New file.
29329         * nss/getent.c: Add support for initgroups lookups through getgrouplist
29330         interface.
29332         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29333         (internal_getgrouplist): Adjust to name change.
29334         Update use_initgroups_entry if this is not the first call.
29335         * nss/databases.def: Add initgroups entry.
29337         * nss/makedb.c (compute_tables): Check result of multiple hash table
29338         sizes to minimize maximum chain length.
29340 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
29342         * Versions.def: Add entry for libnss_db.
29343         * shlib-versions: Likewise.
29344         * nss/Makefile: Add rules to build libnss_db.
29345         * nss/Versions: Add libnss_db information.  Organize libnss_files
29346         entries better.
29347         * nss/db-Makefile: Add gshadow support.  Change rules for the new
29348         makedb progra.  Some minor improvements to generate smaller files.
29349         * nss/nss_db/nss_db.h: Move NSS database header data structures to
29350         here from...
29351         * nss/makedb.c: ...here.
29352         Improve database format to be smaller and require less memory at
29353         runtime.
29354         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
29355         db anymore.
29356         * nss/nss_db/db-netgrp.c: Likewise.
29357         * nss/nss_db/db-open.c: Likewise.
29358         * nss/nss_files/flies-XXX.x: Adjust comments.
29359         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29360         * nss/nss_files/files-grp.c: Likewise.
29361         * nss/nss_files/files-hosts.c: Likewise.
29362         * nss/nss_files/files-network.c: Likewise.
29363         * nss/nss_files/files-proto.c: Likewise.
29364         * nss/nss_files/files-pwd.c: Likewise.
29365         * nss/nss_files/files-rpc.c: Likewise.
29366         * nss/nss_files/files-service.c: Likewise.
29367         * nss/nss_files/files-sgrp.c: Likewise.
29368         * nss/nss_files/files-spwd.c: Likewise.
29369         * nss/nss_db/db-alias.c: Removed.
29370         * nss/nss_db/dummy-db.h: Removed.
29372 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
29374         * nss/makedb.c: Rewritten to not use database library.
29375         * nss/Makefile: Update to build new makedb program.
29377 2011-06-14  Andreas Jaeger  <aj@suse.de>
29379         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29380         memset declaration.
29382 2011-06-10  Andreas Schwab  <schwab@redhat.com>
29384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29385         tmpbuf.
29387 2011-06-10  Roland McGrath  <roland@hack.frob.com>
29389         * Makerules (shlib.lds): Fail if the linker script comes out empty.
29390         * elf/Makefile ($(objpfx)ld.so): Likewise.
29392         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29393         Don't list ld.so twice in dependencies.
29395         * posix/bug-regex31.c: Include <stdlib.h>.
29397         * nscd/hstcache.c (cache_addhst): Remove unused variable.
29399         * nis/nss_compat/compat-spwd.c
29400         (getspent_next_nss_netgr): Remove unused variable.
29401         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29403         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29404         nonmembers" output to use the right array.
29406         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29408         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29410         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29411         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29412         * catgets/gencat.c (read_input_file): Likewise.
29413         * locale/programs/locarchive.c (enlarge_archive): Likewise.
29415         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29416         variable definition inside #if's controlling its use.
29418         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29420         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29422         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29424         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29425         unreachable code.
29427         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29429         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29430         * configure: Regenerated.
29432         * Makerules: Revert last change.
29433         * elf/Makefile: Likewise.
29435 2011-06-09  Roland McGrath  <roland@hack.frob.com>
29437         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29438         * elf/Makefile ($(objpfx)librtld.os): Likewise.
29439         (reloc-link): Likewise.
29441 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
29443         * elf/Makefile: Add rules to build pldd.
29444         * elf/pldd.c: New file.
29445         * elf/pldd-xx.c: New file.
29447 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
29449         * version.h: Update for 2.15 development version.
29451 2011-06-07  David S. Miller  <davem@davemloft.net>
29453         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29454         ifuncs.
29455         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29456         elf_machine_lazy_rel): Likewise.
29457         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29458         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29459         elf_machine_lazy_rel): Likewise.
29460         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29461         dl_hwcap via passed in argument.
29462         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29463         Likewise.
29465 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29467         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
29469 2011-06-06  Roland McGrath  <roland@hack.frob.com>
29471         [BZ #12849]
29472         * manual/fdl-1.1.texi: New file, verbatim from:
29473         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29474         * manual/lgpl-2.1.texi: New file, verbatim from:
29475         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29476         * manual/Makefile (licenses): New variable, list those new file names.
29477         (texis): Use it.
29478         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29480         * manual/fdl.texi: File removed.
29481         * manual/lesser.texi: File removed.
29482         * manual/libc.texinfo (Copying, Documentation License):
29483         Use new @include file names, put @appendix directive before @include.
29485 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29487         [BZ #12841]
29488         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29489         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29490         (mq_open): Add __NTH.
29492 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29495         Assume Intel Core i3/i5/i7 processor if AVX is available.
29497 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29499         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29500         typo.
29502 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29504         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29505         memory.  Use alloca_account.  Fix memory leak when retrying.
29507 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29509         * version.h (RELEASE): Bump for 2.14 release.
29510         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29512         * config.make.in (RANLIB): Remove entry.
29514 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29516         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29517         (libc.pot): Work around missing support for .ksh extension in xgettext.
29519         [BZ #12684]
29520         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29521         if both request failed.
29522         (send_dg): In case of server errors clear resplen or *resplen2.
29524         [BZ #12454]
29525         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29526         when there are multiple maps.
29527         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29528         (_dl_fini): Remove test here.
29530         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29532 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29534         [BZ #12350]
29535         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29536         bit from old_res_options.
29537         (gaih_inet): Likewise.
29539         [BZ #11099]
29540         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29541         as signed.
29543         * resolv/res_init.c (res_setoptions): Make the code more compact.
29545         [BZ #11558]
29546         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29547         set RES_USEVC.
29549         [BZ #11634]
29550         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29552         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29554         [BZ #11781]
29555         * malloc/malloc.h: Declare malloc hook variables as volatile.
29557         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29558         in last patch.
29560         [BZ #11799]
29561         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29562         raise in the comment.
29563         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29564         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29565         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29567 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29569         [BZ #12811]
29570         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29571         grow the buffers more if it already has to be sufficient.
29572         (build_wcs_upper_buffer): Likewise.
29573         * posix/regexec.c (check_matching): Likewise.
29574         (clean_state_log_if_needed): Likewise.
29575         (extend_buffers): Don't enlarge buffers beyond size of the input
29576         buffer.
29577         Patches mostly by Emil Wojak <emil@wojak.eu>.
29578         * posix/bug-regex32.c: New file.
29579         * posix/Makefile (tests): Add bug-regex32.
29581         * locale/findlocale.c (_nl_find_locale): Return right away if
29582         _nl_explode_name failed.
29583         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29585         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29587         * debug/xtrace.sh: Unify messages.
29588         * malloc/memusage.sh: Likewise.
29590         [BZ #12813]
29591         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29592         time symbol from vDSO.  Substitute with vsyscall if not available.
29593         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29594         __vdso_time.
29596         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29597         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29598         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29599         Add sendmmsg and internal_sendmmsg.
29600         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29601         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29602         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29604         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29605         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29606         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29608 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29610         [BZ #12813]
29611         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29612         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29613         available.
29614         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29615         __vdso_getcpu.
29617         [BZ #12814]
29618         * iconvdata/Makefile (tests): Add bug-iconv9.
29619         * iconvdata/bug-iconv9.c: New file.
29621 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29623         [BZ #12814]
29624         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29626 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29628         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29629         (struct user_regs_struct): Change intcs field back to cs.
29631 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29633         * po/ja.po: Update from translation team.
29635 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29637         [BZ #12795]
29638         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29639         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29641 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29643         * stdlib/longlong.h: Update from GCC.
29645 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29647         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29648         parameter name.
29649         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29650         Add parameter name.
29651         (__sysconf): Pass it down.
29653 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29655         [BZ #12671]
29656         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29657         some situations.
29658         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29659         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29660         add in in __libc_use_alloca calls.  Adjust callers.
29661         (glob): Use malloc in some situations.
29663         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29664         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29665         pltexit.
29667 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29669         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29670         and CLOCK_BOOTTIME_ALARM.
29672         [BZ #12782]
29673         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29674         is returned.
29676         * string/_strerror.c (__strerror_r): Print negative errors as signed
29677         numbers.
29679         [BZ #12777]
29680         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29681         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29682         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29684         * configure.in: Fix typo in redirection and correct removal of test
29685         files in two cases.
29687         [BZ #12788]
29688         * locale/setlocale.c (new_composite_name): Fix test to check for
29689         identical name of all categories.
29691         [BZ #12792]
29692         * libio/filedoalloc.c (local_isatty): New function.
29693         (_IO_file_doallocate): Use local_isatty.
29694         * stdio-common/perror.c (perror): In case a new stream is used
29695         forward the stream error.
29696         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29697         error flag.
29699 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29701         [BZ #11869]
29702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29703         alloca.
29704         * include/alloca.h (extend_alloca_account): Define.
29706         [BZ #11857]
29707         * posix/regex.h: Fix comments with documentation of user-accessible
29708         fields after compilation and describe correct free'ing of pattern
29709         after re_compile_pattern.
29710         Patch by Reuben Thomas <rrt@sc3d.org>.
29712 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29714         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29715         and -mno-altivec to prevent the compiler from using Altivec and/or
29716         VSX instructions when the corresponding registers are not available.
29718 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29720         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29722 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29724         * libio/freopen.c (freopen): Use __dup2, not dup2.
29725         * libio/freopen64.c (freopen64): Likewise.
29727 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29729         [BZ #12775]
29730         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29731         * math/Makefile (tests): Add test-powl.
29732         (CFLAGS-test-powl.c): Define.
29733         * math/test-powl.c: New file.
29735 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29737         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29739 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29741         [BZ #11837]
29742         * iconvdata/gb18030.c: Update to GB18020-2005.
29744 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29746         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29747         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29748         Patch by Aharon Robbins <arnold@skeeve.com>.
29750         [BZ #11892]
29751         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29752         on the stack.
29754         [BZ #11895]
29755         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29756         through underflows.
29758         [BZ #12766]
29759         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29760         point to strings before performing equality test for error_one_per_line
29761         mode.
29763         [BZ #11697]
29764         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29766         [BZ #11820]
29767         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29768         (struct user_fpregs_struct): Avoid __uint*_t types.
29770         [BZ #6420]
29771         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29772         symbol info.  Use it instead of calling _dl_addr locally.
29773         (lock_and_info): New function.
29774         (tr_freehook): Call lock_and_info and pass symbol info as additional
29775         parameter to tr_where.
29776         (tr_mallochook): Likewise.
29777         (tr_reallochook): Likewise.
29778         (tr_memalignhook): Likewise.
29780         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29781         used and couldn't be at all thread-safe.
29783 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29785         * libio/freopen.c (freopen): Don't close old file descriptor
29786         before the new one is opened.  Instead dup the new file descriptor
29787         to the old one after the new stream is created.
29788         * libio/freopen64.c (freopen64): Likewise.
29789         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29790         * libio/fileops.c (_IO_new_file_close_it): Handle new
29791         _IO_FLAGS2_NOCLOSE flag.
29792         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29793         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29794         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29795         _IO_FLAGS2_NOCLOSE flag.
29796         * include/unistd.h: Add hidden_proto for dup3.
29797         Define __have_dup3.
29798         * io/dup3.c: Define hidden symbol.
29799         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29801         [BZ #7101]
29802         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29803         when an incomplete long option is used.
29804         * posix/tst-getopt_long1.c: New file.
29805         * posix/Makefile (tests): Add tst-getopt_long1.
29807         [BZ #10138]
29808         * scripts/config.guess: Update from autoconf-2.68.
29809         * scripts/config.sub: Likewise.
29811         [BZ #10157]
29812         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29813         tests into ...
29814         (has_cpuclock): ...this.  New function.
29815         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29816         macro here based on has_cpuclock code.
29818         [BZ #10149]
29819         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29820         First byte (not low byte) is now always NUL.
29821         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29823         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29824         Use non-cancelable interfaces.
29826         [BZ #9809]
29827         * locale/iso-639.def: Add entry for Sorani.
29829         [BZ #11901]
29830         * include/stdlib.h: Move include protection to the right place.
29831         Define abort_msg_s.  Declare __abort_msg with it.
29832         * stdlib/abort.c (__abort_msg): Adjust type.
29833         * assert/assert.c (__assert_fail_base): New function.  Majority
29834         of code from __assert_fail.  Allocate memory for __abort_msg with
29835         mmap.
29836         (__assert_fail): Now call __assert_fail_base.
29837         * assert/assert-perr.c: Remove bulk of implementation.  Use
29838         __assert_fail_base.
29839         * include/assert.hL Declare __assert_fail_base.
29840         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29841         mmap.
29842         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29844 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29846         [BZ #11952]
29847         [BZ #12453]
29848         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29849         until all modules are registered in the DTV.
29850         * elf/Makefile: Add rules to build and run tst-tls19.
29851         * elf/tst-tls19.c: New file.
29852         * elf/tst-tls19mod1.c: New file.
29853         * elf/tst-tls19mod2.c: New file.
29854         * elf/tst-tls19mod3.c: New file.
29855         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29857         [BZ #12083]
29858         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29859         correctly.
29861         [BZ #12601]
29862         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29863         two-byte sequence errors.
29864         * iconvdata/Makefile (tests): Add bug-iconv8.
29865         * iconvdata/bug-iconv8.c: New file.
29867         [BZ #12626]
29868         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29869         buf2 definition.
29871         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29873         [BZ #12432]
29874         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29875         (dummy_getcfa): New function.
29876         (init): Get _Unwind_GetCFA address, use dummy if not found.
29877         (backtrace_helper): In recursion check, also check whether CFA changes.
29878         (__backtrace): Completely initialize arg.
29880         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29881         storing incomplete byte sequence in state object.  Avoid testing for
29882         guaranteed too small input if we know there is enough data available.
29884 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29886         * Makeconfig (+link-pie): Indent.
29887         * Rules (binaries-pie): Define if $(have-fpie) and
29888         $(build-shared).
29889         (binaries-shared): Also filter out $(binaries-pie).
29890         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29891         * nscd/Makefile (others-pie): Add nscd.
29892         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29893         ($(objpfx)nscd): Remove command override.
29894         * login/Makefile (others-pie): Add pt_chown.
29895         ($(objpfx)pt_chown): Remove command override.
29896         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29897         remove command overrides.
29899 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29901         * libio/tst_putwc.c: Fix error messages.
29903         [BZ #12724]
29904         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29905         currently writing and seek to current position when not.
29906         * libio/Makefile (tests): Add bug-fclose1.
29907         * libio/bug-fclose1.c: New file.
29909 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29911         [BZ #12511]
29912         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29913         don't set DF_1_NODELETE here.
29914         (do_lookup_x): When entering new entry test for copy relocation
29915         and if necessary set DF_1_NODELETE flag.
29916         * elf/tst-unique4.cc: New file.
29917         * elf/tst-unique4.h: New file.
29918         * elf/tst-unique4lib.cc: New file.
29919         * elf/Makefile: Add rules to build and run tst-unique4.
29920         Patch by Piotr Bury <pbury@goahead.com>.
29922 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29924         [BZ #12052]
29925         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29927         [BZ #12625]
29928         * misc/mntent_r.c (addmntent): Flush the stream after the output
29930         [BZ #12393]
29931         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29932         (is_trusted_path_normalize): Skip initial colon.  Append slash
29933         to empty buffer.  Duplicate is_trusted_path code but allow
29934         constructed patch to be prefix.
29935         (is_dst): Allow $ORIGIN followed by /.
29936         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29937         Correct testing of result of is_trusted_path_normalize
29938         (decompose_rpath): Fix warning.
29940 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29942         [BZ #11257]
29943         * grp/initgroups.c (internal_getgrouplist): When we found the service
29944         list through the initgroups entry in nsswitch.conf do not always
29945         continue on a successful lookup.  Don't always use the
29946         __nss_group_database value if it is set.
29947         * nss/nsswitch.conf (initgroups): Change action for successful db
29948         lookup to continue for compatibility.
29950 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29952         [BZ #11532]
29953         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29954         and CP774 modules.
29955         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29956         and CP774 modules.
29957         * iconvdata/tst-tables.sh: Likewise.
29958         * iconvdata/cp770.c: New file.
29959         * iconvdata/cp771.c: New file.
29960         * iconvdata/cp772.c: New file.
29961         * iconvdata/cp773.c: New file.
29962         * iconvdata/cp774.c: New file.
29963         * iconvdata/testdata/CP770: New file.
29964         * iconvdata/testdata/CP770..UTF8: New file.
29965         * iconvdata/testdata/CP771: New file.
29966         * iconvdata/testdata/CP771..UTF8: New file.
29967         * iconvdata/testdata/CP772: New file.
29968         * iconvdata/testdata/CP772..UTF8: New file.
29969         * iconvdata/testdata/CP773: New file.
29970         * iconvdata/testdata/CP773..UTF8: New file.
29971         * iconvdata/testdata/CP774: New file.
29972         * iconvdata/testdata/CP774..UTF8: New file.
29974         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29975         END CHARMAP line.
29976         * iconvdata/gen-8bit-gap.sh: Likewise.
29977         * iconvdata/gen-8bit.sh: Likewise.
29979         * locale/iso-639.def: Add ary entry.
29981         [BZ #11258]
29982         * locale/C-translit.h.in: Add U20A1 transliteration.
29984         [BZ #12178]
29985         * locale/iso-639.def: Add wae entry.
29986         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29988         [BZ #12545]
29989         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29990         for n.
29992         [BZ #12711]
29993         * locale/C-translit.h.in: Add entry for U20B9.
29994         Patch by pravin.d.s@gmail.com.
29996 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29998         [BZ #12713]
29999         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30000         ENAMETOOLONG use generic getcwd.
30001         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
30002         in rtld.  Use *stat64.
30003         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30004         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30005         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30006         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30007         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30008         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30009         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30010         __fstatat64 macros.
30011         * include/dirent.h: Add libc_hidden_proto for rewinddir.
30012         * dirent/rewinddir.c: Add libc_hidden_def.
30013         * sysdeps/mach/hurd/rewinddir.c: Likewise.
30014         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
30016         * include/dirent.h (__alloc_dir): Add flags parameter.
30017         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30018         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30019         __alloc_dir.
30020         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
30021         from fdopendir if O_CLOEXEC is already set.
30023 2011-03-15  Alan Modra  <amodra@gmail.com>
30025         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30026         l_tls_firstbyte_offset non-zero.  Save padding offset in
30027         l_tls_firstbyte_offset for later use.
30028         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30029         freeing static tls block.
30031 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
30033         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30034         where #ifdef was intended.  The intent is to prevent ARG_MAX from
30035         being defined by the kernel headers.
30037 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
30039         [BZ #12734]
30040         * resolv/resolv.h: Define RES_NOTLDQUERY.
30041         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30042         no-tld-query and set RES_NOTLDQUERY.
30043         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30044         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30045         modern BIND to search name as TLD unless forbidden.
30047 2011-05-07  Petr Baudis  <pasky@suse.cz>
30048             Ulrich Drepper  <drepper@gmail.com>
30050         [BZ #12393]
30051         * elf/dl-load.c (fillin_rpath): Move trusted path check...
30052         (is_trusted_path): ...to here.
30053         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30054         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30055         using is_trusted_path_normalize() in setuid scripts.
30057 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30059         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30060         __BEGIN/__END_DECLS.
30062 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
30064         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30065         NSS_STATUS_NOTFOUND if no record was found.
30067 2011-05-05  Andreas Schwab  <schwab@redhat.com>
30069         * sunrpc/Makefile (headers): Add rpc/netdb.h.
30070         (headers-not-in-tirpc): Remove rpc/netdb.h
30071         * resolv/netdb.h: Revert last change.
30073 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30075         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30076         circular dependency between libgcc.a and libc.a.
30078 2011-05-05  Andreas Schwab  <schwab@redhat.com>
30080         * resolv/netdb.h: Don't include <rpc/netdb.h>.
30081         * nis/Makefile: Don't install rpcsvc/*.
30082         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30083         instead of <rpc/types.h>.
30084         (MAXHOSTNAMELEN): Define.
30086 2011-05-03  Andreas Schwab  <schwab@redhat.com>
30088         * elf/ldconfig.c (add_dir): Don't crash on empty path.
30090 2011-04-28  Maciej Babinski  <mbabinski@google.com>
30092         [BZ #12714]
30093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30094         gethostbyname4_r when IPv6 results are possible.
30096 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
30098         [BZ #12723]
30099         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30100         _PC_PIPE_BUF handling.
30102 2011-04-30  Bruno Haible  <bruno@clisp.org>
30104         [BZ #12717]
30105         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30106         * resolv/netdb.h (getnameinfo): Change type of flags parameter
30107         to 'int'.
30108         * inet/getnameinfo.c (getnameinfo): Likewise.
30110 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
30112         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30113         to groups setting in database lookup.
30114         * nss/nsswitch.conf: Add initgroups entry.
30116 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
30118         [BZ #12685]
30119         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30120         mode string.
30121         Patch by Eric Blake <eblake@redhat.com>.
30123 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
30125         * sunrpc/Makefile (need-export-routines): Add svc_run.
30126         (routines): Remove svc_run.
30127         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30128         * sunrpc/clnt_perr.c (clnt_perrno): Export.
30129         * sunrpc/svc_run.c (svc_run): Likewise.
30130         * sunrpc/svc_udp.c (svcudp_create): Likewise.
30132 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
30134         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30135         problem in reallocation in last patch.
30137 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
30139         * sunrpc/Makefile: Move inclusion of Rules.
30141 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
30143         * nss/nss_files/files-initgroups.c: New file.
30144         * nss/Makefile (libnss_files-routines): Add files-initgroups.
30145         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30146         _nss_files_initgroups_dyn.
30148 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
30150         * elf/elf.h (R_ARM_IRELATIVE): Define.
30152 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
30154         * po/ru.po: Update from translation team.
30156 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
30158         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30159         dependencies.
30161 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
30163         [BZ #12653]
30164         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30165         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30166         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30167         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30168         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30170 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
30172         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30173         differing bytes.
30174         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30175         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30176         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30178 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
30180         [BZ #12420]
30181         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30182         storing it.
30183         * stdlib/bug-getcontext.c: New file.
30184         * stdlib/Makefile: Add rules to build and run bug-getcontext.
30186 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30188         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30189         instructions into .machine "z9-109".
30190         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30191         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30193 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30195         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30196         between environment variables and auxiliary vector.
30198 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
30200         * Makefile: Add rules to build linkobj/libc.so.
30201         * include/libc-symbols.h: Define libc_hidden_nolink.
30202         * include/rpc/auth.h: Mark functions which are to be hidden.
30203         * include/rpc/auth_des.h: Likewise.
30204         * include/rpc/auth_unix.h: Likewise.
30205         * include/rpc/clnt.h: Likewise.
30206         * include/rpc/des_crypt.h: Likewise.
30207         * include/rpc/key_prot.h: Likewise.
30208         * include/rpc/pmap_clnt.h: Likewise.
30209         * include/rpc/pmap_prot.h: Likewise.
30210         * include/rpc/pmap_rmt.h: Likewise.
30211         * include/rpc/rpc_msg.h: Likewise.
30212         * include/rpc/svc.h: Likewise.
30213         * include/rpc/svc_auth.h: Likewise.
30214         * include/rpc/xdr.h: Likewise.
30215         * nis/Makefile: Link all DSOs against linkobj/libc.so.
30216         * nss/Makefile: Likewise.
30217         * sunrpc/Makefile: Don't install headers.  Build library with normal
30218         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
30219         * sunrpc/auth_des.c: Hide exported symbols by default, export some
30220         for the compat linking library.  Remove use of INTDEF/INTUSE.
30221         * sunrpc/auth_none.c: Likewise.
30222         * sunrpc/auth_unix.c: Likewise.
30223         * sunrpc/authdes_prot.c: Likewise.
30224         * sunrpc/authuxprot.c: Likewise.
30225         * sunrpc/clnt_gen.c: Likewise.
30226         * sunrpc/clnt_perr.c: Likewise.
30227         * sunrpc/clnt_raw.c: Likewise.
30228         * sunrpc/clnt_simp.c: Likewise.
30229         * sunrpc/clnt_tcp.c: Likewise.
30230         * sunrpc/clnt_udp.c: Likewise.
30231         * sunrpc/clnt_unix.c: Likewise.
30232         * sunrpc/des_crypt.c: Likewise.
30233         * sunrpc/des_soft.c: Likewise.
30234         * sunrpc/get_myaddr.c: Likewise.
30235         * sunrpc/key_call.c: Likewise.
30236         * sunrpc/key_prot.c: Likewise.
30237         * sunrpc/netname.c: Likewise.
30238         * sunrpc/pm_getmaps.c: Likewise.
30239         * sunrpc/pm_getport.c: Likewise.
30240         * sunrpc/pmap_clnt.c: Likewise.
30241         * sunrpc/pmap_prot.c: Likewise.
30242         * sunrpc/pmap_prot2.c: Likewise.
30243         * sunrpc/pmap_rmt.c: Likewise.
30244         * sunrpc/publickey.c: Likewise.
30245         * sunrpc/rpc_cmsg.c: Likewise.
30246         * sunrpc/rpc_common.c: Likewise.
30247         * sunrpc/rpc_dtable.c: Likewise.
30248         * sunrpc/rpc_prot.c: Likewise.
30249         * sunrpc/rpc_thread.c: Likewise.
30250         * sunrpc/rtime.c: Likewise.
30251         * sunrpc/svc.c: Likewise.
30252         * sunrpc/svc_auth.c: Likewise.
30253         * sunrpc/svc_authux.c: Likewise.
30254         * sunrpc/svc_raw.c: Likewise.
30255         * sunrpc/svc_run.c: Likewise.
30256         * sunrpc/svc_simple.c: Likewise.
30257         * sunrpc/svc_tcp.c: Likewise.
30258         * sunrpc/svc_udp.c: Likewise.
30259         * sunrpc/svc_unix.c: Likewise.
30260         * sunrpc/svcauth_des.c: Likewise.
30261         * sunrpc/xcrypt.c: Likewise.
30262         * sunrpc/xdr.c: Likewise.
30263         * sunrpc/xdr_array.c: Likewise.
30264         * sunrpc/xdr_float.c: Likewise.
30265         * sunrpc/xdr_intXX_t.c: Likewise.
30266         * sunrpc/xdr_mem.c: Likewise.
30267         * sunrpc/xdr_rec.c: Likewise.
30268         * sunrpc/xdr_ref.c: Likewise.
30269         * sunrpc/xdr_sizeof.c: Likewise.
30270         * sunrpc/xdr_stdio.c: Likewise.
30272 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
30274         [BZ #12650]
30275         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30276         * sysdeps/ia64/dl-tls.h: Likewise.
30277         * sysdeps/powerpc/dl-tls.h: Likewise.
30278         * sysdeps/s390/dl-tls.h: Likewise.
30279         * sysdeps/sh/dl-tls.h: Likewise.
30280         * sysdeps/sparc/dl-tls.h: Likewise.
30281         * sysdeps/x86_64/dl-tls.h: Likewise.
30282         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30284 2011-03-14  Andreas Schwab  <schwab@redhat.com>
30286         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30287         rpath element also skip the following colon.
30288         (expand_dynamic_string_token): Add is_path parameter and pass
30289         down to DL_DST_REQUIRED and _dl_dst_substitute.
30290         (decompose_rpath): Call expand_dynamic_string_token with
30291         non-zero is_path.  Ignore empty rpaths.
30292         (_dl_map_object_from_fd): Call expand_dynamic_string_token
30293         with zero is_path.
30295 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
30297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30298         Make cancelable.
30300 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
30302         [BZ #12655]
30303         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30304         Patch by Filipe David Manana <fdmanana@apache.org>.
30306 2011-04-07  Andreas Schwab  <schwab@redhat.com>
30308         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30309         Maintain aligned stack.
30310         (CHECK_RSP): Remove unused macro.
30312 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
30314         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30315         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30317 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
30319         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30321         * include/features.h: Mention __USE_XOPEN2K8 in comment.
30323 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
30325         [BZ #12518]
30326         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30327         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30328         * sysdeps/x86_64/memmove.c: New file.
30329         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30330         (memcpy): Renamed to ...
30331         (__new_memcpy): This.
30332         (memcpy): Provide GLIBC_2_14 memcpy.
30333         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30334         (memcpy): Provide GLIBC_2_2_5 memcpy.
30336 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30338         [BZ #12631]
30339         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30341 2011-03-30  Andreas Schwab  <schwab@redhat.com>
30343         * misc/syncfs.c: New file.
30344         * misc/Makefile (routines): Add syncfs.
30345         * posix/unistd.h: Declare syncfs.
30346         * sysdeps/unix/syscalls.list: Add syncfs.
30348 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30350         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30351         open_by_handle_at.
30352         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30353         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30354         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30355         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30356         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30357         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30358         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30360 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30362         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30363         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30364         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30366         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30367         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30368         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30370         * io/Makefile: Compile fallocate.c, fallocate64.c, and
30371         sync_file_range.c with -fexceptions.
30372         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30373         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30374         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30375         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30376         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30377         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30378         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30379         sync_file_range as cancellation point
30380         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
30381         now a wrapper around __call_sync_file_range with cancellation handling.
30382         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30383         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
30384         function name to __call_sync_file_range.
30385         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30386         Add call_sync_file_range.
30388 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30390         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30391         bits/timex.h.
30393 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30395         * iconv/iconv.h: Fix typo in comment.
30396         * io/fcntl.h: Likewise.
30397         * libio/stdio.h: Likewise.
30398         * posix/spawn.h: Likewise.
30399         * posix/unistd.h: Likewise.
30400         * stdlib/stdlib.h: Likewise.
30401         * time/time.h: Likewise.
30402         * wcsmbs/wchar.h: Likewise.
30404         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30405         open_by_handle): Add.
30406         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30407         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
30408         Augment a few comments.
30409         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30410         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30411         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30412         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30413         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30414         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30415         open_by_handle.
30417         * io/fcntl.h (AT_EMPTY_PATH): Define.
30419 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
30421         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30422         * sysdeps/unix/sysv/linux/bits/time.h: New file.
30423         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30424         to...
30425         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
30426         * Versions.def: Add GLIBC_2.14.
30427         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30428         Export.
30430 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
30432         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30433         round counter.
30434         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30436 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30438         [BZ #12597]
30439         * string/test-strncmp.c (do_page_test): New function.
30440         (check2): Likewise.
30441         (test_main): Call check2.
30442         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30444 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
30446         [BZ #12587]
30447         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30448         Handle cache information in CPU leaf 4.
30449         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30451 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
30453         [BZ #12583]
30454         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30455         character representation.
30456         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30458 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
30460         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30461         END(__isnan) to END(__isnanf) to match function entry point/label
30462         EALIGN(__isnanf,...).
30464 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
30466         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30468 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
30470         [BZ #12510]
30471         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30472         copy from the symbol referenced in the relocation to initialize the
30473         used variable.
30474         Patch by Piotr Bury <pbury@goahead.com>.
30475         * elf/Makefile: Add rules to build and tst-unique3.
30476         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30477         * elf/tst-unique3.cc: New file.
30478         * elf/tst-unique3.h: New file.
30479         * elf/tst-unique3lib.cc: New file.
30480         * elf/tst-unique3lib2.cc: New file.
30482         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30484 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30486         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30487         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30488         to _start.
30490 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30492         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30493         to-be-loaded object along a path to loader is ld.so.
30495 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30496             Ulrich Drepper  <drepper@gmail.com>
30498         * sysdeps/x86_64/memset.S: After aligning destination, code
30499         branches to different locations depending on the value of
30500         misalignment, when multiarch is enabled. Fix this.
30502 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30504         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30505         Set _x86_64_preferred_memory_instruction for AMD processsors.
30506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30507         Set bit_Prefer_SSE_for_memop for AMD processors.
30509 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30511         * libio/fmemopen.c (fmemopen): Optimize a bit.
30513 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30515         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30517 2011-03-03  Roland McGrath  <roland@redhat.com>
30519         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30521 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30523         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30524         __bzero_ultra1 instead of __memset_ultra1.
30526 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30527             Ulrich Drepper  <drepper@gmail.com>
30529         [BZ #12509]
30530         * include/link.h (struct link_map): Add l_orig_initfini.
30531         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30532         returning unsuccessfully.
30533         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30534         close of a file loaded at startup, restore the original l_initfini
30535         list.
30536         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30537         list, store the pointer.
30538         * elf/Makefile ($(objpfx)noload-mem): New rule.
30539         (noload-ENV): Define.
30540         (tests): Add $(objpfx)noload-mem.
30541         * elf/noload.c: Include <memcheck.h>.
30542         (main): Call mtrace.  Close all opened handles.
30544 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30546         [BZ #12454]
30547         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30548         dependencies are missing.
30550 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30552         Fix __if_freereq crash: Unlike the generic version which uses free,
30553         Hurd needs munmap.
30554         * sysdeps/mach/hurd/ifreq.h: New file.
30556 2011-01-27  Petr Baudis  <pasky@suse.cz>
30557             Ulrich Drepper  <drepper@gmail.com>
30559         [BZ 12445]#
30560         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30561         to extend_alloca().
30562         * stdio-common/bug23.c: New file.
30563         * stdio-common/Makefile (tests): Add bug23.
30565 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30566             Ulrich Drepper  <drepper@gmail.com>
30568         [BZ #12489]
30569         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30570         before performing relro protection.  At old place add assertion
30571         to make sure nothing changed.
30573 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30574             Glauber de Oliveira Costa  <glommer@gmail.com>
30576         * elf/elf.h: Add new ARM TLS relocs.
30578 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30581         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30582         cast from r3.
30583         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30584         'tests' variable.
30585         * sysdeps/wordsize-64/tst-writev.c: New file.
30587 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30589         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30590         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30591         insns in _dl_start to prevent a TOC reference before relocs are
30592         resolved.
30594 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30596         [BZ #12469]
30597         * Makeconfig: Remove RANLIB definition.
30598         * Makerules: Don't use RANLIB.
30599         * aclocal.m4: Remove ranlib test.
30600         * configure.in: No need to check for ranlib.
30601         * elf/rtld-Rules: Don't use RANLIB.
30603 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30605         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30606         protection macro.
30607         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30608         inclusion protection macro.
30610         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30611         SIGRTMIN and SIGRTMAX and print information in that case only when
30612         SIGRTMIN is defined.
30614 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30616         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30617         arginfo fn returning -1.
30619         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30620         and thousands string is zero terminated.
30622 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30624         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30625         sysdeps/unix/sysv/linux/bits/socket.h.
30627 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30629         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30630         (__CPU_COUNT): Remove old macros.
30631         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30632         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30633         (__CPU_ALLOC, __CPU_FREE): Add macros.
30634         (__sched_cpualloc, __sched_cpufree): Add declarations.
30636 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30638         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30639         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30640         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30641         (readdhstai): Return value of addhstaiX call.
30642         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30643         (addgrbyX): Return value returned by cache_addgr.
30644         (readdgrbyname): Return value returned by addgrbyX.
30645         (readdgrbygid): Likewise.
30646         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30647         (addpwbyX): Return value returned by cache_addpw.
30648         (readdpwbyname): Return value returned by addhstbyX.
30649         (readdpwbyuid): Likewise.
30650         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30651         (addservbyX): Return value returned by cache_addserv.
30652         (readdservbyname): Return value returned by addservbyX:
30653         (readdservbyport): Likewise.
30654         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30655         (addhstbyX): Return value returned by cache_addhst.
30656         (readdhstbyname): Return value returned by addhstbyX.
30657         (readdhstbyaddr): Likewise.
30658         (readdhstbynamev6): Likewise.
30659         (readdhstbyaddrv6): Likewise.
30660         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30661         (readdinitgroups): Return value returned by addinitgroupsX.
30662         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30663         (prune_cache): Keep track of timeout value of re-added entries.
30664         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30665         * nscd/nscd.h: Adjust prototypes of readd* functions.
30667 2011-02-04  Roland McGrath  <roland@redhat.com>
30669         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30670         (nis_stats): Likewise.
30671         * nis/nis_modify.c (nis_modify): Likewise.
30672         * nis/nis_remove.c (nis_remove): Likewise.
30673         * nis/nis_add.c (nis_add): Likewise.
30675         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30677         * posix/fnmatch_loop.c: Add some consts.
30679         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30681 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30683         [BZ #12460]
30684         * config.make.in (config-cflags-novzeroupper): Define.
30685         * configure.in: Substitute libc_cv_cc_novzeroupper.
30686         * elf/Makefile (AVX-CFLAGS): Define.
30687         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30688         (CFLAGS-tst-auditmod4a.c): Likewise.
30689         (CFLAGS-tst-auditmod4b.c): Likewise.
30690         (CFLAGS-tst-auditmod6b.c): Likewise.
30691         (CFLAGS-tst-auditmod6c.c): Likewise.
30692         (CFLAGS-tst-auditmod7b.c): Likewise.
30693         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30695 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30697         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30698         function to the callback.
30699         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30701 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30703         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30704         of errno.
30706 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30708         [BZ #11724]
30709         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30710         of constructors.
30711         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30712         of destructors.
30713         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30715         [BZ #11724]
30716         * elf/Makefile: Add rules to build and run new test.
30717         * elf/tst-initorder.c: New file.
30718         * elf/tst-initorder.exp: New file.
30719         * elf/tst-initordera1.c: New file.
30720         * elf/tst-initordera2.c: New file.
30721         * elf/tst-initordera3.c: New file.
30722         * elf/tst-initordera4.c: New file.
30723         * elf/tst-initorderb1.c: New file.
30724         * elf/tst-initorderb2.c: New file.
30725         * elf/tst-order-a1.c: New file.
30726         * elf/tst-order-a2.c: New file.
30727         * elf/tst-order-a3.c: New file.
30728         * elf/tst-order-a4.c: New file.
30729         * elf/tst-order-b1.c: New file.
30730         * elf/tst-order-b2.c: New file.
30731         * elf/tst-order-main.c: New file.
30732         New test case by George Gensure <werkt0@gmail.com>.
30734 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30737         decoding ACE if AI_CANONIDN.
30739 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30741         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30743 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30745         * version.h (RELEASE): Bump for 2.13 release.
30746         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30748         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30750         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30751         MADV_NOHUGEPAGE.
30752         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30753         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30754         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30755         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30756         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30757         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30759         * posix/getconf.c: Update copyright year.
30760         * catgets/gencat.c: Likewise.
30761         * csu/version.c: Likewise.
30762         * debug/catchsegv.sh: Likewise.
30763         * debug/xtrace.sh: Likewise.
30764         * elf/ldconfig.c: Likewise.
30765         * elf/ldd.bash.in: Likewise.
30766         * elf/sprof.c (print_version): Likewise.
30767         * iconv/iconv_prog.c: Likewise.
30768         * iconv/iconvconfig.c: Likewise.
30769         * locale/programs/locale.c: Likewise.
30770         * locale/programs/localedef.c: Likewise.
30771         * malloc/memusage.sh: Likewise.
30772         * malloc/mtrace.pl: Likewise.
30773         * nscd/nscd.c (print_version): Likewise.
30774         * nss/getent.c: Likewise.
30776         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30777         PF_CAIF, and PF_ALG.
30778         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30780 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30782         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30783         (modules-names): Use them.
30784         (ifunc-test-modules, ifunc-pie-tests): Define.
30785         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30786         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30787         (test-extras): Likewise.
30788         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30789         $(compile-command.c).
30790         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30791         (all-built-dso): Define.
30792         (check-textrel.out, check-execstack.out): Depend on it.
30794         * configure.in: Don't override --enable-multi-arch.
30796 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30798         [BZ #6812]
30799         * nscd/hstcache.c (tryagain): Define.
30800         (cache_addhst): Return tryagain not notfound for temporary errors.
30801         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30802         failed.
30804 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30806         [BZ #10563]
30807         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30808         to make the syscall.
30809         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30811         [BZ #12378]
30812         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30813         and fall back to matching as normal character if the string ends before
30814         the matching ']' is found.  This is what POSIX requires.
30815         * posix/testfnm.c: Adjust test result.
30816         * posix/globtest.sh: Adjust test result.  Add new test.
30817         * posix/tst-fnmatch.input: Likewise.
30818         * posix/tst-fnmatch2.c: Add new test.
30820 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30822         * elf/Makefile (check-execstack): Revert last change.  Depend on
30823         check-execstack.h.
30824         (check-execstack.h): New target.
30825         (generated): Add check-execstack.h.
30826         * elf/check-execstack.c: Include "check-execstack.h".
30827         (main): Revert last change.
30828         (handle_file): Return zero if GNU_STACK is absent and
30829         DEFAULT_STACK_PERMS doesn't include PF_X.
30831 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30833         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30834         in child fails because the descriptor is already closed.
30835         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30836         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30837         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30839         [BZ #12397]
30840         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30841         syscall.
30843         [BZ #10484]
30844         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30845         temporary buffer used to handle multi lookups locally.
30846         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30848 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30850         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30851         loader is ld.so.
30853 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30855         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30856         alignment for SSE2.
30858 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30860         [BZ #12394]
30861         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30862         characters.  When rounding increased number of integer digits recompute
30863         number of groups.
30864         * stdio-common/tst-grouping.c: New file.
30865         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30867 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30869         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30870         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30872         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30873         void.
30874         * bits/select.h: Likewise.
30876 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30878         * po/ja.po: Update from translation team.
30880 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30882         [BZ #11155]
30883         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30884         implementation just like for lxstat, fxstatat, et al.
30886 2010-12-27  Jim Meyering  <meyering@redhat.com>
30888         [BZ #12348]
30889         * posix/regexec.c (build_trtable): Return failure indication upon
30890         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30892 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30894         [BZ #12201]
30895         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30896         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30897         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30898         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30900         [BZ #12207]
30901         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30903         [BZ #12204]
30904         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30905         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30907 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30909         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30910         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30911         script has SORT_BY_INIT_PRIORITY.
30912         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30913         NO_CTORS_DTORS_SECTIONS is defined.
30914         * elf/soinit.c: Likewise.
30915         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30916         NO_CTORS_DTORS_SECTIONS is defined.
30917         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30918         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30919         * sysdeps/sh/init-first.c: Likewise.
30920         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30922 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30924         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30925         always use the slow path.
30927 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30929         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30930         similar rule which adds the sysdep directories to the header search in
30931         order to pick up the correct platform stackinfo.h.
30932         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30933         perform test if it is, otherwise return successfully without testing.
30934         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30935         DEFAULT_STACK_PERMS define in stackinfo.h.
30936         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30937         defined in stackinfo.h.
30938         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30939         DEFAULT_STACK_PERMS defined in stackinfo.h.
30940         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30941         * sysdeps/ia64/stackinfo.h: Likewise.
30942         * sysdeps/s390/stackinfo.h: Likewise.
30943         * sysdeps/sh/stackinfo.h: Likewise.
30944         * sysdeps/sparc/stackinfo.h: Likewise.
30945         * sysdeps/x86_64/stackinfo.h: Likewise.
30946         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30947         PF_X for powerpc64.  Retain PF_X for powerpc32.
30949 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30951         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30952         accurately.
30953         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30954         GETDENTS_64BIT_ALIGNED.
30956 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30958         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30960 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30962         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30963         _GNU_SOURCE.
30965         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30966         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30967         Remove __restrict.
30968         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30969         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30971 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30973         [BZ #11655]
30974         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30975         are initialized.
30977 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30979         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30981 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30983         * po/it.po: Update from translation team.
30985 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30987         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30988         unused codes.
30990 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30992         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30994 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30996         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30997         specially.
30998         (gaih_getanswer_slice): Likewise.
31000 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
31002         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31004 2010-05-31  Petr Baudis  <pasky@suse.cz>
31006         [BZ #11149]
31007         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31008         silently even in the chroot mode.
31010 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
31012         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31013         last patch a bit.  Pretty printing
31015 2010-05-31  Petr Baudis <pasky@suse.cz>
31017         [BZ #10085]
31018         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31019         initialization of skip_initgroups_dyn.
31021 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
31023         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31024         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31026 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
31028         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31030 2010-11-11  Andreas Schwab  <schwab@redhat.com>
31032         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31033         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31034         (tst-fnmatch-ENV): Set MALLOC_TRACE.
31035         ($(objpfx)tst-fnmatch-mem): New rule.
31036         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31037         * posix/tst-fnmatch.c (main): Call mtrace.
31039 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
31041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31042         Support Intel processor model 6 and model 0x2c.
31044 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
31046         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31047           signed comparison.
31049 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
31051         [BZ #12205]
31052         * string/test-strncasecmp.c (check_result): New function.
31053         (do_one_test): Use it.
31054         (check1): New function.
31055         (test_main): Use it.
31056         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31057         Support strcasecmp and strncasecmp.
31059 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
31061         [BZ #12194]
31062         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31063         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31065 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31067         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31068         IFUNC support.
31069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31070         memset-x86-64.
31071         * sysdeps/x86_64/multiarch/bzero.S: New file.
31072         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31073         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31074         * sysdeps/x86_64/multiarch/memset.S: New file.
31075         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31077         Set bit_Prefer_SSE_for_memop for Intel processors.
31078         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31079         Define.
31080         (index_Prefer_SSE_for_memop): Define.
31081         (HAS_PREFER_SSE_FOR_MEMOP): Define.
31083 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
31085         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31086         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31088 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
31090         [BZ #12191]
31091         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31092         (__x86_64_raw_data_cache_size_half): Likewise.
31093         (__x86_64_raw_shared_cache_size): Likewise.
31094         (__x86_64_raw_shared_cache_size_half): Likewise.
31096         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31097         (__x86_64_raw_data_cache_size_half): Likewise.
31098         (__x86_64_raw_shared_cache_size): Likewise.
31099         (__x86_64_raw_shared_cache_size_half): Likewise.
31100         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31101         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31102         and __x86_64_raw_shared_cache_size_half.  Round
31103         __x86_64_data_cache_size_half, __x86_64_data_cache_size
31104         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31105         to multiple of 256 bytes.
31107 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
31109         [BZ #12167]
31110         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31111         of inacessible symlinks.  Verify result of symlink before returning it.
31112         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31113         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31115 2010-10-28  Erich Ritz  <erichritz@gmail.com>
31117         * math/math.h (isinf): Fix typo in comment.
31119 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
31121         * po/da.po: Update from translation team.
31123 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
31125         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31126         is added to the list.
31128 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31129             Ulrich Drepper  <drepper@gmail.com>
31131         * elf/dl-object.c (_dl_new_object): Don't append the new object to
31132         the global list here.  Move code to...
31133         (_dl_add_to_namespace_list): ...here.  New function.
31134         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31135         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31136         * elf/dl-load.c (lose): Don't remove the element from the list.
31137         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31138         (_dl_map_object): Likewise.
31140 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
31142         [BZ #12159]
31143         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31144         into all bytes of SSE register.
31145         Patch by Richard Li <richardpku@gmail.com>.
31147 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
31149         [BZ #12140]
31150         * malloc/malloc.c (_int_free): Fill correct number of bytes when
31151         perturbing.
31153 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
31155         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31156         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31157         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31158         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31160         submachine.
31161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31163 2010-10-22  Andreas Schwab  <schwab@redhat.com>
31165         * include/dlfcn.h (__RTLD_SECURE): Define.
31166         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
31167         mode & __RTLD_SECURE instead.
31168         (open_path): Rename preloaded parameter to secure.
31169         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31170         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31171         * elf/dl-deps.c (openaux): Likewise.
31172         * elf/rtld.c (struct map_args): Remove is_preloaded.
31173         (map_doit): Don't use it.
31174         (dl_main): Likewise.
31175         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31176         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31178 2010-09-09  Andreas Schwab  <schwab@redhat.com>
31180         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31181         (sysd-rules-targets): Remove duplicates.
31182         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31183         rtld-%.$o dependency.
31185 2010-10-18  Andreas Schwab  <schwab@redhat.com>
31187         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31188         _dl_map_object do it.
31190 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
31192         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31193         fast fma builtins, define the macros in the C99 standard.
31194         (FP_FAST_FMAF): Likewise.
31195         (FP_FAST_FMAL): Likewise.
31196         * sysdeps/x86_64/bits/mathdef.h: Likewise.
31198         * bits/mathdef.h: Update copyright year.
31199         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31201 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
31203         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31204         builtins, define the macros in the C99 standard.
31205         (FP_FAST_FMAF): Likewise.
31206         (FP_FAST_FMAL): Likewise.
31207         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31208         multiply/add.
31209         (FP_FAST_FMAF): Likewise.
31211 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
31213         [BZ #3268]
31214         * math/libm-test.inc (fma_test): Some new testcases.
31215         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31216         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31217         y and infinite z.  Do multiplication by C already in long double.
31218         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31220         y and infinite z.  Do bitwise or of inexact bit into u.d.
31221         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31222         * sysdeps/i386/fpu/s_fmaf.S: Removed.
31223         * sysdeps/i386/fpu/s_fma.S: Removed.
31224         * sysdeps/i386/fpu/s_fmal.S: Removed.
31226 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
31228         [BZ #3268]
31229         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31231         computation is not scheduled after fetestexcept.  Fix value
31232         of minimum denormal long double.
31234 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
31236         [BZ #3268]
31237         * math/libm-test.inc (fma_test): Add some more tests.
31238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31239         correctly.
31241 2010-10-15  Andreas Schwab  <schwab@redhat.com>
31243         * scripts/data/localplt-s390-linux-gnu.data: New file.
31244         * scripts/data/localplt-s390x-linux-gnu.data: New file.
31246 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
31248         [BZ #3268]
31249         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31250         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31251         instead of dbl-64.
31252         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31253         inlines.
31254         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31256         if one of x and y is very large and the other is subnormal.
31257         * sysdeps/s390/fpu/s_fmaf.c: New file.
31258         * sysdeps/s390/fpu/s_fma.c: New file.
31259         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31260         * sysdeps/powerpc/fpu/s_fma.S: New file.
31261         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31262         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31263         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31265 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
31267         [BZ #3268]
31268         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31269         fma tests.
31270         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31271         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31272         * sysdeps/i386/i686/multiarch/s_fma.c: Include
31273         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31274         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31275         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31276         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31278 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
31280         [BZ #12078]
31281         * posix/regcomp.c (parse_branch): One more memory leak plugged.
31282         * posix/bug-regex31.input: Add test case.
31284 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31286         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31287         * posix/bug-regex31.input: New file.
31289         [BZ #12078]
31290         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31291         (parse_sub_exp): Fix last change, use postorder.
31293         * posix/bug-regex31.c: New file.
31294         * posix/Makefile: Add rules to build and run bug-regex31.
31296         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31298         [BZ #12078]
31299         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31301         [BZ #12108]
31302         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31303         to have entries in sys_siglist.
31305         [BZ #12093]
31306         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31307         be NULL.
31309 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
31311         [BZ #3268]
31312         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31313         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31314         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31315         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31316         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31317         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31318         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31319         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31320         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31321         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31322         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31323         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31324         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31325         * math/ftestexcept.c (fetestexcept): Likewise.
31326         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31327         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31328         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31329         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31330         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31331         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31332         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31334 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31336         [BZ #12107]
31337         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31338         newline.
31340 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
31342         * string/bug-strstr1.c: New file.
31343         * string/Makefile: Add rules to build and run bug-strstr1.
31345 2010-10-05  Eric Blake  <eblake@redhat.com>
31347         [BZ #12092]
31348         * string/str-two-way.h (two_way_long_needle): Always clear memory
31349         when skipping input due to the shift table.
31351 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
31353         [BZ #12005]
31354         * malloc/mcheck.c: Handle large requests.
31356         [BZ #12077]
31357         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31358         for strncmp and strncasecmp.
31359         * string/stratcliff.c: Add tests for strcmp and strncmp.
31360         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31362 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31364         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31365         __set_fpscr.
31367 2010-09-30  Andreas Jaeger  <aj@suse.de>
31369         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31370         (CGROUP_SUPER_MAGIC): Define.
31371         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31372         Handle btrfs and cgroup file systems.
31373         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31374         Likewise.
31376 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
31378         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31379         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31381 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31383         [BZ #12067]
31384         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31385         trying to locate the ELF header.
31387 2010-09-27  Andreas Schwab  <schwab@redhat.com>
31389         [BZ #11611]
31390         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31391         Mask out sign-bit copies when constructing f_fsid.
31393 2010-09-24  Petr Baudis <pasky@suse.cz>
31395         * debug/stack_chk_fail_local.c: Add missing licence exception.
31396         * debug/warning-nop.c: Likewise.
31398 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
31400         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31401         implementing getdents64 using getdents syscall, set d_type if
31402         __ASSUME_GETDENTS32_D_TYPE.
31404 2010-09-16  Andreas Schwab  <schwab@redhat.com>
31406         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31407         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31409 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
31411         [BZ #12037]
31412         * posix/unistd.h: Undo change of feature selection for ftruncate from
31413         2010-01-11.
31415 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
31417         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31418         detection.
31420 2010-09-20  Andreas Schwab  <schwab@redhat.com>
31422         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31423         fanotify_mark.
31424         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31426 2010-09-14  Andreas Schwab  <schwab@redhat.com>
31428         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31429         variables after CHECK_SP call.
31430         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31432 2010-09-13  Andreas Schwab  <schwab@redhat.com>
31433             Ulrich Drepper  <drepper@redhat.com>
31435         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31436         re-relocationg ld.so.
31437         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31438         _dl_init_paths call.
31439         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
31440         here anymore.
31442 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
31444         * resolv/res_init.c (__res_vinit): Count the default server we added.
31446 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
31447             Ulrich Drepper  <drepper@redhat.com>
31449         [BZ #11968]
31450         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31451         (____longjmp_chk): Use %ebx for saving value across system call.
31452         Add unwind info.
31454 2010-09-06  Andreas Schwab  <schwab@redhat.com>
31456         * manual/Makefile: Don't mix pattern rules with normal rules.
31458 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31460         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31461         operation.
31462         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31463         * libio/iofopncook.c (_IO_cookie_init): Likewise.
31464         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31465         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31466         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31467         Likewise.
31469 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
31471         [BZ #11979]
31472         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31473         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31475 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31477         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31478         * sysdeps/x86_64/addmul_1.S: Likewise.
31479         * sysdeps/x86_64/lshift.S: Likewise.
31480         * sysdeps/x86_64/mul_1.S: Likewise.
31481         * sysdeps/x86_64/rshift.S: Likewise.
31482         * sysdeps/x86_64/sub_n.S: Likewise.
31483         * sysdeps/x86_64/submul_1.S: Likewise.
31485 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31487         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31488         Define __sched_param instead of SCHED_* and sched_param when
31489         <bits/sched.h> is included with __need_schedparam defined.
31490         * bits/sched.h [__need_schedparam]
31491         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31492         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31493         (__defined_schedparam): Define to 1.
31494         (__sched_param): New structure, identical to sched_param.
31495         (__need_schedparam): Undefine.
31497 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31499         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31500         (epoll_create1): Declare.
31502         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31504 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31506         [BZ #7066]
31507         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31508         shifting retval into place.
31510 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31512         * nis/rpcsvc/nis.h: Update copyright notice.
31513         * nis/rpcsvc/nis.x: Likewise.
31514         * nis/rpcsvc/nis_callback.h: Likewise.
31515         * nis/rpcsvc/nis_callback.x: Likewise.
31516         * nis/rpcsvc/nis_object.x: Likewise.
31517         * nis/rpcsvc/nis_tags.h: Likewise.
31518         * nis/rpcsvc/yp.h: Likewise.
31519         * nis/rpcsvc/yp.x: Likewise.
31520         * nis/rpcsvc/ypupd.h: Likewise.
31521         * nis/yp_xdr.c: Likewise.
31522         * nis/ypupdate_xdr.c: Likewise.
31524         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31525         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31526         (pmap_getport): Use __libc_rpc_getport.
31527         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31528         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31529         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31531 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31534         fanotify_mark.
31536 2010-08-27  Roland McGrath  <roland@redhat.com>
31538         * sysdeps/i386/i686/multiarch/Makefile
31539         (CFLAGS-varshift.c): New variable.
31541 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31543         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31544         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31546         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31548         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31550 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31552         * sysdeps/x86_64/strlen.S: Unroll the loop.
31553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31554         strlen-sse2 strlen-sse2-bsf.
31555         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31556         __strlen_no_bsf if bit_Slow_BSF is set.
31557         (__strlen_sse42): Removed.
31558         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31559         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31561 2010-08-25  Roland McGrath  <roland@redhat.com>
31563         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31564         * sysdeps/x86_64/multiarch/varshift.c: New file.
31565         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31566         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31567         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31568         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31570 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31572         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31573         strlen-sse2 strlen-sse2-bsf.
31574         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31575         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31576         (__strlen_sse2): Removed.
31577         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31578         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31580         bit_Slow_BSF for Atom.
31581         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31582         (index_Slow_BSF): Define.
31583         (HAS_SLOW_BSF): Define.
31585 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31587         [BZ #10851]
31588         * resolv/res_init.c (__res_vinit): When no server address at all
31589         is given default to loopback.
31591 2010-08-24  Roland McGrath  <roland@redhat.com>
31593         * configure.in: Remove config-name.h generation.
31594         * configure: Regenerated.
31595         * config-name.in: File removed.
31596         * scripts/config-uname.sh: New file.
31597         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31598         ($(objdir)config-name.h): New target.
31600         * sunrpc/rpc_parse.h: Avoid nested comment.
31602 2010-08-24  Richard Henderson  <rth@redhat.com>
31603             Ulrich Drepper  <drepper@redhat.com>
31604             H.J. Lu  <hongjiu.lu@intel.com>
31606         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31608         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31609         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31610         _mm_alignr_epi8 with _mm_loadu_si128.
31611         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31612         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31613         (__m128i_shift_right): Removed.
31614         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31615         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31616         * sysdeps/x86_64/multiarch/varshift.h: New file.
31617         * sysdeps/x86_64/multiarch/varshift.S: New file.
31619 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31621         * configure.in: Move assembler checks to before sysdep dir checking.
31623 2010-08-20  Petr Baudis  <pasky@suse.cz>
31625         * LICENSES: Sync the sunrpc license.
31627 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31629         * sunrpc/auth_des.c: Update copyright notice once again.
31630         * sunrpc/auth_none.c: Likewise.
31631         * sunrpc/auth_unix.c: Likewise.
31632         * sunrpc/authdes_prot.c: Likewise.
31633         * sunrpc/authuxprot.c: Likewise.
31634         * sunrpc/bindrsvprt.c: Likewise.
31635         * sunrpc/clnt_gen.c: Likewise.
31636         * sunrpc/clnt_perr.c: Likewise.
31637         * sunrpc/clnt_raw.c: Likewise.
31638         * sunrpc/clnt_simp.c: Likewise.
31639         * sunrpc/clnt_tcp.c: Likewise.
31640         * sunrpc/clnt_udp.c: Likewise.
31641         * sunrpc/clnt_unix.c: Likewise.
31642         * sunrpc/des_crypt.c: Likewise.
31643         * sunrpc/des_soft.c: Likewise.
31644         * sunrpc/get_myaddr.c: Likewise.
31645         * sunrpc/getrpcport.c: Likewise.
31646         * sunrpc/key_call.c: Likewise.
31647         * sunrpc/key_prot.c: Likewise.
31648         * sunrpc/openchild.c: Likewise.
31649         * sunrpc/pm_getmaps.c: Likewise.
31650         * sunrpc/pm_getport.c: Likewise.
31651         * sunrpc/pmap_clnt.c: Likewise.
31652         * sunrpc/pmap_prot.c: Likewise.
31653         * sunrpc/pmap_prot2.c: Likewise.
31654         * sunrpc/pmap_rmt.c: Likewise.
31655         * sunrpc/rpc/auth.h: Likewise.
31656         * sunrpc/rpc/auth_unix.h: Likewise.
31657         * sunrpc/rpc/clnt.h: Likewise.
31658         * sunrpc/rpc/des_crypt.h: Likewise.
31659         * sunrpc/rpc/key_prot.h: Likewise.
31660         * sunrpc/rpc/netdb.h: Likewise.
31661         * sunrpc/rpc/pmap_clnt.h: Likewise.
31662         * sunrpc/rpc/pmap_prot.h: Likewise.
31663         * sunrpc/rpc/pmap_rmt.h: Likewise.
31664         * sunrpc/rpc/rpc.h: Likewise.
31665         * sunrpc/rpc/rpc_des.h: Likewise.
31666         * sunrpc/rpc/rpc_msg.h: Likewise.
31667         * sunrpc/rpc/svc.h: Likewise.
31668         * sunrpc/rpc/svc_auth.h: Likewise.
31669         * sunrpc/rpc/types.h: Likewise.
31670         * sunrpc/rpc/xdr.h: Likewise.
31671         * sunrpc/rpc_clntout.c: Likewise.
31672         * sunrpc/rpc_cmsg.c: Likewise.
31673         * sunrpc/rpc_common.c: Likewise.
31674         * sunrpc/rpc_cout.c: Likewise.
31675         * sunrpc/rpc_dtable.c: Likewise.
31676         * sunrpc/rpc_hout.c: Likewise.
31677         * sunrpc/rpc_main.c: Likewise.
31678         * sunrpc/rpc_parse.c: Likewise.
31679         * sunrpc/rpc_parse.h: Likewise.
31680         * sunrpc/rpc_prot.c: Likewise.
31681         * sunrpc/rpc_sample.c: Likewise.
31682         * sunrpc/rpc_scan.c: Likewise.
31683         * sunrpc/rpc_scan.h: Likewise.
31684         * sunrpc/rpc_svcout.c: Likewise.
31685         * sunrpc/rpc_tblout.c: Likewise.
31686         * sunrpc/rpc_util.c: Likewise.
31687         * sunrpc/rpc_util.h: Likewise.
31688         * sunrpc/rpcinfo.c: Likewise.
31689         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31690         * sunrpc/rpcsvc/key_prot.x: Likewise.
31691         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31692         * sunrpc/rpcsvc/mount.x: Likewise.
31693         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31694         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31695         * sunrpc/rpcsvc/rex.x: Likewise.
31696         * sunrpc/rpcsvc/rstat.x: Likewise.
31697         * sunrpc/rpcsvc/rusers.x: Likewise.
31698         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31699         * sunrpc/rpcsvc/spray.x: Likewise.
31700         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31701         * sunrpc/rtime.c: Likewise.
31702         * sunrpc/svc.c: Likewise.
31703         * sunrpc/svc_auth.c: Likewise.
31704         * sunrpc/svc_authux.c: Likewise.
31705         * sunrpc/svc_raw.c: Likewise.
31706         * sunrpc/svc_run.c: Likewise.
31707         * sunrpc/svc_simple.c: Likewise.
31708         * sunrpc/svc_tcp.c: Likewise.
31709         * sunrpc/svc_udp.c: Likewise.
31710         * sunrpc/svc_unix.c: Likewise.
31711         * sunrpc/svcauth_des.c: Likewise.
31712         * sunrpc/xcrypt.c: Likewise.
31713         * sunrpc/xdr.c: Likewise.
31714         * sunrpc/xdr_array.c: Likewise.
31715         * sunrpc/xdr_float.c: Likewise.
31716         * sunrpc/xdr_mem.c: Likewise.
31717         * sunrpc/xdr_rec.c: Likewise.
31718         * sunrpc/xdr_ref.c: Likewise.
31719         * sunrpc/xdr_sizeof.c: Likewise.
31720         * sunrpc/xdr_stdio.c: Likewise.
31722         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31723         handling.
31725 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31727         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31729 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31731         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31732         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31733         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31734         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31735         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31736         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31737         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31738         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31739         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31740         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31741         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31742         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31743         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31744         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31746 2010-07-26  Anton Blanchard  <anton@samba.org>
31748         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31749         * malloc/arena.c (heap_trim): Likewise.
31751 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31753         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31754         here.  Not...
31755         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31756         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31758 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31760         * sysdeps/i386/elf/Makefile: New file.
31762 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31764         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31765         from fanotify_init.
31766         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31767         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31769 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31771         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31772         of strncasecmp_l.
31773         * sysdeps/multiarch/strcmp.S: Likewise.
31775 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31777         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31778         strncase_l-nonascii.
31779         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31780         Add strncase_l-ssse3.
31781         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31782         * sysdeps/x86_64/strcmp.S: Likewise.
31783         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31784         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31785         * sysdeps/x86_64/strncase.S: New file.
31786         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31787         * sysdeps/x86_64/strncase_l.S: New file.
31788         * string/Makefile (strop-tests): Add strncasecmp.
31789         * string/test-strncasecmp.c: New file.
31791         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31792         warning.
31794         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31795         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31797 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31799         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31801 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31803         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31804         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31805         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31807 2010-05-01  Alan Modra  <amodra@gmail.com>
31809         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31810         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31811         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31812         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31813         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31814         tidying.  Don't tail-call __sigjmp_save for static lib.
31815         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31816         save location.
31817         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31818         (CALL_MCOUNT): Add eh info, and nop after bl.
31819         (TAIL_CALL_SYSCALL_ERROR): New macro.
31820         (PSEUDO_RET): Use it.
31821         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31822         Correct save location of integer regs and cr.
31823         (_dl_profile_resolve): Correct cr save location.  Delete nops
31824         after bl when SHARED.  Reduce cfi size a little by better
31825         placement of cfi directives.
31826         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31827         make a stack frame.  Instead use parm save area as a temp.
31828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31829         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31831         Don't make a stack frame for parent, use parm save area.
31832         Increase child stack frame to 112 bytes.  Don't save unused reg,
31833         and adjust reg usage.  Set up cfi on error recovery and
31834         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31836         (__makecontext): Add dummy nop after jump to exit.
31837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31838         Use correct parm save area and cr save, reduce stack frame.
31839         Correct cfi for possible PSEUDO_RET frame setup.
31840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31841         Branch to local label emitted by PSEUDO_RET rather than
31842         __syscall_error.
31844 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31846         [BZ #11904]
31847         * locale/programs/locale.c (print_assignment): New function.
31848         (show_locale_vars): Use it.
31850 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31852         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31853         field.
31854         (struct statfs64): Likewise.
31855         (_STATFS_F_FLAGS): Define.
31856         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31857         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31858         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31859         (ST_VALID): Define locally.
31860         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31861         __statvfs_getflags, use the provided value.
31862         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31863         __ASSUME_STATFS_F_FLAGS.
31865         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31867         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31868         Add sys/fanotify.h.
31869         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31870         fanotify_mask for GLIBC_2.13.
31871         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31872         fanotify_init and fanotify_mark.
31873         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31874         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31876         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31877         Add prlimit.
31878         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31879         prlimit64 for GLIBC_2.13.
31880         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31881         prlimit64.
31882         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31883         syscall.
31884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31885         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31886         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31887         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31888         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31889         add prlimit alias.
31890         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31892         [BZ #11903]
31893         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31894         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31896         * nss/Makefile: Add rules to build and run tst-nss-test1.
31897         * shlib-versions: Add entry for libnss_test1.
31898         * nss/nss_test1.c: New file.
31899         * nss/tst-nss-test1.c: New file.
31901         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31902         (__nss_configure_lookup): Set appropriate entry in
31903         __nss_configure_lookup to true.
31904         * nss/nsswitch.h: Define enum with indeces of databases in
31905         databases and __nss_database_custom arrays.  Declare
31906         __nss_database_custom.
31907         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31908         to avoid using nscd when custom rules are installed.
31909         * nss/getXXbyYY_r.c: Likewise.
31910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31912         * nss/nss_files/files-parse.c: Whitespace fixes.
31914 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31916         [BZ #11883]
31917         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31918         * posix/fnmatch_loop.c: Likewise.
31920 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31922         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31923         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31924         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31925         * Versions.def [GLIBC_2.13]: Add.
31927 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31929         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31930         Also fail if tpwd after pwuid call is NULL.
31932 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31934         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31935         when converting to ms.
31937 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31939         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31940         EOPNOTSUPP errors with ENOTTY.
31941         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31942         EOPNOTSUPP errors with ENOTTY.
31944 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31946         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31947         Add strcasecmp_l-ssse3.
31948         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31949         strcasecmp.
31950         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31951         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31952         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31954 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31956         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31958         * string/Makefile (strop-tests): Add strcasecmp.
31959         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31960         strcasecmp_l-nonascii.
31961         (gen-as-const-headers): Add locale-defines.sym.
31962         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31963         * sysdeps/x86_64/strcasecmp.S: New file.
31964         * sysdeps/x86_64/strcasecmp_l.S: New file.
31965         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31966         * sysdeps/x86_64/locale-defines.sym: New file.
31967         * string/test-strcasecmp.c: New file.
31969         * string/test-strcasestr.c: Test both ends of the range of characters.
31970         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31972 2010-07-29  Roland McGrath  <roland@redhat.com>
31974         [BZ #11856]
31975         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31977 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31979         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31980         for ld.so.
31982 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31984         * manual/memory.texi (Malloc Tunable Parameters): Document
31985         M_PERTURB.
31987 2010-07-26  Roland McGrath  <roland@redhat.com>
31989         [BZ #11840]
31990         * configure.in (-fgnu89-inline check): Set and substitute
31991         gnu89_inline, not libc_cv_gnu89_inline.
31992         * configure: Regenerated.
31993         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31995 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31997         * string/test-strnlen.c: New file.
31998         * string/Makefile (strop-tests): Add strnlen.
31999         * string/tester.c (test_strnlen): Add a few more test cases.
32000         * string/tst-strlen.c: Better error reporting.
32002         * sysdeps/x86_64/strnlen.S: New file.
32004 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
32006         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32007         lower-latency instructions.
32009 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
32011         * string/test-strcasestr.c: New file.
32012         * string/test-strstr.c: New file.
32013         * string/Makefile (strop-tests): Add strstr and strcasestr.
32014         * string/str-two-way.h: Don't undefine MAX.
32015         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32017 2010-07-21  Andreas Schwab  <schwab@redhat.com>
32019         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32020         strcasestr-nonascii.
32021         (CFLAGS-strcasestr-nonascii.c): Define.
32022         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32023         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32024         Remove unused attribute.
32026 2010-07-20  Roland McGrath  <roland@redhat.com>
32028         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32029         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
32030         ld.so.cache was broken.  With it, there is no way to disable dsocaps
32031         like LD_HWCAP_MASK can disable hwcaps.
32033 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32035         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32037 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
32039         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32040         call in strcasestr.
32041         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32042         __strcasestr_sse42_nonascii.
32043         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32044         strcasestr-nonascii.c.
32045         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32047 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
32049         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32050         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32051         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32052         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32054 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
32056         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32057         fcntl.
32059 2010-07-06  Andreas Schwab  <schwab@redhat.com>
32061         [BZ #11577]
32062         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32063         dl_signal_cerror.
32065 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
32067         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32068         _PC_PIPE_BUF using F_GETPIPE_SZ.
32070 2010-07-05  Roland McGrath  <roland@redhat.com>
32072         * manual/arith.texi (Rounding Functions): Fix rint description
32073         implicit in round description.
32075 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
32077         * elf/Makefile: Fix linking for a few tests to make recent linker
32078         happy.
32080 2010-06-30  Andreas Schwab  <schwab@redhat.com>
32082         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32083         $(common-objpfx)libc_nonshared.a.
32085 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
32087         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32088         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32089         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32090         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32091         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32092         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32093         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32094         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32109         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32110         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32111         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32112         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32113         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32114         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32115         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32116         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32117         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32118         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32119         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32120         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32136 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
32138         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32139         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
32140         * string/memmove.c (memmove): Renamed to ...
32141         (MEMMOVE): ...this.  Default to memmove.
32142         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32143         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32144         (END_CHK): Define.
32145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32146         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32147         mempcpy-ssse3-back memmove-ssse3-back.
32148         * sysdeps/x86_64/multiarch/bcopy.S: New file .
32149         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32150         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32151         * sysdeps/x86_64/multiarch/memcpy.S: New file.
32152         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32153         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32154         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32155         * sysdeps/x86_64/multiarch/memmove.c: New file.
32156         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32157         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32158         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32159         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32160         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32161         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32162         Define.
32163         (index_Fast_Copy_Backward): Define.
32164         (HAS_ARCH_FEATURE): Define.
32165         (HAS_FAST_REP_STRING): Define.
32166         (HAS_FAST_COPY_BACKWARD): Define.
32168 2010-06-21  Andreas Schwab  <schwab@redhat.com>
32170         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32171         Restore proper fallback handling.
32173 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
32175         [BZ #11701]
32176         * posix/group_member.c (__group_member): Correct checking loop.
32178         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32179         OOM in getpwuid_r correctly.  Return error number when the caller
32180         should return, otherwise -1.
32181         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32182         call returning > 0 value.
32183         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32185 2010-06-07  Andreas Schwab  <schwab@redhat.com>
32187         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32188         libc_nonshared.a from targets in modules-names.
32190 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
32192         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32193         requires it.
32195 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
32197         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32198         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32199         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32200         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32202 2010-06-02  Andreas Schwab  <schwab@redhat.com>
32204         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32206 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
32208         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32209         and F_GETPIPE_SZ.
32210         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32211         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32212         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32214         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32215         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32217 2010-06-14  Roland McGrath  <roland@redhat.com>
32219         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32221 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
32223         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32224         __REDIRECT followed by __THROW.
32225         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32226         * posix/getopt.h (getopt): Likewise.
32228 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32230         * hurd/lookup-at.c (__file_name_lookup_at): Accept
32231         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
32232         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32233         in AT_FLAGS.
32234         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32235         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32237 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
32239         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32241 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
32243         [BZ #11640]
32244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32245         Properly check family and model.
32247 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
32249         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32251 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
32253         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32255 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
32257         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32258         symbol reference.
32260 2010-05-19  Andreas Schwab  <schwab@redhat.com>
32262         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32263         symbol reference.
32265 2010-05-21  Andreas Schwab  <schwab@redhat.com>
32267         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32268         and internal_recvmmsg.
32269         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32270         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32271         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32272         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32274         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32275         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32276         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32278 2010-05-20  Andreas Schwab  <schwab@redhat.com>
32280         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32282 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
32284         POWER7 optimizations.
32285         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32286         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32288 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
32290         * version.h: Update for 2.13 development version.
32292 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
32294         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32295         exceptions.  Return 0.
32297 2010-05-07  Roland McGrath  <roland@redhat.com>
32299         * elf/ldconfig.c (main): Add a const.
32301 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
32303         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32304         (args_options): Add no-idn option.
32305         (ahosts_keys_int): Add idn_flags to ai_flags.
32306         (parse_option): Handle 'i' option to clear idn_flags.
32308         * malloc/malloc.c (_int_free): Possible race in the most recently
32309         added check.  Only act on the data if no current modification
32310         happened.
32312 See ChangeLog.17 for earlier changes.