1 2013-08-27 Roland McGrath <roland@hack.frob.com>
3 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6 * resolv/res_mkquery.c: Include <sys/time.h>.
8 * inet/ifreq.c: Moved to ...
9 * sysdeps/unix/ifreq.c: ... here.
10 * inet/ifreq.c: New file, true stub version.
12 * socket/sa_len.c: New file.
13 * socket/Makefile (aux): Add it.
14 * sysdeps/unix/sysv/linux/Makefile
15 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17 and #include <socket/sa_len.c>.
18 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22 * bits/socket.h: ... here.
24 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28 2013-08-27 Andreas Schwab <schwab@suse.de>
31 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34 * string/test-strcasecmp.c (test_main): Run tests in several
36 * string/test-strncasecmp.c (test_main): Likewise.
38 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40 to __strcasecmp_nonascii and __strncasecmp_nonascii.
41 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42 (__strncasecmp_ssse3) [PIC]: Likewise.
44 2013-08-26 Roland McGrath <roland@hack.frob.com>
46 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49 instead of explicitly declaring xdecrypt.
50 * nis/nss_nis/nis-publickey.c: Likewise.
52 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
55 * nscd/aicache.c: Include res_hconf.h.
56 (addhstaiX): Initialize res_hconf.
58 2013-08-26 Andreas Schwab <schwab@suse.de>
60 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
61 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
65 * nscd/aicache.c (addhstaiX): Fix indentation.
67 2013-08-25 Mike Frysinger <vapier@gentoo.org>
69 * configure.ac: Quote $build_pt_chown test.
70 * configure: Regenerated.
72 2013-08-23 Joseph Myers <joseph@codesourcery.com>
75 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
76 * math/s_cexpf.c (__cexpf): Likewise.
77 * math/s_cexpl.c (__cexpl): Likewise.
78 * math/libm-test.inc (cexp_test_data): Correct expected return
79 value for NaN + i0. Add another test.
81 2013-08-22 David S. Miller <davem@davemloft.net>
83 * po/ca.po: Update Catalan translation from translation project.
84 * po/uk.po: Add Ukrainian translations from translation project.
86 2013-08-21 Joseph Myers <joseph@codesourcery.com>
89 * math/s_fdim.c (__fdim): Check for infinite arguments if result
90 is infinite, not alongside NaN test.
91 * math/s_fdimf.c (__fdimf): Likewise.
92 * math/s_fdiml.c (__fdiml): Likewise.
93 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
96 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
98 * argp/argp-help.c: Fix typos.
99 * crypt/speeds.c: Likewise.
100 * csu/check_fds.c: Likewise.
101 * elf/dl-load.c: Likewise.
102 * elf/dl-open.c: Likewise.
103 * elf/reldep3.c: Likewise.
104 * elf/reldep.c: Likewise.
105 * elf/sprof.c: Likewise.
106 * iconv/iconv_charmap.c: Likewise.
107 * iconv/skeleton.c: Likewise.
108 * iconv/strtab.c: Likewise.
109 * io/lockf64.c: Likewise.
110 * libio/libioP.h: Likewise.
111 * resolv/gai_notify.c: Likewise.
112 * resolv/ns_name.c: Likewise.
113 * resolv/ns_samedomain.c: Likewise.
114 * resolv/res_send.c: Likewise.
115 * stdlib/random.c: Likewise.
116 * sunrpc/rpc/xdr.h: Likewise.
117 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
118 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
119 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
120 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
121 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
125 * sysdeps/mach/hurd/check_fds.c: Likewise.
126 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
127 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
128 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
129 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
130 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
131 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
132 * sysdeps/pthread/aio_notify.c: Likewise.
133 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
134 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
135 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
136 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
137 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
139 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
141 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
142 version if bit_Slow_SSE4_2 is set.
143 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
144 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
146 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
149 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
150 trampoline stack frame information.
151 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
152 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
153 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
154 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
155 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
156 * sysdeps/unix/sysv/linux/powerpc/init-first.c
157 (_libc_vdso_platform_setup): Initialize the signal trampolines.
158 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
160 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
161 interrupting a syscall and set with option SA_SIGINFO.
163 2013-08-20 Joseph Myers <joseph@codesourcery.com>
166 * math/s_cproj.c (__cproj): Only return an infinity if one part of
167 argument is infinite.
168 * math/s_cprojf.c (__cprojf): Likewise.
169 * math/s_cprojl.c (__cprojl): Likewise.
170 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
171 * math/libm-test.inc (cproj_test_data): Add more tests.
173 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
175 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
176 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
177 size. Use __ffs to determine corresponding shift.
179 2013-08-20 Joseph Myers <joseph@codesourcery.com>
180 Roland McGrath <roland@hack.frob.com>
182 * Makefile (INSTALL): Remove trailing blank lines from output of
185 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
187 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
188 Align 32 bit compat elf_greg to 8 bytes.
190 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
192 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
194 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
196 * string/strcoll_l.c (coll_seq): New structure.
197 (get_next_seq_cached): New function.
198 (get_next_seq): New function.
199 (do_compare): New function.
200 (STRCOLL): Use GNU style definition. Simplify implementation
201 by using get_next_seq, get_next_seq_cached and do_compare.
203 2013-08-16 Florian Weimer <fweimer@redhat.com>
207 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
209 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
211 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
212 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
213 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
215 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
216 GETDENTS_64BIT_ALIGNED.
217 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
218 * manual/filesys.texi (Reading/Closing Directory): Document
219 ENAMETOOLONG return value of readdir_r. Recommend readdir more
221 * manual/conf.texi (Limits for Files): Add portability note to
223 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
225 2013-08-13 Andreas Schwab <schwab@suse.de>
228 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
230 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
231 LDBL_MAX_EXP >= 16384]: Add tests for it.
233 2013-08-12 David S. Miller <davem@davemloft.net>
235 * version.h (RELEASE): Set to "development".
236 (VERSION): Set to "2.18.90".
237 * NEWS: Add 2.19 section.
239 2013-08-03 David S. Miller <davem@davemloft.net>
241 * po/ko.po: Update Korean translation from translation project.
243 2013-08-01 David S. Miller <davem@davemloft.net>
245 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
246 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
249 2013-07-30 David S. Miller <davem@davemloft.net>
251 * po/fr.po: Update French translation from translation project.
253 2013-07-28 David S. Miller <davem@davemloft.net>
255 * po/cs.po: Update Czech translation from translation project.
257 * po/sv.po: Update Swedish translation from translation project.
259 2013-07-27 David S. Miller <davem@davemloft.net>
261 * po/eo.po: Update Esperanto translation from translation project.
263 * po/vi.po: Update Vietnamese translation from translation project.
265 * po/de.po: Update German translation from translation project.
267 2013-07-26 David S. Miller <davem@davemloft.net>
269 * po/bg.po: Update Bulgarian translation from translation project.
271 * po/nl.po: Update Dutch translation from translation project.
272 * po/pl.po: Update Polish translation from translation project.
273 * po/ru.po: Update Russian translation from translation project.
275 2013-07-24 David S. Miller <davem@davemloft.net>
277 * po/libc.pot: Update.
279 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
281 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
283 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
284 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
285 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
287 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
289 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
291 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
292 Andreas Schwab <schwab@suse.de>
293 Roland McGrath <roland@hack.frob.com>
294 Joseph Myers <joseph@codesourcery.com>
295 Carlos O'Donell <carlos@redhat.com>
298 * config.h.in: Define HAVE_PT_CHOWN.
299 * config.make.in (build-pt-chown): New variable.
300 * configure.in (--enable-pt_chown): New configure option.
301 * configure: Regenerate.
302 * login/Makefile: Include Makeconfig. Build pt_chown only if
303 build-pt-chown is enabled.
304 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
305 pt_chown to fix pty ownership.
306 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
308 * manual/install.texi (Configuring and compiling): Mention
309 --enable-pt_chown. Add @findex for grantpt.
310 * INSTALL: Regenerate.
312 2013-07-20 David S. Miller <davem@davemloft.net>
314 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
315 difference between 32-bit and 64-bit.
317 2013-07-15 Carlos O'Donell <carlos@redhat.com>
320 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
321 Avoid system header dependency with -ffreestanding.
322 ($(objpfx)bits/syscall%d): Likewise.
324 2013-07-13 David S. Miller <davem@davemloft.net>
326 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
327 underflows from atanl/atan2l due to bug 15319.
328 (casinh_test_data): Likewise.
330 2013-07-07 David S. Miller <davem@davemloft.net>
332 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
334 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
336 * sysdeps/i386/fpu/libm-test-ulps: Update.
337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
339 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
341 * configure.in (--enable-lock-elision): Fix message text.
342 * INSTALL: Regenerate.
343 * configure: Regenerate.
345 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
349 2013-07-03 Andreas Jaeger <aj@suse.de>
351 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
353 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
354 (ptrace_peeksiginfo_args): Add.
355 (__ptrace_peeksiginfo_flags): Add.
356 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
357 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
358 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
360 2013-07-03 Allan McRae <allan@archlinux.org>
362 * sysdeps/i386/fpu/libm-test-ulps: Update.
364 2013-07-02 David S. Miller <davem@davemloft.net>
366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
368 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
372 2013-07-02 Joseph Myers <joseph@codesourcery.com>
374 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
377 2013-07-02 Andi Kleen <ak@linux.intel.com>
379 * config.h.in (ENABLE_LOCK_ELISION): Add.
380 * configure.in (--enable-lock-elision): Add option.
381 * manual/install.texi: Document --enable lock elision.
382 * configure: Regenerate
383 * INSTALL: Regenerate.
385 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
387 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
388 SSE4.2 strcasecmp for libc.a.
389 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
391 2013-07-02 Joseph Myers <joseph@codesourcery.com>
394 * soft-fp/op-common.h (_FP_FMA): New macro.
395 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
396 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
397 (_FP_MUL_MEAT_1_imm): ... here.
398 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
399 (_FP_MUL_MEAT_1_wide): ... here.
400 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
401 (_FP_MUL_MEAT_1_hard): ... here.
402 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
403 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
404 (_FP_MUL_MEAT_2_wide): ... here.
405 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
406 (_FP_MUL_MEAT_2_wide_3mul): ... here.
407 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
408 (_FP_MUL_MEAT_2_gmp): ... here.
409 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
410 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
411 (_FP_MUL_MEAT_4_wide): ... here.
412 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
413 (_FP_MUL_MEAT_4_gmp): ... here.
414 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
415 (_FP_WFRACBITS_DW_S): Likewise.
416 (_FP_WFRACXBITS_DW_S): Likewise.
417 (_FP_HIGHBIT_DW_S): Likewise.
418 (FP_FMA_S): Likewise.
419 (_FP_FRAC_HIGH_DW_S): Likewise.
420 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
421 (_FP_WFRACBITS_DW_D): Likewise.
422 (_FP_WFRACXBITS_DW_D): Likewise.
423 (_FP_HIGHBIT_DW_D): Likewise.
424 (FP_FMA_D): Likewise.
425 (_FP_FRAC_HIGH_DW_D): Likewise.
426 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
427 (_FP_WFRACBITS_DW_E): Likewise.
428 (_FP_WFRACXBITS_DW_E): Likewise.
429 (_FP_HIGHBIT_DW_E): Likewise.
430 (FP_FMA_E): Likewise.
431 (_FP_FRAC_HIGH_DW_E): Likewise.
432 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
433 (_FP_WFRACBITS_DW_Q): Likewise.
434 (_FP_WFRACXBITS_DW_Q): Likewise.
435 (_FP_HIGHBIT_DW_Q): Likewise.
436 (FP_FMA_Q): Likewise.
437 (_FP_FRAC_HIGH_DW_Q): Likewise.
438 * soft-fp/fmasf4.c: New file.
439 * soft-fp/fmadf4.c: Likewise.
440 * soft-fp/fmatf4.c: Likewise.
442 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
445 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
447 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
449 (index_Slow_SSE4_2): Likewise.
450 (index_Prefer_PMINUB_for_stringop): Likewise.
451 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
452 bit_Slow_SSE4_2 is set.
453 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
454 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
456 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
458 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
459 rtld_global._dl_hwcap2.
460 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
462 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
463 POWER8 feature descriptions defined in _dl_hwcap2.
464 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
465 string handling for POWER8 feature bits.
466 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
467 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
468 _dl_powerpc_cap_flags.
469 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
470 * sysdeps/powerpc/rtld-global-offsets.sym
471 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
472 _dl_hwcap2 in the rtld_global_ro structure.
474 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
476 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
477 hardware capabilities in support of AT_HWCAP2.
478 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
479 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
481 (_dl_show_auxv): Add support for calling _dl_procinfo to display
482 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
483 explicitly the unknown a_type display mechanism is used.
484 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
485 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
487 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
488 to macro prototype for AT_HWCAP2 support.
489 * sysdeps/i386/dl-procinfo.h: Likewise.
490 * sysdeps/s390/dl-procinfo.h: Likewise.
491 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
492 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
493 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
494 return -1 for unknown a_type display fallback.
495 * sysdeps/sparc/dl-procinfo.h: Likewise.
496 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
497 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
499 2013-06-28 Joseph Myers <joseph@codesourcery.com>
501 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
502 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
504 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
507 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
508 mprotect making __stack_prot writable.
510 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
511 Joseph Myers <joseph@codesourcery.com>
513 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
514 as being properly aligned.
516 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
518 * dlfcn/modstatic5.c: New file.
519 * dlfcn/tststatic5.c: New file.
520 * dlfcn/Makefile (tests): Add tststatic5.
521 (tests-static): Likewise.
522 (modules-names): Add modstatic5.
523 (tststatic5-ENV): New variable.
524 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
527 * elf/dl-support.c (_dl_main_map): New variable.
528 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
529 (_dl_nns, _dl_load_adds): Set to 1.
530 (_dl_initial_searchlist): Refer to _dl_main_map.
531 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
532 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
533 call to _dl_get_origin.
534 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
536 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
537 * dlfcn/modstatic3.c: New file.
538 * dlfcn/tststatic3.c: New file.
539 * dlfcn/tststatic4.c: New file.
540 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
541 (tests-static): Likewise.
542 (modules-names): Add modstatic3.
543 (tststatic3-ENV, tststatic4-ENV): New variables.
544 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
545 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
547 2013-06-26 Joseph Myers <joseph@codesourcery.com>
549 * configure.in (CC): Require GCC version 4.4 or later.
550 * configure: Regenerated.
551 * manual/install.texi (Tools for Compilation): Update GCC version
553 * INSTALL: Regenerated.
555 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
558 * string/test-memcmp.c (check2): New.
561 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
563 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
566 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
568 (dl_open_worker) [!SHARED]: ... here.
570 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
572 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
574 2013-06-25 Richard Henderson <rth@redhat.com>
576 * locale/programs/locarchive.c: Include <libc-internal.h>
578 2013-06-25 Joseph Myers <joseph@codesourcery.com>
580 * manual/texinfo.tex: Update to version 2013-06-21.17, with
581 trailing whitespace removed.
583 2013-06-24 Mike Frysinger <vapier@gentoo.org>
586 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
587 * locale/programs/locarchive.c: Include libc-mmap.h.
588 (prepare_address_space): Take two new outputs (the mmap base and len).
589 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
591 (create_archive): Declare new mmap base and len values for
592 prepare_address_space, and store the result in ah.
593 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
594 (enlarge_archive): If ah->mmap_base is not NULL, use that and
595 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
596 Declare new mmap base and len values for
597 prepare_address_space, and store the result in new_ah.
598 (open_archive): Declare new mmap base and len values for
599 prepare_address_space, and store the result in ah.
600 (close_archive): If ah->mmap_base is not NULL, use that and
601 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
602 * sysdeps/generic/libc-mmap.h: New file.
604 2013-06-24 Mike Frysinger <vapier@gentoo.org>
606 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
607 (ALIGN_UP): Likewise.
608 (PTR_ALIGN_DOWN): Likewise.
609 (PTR_ALIGN_UP): Likewise.
611 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
613 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
614 entry mapped to PPC_PLATFORM_POWER8.
615 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
617 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
618 (_dl_string_platform): Add case for exporting platform position for
620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
621 search path to sysdeps/powerpc/powerpc32/power8 directory.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
623 search path to sysdeps/powerpc/powerpc64/power8 directory.
624 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
626 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
629 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
631 * INSTALL: Regenerate.
633 * nscd/connections.c (nscd_init): Fix comment.
635 2013-06-22 Joseph Myers <joseph@codesourcery.com>
637 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
640 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
641 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
643 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
645 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
647 (DL_DST_REQ_STATIC): Remove macro.
649 2013-06-21 Joseph Myers <joseph@codesourcery.com>
652 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
653 with a shift of 0 bits.
655 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
657 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
660 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
663 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
665 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
667 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
668 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
669 accepts -fno-tree-loop-distribute-patterns.
670 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
671 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
673 * string/memset.c (memset): Likewise.
674 * string/test-memmove.c (simple_memmove): Disable loop transformation
676 * string/test-memset.c (simple_memset): Likewise.
677 * benchtests/bench-memmove.c (simple_memmove): Likewise.
678 * benchtests/bench-memset.c (simple_memset): Likewise.
679 * configure: Regenerated.
681 2013-06-20 Joseph Myers <joseph@codesourcery.com>
683 * math/test-misc.c (main): Ignore fesetround failure when failures
684 of subsequent rounding tests would be ignored.
687 * math/fedisblxcpt.c (fedisableexcept): Return 0.
688 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
689 * math/fegetenv.c (__fegetenv): Return 0.
690 * math/fegetexcept.c (fegetexcept): Return 0.
691 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
693 * math/feholdexcpt.c (feholdexcept): Return 0.
694 * math/fesetenv.c (__fesetenv): Return 0.
695 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
696 argument FE_TONEAREST.
697 * math/feupdateenv.c (__feupdateenv): Return 0.
698 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
700 2013-06-18 Roland McGrath <roland@hack.frob.com>
702 * elf/rtld-Rules (rtld-compile-command.S): New variable.
703 (rtld-compile-command.s, rtld-compile-command.c): New variables.
704 ($(objpfx)rtld-%.os rules): Use them.
706 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
711 2013-06-17 Roland McGrath <roland@hack.frob.com>
713 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
714 length of target pattern, then descending length of dependency pattern.
715 * configure.in (AWK): Require gawk 3.1.2 or newer.
716 * manual/install.texi (Tools for Compilation): Say that we do.
717 * configure: Regenerated.
719 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
720 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
721 * scripts/sysd-rules.awk: ... this new script.
722 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
723 than a glob-style pattern.
725 2013-06-17 Joseph Myers <joseph@codesourcery.com>
727 * math/test-misc.c (main): Do not treat incorrectly rounded
728 conversions as failure unless ROUNDING_TESTS passes.
730 2013-06-15 Joseph Myers <joseph@codesourcery.com>
733 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
734 restore exception state around main square root computation, then
735 check for inexactness explicitly.
737 * math/libm-test.inc (fma_test_data): Add another test.
739 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
741 * manual/threads.texi (Non-POSIX Extensions): New document
742 node. Document pthread_getattr_default_np and
743 pthread_setattr_default_np.
745 * Versions.def (libpthread): Add GLIBC_2.18.
746 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
755 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
766 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
769 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
771 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
772 H.J. Lu <hjl.tools@gmail.com>
775 * sysdeps/x86_64/rtld-memset.c: Remove file.
776 * sysdeps/x86_64/rtld-memset.S: New file.
778 2013-06-14 Joseph Myers <joseph@codesourcery.com>
780 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
781 (test_in_one_mode): Take arguments for whether the rounding mode
782 is supported for each floating-point type.
783 (do_test): Pass new arguments to test_in_one_mode using
786 2013-06-13 Roland McGrath <roland@hack.frob.com>
788 * posix/tst-waitid.c (do_test): Distinguish different instances of
789 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
790 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
791 before entering the kernel for waitpid.
793 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
795 * NEWS: Fix note on clock function precision. Text by Roland
798 2013-06-13 Roland McGrath <roland@hack.frob.com>
800 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
801 it into place only when and if the sanity check passes.
803 2013-06-13 Joseph Myers <joseph@codesourcery.com>
805 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
806 output for whether conversion result is exact. Take argument
807 indicating whether type is IBM long double.
808 (round_for_all): Change need_exact field to ibm_ld.
809 * stdlib/tst-strtod-round.c (struct exactness): New type.
810 (struct test): Change bool ld_ok field to struct exactness exact.
811 (TEST): Update all definitions for change to field.
812 (tests): Regenerate array contents.
813 (test_in_one_mode): Take pointer to new field instead of old ld_ok
814 field value. Check for IBM long double here.
815 (do_test): Update calls to test_in_one_mode.
817 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
820 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
821 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
823 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
826 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
827 generated by the compiler on loop optimizations.
828 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
831 2013-06-12 Joseph Myers <joseph@codesourcery.com>
833 * math/bug-nextafter.c: Include <math-tests.h>.
834 (main): Only test for exceptions if EXCEPTION_TESTS is true for
836 * math/bug-nexttoward.c: Include <math-tests.h>.
837 (main): Only test for exceptions if EXCEPTION_TESTS is true for
839 * math/test-misc.c: Include <math-tests.h>.
840 (main): Only test for exceptions if EXCEPTION_TESTS is true for
843 2013-06-12 Andreas Jaeger <aj@suse.de>
845 * po/ia.po: Update Interlingua translation from translation
848 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
850 * include/fenv.h: Include stdbool.h.
851 (struct rm_ctx): New structure.
852 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
854 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
855 (SET_RESTORE_ROUNDF): Likewise.
856 (SET_RESTORE_ROUNDL): Likewise.
857 (SET_RESTORE_ROUND_NOEX): Likewise.
858 (SET_RESTORE_ROUND_NOEXF): Likewise.
859 (SET_RESTORE_ROUND_NOEXL): Likewise.
860 (SET_RESTORE_ROUND_53BIT): Likewise.
861 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
862 (libc_feresetround_noexf_ctx): Likewise.
863 (libc_feresetround_noexl_ctx): Likewise.
864 (libc_feholdsetround_53bit_ctx): Likewise.
865 (libc_feresetround_53bit_ctx): Likewise.
866 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
867 (libc_feholdexcept_setround_sse_ctx): New function.
868 (libc_fesetenv_sse_ctx): Likewise.
869 (libc_feupdateenv_sse_ctx): Likewise.
870 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
871 (libc_feholdexcept_setround_387_ctx): Likewise.
872 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
873 (libc_feholdsetround_387_prec_ctx): Likewise.
874 (libc_feholdsetround_387_ctx): Likewise.
875 (libc_feholdsetround_387_53bit_ctx): Likewise.
876 (libc_feholdsetround_sse_ctx): Likewise.
877 (libc_feresetround_sse_ctx): Likewise.
878 (libc_feresetround_387_ctx): Likewise.
879 (libc_feupdateenv_387_ctx): Likewise.
880 (libc_feholdexcept_setroundf_ctx): Define macro.
881 (libc_fesetenvf_ctx): Likewise.
882 (libc_feupdateenvf_ctx): Likewise.
883 (libc_feholdsetroundf_ctx): Likewise.
884 (libc_feresetroundf_ctx): Likewise.
885 (libc_feholdexcept_setround_ctx): Likewise.
886 (libc_fesetenv_ctx): Likewise.
887 (libc_feupdateenv_ctx): Likewise.
888 (libc_feholdsetround_ctx): Likewise.
889 (libc_feresetround_ctx): Likewise.
890 (libc_feholdexcept_setroundl_ctx): Likewise.
891 (libc_feupdateenvl_ctx): Likewise.
892 (libc_feholdsetroundl_ctx): Likewise.
893 (libc_feresetroundl_ctx): Likewise.
894 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
895 (libc_feresetround_53bit_ctx): Likewise.
897 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
899 * locale/iso-639.def: Convert to UTF-8.
901 2013-06-11 Joseph Myers <joseph@codesourcery.com>
903 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
904 (EXCEPTION_TESTS_double): Likewise.
905 (EXCEPTION_TESTS_long_double): Likewise.
906 (EXCEPTION_TESTS): Likewise.
907 * math/libm-test.inc (test_exceptions): Only test exceptions if
908 EXCEPTION_TESTS (FLOAT).
910 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
912 * benchtests/Makefile (string-bench): Add strcpy_chk and
914 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
915 * benchtests/bench-stpcpy_chk.c: New file.
916 * benchtests/bench-strcpy_chk-ifunc.c: New file.
917 * benchtests/bench-strcpy_chk.c: New file.
918 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
922 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
924 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
925 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
926 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
927 with tabs where appropriate.
928 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
930 [PPC_PLATFORM_PPC440]: Likewise.
931 [PPC_PLATFORM_PPC464]: Likewise.
932 [PPC_PLATFORM_PPC476]: Likewise.
933 (_dl_string_platform): Add support for detecting ppc405, ppc440,
934 ppc464, and ppc476 platform strings merging from ports/
937 2013-06-11 Andreas Schwab <schwab@suse.de>
940 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
941 (from_ucs4_idx): Regenerate.
942 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
943 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
944 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
945 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
946 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
947 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
948 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
949 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
950 from FROM_LOOP and TO_LOOP specific macros.
951 (BODY): Handle combining characters.
952 * iconvdata/BIG5HKSCS.irreversible: Update.
953 * iconvdata/BIG5HKSCS.precomposed: New file.
954 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
956 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
958 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
960 * include/sys/time.h: Fix indentation and add copyright header.
962 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
964 * string/test-memchr.c (do_one_test): Likewise.
966 * string/test-memcmp.c (do_one_test): Likewise.
968 * string/test-memcpy.c (do_one_test): Likewise.
970 * string/test-memmem.c (do_one_test): Likewise.
972 (do_random_tests): Likewise.
973 * string/test-memmove.c (do_one_test): Likewise.
975 * string/test-memset.c (do_one_test): Likewise.
977 * string/test-rawmemchr.c (do_one_test): Likewise.
979 * string/test-strcasecmp.c (do_one_test): Likewise.
981 * string/test-strcasestr.c (do_one_test): Likewise.
983 * string/test-strcat.c (do_one_test): Likewise.
985 * string/test-strchr.c (do_one_test): Likewise.
987 * string/test-strcmp.c (do_one_test): Likewise.
989 * string/test-strcpy.c (do_one_test): Likewise.
991 * string/test-string.h: Likewise.
992 (test_init): Likewise.
993 * string/test-strlen.c (do_one_test): Likewise.
995 * string/test-strncasecmp.c (do_one_test): Likewise.
997 * string/test-strncat.c (do_one_test): Likewise.
999 * string/test-strncmp.c (do_one_test): Likewise.
1000 (do_test_limit): Likewise.
1001 (do_test): Likewise.
1002 * string/test-strncpy.c (do_one_test): Likewise.
1003 (do_test): Likewise.
1004 * string/test-strnlen.c (do_one_test): Likewise.
1005 (do_test): Likewise.
1006 * string/test-strpbrk.c (do_one_test): Likewise.
1007 (do_test): Likewise.
1008 * string/test-strrchr.c (do_one_test): Likewise.
1009 (do_test): Likewise.
1010 * string/test-strspn.c (do_one_test): Likewise.
1011 (do_test): Likewise.
1012 * string/test-strstr.c (do_one_test): Likewise.
1013 (do_test): Likewise.
1015 * benchtests/Makefile (string-bench): Add string benchmarks.
1016 * benchtests/bench-bcopy-ifunc.c: New file.
1017 * benchtests/bench-bcopy.c: New file.
1018 * benchtests/bench-bzero-ifunc.c: New file.
1019 * benchtests/bench-bzero.c: New file.
1020 * benchtests/bench-memccpy-ifunc.c: New file.
1021 * benchtests/bench-memccpy.c: New file.
1022 * benchtests/bench-memchr-ifunc.c: New file.
1023 * benchtests/bench-memchr.c: New file.
1024 * benchtests/bench-memcmp-ifunc.c: New file.
1025 * benchtests/bench-memcmp.c: New file.
1026 * benchtests/bench-memmem-ifunc.c: New file.
1027 * benchtests/bench-memmem.c: New file.
1028 * benchtests/bench-memmove-ifunc.c: New file.
1029 * benchtests/bench-memmove.c: New file.
1030 * benchtests/bench-mempcpy-ifunc.c: New file.
1031 * benchtests/bench-mempcpy.c: New file.
1032 * benchtests/bench-memset-ifunc.c: New file.
1033 * benchtests/bench-memset.c: New file.
1034 * benchtests/bench-rawmemchr-ifunc.c: New file.
1035 * benchtests/bench-rawmemchr.c: New file.
1036 * benchtests/bench-stpcpy-ifunc.c: New file.
1037 * benchtests/bench-stpcpy.c: New file.
1038 * benchtests/bench-stpncpy-ifunc.c: New file.
1039 * benchtests/bench-stpncpy.c: New file.
1040 * benchtests/bench-strcasecmp-ifunc.c: New file.
1041 * benchtests/bench-strcasecmp.c: New file.
1042 * benchtests/bench-strcasestr-ifunc.c: New file.
1043 * benchtests/bench-strcasestr.c: New file.
1044 * benchtests/bench-strcat-ifunc.c: New file.
1045 * benchtests/bench-strcat.c: New file.
1046 * benchtests/bench-strchr-ifunc.c: New file.
1047 * benchtests/bench-strchr.c: New file.
1048 * benchtests/bench-strchrnul-ifunc.c: New file.
1049 * benchtests/bench-strchrnul.c: New file.
1050 * benchtests/bench-strcmp-ifunc.c: New file.
1051 * benchtests/bench-strcmp.c: New file.
1052 * benchtests/bench-strcpy-ifunc.c: New file.
1053 * benchtests/bench-strcpy.c: New file.
1054 * benchtests/bench-strcspn-ifunc.c: New file.
1055 * benchtests/bench-strcspn.c: New file.
1056 * benchtests/bench-strlen-ifunc.c: New file.
1057 * benchtests/bench-strlen.c: New file.
1058 * benchtests/bench-strncasecmp-ifunc.c: New file.
1059 * benchtests/bench-strncasecmp.c: New file.
1060 * benchtests/bench-strncat-ifunc.c: New file.
1061 * benchtests/bench-strncat.c: New file.
1062 * benchtests/bench-strncmp-ifunc.c: New file.
1063 * benchtests/bench-strncmp.c: New file.
1064 * benchtests/bench-strncpy-ifunc.c: New file.
1065 * benchtests/bench-strncpy.c: New file.
1066 * benchtests/bench-strnlen-ifunc.c: New file.
1067 * benchtests/bench-strnlen.c: New file.
1068 * benchtests/bench-strpbrk-ifunc.c: New file.
1069 * benchtests/bench-strpbrk.c: New file.
1070 * benchtests/bench-strrchr-ifunc.c: New file.
1071 * benchtests/bench-strrchr.c: New file.
1072 * benchtests/bench-strspn-ifunc.c: New file.
1073 * benchtests/bench-strspn.c: New file.
1074 * benchtests/bench-strstr-ifunc.c: New file.
1075 * benchtests/bench-strstr.c: New file.
1077 * benchtests/Makefile: Disable parallel execution of targets.
1078 (string-bench): Add memcpy.
1079 (benchset): New variable to store a list of benchmark sets.
1080 (bench-func): Renamed from bench.
1081 (bench-set): New target.
1082 (bench): Depend on bench-func and bench-set.
1083 * benchtests/README: Add section on benchmark sets.
1084 * benchtests/bench-memcpy-ifunc.c: New file.
1085 * benchtests/bench-memcpy.c: New file.
1086 * benchtests/bench-string.h: New file.
1088 2013-06-11 Andreas Schwab <schwab@suse.de>
1091 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1092 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1093 values in the triple.
1094 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1095 terminator in the group key.
1097 2013-06-11 Andreas Jaeger <aj@suse.de>
1099 * po/zh_TW.po: Update Chinese (traditional) translation from
1100 translation project.
1102 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1104 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1105 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1106 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1107 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1108 (clock_getcpuclockid): Likewise.
1109 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1110 Add weak_alias and libc_hidden_def.
1111 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1112 * rt/clock_gettime.c (clock_gettime): Rename to
1113 __clock_gettime. Add weak_alias and libc_hidden_def.
1114 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1115 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1116 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1117 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1118 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1120 * rt/clock_settime.c (clock_settime): Rename to
1121 __clock_settime. Add weak_alias and libc_hidden_def.
1122 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1124 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1126 * mach/err_boot.sub: Remove trailing whitespace.
1127 * mach/err_ipc.sub: Likewise.
1128 * mach/err_mach.sub: Likewise.
1130 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1131 (ROUNDING_TESTS_double): Likewise.
1132 (ROUNDING_TESTS_long_double): Likewise.
1133 (ROUNDING_TESTS): Likewise.
1134 * math/libm-test.inc: Include <math-tests.h>.
1135 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1136 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1137 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1138 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1140 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1142 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1145 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1147 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1148 otherwise empty TRANS lines.
1149 * sysdeps/gnu/errlist.c: Regenerated.
1151 * catgets/gencat.c (error_print): Use (void) in function
1153 * crypt/crypt_util.c (__init_des): Likewise.
1154 * crypt/speeds.c (Stop): Likewise.
1156 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1157 * inet/ruserpass.c (token): Likewise.
1158 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1159 * intl/localealias.c (extend_alias_table): Likewise.
1160 * intl/plural-exp.c (init_germanic_plural): Likewise.
1161 * libio/fcloseall.c (__fcloseall): Likewise.
1162 * libio/genops.c (_IO_flush_all): Likewise.
1163 (_IO_flush_all_linebuffered): Likewise.
1164 (_IO_cleanup): Likewise.
1165 (_IO_iter_begin): Likewise.
1166 (_IO_iter_end): Likewise.
1167 (_IO_list_lock): Likewise.
1168 (_IO_list_unlock): Likewise.
1169 (_IO_list_resetlock): Likewise.
1170 * libio/getchar.c (getchar): Likewise.
1171 * libio/getchar_u.c (getchar_unlocked): Likewise.
1172 * libio/getwchar.c (getwchar): Likewise.
1173 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1174 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1175 * login/getpt.c (__getpt): Likewise.
1176 * login/tst-utmp.c (main): Likewise.
1177 * malloc/hooks.c (__malloc_check_init): Likewise.
1178 * malloc/malloc.c (__malloc_stats): Likewise.
1179 * malloc/mtrace.c (tr_break): Likewise.
1181 (muntrace): Likewise.
1182 * misc/fstab.c (endfsent): Likewise.
1183 * misc/getclktck.c (__getclktck): Likewise.
1184 * misc/getdtsz.c (__getdtablesize): Likewise.
1185 * misc/gethostid.c (gethostid): Likewise.
1186 * misc/getpagesize.c (__getpagesize): Likewise.
1187 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1188 (__get_nprocs): Likewise.
1189 (__get_phys_pages): Likewise.
1190 (__get_avphys_pages): Likewise.
1191 * misc/getttyent.c (getttyent): Likewise.
1192 (setttyent): Likewise.
1193 (endttyent): Likewise.
1194 * misc/getusershell.c (getusershell): Likewise.
1195 (endusershell): Likewise.
1196 (setusershell): Likewise.
1197 (initshells): Likewise.
1198 * misc/hsearch.c (__hdestroy): Likewise.
1199 * misc/sync.c (sync): Likewise.
1200 * misc/syslog.c (closelog_internal): Likewise.
1201 (closelog): Likewise.
1202 * misc/ttyslot.c (ttyslot): Likewise.
1203 * misc/vhangup.c (vhangup): Likewise.
1204 * posix/fork.c (__fork): Likewise.
1205 * posix/getegid.c (__getegid): Likewise.
1206 * posix/geteuid.c (__geteuid): Likewise.
1207 * posix/getgid.c (__getgid): Likewise.
1208 * posix/getpid.c (__getpid): Likewise.
1209 * posix/getppid.c (__getppid): Likewise.
1210 * posix/getuid.c (__getuid): Likewise.
1211 * posix/pause.c (pause): Likewise.
1212 * posix/setpgrp.c (setpgrp): Likewise.
1213 * posix/setsid.c (__setsid): Likewise.
1214 * posix/test-vfork.c (noop): Likewise.
1215 * resolv/gethnamaddr.c (_endhtent): Likewise.
1216 (_gethtent): Likewise.
1217 (ht_endhostent): Likewise.
1218 (gethostent): Likewise.
1219 (dns_service): Likewise.
1220 * stdlib/drand48.c (drand48): Likewise.
1221 * stdlib/lrand48.c (lrand48): Likewise.
1222 * stdlib/mrand48.c (mrand48): Likewise.
1223 * stdlib/rand.c (rand): Likewise.
1224 * stdlib/random.c (__random): Likewise.
1225 * stdlib/setenv.c (clearenv): Likewise.
1226 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1227 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1228 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1229 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1230 (__get_nprocs): Likewise.
1231 (__get_phys_pages): Likewise.
1232 (__get_avphys_pages): Likewise.
1233 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1234 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1235 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1236 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1237 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1238 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1239 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1240 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1241 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1242 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1243 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1244 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1245 * sysdeps/posix/clock.c (clock): Likewise.
1246 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1247 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1248 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1249 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1250 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1252 (__get_nprocs_conf): Likewise.
1253 (__get_phys_pages): Likewise.
1254 (__get_avphys_pages): Likewise.
1255 * time/clock.c (clock): Likewise.
1256 * time/tzset.c (__tzname_max): Likewise.
1258 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1260 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1261 (__bswap_32): Do not use "register".
1262 * crypt/crypt.c (_ufc_doit_r): Likewise.
1263 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1264 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1265 * gmon/gmon.c (__monstartup): Likewise.
1266 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1267 * hurd/hurdmalloc.c (more_memory): Likewise.
1270 (realloc): Likewise.
1271 (malloc_fork_prepare): Likewise.
1272 (malloc_fork_parent): Likewise.
1273 (malloc_fork_child): Likewise.
1274 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1275 (_svcauth_des): Likewise.
1276 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1277 * inet/inet_net.c (inet_network): Likewise.
1278 * inet/inet_netof.c (inet_netof): Likewise.
1279 * inet/rcmd.c (__validuser2_sa): Likewise.
1280 * io/fts.c (fts_open): Likewise.
1281 (fts_load): Likewise.
1282 (fts_close): Likewise.
1283 (fts_read): Likewise.
1284 (fts_children): Likewise.
1285 (fts_build): Likewise.
1286 (fts_stat): Likewise.
1287 (fts_sort): Likewise.
1288 (fts_alloc): Likewise.
1289 (fts_lfree): Likewise.
1290 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1291 (_IO_file_xsgetn): Likewise.
1292 (_IO_file_xsgetn_mmap): Likewise.
1293 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1294 (_IO_cookie_write): Likewise.
1295 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1296 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1297 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1298 * malloc/obstack.c (_obstack_begin): Likewise.
1299 (_obstack_begin_1): Likewise.
1300 (_obstack_newchunk): Likewise.
1301 (_obstack_allocated_p): Likewise.
1302 (obstack_free): Likewise.
1303 (_obstack_memory_used): Likewise.
1304 * misc/getttyent.c (getttynam): Likewise.
1305 (getttyent): Likewise.
1308 * misc/getusershell.c (initshells): Likewise.
1309 * misc/syslog.c (__vsyslog_chk): Likewise.
1310 * misc/ttyslot.c (ttyslot): Likewise.
1311 * nis/nis_hash.c (__nis_hash): Likewise.
1312 * posix/fnmatch_loop.c (FCT): Likewise.
1313 * posix/getconf.c (print_all): Likewise.
1315 * posix/getopt.c (exchange): Likewise.
1316 * posix/glob.c (globfree): Likewise.
1317 (prefix_array): Likewise.
1318 (__glob_pattern_type): Likewise.
1319 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1320 (NS_GET32): Likewise.
1321 (NS_PUT16): Likewise.
1322 (NS_PUT32): Likewise.
1323 * resolv/gethnamaddr.c (getanswer): Likewise.
1324 (gethostbyname2): Likewise.
1325 (gethostbyaddr): Likewise.
1326 (_gethtent): Likewise.
1327 (_gethtbyname2): Likewise.
1328 (_gethtbyaddr): Likewise.
1329 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1330 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1331 * resolv/res_init.c (__res_vinit): Likewise.
1332 (net_mask): Likewise.
1333 * resolv/res_mkquery.c (outchar): Likewise.
1335 * stdio-common/printf_fp.c (outchar): Likewise.
1337 * stdio-common/printf_fphex.c (outchar): Likewise.
1339 * stdio-common/printf_size.c (outchar): Likewise.
1341 * stdio-common/test_rdwr.c (main): Likewise.
1342 * stdio-common/tfformat.c (matches): Likewise.
1343 * stdio-common/vfprintf.c (outchar): Likewise.
1344 (printf_unknown): Likewise.
1345 (buffered_vfprintf): Likewise.
1346 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1347 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1348 (ReadFile): Likewise.
1349 * stdlib/qsort.c (SWAP): Likewise.
1350 (_quicksort): Likewise.
1351 * stdlib/setenv.c (__add_to_environ): Likewise.
1352 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1353 * stdlib/strtol_l.c (__strtol_l): Likewise.
1354 * stdlib/tst-strtod.c (main): Likewise.
1355 * stdlib/tst-strtol.c (main): Likewise.
1356 * stdlib/tst-strtoll.c (main): Likewise.
1357 * string/bits/string2.h (__strcmp_cc): Likewise.
1358 (__strcmp_cg): Likewise.
1359 (__strcspn_c1): Likewise.
1360 (__strcspn_c2): Likewise.
1361 (__strcspn_c3): Likewise.
1362 (__strspn_c1): Likewise.
1363 (__strspn_c2): Likewise.
1364 (__strspn_c3): Likewise.
1365 (__strsep_1c): Likewise.
1366 (__strsep_2c): Likewise.
1367 (__strsep_3c): Likewise.
1368 * string/memccpy.c (__memccpy): Likewise.
1369 * string/stpcpy.c (__stpcpy): Likewise.
1370 * string/strcmp.c (strcmp): Likewise.
1371 * string/strrchr.c (strrchr): Likewise.
1372 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1374 * sysdeps/mach/hurd/getcwd.c
1375 (_hurd_canonicalize_directory_name_internal): Likewise.
1376 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1377 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1378 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1379 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1380 Likewise, in both definitions.
1381 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1383 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1384 64] (__bswap_64): Likewise.
1385 * time/test_time.c (main): Likewise.
1386 * time/tzfile.c (__tzfile_read): Likewise.
1387 (__tzfile_compute): Likewise.
1388 * time/tzset.c (__tzset_parse_tz): Likewise.
1389 (tzset_internal): Likewise.
1390 (compute_change): Likewise.
1391 * wcsmbs/wcscat.c (__wcscat): Likewise.
1392 * wcsmbs/wcschr.c (wcschr): Likewise.
1393 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1394 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1395 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1396 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1397 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1398 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1399 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1400 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1401 * wcsmbs/wmemset.c (wmemset): Likewise.
1403 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1405 * scripts/config.guess: Update to version 2013-05-16.
1406 * scripts/config.sub: Update to version 2013-04-24.
1407 * scripts/install-sh: Update to version 2011-11-20.07.
1408 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1409 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1411 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1413 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1414 * elf/sln.c: Likewise.
1415 * hurd/hurd/ioctl.h: Likewise.
1416 * hurd/hurdmalloc.c: Likewise.
1417 * hurd/xattr.c: Likewise.
1418 * include/shlib-compat.h: Likewise.
1419 * inet/ruserpass.c: Likewise.
1420 * libio/iofgets_u.c: Likewise.
1421 * libio/iofgetws_u.c: Likewise.
1422 * locale/programs/ld-identification.c: Likewise.
1423 * locale/programs/ld-time.c: Likewise.
1424 * mach/msg-destroy.c: Likewise.
1425 * nss/nss_files/files-netgrp.c: Likewise.
1426 * resolv/res_data.c: Likewise.
1427 * soft-fp/op-1.h: Likewise.
1428 * soft-fp/op-2.h: Likewise.
1429 * soft-fp/op-4.h: Likewise.
1430 * soft-fp/op-common.h: Likewise.
1431 * stdio-common/printf_fphex.c: Likewise.
1432 * stdlib/strtod_l.c: Likewise.
1433 * sunrpc/rpc/clnt.h: Likewise.
1434 * sysdeps/generic/framestate.c: Likewise.
1435 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1436 * sysdeps/i386/bsd-setjmp.S: Likewise.
1437 * sysdeps/i386/__longjmp.S: Likewise.
1438 * sysdeps/i386/setjmp.S: Likewise.
1439 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1442 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1444 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1446 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1447 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1448 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1450 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1451 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1452 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1454 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1455 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1456 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1457 * sysdeps/ieee754/support.c: Likewise.
1458 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1459 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1460 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1461 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1462 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1463 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1464 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1465 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1466 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1467 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1468 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1469 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1470 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1471 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1472 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1473 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1474 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1477 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1479 * posix/transbug.c: Remove executable mode.
1481 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1483 * crypt/speeds.c: Remove trailing whitespace.
1484 * dlfcn/default.c: Likewise.
1485 * elf/ifuncdep2.c: Likewise.
1486 * elf/ifuncmain1.c: Likewise.
1487 * elf/ifuncmain1vis.c: Likewise.
1488 * elf/testobj.h: Likewise.
1489 * elf/tst-stackguard1.c: Likewise.
1490 * gmon/sys/gmon.h: Likewise.
1491 * hurd/hurdmsg.c: Likewise.
1492 * hurd/new-fd.c: Likewise.
1493 * hurd/ports-get.c: Likewise.
1494 * iconvdata/ibm1008_420.c: Likewise.
1495 * inet/tst-getni1.c: Likewise.
1496 * inet/tst-getni2.c: Likewise.
1497 * libio/ioungetc.c: Likewise.
1498 * libio/wfiledoalloc.c: Likewise.
1499 * manual/libm-err-tab.pl: Likewise.
1500 * math/w_dremf.c: Likewise.
1501 * misc/ftruncate.c: Likewise.
1502 * posix/bug-glob2.c: Likewise.
1503 * posix/tst-pcre.c: Likewise.
1504 * posix/wait4.c: Likewise.
1505 * resolv/README: Likewise.
1506 * resolv/res_debug.h: Likewise.
1507 * resolv/tst-inet_ntop.c: Likewise.
1508 * setjmp/bug269-setjmp.c: Likewise.
1509 * soft-fp/extended.h: Likewise.
1510 * soft-fp/op-1.h: Likewise.
1511 * soft-fp/op-2.h: Likewise.
1512 * soft-fp/op-4.h: Likewise.
1513 * soft-fp/op-8.h: Likewise.
1514 * soft-fp/testit.c: Likewise.
1515 * stdio-common/bug16.c: Likewise.
1516 * stdlib/random.c: Likewise.
1517 * sunrpc/rpcsvc/rquota.x: Likewise.
1518 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1519 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1521 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1522 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1523 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1524 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1525 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1526 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1527 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1528 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1545 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1547 * sysdeps/ieee754/s_lib_version.c: Likewise.
1548 * sysdeps/mach/hurd/check_fds.c: Likewise.
1549 * sysdeps/mach/hurd/getsockname.c: Likewise.
1550 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1551 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1552 * sysdeps/powerpc/bits/link.h: Likewise.
1553 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1554 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1555 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1556 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1557 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1558 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1559 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1560 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1561 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1562 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1563 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1564 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1565 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1566 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1567 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1568 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1569 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1571 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1572 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1574 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1575 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1576 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1577 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1578 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1580 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1581 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1582 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1583 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1584 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1586 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1587 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1588 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1589 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1590 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1591 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1592 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1593 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1594 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1595 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1596 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1597 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1598 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1599 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1600 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1601 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1602 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1605 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1606 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1607 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1608 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1609 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1610 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1611 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1612 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1613 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1614 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1615 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1616 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1617 * sysdeps/powerpc/sysdep.h: Likewise.
1618 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1619 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1620 * sysdeps/sh/dl-trampoline.S: Likewise.
1621 * sysdeps/sh/memset.S: Likewise.
1622 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1623 * sysdeps/sh/strlen.S: Likewise.
1624 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1625 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1626 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1627 * sysdeps/sparc/sparc32/rem.S: Likewise.
1628 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1629 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1630 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1631 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1632 * sysdeps/sparc/sparc32/urem.S: Likewise.
1633 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1634 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1635 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1636 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1637 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1638 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1639 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1640 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1641 * sysdeps/unix/bsd/times.c: Likewise.
1642 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1643 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1647 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1648 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1649 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1650 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1651 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1652 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1653 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1654 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1655 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1656 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1657 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1658 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1659 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1660 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1661 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1662 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1663 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1664 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1665 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1666 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1667 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1668 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1669 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1670 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1671 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1672 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1673 * sysdeps/x86_64/strcspn.S: Likewise.
1675 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1677 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1678 generated file. Regenerate properly from gen-translit.pl.
1679 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1680 locale/C-translit.h.
1682 2013-06-05 Andreas Schwab <schwab@suse.de>
1685 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1686 week as 6 instead of -1.
1687 * time/tst-strptime.c (day_tests): Add test case.
1689 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1691 * sysdeps/generic/math_private.h
1692 (libc_feholdexcept_setround_53bit): Replace with
1693 libc_feholdsetround_53bit.
1694 (libc_feupdateenv_53bit): Replace with
1695 libc_feresetround_53bit.
1696 (SET_RESTORE_ROUND_53BIT): Adjust.
1698 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1700 * string/test-strchrnul.c: Add copyright header.
1702 * posix/tst-getaddrinfo4.c: Increase test timeout.
1704 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1707 * math/libm-test.inc (MAX_EXP): Remove
1709 (ulp): Use MIN_EXP - MANT_DIG.
1710 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1712 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1714 * po/be.po: Revert last change.
1715 * po/zh_CN.po: Likewise.
1716 * po/header.pot: Likewise.
1718 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1720 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1721 link-libc-deps to empty as target-specific variable.
1722 * Makerules (link-libc-args): New variable.
1723 (libc-for-link): Likewise.
1724 (link-libc-deps): Likewise.
1725 (lib%.so): Depend on $(link-libc-deps). Link with
1727 (build-module): Link with $(link-libc-args).
1728 (build-module-asneeded): Likewise.
1729 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1731 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1732 target-specific variable.
1733 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1734 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1735 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1737 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1739 ($(objpfx)libpcprofile.so): Likewise.
1740 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1742 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1743 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1744 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1746 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1747 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1748 * login/Makefile ($(objpfx)libutil.so): Likewise.
1749 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1750 * math/Makefile ($(objpfx)libm.so): Likewise.
1751 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1752 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1753 variable instead of depending directly on libc.
1754 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1755 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1757 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1759 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1760 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1761 ($(objpfx)libanl.so): Likewise.
1762 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1764 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1766 * sysdeps/i386/fpu/Makefile: Remove file.
1767 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1768 ($(objpfx)libm.so): Remove dependency on ld.so.
1770 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1773 * nis/yp_xdr.c (XDRMAXNAME): Define.
1774 (XDRMAXRECORD): Define.
1775 (xdr_domainname): Use XDRMAXNAME.
1776 (xdr_mapname): Likewise.
1777 (xdr_peername): Likewise.
1778 (xdr_keydat): Use XDRMAXRECORD.
1779 (xdr_valdat): Likewise.
1781 2013-05-30 Jeff Law <law@redhat.com>
1784 * manual/errno.texi (ESTALE): Update to account for more than
1785 just NFS file systems.
1786 * sysdeps/gnu/errlist.c: Regenerated.
1788 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1791 * elf/Makefile (tests): Add tst-null-argv.
1792 (modules-names): Add tst-null-argv-lib.
1793 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1794 (tst-null-argv-ENV): Set environment for tst-null-argv.
1795 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1796 (RTLD_PROGNAME): New macro.
1797 * elf/tst-null-argv.c: New test case.
1798 * elf/tst-null-argv-lib.c: Library for test case.
1799 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1800 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1801 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1802 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1803 * elf/dl-init.c (call_init): Likewise.
1804 (_dl_init): Likewise.
1805 * elf/dl-load.c (print_search_path): Likewise.
1806 (_dl_map_object): Likewise.
1807 * elf/dl-lookup.c (do_lookup_x): Likewise.
1808 (add_dependency): Likewise.
1809 (_dl_lookup_symbol_x): Likewise.
1810 (_dl_debug_bindings): Likewise.
1811 * elf/dl-open.c (_dl_show_scope): Likewise.
1812 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1813 * elf/dl-version.c (match_symbol): Likewise.
1814 (_dl_check_map_versions): Likewise.
1815 * elf/rtld.c (dl_main): Likewise.
1816 (print_unresolved): Use RTLD_PROGNAME.
1817 (print_missing_version): Likewise.
1818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1819 (elf_machine_rela): Likewise.
1820 * sysdeps/powerpc/powerpc32/dl-machine.c
1821 (__process_machine_rela): Likewise.
1822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1824 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1826 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1828 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1833 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1835 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1837 * po/be.po: Add descriptive title.
1838 * po/zh_CN.po: Likewise.
1839 * po/header.pot: Likewise.
1841 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1843 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1845 (enlarge_archive): Likewise.
1847 2013-05-28 Ben North <ben@redfrontdoor.org>
1849 * manual/arith.texi (frexp): It is the magnitude of the return
1850 value which lies in [0.5, 1), not the return value itself.
1852 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1856 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1858 * stdio-common/bug26.c (main): Correct fscanf template.
1860 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1861 declare _dl_skip_args.
1863 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1866 * manual/platform.texi: Add missing @end deftypefun.
1868 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1871 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1872 bit of mantissa of 2^16382.
1873 * math/libm-test.inc (hypot_test_data): Add more tests.
1875 * math/libm-test.inc: Add drem and pow10 to list of tested
1877 (pow10_test): New function.
1878 (drem_test): Likewise.
1879 (drem_test_tonearest): Likewise.
1880 (drem_test_towardzero): Likewise.
1881 (drem_test_downward): Likewise.
1882 (drem_test_upward): Likewise.
1883 (main): Call the new functions.
1885 * math/libm-test.inc (finite_test_data): Remove.
1886 (finite_test): Run tests from isfinite_test_data.
1887 (gamma_test_data): Remove.
1888 (gamma_test): Run tests from lgamma_test_data.
1889 * sysdeps/i386/fpu/libm-test-ulps: Update.
1890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1892 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1894 * manual/platform.texi: Add PowerPC PPR function set documentation.
1895 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1898 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1900 * math/libm-test.inc (MAX_EXP): Define.
1902 (ulp): New function.
1903 (check_float_internal): Use ULPDIFF.
1904 (cpow_test): Disable failing test.
1905 (check_ulp): Test ulp() implemetnation.
1906 (main): Call check_ulp before starting tests.
1908 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1910 * math/gen-libm-test.pl (generate_testfile): Do not handle
1911 START_DATA and END_DATA.
1912 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1914 (acos_tonearest_test_data): Likewise.
1915 (acos_towardzero_test_data): Likewise.
1916 (acos_downward_test_data): Likewise.
1917 (acos_upward_test_data): Likewise.
1918 (acosh_test_data): Likewise.
1919 (asin_test_data): Likewise.
1920 (asin_tonearest_test_data): Likewise.
1921 (asin_towardzero_test_data): Likewise.
1922 (asin_downward_test_data): Likewise.
1923 (asin_upward_test_data): Likewise.
1924 (asinh_test_data): Likewise.
1925 (atan_test_data): Likewise.
1926 (atanh_test_data): Likewise.
1927 (atan2_test_data): Likewise.
1928 (cabs_test_data): Likewise.
1929 (cacos_test_data): Likewise.
1930 (cacosh_test_data): Likewise.
1931 (carg_test_data): Likewise.
1932 (casin_test_data): Likewise.
1933 (casinh_test_data): Likewise.
1934 (catan_test_data): Likewise.
1935 (catanh_test_data): Likewise.
1936 (cbrt_test_data): Likewise.
1937 (ccos_test_data): Likewise.
1938 (ccosh_test_data): Likewise.
1939 (ceil_test_data): Likewise.
1940 (cexp_test_data): Likewise.
1941 (cimag_test_data): Likewise.
1942 (clog_test_data): Likewise.
1943 (clog10_test_data): Likewise.
1944 (conj_test_data): Likewise.
1945 (copysign_test_data): Likewise.
1946 (cos_test_data): Likewise.
1947 (cos_tonearest_test_data): Likewise.
1948 (cos_towardzero_test_data): Likewise.
1949 (cos_downward_test_data): Likewise.
1950 (cos_upward_test_data): Likewise.
1951 (cosh_test_data): Likewise.
1952 (cosh_tonearest_test_data): Likewise.
1953 (cosh_towardzero_test_data): Likewise.
1954 (cosh_downward_test_data): Likewise.
1955 (cosh_upward_test_data): Likewise.
1956 (cpow_test_data): Likewise.
1957 (cproj_test_data): Likewise.
1958 (creal_test_data): Likewise.
1959 (csin_test_data): Likewise.
1960 (csinh_test_data): Likewise.
1961 (csqrt_test_data): Likewise.
1962 (ctan_test_data): Likewise.
1963 (ctan_tonearest_test_data): Likewise.
1964 (ctan_towardzero_test_data): Likewise.
1965 (ctan_downward_test_data): Likewise.
1966 (ctan_upward_test_data): Likewise.
1967 (ctanh_test_data): Likewise.
1968 (ctanh_tonearest_test_data): Likewise.
1969 (ctanh_towardzero_test_data): Likewise.
1970 (ctanh_downward_test_data): Likewise.
1971 (ctanh_upward_test_data): Likewise.
1972 (erf_test_data): Likewise.
1973 (erfc_test_data): Likewise.
1974 (exp_test_data): Likewise.
1975 (exp_tonearest_test_data): Likewise.
1976 (exp_towardzero_test_data): Likewise.
1977 (exp_downward_test_data): Likewise.
1978 (exp_upward_test_data): Likewise.
1979 (exp10_test_data): Likewise.
1980 (exp2_test_data): Likewise.
1981 (expm1_test_data): Likewise.
1982 (fabs_test_data): Likewise.
1983 (fdim_test_data): Likewise.
1984 (finite_test_data): Likewise.
1985 (floor_test_data): Likewise.
1986 (fma_test_data): Likewise.
1987 (fma_towardzero_test_data): Likewise.
1988 (fma_downward_test_data): Likewise.
1989 (fma_upward_test_data): Likewise.
1990 (fmax_test_data): Likewise.
1991 (fmin_test_data): Likewise.
1992 (fmod_test_data): Likewise.
1993 (fpclassify_test_data): Likewise.
1994 (frexp_test_data): Likewise.
1995 (gamma_test_data): Likewise.
1996 (hypot_test_data): Likewise.
1997 (ilogb_test_data): Likewise.
1998 (isfinite_test_data): Likewise.
1999 (isgreater_test_data): Likewise.
2000 (isgreaterequal_test_data): Likewise.
2001 (isinf_test_data): Likewise.
2002 (isless_test_data): Likewise.
2003 (islessequal_test_data): Likewise.
2004 (islessgreater_test_data): Likewise.
2005 (isnan_test_data): Likewise.
2006 (isnormal_test_data): Likewise.
2007 (issignaling_test_data): Likewise.
2008 (isunordered_test_data): Likewise.
2009 (j0_test_data): Likewise.
2010 (j1_test_data): Likewise.
2011 (jn_test_data): Likewise.
2012 (ldexp_test_data): Likewise.
2013 (lgamma_test_data): Likewise.
2014 (lrint_test_data): Likewise.
2015 (lrint_tonearest_test_data): Likewise.
2016 (lrint_towardzero_test_data): Likewise.
2017 (lrint_downward_test_data): Likewise.
2018 (lrint_upward_test_data): Likewise.
2019 (llrint_test_data): Likewise.
2020 (llrint_tonearest_test_data): Likewise.
2021 (llrint_towardzero_test_data): Likewise.
2022 (llrint_downward_test_data): Likewise.
2023 (llrint_upward_test_data): Likewise.
2024 (log_test_data): Likewise.
2025 (log10_test_data): Likewise.
2026 (log1p_test_data): Likewise.
2027 (log2_test_data): Likewise.
2028 (logb_test_data): Likewise.
2029 (logb_downward_test_data): Likewise.
2030 (lround_test_data): Likewise.
2031 (llround_test_data): Likewise.
2032 (modf_test_data): Likewise.
2033 (nearbyint_test_data): Likewise.
2034 (nextafter_test_data): Likewise.
2035 (nexttoward_test_data): Likewise.
2036 (pow_test_data): Likewise.
2037 (pow_tonearest_test_data): Likewise.
2038 (pow_towardzero_test_data): Likewise.
2039 (pow_downward_test_data): Likewise.
2040 (pow_upward_test_data): Likewise.
2041 (remainder_test_data): Likewise.
2042 (remainder_tonearest_test_data): Likewise.
2043 (remainder_towardzero_test_data): Likewise.
2044 (remainder_downward_test_data): Likewise.
2045 (remainder_upward_test_data): Likewise.
2046 (remquo_test_data): Likewise.
2047 (rint_test_data): Likewise.
2048 (rint_tonearest_test_data): Likewise.
2049 (rint_towardzero_test_data): Likewise.
2050 (rint_downward_test_data): Likewise.
2051 (rint_upward_test_data): Likewise.
2052 (round_test_data): Likewise.
2053 (scalb_test_data): Likewise.
2054 (scalbn_test_data): Likewise.
2055 (scalbln_test_data): Likewise.
2056 (signbit_test_data): Likewise.
2057 (sin_test_data): Likewise.
2058 (sin_tonearest_test_data): Likewise.
2059 (sin_towardzero_test_data): Likewise.
2060 (sin_downward_test_data): Likewise.
2061 (sin_upward_test_data): Likewise.
2062 (sincos_test_data): Likewise.
2063 (sinh_test_data): Likewise.
2064 (sinh_tonearest_test_data): Likewise.
2065 (sinh_towardzero_test_data): Likewise.
2066 (sinh_downward_test_data): Likewise.
2067 (sinh_upward_test_data): Likewise.
2068 (sqrt_test_data): Likewise.
2069 (tan_test_data): Likewise.
2070 (tan_tonearest_test_data): Likewise.
2071 (tan_towardzero_test_data): Likewise.
2072 (tan_downward_test_data): Likewise.
2073 (tan_upward_test_data): Likewise.
2074 (tanh_test_data): Likewise.
2075 (tgamma_test_data): Likewise.
2076 (trunc_test_data): Likewise.
2077 (y0_test_data): Likewise.
2078 (y1_test_data): Likewise.
2079 (yn_test_data): Likewise.
2080 (significand_test_data): Likewise.
2082 * math/gen-libm-test.pl (@functions): Remove variable.
2083 (generate_testfile): Don't handle START and END lines.
2084 * math/libm-test.inc (START): New macro.
2086 (END_COMPLEX): Likewise.
2087 (acos_test): Use END macro without arguments.
2088 (acos_test_tonearest): Likewise.
2089 (acos_test_towardzero): Likewise.
2090 (acos_test_downward): Likewise.
2091 (acos_test_upward): Likewise.
2092 (acosh_test): Likewise.
2093 (asin_test): Likewise.
2094 (asin_test_tonearest): Likewise.
2095 (asin_test_towardzero): Likewise.
2096 (asin_test_downward): Likewise.
2097 (asin_test_upward): Likewise.
2098 (asinh_test): Likewise.
2099 (atan_test): Likewise.
2100 (atanh_test): Likewise.
2101 (atan2_test): Likewise.
2102 (cabs_test): Likewise.
2103 (cacos_test): Use END_COMPLEX macro without arguments.
2104 (cacosh_test): Likewise.
2105 (carg_test): Use END macro without arguments.
2106 (casin_test): Use END_COMPLEX macro without arguments.
2107 (casinh_test): Likewise.
2108 (catan_test): Likewise.
2109 (catanh_test): Likewise.
2110 (cbrt_test): Use END macro without arguments.
2111 (ccos_test): Use END_COMPLEX macro without arguments.
2112 (ccosh_test): Likewise.
2113 (ceil_test): Use END macro without arguments.
2114 (cexp_test): Use END_COMPLEX macro without arguments.
2115 (cimag_test): Use END macro without arguments.
2116 (clog_test): Use END_COMPLEX macro without arguments.
2117 (clog10_test): Likewise.
2118 (conj_test): Likewise.
2119 (copysign_test): Use END macro without arguments.
2120 (cos_test): Likewise.
2121 (cos_test_tonearest): Likewise.
2122 (cos_test_towardzero): Likewise.
2123 (cos_test_downward): Likewise.
2124 (cos_test_upward): Likewise.
2125 (cosh_test): Likewise.
2126 (cosh_test_tonearest): Likewise.
2127 (cosh_test_towardzero): Likewise.
2128 (cosh_test_downward): Likewise.
2129 (cosh_test_upward): Likewise.
2130 (cpow_test): Use END_COMPLEX macro without arguments.
2131 (cproj_test): Likewise.
2132 (creal_test): Use END macro without arguments.
2133 (csin_test): Use END_COMPLEX macro without arguments.
2134 (csinh_test): Likewise.
2135 (csqrt_test): Likewise.
2136 (ctan_test): Likewise.
2137 (ctan_test_tonearest): Likewise.
2138 (ctan_test_towardzero): Likewise.
2139 (ctan_test_downward): Likewise.
2140 (ctan_test_upward): Likewise.
2141 (ctanh_test): Likewise.
2142 (ctanh_test_tonearest): Likewise.
2143 (ctanh_test_towardzero): Likewise.
2144 (ctanh_test_downward): Likewise.
2145 (ctanh_test_upward): Likewise.
2146 (erf_test): Use END macro without arguments.
2147 (erfc_test): Likewise.
2148 (exp_test): Likewise.
2149 (exp_test_tonearest): Likewise.
2150 (exp_test_towardzero): Likewise.
2151 (exp_test_downward): Likewise.
2152 (exp_test_upward): Likewise.
2153 (exp10_test): Likewise.
2154 (exp2_test): Likewise.
2155 (expm1_test): Likewise.
2156 (fabs_test): Likewise.
2157 (fdim_test): Likewise.
2158 (finite_test): Likewise.
2159 (floor_test): Likewise.
2160 (fma_test): Likewise.
2161 (fma_test_towardzero): Likewise.
2162 (fma_test_downward): Likewise.
2163 (fma_test_upward): Likewise.
2164 (fmax_test): Likewise.
2165 (fmin_test): Likewise.
2166 (fmod_test): Likewise.
2167 (fpclassify_test): Likewise.
2168 (frexp_test): Likewise.
2169 (gamma_test): Likewise.
2170 (hypot_test): Likewise.
2171 (ilogb_test): Likewise.
2172 (isfinite_test): Likewise.
2173 (isgreater_test): Likewise.
2174 (isgreaterequal_test): Likewise.
2175 (isinf_test): Likewise.
2176 (isless_test): Likewise.
2177 (islessequal_test): Likewise.
2178 (islessgreater_test): Likewise.
2179 (isnan_test): Likewise.
2180 (isnormal_test): Likewise.
2181 (issignaling_test): Likewise.
2182 (isunordered_test): Likewise.
2183 (j0_test): Likewise.
2184 (j1_test): Likewise.
2185 (jn_test): Likewise.
2186 (ldexp_test): Likewise.
2187 (lgamma_test): Likewise.
2188 (lrint_test): Likewise.
2189 (lrint_test_tonearest): Likewise.
2190 (lrint_test_towardzero): Likewise.
2191 (lrint_test_downward): Likewise.
2192 (lrint_test_upward): Likewise.
2193 (llrint_test): Likewise.
2194 (llrint_test_tonearest): Likewise.
2195 (llrint_test_towardzero): Likewise.
2196 (llrint_test_downward): Likewise.
2197 (llrint_test_upward): Likewise.
2198 (log_test): Likewise.
2199 (log10_test): Likewise.
2200 (log1p_test): Likewise.
2201 (log2_test): Likewise.
2202 (logb_test): Likewise.
2203 (logb_test_downward): Likewise.
2204 (lround_test): Likewise.
2205 (llround_test): Likewise.
2206 (modf_test): Likewise.
2207 (nearbyint_test): Likewise.
2208 (nextafter_test): Likewise.
2209 (nexttoward_test): Likewise.
2210 (pow_test): Likewise.
2211 (pow_test_tonearest): Likewise.
2212 (pow_test_towardzero): Likewise.
2213 (pow_test_downward): Likewise.
2214 (pow_test_upward): Likewise.
2215 (remainder_test): Likewise.
2216 (remainder_test_tonearest): Likewise.
2217 (remainder_test_towardzero): Likewise.
2218 (remainder_test_downward): Likewise.
2219 (remainder_test_upward): Likewise.
2220 (remquo_test): Likewise.
2221 (rint_test): Likewise.
2222 (rint_test_tonearest): Likewise.
2223 (rint_test_towardzero): Likewise.
2224 (rint_test_downward): Likewise.
2225 (rint_test_upward): Likewise.
2226 (round_test): Likewise.
2227 (scalb_test): Likewise.
2228 (scalbn_test): Likewise.
2229 (scalbln_test): Likewise.
2230 (signbit_test): Likewise.
2231 (sin_test): Likewise.
2232 (sin_test_tonearest): Likewise.
2233 (sin_test_towardzero): Likewise.
2234 (sin_test_downward): Likewise.
2235 (sin_test_upward): Likewise.
2236 (sincos_test): Likewise.
2237 (sinh_test): Likewise.
2238 (sinh_test_tonearest): Likewise.
2239 (sinh_test_towardzero): Likewise.
2240 (sinh_test_downward): Likewise.
2241 (sinh_test_upward): Likewise.
2242 (sqrt_test): Likewise.
2243 (tan_test): Likewise.
2244 (tan_test_tonearest): Likewise.
2245 (tan_test_towardzero): Likewise.
2246 (tan_test_downward): Likewise.
2247 (tan_test_upward): Likewise.
2248 (tanh_test): Likewise.
2249 (tgamma_test): Likewise.
2250 (trunc_test): Likewise.
2251 (y0_test): Likewise.
2252 (y1_test): Likewise.
2253 (yn_test): Likewise.
2254 (significand_test): Likewise.
2256 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2259 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2261 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2264 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2265 __ppc_mdoio and __ppc_mdoom.
2266 * manual/platform.texi: Document new functions __ppc_yield,
2267 __ppc_mdoio and __ppc_mdoom.
2269 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2271 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2272 (main): Mention "tls" pseudo-hwcap is legacy.
2273 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2275 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2277 * math/gen-libm-test.pl (parse_args): Output only string of
2278 arguments as text for test name, not full call or descriptions of
2279 tests for extra outputs.
2280 (generate_testfile): Do not pass function name to parse_args.
2281 Generate this_func variable from START.
2282 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2284 (struct test_ff_f_data): Likewise.
2285 (test_ff_f_data_nexttoward): Likewise.
2286 (struct test_fi_f_data): Likewise.
2287 (struct test_fl_f_data): Likewise.
2288 (struct test_if_f_data): Likewise.
2289 (struct test_fff_f_data): Likewise.
2290 (struct test_c_f_data): Likewise.
2291 (struct test_f_f1_data): Likewise. Remove field extra_name.
2292 (struct test_fF_f1_data): Likewise.
2293 (struct test_ffI_f1_data): Likewise.
2294 (struct test_c_c_data): Rename test_name field to arg_str.
2295 (struct test_cc_c_data): Likewise.
2296 (struct test_f_i_data): Likewise.
2297 (struct test_ff_i_data): Likewise.
2298 (struct test_f_l_data): Likewise.
2299 (struct test_f_L_data): Likewise.
2300 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2302 (COMMON_TEST_SETUP): New macro.
2303 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2304 (COMMON_TEST_CLEANUP): Likewise.
2305 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2306 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2308 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2309 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2311 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2312 (RUN_TEST_fff_f): Take argument string. Call new setup and
2314 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2315 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2317 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2318 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2320 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2321 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2323 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2324 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2326 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2327 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2329 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2330 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2332 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2333 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2335 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2336 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2338 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2339 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2341 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2342 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2344 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2345 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2347 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2348 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2350 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2351 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2353 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2354 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2356 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2357 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2359 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2361 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2363 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2364 to _sifields.sigfault.
2365 (si_addr_lsb): Define new macro.
2366 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2368 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2370 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2373 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2375 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2377 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2380 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2382 * math/gen-libm-test.pl (parse_args): Do not include expected
2383 result in test name.
2384 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2386 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2387 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2388 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2391 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2393 * benchtests/Makefile: Sort function entries.
2395 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2396 tanh, asinh, acosh, atanh.
2397 * benchtests/acos-inputs: New file.
2398 * benchtests/acosh-inputs: New file.
2399 * benchtests/asin-inputs: New file.
2400 * benchtests/asinh-inputs: New file.
2401 * benchtests/atanh-inputs: New file.
2402 * benchtests/cosh-inputs: New file.
2403 * benchtests/log-inputs: New file.
2404 * benchtests/sinh-inputs: New file.
2405 * benchtests/tanh-inputs: New file.
2407 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2410 * posix/tst-getaddrinfo4.c: New test.
2411 * posix/Makefile (tests): Add it.
2413 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2416 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2417 when no services were used.
2418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2419 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2421 2013-05-21 Andreas Schwab <schwab@suse.de>
2424 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2425 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2427 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2428 redundant variable declarations and reallocation of buffer when
2429 parsing as IPv6 address. Always set NSS status when called from
2430 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2431 buffer too small. Correct computation of needed size.
2432 * nss/Makefile (tests): Add test-digits-dots.
2433 * nss/test-digits-dots.c: New test.
2435 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2437 * benchtests/Makefile: Remove instructions for adding
2439 * benchtests/README: New file to explain how to execute and
2440 enhance the benchmark tests.
2442 2013-05-21 Andreas Schwab <schwab@suse.de>
2445 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2446 * setjmp/tst-sigsetjmp.c: New test.
2448 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2450 * sysdeps/x86_64/memset.S (memset): New implementation.
2451 (__bzero): Likewise.
2452 (__memset_tail): New function.
2454 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2456 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2457 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2458 __memcpy_sse2_unaligned ifunc selection.
2459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2460 Add memcpy-sse2-unaligned.S.
2461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2462 Add: __memcpy_sse2_unaligned.
2464 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2467 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2468 math_force_eval before restoring floating-point envrionment.
2469 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2472 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2474 (__nearbyintl): Use math_force_eval before restoring
2475 floating-point environment.
2476 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2478 * math/gen-libm-test.pl (special_functions): Remove.
2479 (parse_args): Don't handle TEST_extra. Handle functions with no
2481 * math/libm-test.inc (struct test_sincos_data): Replace with
2482 struct test_fFF_11_data.
2483 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2484 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2485 (sincos_test_data): Change element type to struct
2486 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2487 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2488 RUN_TEST_LOOP_sincos.
2489 * math/README.libm-test: Don't mention special handling of
2490 individual functions.
2491 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2492 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2493 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2494 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2495 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2498 * math/gen-libm-test.pl (get_variable): Remove function.
2499 (parse_args): Don't show pointer parameters to call in test
2500 names. Use "extra output N" in test names for extra outputs
2501 rather than naming variables.
2503 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2506 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2507 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2508 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2510 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2512 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2515 * math/gen-libm-test.pl (@tests): Remove variable.
2517 (new_test): Remove function.
2518 (show_exceptions): New function.
2519 (special_functions): Use show_exceptions instead of new_test.
2520 (parse_args): Likewise.
2521 (generate_testfile): Pass only function name in generated call to
2522 print_max_error or print_complex_max_error.
2523 (get_ulps): Do not handle complex tests specially.
2524 (output_test): Rename to ...
2525 (get_all_ulps_for_test): ... this. Return a string rather than
2526 printing to a file. Require ulps to be present.
2527 (output_ulps): Generate arrays rather than #defines.
2528 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2529 (struct ulp_data): New type.
2530 (BUILD_COMPLEX_ULP): Remove macro.
2531 (compare_ulp_data): New function.
2532 (find_ulps): Likewise.
2533 (find_test_ulps): Likewise.
2534 (find_function_ulps): Likewise.
2535 (find_complex_function_ulps): Likewise.
2536 (print_max_error): Determine allowed ulps using
2538 (print_complex_max_error): Determine allowed ulps using
2539 find_complex_function_ulps.
2540 (check_float_internal): Determine max ulps using find_test_ulps.
2541 (check_float): Do not take max_ulp parameter. Update call to
2542 check_float_internal.
2543 (check_complex): Likewise.
2544 (check_int): Do not take max_ulp parameter.
2545 (check_long): Likewise.
2546 (check_bool): Likewise.
2547 (check_longlong): Likewise.
2548 (struct test_f_f_data): Remove max_ulp field.
2549 (struct test_ff_f_data): Likewise.
2550 (struct test_ff_f_data_nexttoward): Likewise.
2551 (struct test_fi_f_data): Likewise.
2552 (struct test_fl_f_data): Likewise.
2553 (struct test_if_f_data): Likewise.
2554 (struct test_fff_f_data): Likewise.
2555 (struct test_c_f_data): Likewise.
2556 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2557 (struct test_fF_f1_data): Likewise.
2558 (struct test_ffI_f1_data): Likewise.
2559 (struct test_c_c_data): Remove max_ulp field.
2560 (struct test_cc_c_data): Likewise.
2561 (struct test_f_i_data): Likewise.
2562 (struct test_ff_i_data): Likewise.
2563 (struct test_f_l_data): Likewise.
2564 (struct test_f_L_data): Likewise.
2565 (struct test_sincos_data): Likewise.
2566 (RUN_TEST_f_f): Do not handle ulps.
2567 (RUN_TEST_LOOP_f_f): Likewise.
2568 (RUN_TEST_2_f): Likewise.
2569 (RUN_TEST_LOOP_2_f): Likewise.
2570 (RUN_TEST_fff_f): Likewise.
2571 (RUN_TEST_LOOP_fff_f): Likewise.
2572 (RUN_TEST_c_f): Likewise.
2573 (RUN_TEST_LOOP_c_f): Likewise.
2574 (RUN_TEST_f_f1): Likewise.
2575 (RUN_TEST_LOOP_f_f1): Likewise.
2576 (RUN_TEST_fF_f1): Likewise.
2577 (RUN_TEST_LOOP_fF_f1): Likewise.
2578 (RUN_TEST_fI_f1): Likewise.
2579 (RUN_TEST_LOOP_fI_f1): Likewise.
2580 (RUN_TEST_ffI_f1): Likewise.
2581 (RUN_TEST_LOOP_ffI_f1): Likewise.
2582 (RUN_TEST_c_c): Likewise.
2583 (RUN_TEST_LOOP_c_c): Likewise.
2584 (RUN_TEST_cc_c): Likewise.
2585 (RUN_TEST_LOOP_cc_c): Likewise.
2586 (RUN_TEST_f_i): Likewise.
2587 (RUN_TEST_LOOP_f_i): Likewise.
2588 (RUN_TEST_f_i_tg): Likewise.
2589 (RUN_TEST_LOOP_f_i_tg): Likewise.
2590 (RUN_TEST_ff_i_tg): Likewise.
2591 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2592 (RUN_TEST_f_b): Likewise.
2593 (RUN_TEST_LOOP_f_b): Likewise.
2594 (RUN_TEST_f_b_tg): Likewise.
2595 (RUN_TEST_LOOP_f_b_tg): Likewise.
2596 (RUN_TEST_f_l): Likewise.
2597 (RUN_TEST_LOOP_f_l): Likewise.
2598 (RUN_TEST_f_L): Likewise.
2599 (RUN_TEST_LOOP_f_L): Likewise.
2600 (RUN_TEST_sincos): Likewise.
2601 (RUN_TEST_LOOP_sincos): Likewise.
2603 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2607 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2608 main case of finite arguments, set rounding mode to FE_TONEAREST
2609 and discard exceptions.
2610 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2612 (remainder_tonearest_test_data): New variable.
2613 (remainder_test_tonearest): New function.
2614 (remainder_towardzero_test_data): New variable.
2615 (remainder_test_towardzero): New function.
2616 (remainder_downward_test_data): New variable.
2617 (remainder_test_downward): New function.
2618 (remainder_upward_test_data): New variable.
2619 (remainder_test_upward): New function.
2620 (main): Call the new test functions.
2622 * math/libm-test.inc (struct test_f_f1_data): Remove field
2624 (struct test_fF_f1_data): Likewise.
2625 (struct test_ffI_f1_data): Likewise.
2626 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2627 based on value of EXTRA_EXPECTED.
2628 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2629 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2630 EXTRA_VAR based on value of EXTRA_EXPECTED.
2631 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2632 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2633 EXTRA_VAR based on value of EXTRA_EXPECTED.
2634 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2635 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2636 EXTRA_VAR based on value of EXTRA_EXPECTED.
2637 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2638 * math/gen-libm-test.pl (parse_args): Don't output initializers
2639 for extra output values.
2641 * math/libm-test.inc (check_int): Expect result to be exactly
2642 equal to expected value and do not handle ulps.
2643 (check_long): Likewise.
2644 (check_longlong): Likewise.
2646 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2648 (cimag_test_data): Likewise.
2649 (conj_test_data): Likewise.
2650 (copysign_test_data): Likewise.
2651 (cproj_test_data): Likewise.
2652 (creal_test_data): Likewise.
2653 (fabs_test_data): Likewise.
2654 (fdim_test_data): Likewise.
2655 (finite_test_data): Likewise.
2656 (floor_test_data): Likewise.
2657 (fmax_test_data): Likewise.
2658 (fmin_test_data): Likewise.
2659 (fmod_test_data): Likewise.
2660 (fpclassify_test_data): Likewise.
2661 (frexp_test_data): Likewise.
2662 (ilogb_test_data): Likewise.
2663 (isfinite_test_data): Likewise.
2664 (isgreater_test_data): Likewise.
2665 (isgreaterequal_test_data): Likewise.
2666 (isinf_test_data): Likewise.
2667 (isless_test_data): Likewise.
2668 (islessequal_test_data): Likewise.
2669 (islessgreater_test_data): Likewise.
2670 (isnan_test_data): Likewise.
2671 (isnormal_test_data): Likewise.
2672 (issignaling_test_data): Likewise.
2673 (isunordered_test_data): Likewise.
2674 (ldexp_test_data): Likewise.
2675 (lrint_test_data): Likewise.
2676 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2677 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2678 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2679 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2680 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2681 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2683 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2684 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2685 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2686 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2688 (lrint_downward_test_data): Test for "inexact" exceptions.
2689 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2690 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2691 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2693 (lrint_upward_test_data): Test for "inexact" exceptions.
2694 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2696 (llrint_test_data): Test for "inexact" exceptions.
2697 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2698 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2699 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2700 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2701 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2702 (llrint_downward_test_data): Test for "inexact" exceptions.
2703 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2704 (llrint_upward_test_data): Test for "inexact" exceptions.
2705 (logb_test_data): Likewise.
2706 (logb_downward_test_data): Likewise.
2707 (nextafter_test_data): Likewise.
2708 (nexttoward_test_data): Likewise.
2709 (remainder_test_data): Likewise.
2710 (remquo_test_data): Likewise.
2711 (scalbn_test_data): Likewise.
2712 (scalbln_test_data): Likewise.
2713 (signbit_test_data): Likewise.
2714 (sqrt_test_data): Likewise.
2715 (significand_test_data): Likewise.
2717 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2720 * benchtests/bench-modf.c (struct args): Mark arg0 as
2722 * scripts/bench.pl: Mark members of struct args as volatile.
2724 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2727 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2728 negative infinity on POWER6 or lower.
2729 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2731 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2734 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2735 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2736 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2737 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2738 (_FP_SETQNAN): New macro.
2739 (_FP_SETQNAN_SEMIRAW): Likewise.
2740 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2741 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2742 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2743 (FP_EXTEND): Use _FP_FRAC_SNANP.
2744 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2745 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2747 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2749 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2752 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2754 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2755 with DIVIDE_BY_ZERO_EXCEPTION.
2756 (gamma_test_data): Likewise.
2757 (lgamma_test_data): Likewise.
2758 (log_test_data): Likewise.
2759 (log10_test_data): Likewise.
2760 (log2_test_data): Likewise.
2761 (tgamma_test_data): Likewise.
2763 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2764 (acos_test_tonearest): Likewise.
2765 (acos_test_towardzero): Likewise.
2766 (acos_test_downward): Likewise.
2767 (acos_test_upward): Likewise.
2768 (acosh_test): Likewise.
2769 (asin_test): Likewise.
2770 (asin_test_tonearest): Likewise.
2771 (asin_test_towardzero): Likewise.
2772 (asin_test_downward): Likewise.
2773 (asin_test_upward): Likewise.
2774 (asinh_test): Likewise.
2775 (atan_test): Likewise.
2776 (atanh_test): Likewise.
2777 (atan2_test): Likewise.
2778 (cabs_test): Likewise.
2779 (cacos_test): Likewise.
2780 (cacosh_test): Likewise.
2781 (casin_test): Likewise.
2782 (casinh_test): Likewise.
2783 (catan_test): Likewise.
2784 (catanh_test): Likewise.
2785 (cbrt_test): Likewise.
2786 (ccos_test): Likewise.
2787 (ccosh_test): Likewise.
2788 (cexp_test): Likewise.
2789 (clog_test): Likewise.
2790 (clog10_test): Likewise.
2791 (cos_test): Likewise.
2792 (cos_test_tonearest): Likewise.
2793 (cos_test_towardzero): Likewise.
2794 (cos_test_downward): Likewise.
2795 (cos_test_upward): Likewise.
2796 (cosh_test): Likewise.
2797 (cosh_test_tonearest): Likewise.
2798 (cosh_test_towardzero): Likewise.
2799 (cosh_test_downward): Likewise.
2800 (cosh_test_upward): Likewise.
2801 (cpow_test): Likewise.
2802 (csin_test): Likewise.
2803 (csinh_test): Likewise.
2804 (csqrt_test): Likewise.
2805 (ctan_test): Likewise.
2806 (ctan_test_tonearest): Likewise.
2807 (ctan_test_towardzero): Likewise.
2808 (ctan_test_downward): Likewise.
2809 (ctan_test_upward): Likewise.
2810 (ctanh_test): Likewise.
2811 (ctanh_test_tonearest): Likewise.
2812 (ctanh_test_towardzero): Likewise.
2813 (ctanh_test_downward): Likewise.
2814 (ctanh_test_upward): Likewise.
2815 (erf_test): Likewise.
2816 (erfc_test): Likewise.
2817 (exp_test): Likewise.
2818 (exp_test_tonearest): Likewise.
2819 (exp_test_towardzero): Likewise.
2820 (exp_test_downward): Likewise.
2821 (exp_test_upward): Likewise.
2822 (exp10_test): Likewise.
2823 (exp2_test): Likewise.
2824 (expm1_test): Likewise.
2825 (fmod_test): Likewise.
2826 (gamma_test): Likewise.
2827 (hypot_test): Likewise.
2828 (j0_test): Likewise.
2829 (j1_test): Likewise.
2830 (jn_test): Likewise.
2831 (lgamma_test): Likewise.
2832 (log_test): Likewise.
2833 (log10_test): Likewise.
2834 (log1p_test): Likewise.
2835 (log2_test): Likewise.
2836 (logb_test_downward): Likewise.
2837 (pow_test): Likewise.
2838 (pow_test_tonearest): Likewise.
2839 (pow_test_towardzero): Likewise.
2840 (pow_test_downward): Likewise.
2841 (pow_test_upward): Likewise.
2842 (remainder_test): Likewise.
2843 (remquo_test): Likewise.
2844 (sin_test): Likewise.
2845 (sin_test_tonearest): Likewise.
2846 (sin_test_towardzero): Likewise.
2847 (sin_test_downward): Likewise.
2848 (sin_test_upward): Likewise.
2849 (sincos_test): Likewise.
2850 (sinh_test): Likewise.
2851 (sinh_test_tonearest): Likewise.
2852 (sinh_test_towardzero): Likewise.
2853 (sinh_test_downward): Likewise.
2854 (sinh_test_upward): Likewise.
2855 (sqrt_test): Likewise.
2856 (tan_test): Likewise.
2857 (tan_test_tonearest): Likewise.
2858 (tan_test_towardzero): Likewise.
2859 (tan_test_downward): Likewise.
2860 (tan_test_upward): Likewise.
2861 (tanh_test): Likewise.
2862 (tgamma_test): Likewise.
2863 (y0_test): Likewise.
2864 (y1_test): Likewise.
2865 (yn_test): Likewise.
2867 * math/gen-libm-test.pl (adjust_arg): Remove function.
2868 (special_function): Remove argument $in_func. Only handle
2869 generating output for tables of tests, not inside functions.
2870 (parse_args): Likewise.
2871 (generate_testfile): Remove variable $in_func. Update call to
2873 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2874 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2875 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2876 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2877 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2878 (MAX_VALUE_INIT): Rename macro to max_value.
2879 (MIN_VALUE_INIT): Rename macro to min_value.
2880 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2881 (plus_zero): Remove variable.
2882 (minus_zero): Likewise.
2883 (plus_infty): Likewise.
2884 (minus_infty): Likewise.
2885 (qnan_value): Likewise.
2886 (max_value): Likewise.
2887 (min_value): Likewise.
2888 (min_subnorm_value): Likewise.
2890 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2892 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2893 uint64_t or uint32_t usage.
2894 * crypt/sha256-block.c: Likewise.
2895 * crypt/sha256-crypt.c: Likewise.
2896 * crypt/sha256.c: Likewise.
2897 * crypt/sha512-block.c: Likewise.
2898 * crypt/sha512-crypt.c: Likewise.
2899 * crypt/sha512.c: Likewise.
2900 * debug/backtrace-tst.c: Likewise.
2901 * debug/pcprofiledump.c: Likewise.
2902 * elf/cache.c: Likewise.
2903 * elf/dl-cache.c: Likewise.
2904 * elf/dl-misc.c: Likewise.
2905 * elf/dl-profile.c: Likewise.
2906 * elf/dl-support.c: Likewise.
2907 * elf/ldconfig.c: Likewise.
2908 * elf/sprof.c: Likewise.
2909 * iconv/dummy-repertoire.c: Likewise.
2910 * iconv/iconv_charmap.c: Likewise.
2911 * iconv/skeleton.c: Likewise.
2912 * iconvdata/8bit-generic.c: Likewise.
2913 * iconvdata/cp737.h: Likewise.
2914 * iconvdata/cp775.h: Likewise.
2915 * iconvdata/ibm1008.h: Likewise.
2916 * iconvdata/ibm1025.h: Likewise.
2917 * iconvdata/ibm1046.h: Likewise.
2918 * iconvdata/ibm1097.h: Likewise.
2919 * iconvdata/ibm1112.h: Likewise.
2920 * iconvdata/ibm1122.h: Likewise.
2921 * iconvdata/ibm1123.h: Likewise.
2922 * iconvdata/ibm1124.h: Likewise.
2923 * iconvdata/ibm1129.h: Likewise.
2924 * iconvdata/ibm1130.h: Likewise.
2925 * iconvdata/ibm1132.h: Likewise.
2926 * iconvdata/ibm1133.h: Likewise.
2927 * iconvdata/ibm1137.h: Likewise.
2928 * iconvdata/ibm1140.h: Likewise.
2929 * iconvdata/ibm1141.h: Likewise.
2930 * iconvdata/ibm1142.h: Likewise.
2931 * iconvdata/ibm1143.h: Likewise.
2932 * iconvdata/ibm1144.h: Likewise.
2933 * iconvdata/ibm1145.h: Likewise.
2934 * iconvdata/ibm1146.h: Likewise.
2935 * iconvdata/ibm1147.h: Likewise.
2936 * iconvdata/ibm1148.h: Likewise.
2937 * iconvdata/ibm1149.h: Likewise.
2938 * iconvdata/ibm1153.h: Likewise.
2939 * iconvdata/ibm1154.h: Likewise.
2940 * iconvdata/ibm1155.h: Likewise.
2941 * iconvdata/ibm1156.h: Likewise.
2942 * iconvdata/ibm1157.h: Likewise.
2943 * iconvdata/ibm1158.h: Likewise.
2944 * iconvdata/ibm1160.h: Likewise.
2945 * iconvdata/ibm1161.h: Likewise.
2946 * iconvdata/ibm1162.h: Likewise.
2947 * iconvdata/ibm1163.h: Likewise.
2948 * iconvdata/ibm1164.h: Likewise.
2949 * iconvdata/ibm1166.h: Likewise.
2950 * iconvdata/ibm1167.h: Likewise.
2951 * iconvdata/ibm12712.h: Likewise.
2952 * iconvdata/ibm1390.h: Likewise.
2953 * iconvdata/ibm1399.h: Likewise.
2954 * iconvdata/ibm16804.h: Likewise.
2955 * iconvdata/ibm4517.h: Likewise.
2956 * iconvdata/ibm4899.h: Likewise.
2957 * iconvdata/ibm4909.h: Likewise.
2958 * iconvdata/ibm4971.h: Likewise.
2959 * iconvdata/ibm5347.h: Likewise.
2960 * iconvdata/ibm803.h: Likewise.
2961 * iconvdata/ibm856.h: Likewise.
2962 * iconvdata/ibm901.h: Likewise.
2963 * iconvdata/ibm902.h: Likewise.
2964 * iconvdata/ibm9030.h: Likewise.
2965 * iconvdata/ibm9066.h: Likewise.
2966 * iconvdata/ibm921.h: Likewise.
2967 * iconvdata/ibm922.h: Likewise.
2968 * iconvdata/ibm9448.h: Likewise.
2969 * iconvdata/isiri-3342.h: Likewise.
2970 * iconvdata/jis0201.h: Likewise.
2971 * include/link.h: Likewise.
2972 * include/netdb.h: Likewise.
2973 * inet/check_native.c: Likewise.
2974 * inet/check_pf.c: Likewise.
2975 * inet/getipv4sourcefilter.c: Likewise.
2976 * inet/getnameinfo.c: Likewise.
2977 * inet/getsourcefilter.c: Likewise.
2978 * inet/htonl.c: Likewise.
2979 * inet/setipv4sourcefilter.c: Likewise.
2980 * inet/setsourcefilter.c: Likewise.
2981 * inet/test-inet6_opt.c: Likewise.
2982 * inet/tst-network.c: Likewise.
2983 * locale/C-collate.c: Likewise.
2984 * locale/C-ctype.c: Likewise.
2985 * locale/C-time.c: Likewise.
2986 * locale/C-translit.h: Likewise.
2987 * locale/loadarchive.c: Likewise.
2988 * locale/programs/3level.h: Likewise.
2989 * locale/programs/charmap.c: Likewise.
2990 * locale/programs/charmap.h: Likewise.
2991 * locale/programs/ld-address.c: Likewise.
2992 * locale/programs/ld-collate.c: Likewise.
2993 * locale/programs/ld-ctype.c: Likewise.
2994 * locale/programs/ld-identification.c: Likewise.
2995 * locale/programs/ld-measurement.c: Likewise.
2996 * locale/programs/ld-messages.c: Likewise.
2997 * locale/programs/ld-monetary.c: Likewise.
2998 * locale/programs/ld-name.c: Likewise.
2999 * locale/programs/ld-numeric.c: Likewise.
3000 * locale/programs/ld-paper.c: Likewise.
3001 * locale/programs/ld-telephone.c: Likewise.
3002 * locale/programs/ld-time.c: Likewise.
3003 * locale/programs/linereader.c: Likewise.
3004 * locale/programs/locale.c: Likewise.
3005 * locale/programs/locarchive.c: Likewise.
3006 * locale/programs/locfile.h: Likewise.
3007 * locale/programs/repertoire.c: Likewise.
3008 * locale/programs/simple-hash.c: Likewise.
3009 * locale/programs/simple-hash.h: Likewise.
3010 * malloc/memusage.c: Likewise.
3011 * malloc/memusagestat.c: Likewise.
3012 * nis/nis_defaults.c: Likewise.
3013 * nis/nis_hash.c: Likewise.
3014 * nis/nis_print.c: Likewise.
3015 * nis/nis_xdr.c: Likewise.
3016 * nscd/connections.c: Likewise.
3017 * nscd/hstcache.c: Likewise.
3018 * nscd/nscd_gethst_r.c: Likewise.
3019 * nscd/nscd_getserv_r.c: Likewise.
3020 * nscd/nscd_helper.c: Likewise.
3021 * nscd/servicescache.c: Likewise.
3022 * nss/makedb.c: Likewise.
3023 * nss/nss_db/db-XXX.c: Likewise.
3024 * nss/nss_db/db-initgroups.c: Likewise.
3025 * nss/nss_db/db-netgrp.c: Likewise.
3026 * nss/nss_files/files-network.c: Likewise.
3027 * nss/nss_files/files-parse.c: Likewise.
3028 * posix/bug-regex5.c: Likewise.
3029 * posix/fnmatch_loop.c: Likewise.
3030 * posix/regcomp.c: Likewise.
3031 * posix/regexec.c: Likewise.
3032 * posix/tst-rfc3484-2.c: Likewise.
3033 * posix/tst-rfc3484-3.c: Likewise.
3034 * posix/tst-rfc3484.c: Likewise.
3035 * resolv/nss_dns/dns-canon.c: Likewise.
3036 * resolv/nss_dns/dns-network.c: Likewise.
3037 * resolv/res_init.c: Likewise.
3038 * resolv/res_mkquery.c: Likewise.
3039 * resolv/tst-aton.c: Likewise.
3040 * stdlib/cxa_atexit.c: Likewise.
3041 * stdlib/cxa_finalize.c: Likewise.
3042 * stdlib/gen-fpioconst.c: Likewise.
3043 * stdlib/strtol_l.c: Likewise.
3044 * string/tst-endian.c: Likewise.
3045 * sunrpc/auth_des.c: Likewise.
3046 * sunrpc/clnt_udp.c: Likewise.
3047 * sunrpc/rtime.c: Likewise.
3048 * sunrpc/svcauth_des.c: Likewise.
3049 * sunrpc/xdr.c: Likewise.
3050 * sunrpc/xdr_intXX_t.c: Likewise.
3051 * sunrpc/xdr_rec.c: Likewise.
3052 * sysdeps/generic/ldconfig.h: Likewise.
3053 * sysdeps/generic/ldsodefs.h: Likewise.
3054 * sysdeps/generic/memusage.h: Likewise.
3055 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3056 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3057 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3058 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3061 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3062 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3063 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3064 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3065 * sysdeps/posix/getaddrinfo.c: Likewise.
3066 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3067 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3068 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3069 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3070 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3071 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3072 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3073 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3074 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3075 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3076 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3077 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3078 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3079 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3080 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3081 * sysdeps/x86_64/dl-tls.h: Likewise.
3082 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3083 * time/alt_digit.c: Likewise.
3084 * time/era.c: Likewise.
3085 * wcsmbs/tst-c16c32-1.c: Likewise.
3087 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3089 * math/libm-test.inc (struct test_sincos_data): New type.
3090 (RUN_TEST_LOOP_sincos): New macro.
3091 (sincos_test_data): New variable.
3092 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3094 2013-05-16 Richard Henderson <rth@redhat.com>
3096 * math/atest-exp2.c (LIMB64): New macro.
3097 (CONSTSZ): New macro.
3098 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3100 (print_mpn_fp): ... to function scope.
3101 (read_mpn_hex): Remove.
3103 (exp2_mpn): Use mp_log2.
3104 (main): Use mp_exp1.
3106 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3108 * math/libm-test.inc: Remove comment about not testing "inexact"
3110 (INEXACT_EXCEPTION): New macro.
3111 (NO_INEXACT_EXCEPTION): Likewise.
3112 (INVALID_EXCEPTION_OK): Update value.
3113 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3114 (OVERFLOW_EXCEPTION_OK): Likewise.
3115 (UNDERFLOW_EXCEPTION_OK): Likewise.
3116 (IGNORE_ZERO_INF_SIGN): Likewise.
3117 (ERRNO_UNCHANGED): Likewise.
3118 (ERRNO_EDOM): Likewise.
3119 (ERRNO_ERANGE): Likewise.
3120 (test_exceptions): Handle testing "inexact" exceptions.
3121 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3122 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3123 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3124 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3126 (rint_towardzero_test_data): Likewise.
3127 (rint_downward_test_data): Likewise.
3128 (rint_upward_test_data): Likewise.
3130 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3131 with OVERFLOW_EXCEPTION.
3132 (exp10_test_data): Likewise.
3133 (exp2_test_data): Likewise.
3134 (expm1_test_data): Likewise.
3135 (lgamma_test_data): Likewise.
3136 (pow_test_data): Likewise.
3137 (tgamma_test_data): Likewise.
3138 (yn_test_data): Remove duplicate test of overflow.
3140 * math/libm-test.inc (struct test_cc_c_data): New type.
3141 (RUN_TEST_LOOP_cc_c): New macro.
3142 (cpow_test_data): New variable.
3143 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3145 * math/libm-test.inc (struct test_f_L_data): New type.
3146 (RUN_TEST_LOOP_f_L): New macro.
3147 (llrint_test_data): New variable.
3148 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3149 (llrint_tonearest_test_data): New variable.
3150 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3151 (llrint_towardzero_test_data): New variable.
3152 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3153 (llrint_downward_test_data): New variable.
3154 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3155 (llrint_upward_test_data): New variable.
3156 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3157 (llround_test_data): New variable.
3158 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3160 2013-05-13 Peter Collingbourne <pcc@google.com>
3162 * math/atest-exp2.c (get_log2): Remove const attribute.
3164 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3166 * math/libm-test.inc (struct test_f_l_data): New type.
3167 (RUN_TEST_LOOP_f_l): New macro.
3168 (lrint_test_data): New variable.
3169 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3170 (lrint_tonearest_test_data): New variable.
3171 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3172 (lrint_towardzero_test_data): New variable.
3173 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3174 (lrint_downward_test_data): New variable.
3175 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3176 (lrint_upward_test_data): New variable.
3177 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3178 (lround_test_data): New variable.
3179 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3181 2013-05-15 Peter Collingbourne <pcc@google.com>
3183 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3184 (EXTRACT_WORDS64) Use where appropriate.
3185 (INSERT_WORDS64) Likewise.
3187 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3188 constraints with x constraints.
3189 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3191 * malloc/obstack.c (_obstack_compat): Add initializer.
3193 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3195 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3196 si_trapno and add si_addr_lsb to _sifields.sigfault.
3197 (si_trapno): Remove macro.
3198 (si_addr_lsb): Define new macro.
3199 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3201 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3203 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3204 instead of TEST_f_l.
3205 (llrint_test_tonearest): Likewise.
3206 (llrint_test_towardzero): Likewise.
3207 (llrint_test_downward): Likewise.
3208 (llrint_test_upward): Likewise.
3209 (llround_test): Likewise.
3211 * math/libm-test.inc (struct test_f_i_data): Add comment.
3212 (RUN_TEST_LOOP_f_b): New macro.
3213 (RUN_TEST_LOOP_f_b_tg): Likewise.
3214 (finite_test_data): New variable.
3215 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3216 (isfinite_test_data): New variable.
3217 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3218 (isinf_test_data): New variable.
3219 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3220 (isnan_test_data): New variable.
3221 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3222 (isnormal_test_data): New variable.
3223 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3224 (issignaling_test_data): New variable.
3225 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3226 (signbit_test_data): New variable.
3227 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3229 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3230 with INVALID_EXCEPTION.
3231 (acosh_test_data): Likewise.
3232 (asin_test_data): Likewise.
3233 (atanh_test_data): Likewise.
3234 (fmod_test_data): Likewise.
3235 (log_test_data): Likewise.
3236 (log10_test_data): Likewise.
3237 (log2_test_data): Likewise.
3238 (pow_test_data): Likewise.
3239 (sqrt_test_data): Likewise.
3240 (y0_test_data): Likewise.
3241 (y1_test_data): Likewise.
3242 (yn_test_data): Likewise.
3244 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3247 * math/libm-test.inc (struct test_ff_i_data): New type.
3248 (RUN_TEST_LOOP_ff_i_tg): New macro.
3249 (isgreater_test_data): New variable.
3250 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3251 (isgreaterequal_test_data): New variable.
3252 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3253 (isless_test_data): New variable.
3254 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3255 (islessequal_test_data): New variable.
3256 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3257 (islessgreater_test_data): New variable.
3258 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3259 (isunordered_test_data): New variable.
3260 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3262 2013-05-14 David S. Miller <davem@davemloft.net>
3264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3266 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3268 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3270 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3272 (struct test_f_i_data): Change type of max_ulp to int.
3274 * math/libm-test.inc (test_ffI_f1_data): New type.
3275 (RUN_TEST_LOOP_ffI_f1): New macro.
3276 (remquo_test_data): New variable.
3277 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3279 * setjmp/tst-setjmp-fp.c: New file.
3280 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3281 (link-libm): New variable.
3282 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3284 * math/libm-test.inc (struct test_f_i_data): New type.
3285 (RUN_TEST_LOOP_f_i): New macro.
3286 (RUN_TEST_LOOP_f_i_tg): Likewise.
3287 (fpclassify_test_data): New variable.
3288 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3289 (ilogb_test_data): New variable.
3290 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3292 * math/libm-test.inc (scalbln_test): Correct function name in END
3295 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3296 (RUN_TEST_LOOP_fI_f1): New macro.
3297 (frexp_test_data): New variable.
3298 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3300 * math/libm-test.inc (struct test_fF_f1_data): New type.
3301 (RUN_TEST_LOOP_fF_f1): New macro.
3302 (modf_test_data): New variable.
3303 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3305 * math/libm-test.inc (struct test_f_f1_data): New type.
3306 (RUN_TEST_LOOP_f_f1): New macro.
3307 (gamma_test_data): New variable.
3308 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3309 (lgamma_test_data): New variable.
3310 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3312 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3314 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3315 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3316 (main): Comment "tls" pseudo-hwcap.
3318 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3320 * math/libm-test.inc (struct test_fl_f_data): New type.
3321 (RUN_TEST_LOOP_fl_f): New variable.
3322 (scalbln_test_data): New variable.
3323 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3325 * math/libm-test.inc (struct test_fi_f_data): New type.
3326 (RUN_TEST_LOOP_fi_f): New macro.
3327 (ldexp_test_data): New variable.
3328 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3329 (scalbn_test_data): New variable.
3330 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3332 * math/libm-test.inc (struct test_c_f_data): New type.
3333 (RUN_TEST_LOOP_c_f): New macro.
3334 (cabs_test_data): New variable.
3335 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3336 (carg_test_data): New variable.
3337 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3338 (cimag_test_data): New variable.
3339 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3340 (creal_test_data): New variable.
3341 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3343 * math/libm-test.inc (struct test_if_f_data): New type.
3344 (RUN_TEST_LOOP_if_f): New macro.
3345 (jn_test_data): New variable.
3346 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3347 (yn_test_data): New variable.
3348 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3350 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3352 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3354 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3355 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3357 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3359 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3360 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3361 (bench-deps): Add bench-timing.h.
3362 * benchtests-bench-skeleton.c: Include bench-timing.h.
3363 (main): Use TIMING_* macros instead of clock_gettime.
3364 * benchtests/bench-timing.h: New file.
3367 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3368 Renamed from _LIB_VERSION.
3369 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3371 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3373 * math/libm-test.inc (struct test_fff_f_data): New type.
3374 (RUN_TEST_LOOP_fff_f): New macro.
3375 (fma_test_data): New variable.
3376 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3377 (fma_towardzero_test_data): New variable.
3378 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3379 (fma_downward_test_data): New variable.
3380 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3381 (fma_upward_test_data): New variable.
3382 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3384 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3385 (struct test_c_c_data): New type.
3386 (RUN_TEST_LOOP_c_c): New macro.
3387 (cacos_test_data): New variable.
3388 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3389 (cacosh_test_data): New variable.
3390 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3391 (casin_test_data): New variable.
3392 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3393 (casinh_test_data): New variable.
3394 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3395 (catan_test_data): New variable.
3396 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3397 (catanh_test_data): New variable.
3398 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3399 (ccos_test_data): New variable.
3400 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3401 (ccosh_test_data): New variable.
3402 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3403 (cexp_test_data): New variable.
3404 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3405 (clog_test_data): New variable.
3406 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3407 (clog10_test_data): New variable.
3408 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3409 (conj_test_data): New variable.
3410 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3411 (cproj_test_data): New variable.
3412 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3413 (csin_test_data): New variable.
3414 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3415 (csinh_test_data): New variable.
3416 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3417 (csqrt_test_data): New variable.
3418 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3419 (ctan_test_data): New variable.
3420 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3421 (ctan_tonearest_test_data): New variable.
3422 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3423 (ctan_towardzero_test_data): New variable.
3424 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3425 (ctan_downward_test_data): New variable.
3426 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3427 (ctan_upward_test_data): New variable.
3428 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3429 (ctanh_test_data): New variable.
3430 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3431 (ctanh_tonearest_test_data): New variable.
3432 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3433 (ctanh_towardzero_test_data): New variable.
3434 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3435 (ctanh_downward_test_data): New variable.
3436 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3437 (ctanh_upward_test_data): New variable.
3438 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3439 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3442 * math/libm-test.inc (struct test_ff_f_data): New type.
3443 (struct test_ff_f_data_nexttoward): Likewise.
3444 (RUN_TEST_LOOP_2_f): New macro.
3445 (RUN_TEST_LOOP_ff_f): Likewise.
3446 (atan2_test_data): New variable.
3447 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3448 (copysign_test_data): New variable.
3449 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3450 (fdim_test_data): New variable.
3451 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3452 (fmax_test_data): New variable.
3453 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3454 (fmin_test_data): New variable.
3455 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3456 (fmod_test_data): New variable.
3457 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3458 (hypot_test_data): New variable.
3459 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3460 (nextafter_test_data): New variable.
3461 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3462 (nexttoward_test_data): New variable.
3463 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3464 (pow_test_data): New variable.
3465 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3466 (pow_tonearest_test_data): New variable.
3467 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3468 (pow_towardzero_test_data): New variable.
3469 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3470 (pow_downward_test_data): New variable.
3471 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3472 (pow_upward_test_data): New variable.
3473 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3474 (remainder_test_data): New variable.
3475 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3476 (scalb_test_data): New variable.
3477 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3478 * sysdeps/i386/fpu/libm-test-ulps: Update.
3480 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3482 * math/libm-test.inc (fma_test): Use max_value instead of local
3484 (nextafter_test): Likewise.
3486 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3487 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3488 (acos_downward_test_data): New variable.
3489 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3490 (acos_upward_test_data): New variable.
3491 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3492 (acosh_test_data): New variable.
3493 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3494 (asin_test_data): New variable.
3495 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3496 (asin_tonearest_test_data): New variable.
3497 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3498 (asin_towardzero_test_data): New variable.
3499 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3500 (asin_downward_test_data): New variable.
3501 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3502 (asin_upward_test_data): New variable.
3503 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3504 (asinh_test_data): New variable.
3505 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3506 (atan_test_data): New variable.
3507 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3508 (atanh_test_data): New variable.
3509 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3510 (cbrt_test_data): New variable.
3511 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3512 (ceil_test_data): New variable.
3513 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3514 (cos_test_data): New variable.
3515 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3516 (cos_tonearest_test_data): New variable.
3517 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3518 (cos_towardzero_test_data): New variable.
3519 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3520 (cos_downward_test_data): New variable.
3521 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3522 (cos_upward_test_data): New variable.
3523 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3524 (cosh_test_data): New variable.
3525 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3526 (cosh_tonearest_test_data): New variable.
3527 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3528 (cosh_towardzero_test_data): New variable.
3529 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3530 (cosh_downward_test_data): New variable.
3531 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3532 (cosh_upward_test_data): New variable.
3533 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3534 (erf_test_data): New variable.
3535 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3536 (erfc_test_data): New variable.
3537 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3538 (exp_test_data): New variable.
3539 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3540 (exp_tonearest_test_data): New variable.
3541 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3542 (exp_towardzero_test_data): New variable.
3543 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3544 (exp_downward_test_data): New variable.
3545 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3546 (exp_upward_test_data): New variable.
3547 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3548 (exp10_test_data): New variable.
3549 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3550 (exp2_test_data): New variable.
3551 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3552 (expm1_test_data): New variable.
3553 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3554 (fabs_test_data): New variable.
3555 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3556 (floor_test_data): New variable.
3557 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3558 (j0_test_data): New variable.
3559 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3560 (j1_test_data): New variable.
3561 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3562 (log_test_data): New variable.
3563 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3564 (log10_test_data): New variable.
3565 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3566 (log1p_test_data): New variable.
3567 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3568 (log2_test_data): New variable.
3569 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3570 (logb_test_data): New variable.
3571 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3572 (logb_downward_test_data): New variable.
3573 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3574 (nearbyint_test_data): New variable.
3575 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3576 (rint_test_data): New variable.
3577 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3578 (rint_tonearest_test_data): New variable.
3579 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3580 (rint_towardzero_test_data): New variable.
3581 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3582 (rint_downward_test_data): New variable.
3583 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3584 (rint_upward_test_data): New variable.
3585 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3586 (round_test_data): New variable.
3587 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3588 (sin_test_data): New variable.
3589 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3590 (sin_tonearest_test_data): New variable.
3591 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3592 (sin_towardzero_test_data): New variable.
3593 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3594 (sin_downward_test_data): New variable.
3595 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3596 (sin_upward_test_data): New variable.
3597 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3598 (sinh_test_data): New variable.
3599 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3600 (sinh_tonearest_test_data): New variable.
3601 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3602 (sinh_towardzero_test_data): New variable.
3603 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3604 (sinh_downward_test_data): New variable.
3605 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3606 (sinh_upward_test_data): New variable.
3607 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3608 (sqrt_test_data): New variable.
3609 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3610 (tan_test_data): New variable.
3611 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3612 (tan_tonearest_test_data): New variable.
3613 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3614 (tan_towardzero_test_data): New variable.
3615 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3616 (tan_downward_test_data): New variable.
3617 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3618 (tan_upward_test_data): New variable.
3619 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3620 (tanh_test_data): New variable.
3621 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3622 (tgamma_test_data): New variable.
3623 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3624 (trunc_test_data): New variable.
3625 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3626 (y0_test_data): New variable.
3627 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3628 (y1_test_data): New variable.
3629 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3630 (significand_test_data): New variable.
3631 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3633 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3636 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3638 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3640 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3642 2013-05-10 Andreas Jaeger <aj@suse.de>
3645 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3646 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3648 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3650 * math/gen-libm-test.pl (adjust_arg): New function.
3651 (special_functions): Handle generating output in both functions
3653 (parse_args): Likewise.
3654 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3655 $in_func argument to parse_args.
3656 * math/libm-test.inc (struct test_f_f_data): New type.
3657 (IF_ROUND_INIT_): New macro.
3658 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3659 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3660 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3661 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3662 (ROUND_RESTORE_): Likewise.
3663 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3664 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3665 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3666 (ROUND_RESTORE_FE_UPWARD): Likewise.
3667 (RUN_TEST_LOOP_f_f): New macro.
3668 (acos_test_data): New variable.
3669 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3670 (acos_tonearest_test_data): New variable.
3671 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3673 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3675 * benchtests/bench-skeleton.c (startup): Fix coding style.
3677 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3680 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3681 negative infinity argument.
3682 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3683 negative infinity argument.
3684 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3685 negative infinity argument.
3686 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3689 2013-05-10 Florian Weimer <fweimer@redhat.com>
3691 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3692 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3693 * iconv/iconv_prog.c (main): Likewise.
3694 * locale/programs/charmap-dir.c (charmap_readdir)
3695 (fopen_uncompressed): Likewise.
3696 * locale/programs/locfile.c (siblings_uncached)
3697 (write_locale_data): Use lstat64 instead of lstat.
3698 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3701 2013-05-10 Andreas Jaeger <aj@suse.de>
3704 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3708 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3710 * elf/dl-close.c (_dl_close_worker): Add comments.
3712 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3715 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3717 (__ieee754_rem_pio2l): Update comments.
3720 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3722 (__ieee754_rem_pio2l): Update comments.
3724 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3725 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3727 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3730 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3731 (M_PI_34_LOG10El): Likewise.
3732 (M_PI2_LOG10El): Likewise.
3733 (M_PI4_LOG10El): Likewise.
3734 (M_PI_LOG10El): Likewise.
3736 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3740 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3742 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3743 (MINUS_ZERO_INIT): Likewise.
3744 (PLUS_INFTY_INIT): Likewise.
3745 (MINUS_INFTY_INIT): Likewise.
3746 (QNAN_VALUE_INIT): Likewise.
3747 (MAX_VALUE_INIT): Likewise.
3748 (MIN_VALUE_INIT): Likewise.
3749 (MIN_SUBNORM_VALUE_INIT): Likewise.
3750 (plus_zero): Initialize with PLUS_ZERO_INIT.
3751 (minus_zero): Initialize with MINUS_ZERO_INIT.
3752 (plus_infty): Initialize with PLUS_INFTY_INIT.
3753 (minus_infty): Initialize with MINUS_INFTY_INIT.
3754 (qnan_value): Initialize with QNAN_VALUE_INIT.
3755 (max_value): Initialize with MAX_VALUE_INIT.
3756 (min_value): Initialize with MIN_VALUE_INIT.
3757 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3759 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3760 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3761 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3762 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3764 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3765 (RUN_TEST_2_f): Likewise.
3766 (RUN_TEST_ff_f): Likewise.
3767 (RUN_TEST_fi_f): Likewise.
3768 (RUN_TEST_fl_f): Likewise.
3769 (RUN_TEST_fff_f): Likewise.
3770 (RUN_TEST_c_f): Likewise.
3771 (RUN_TEST_f_f1): Likewise.
3772 (RUN_TEST_fF_f1): Likewise.
3773 (RUN_TEST_fI_f1): Likewise.
3774 (RUN_TEST_ffI_f1): Likewise.
3775 (RUN_TEST_c_c): Likewise.
3776 (RUN_TEST_cc_c): Likewise.
3777 (RUN_TEST_f_i): Likewise.
3778 (RUN_TEST_f_i_tg): Likewise.
3779 (RUN_TEST_ff_i_tg): Likewise.
3780 (RUN_TEST_f_b): Likewise.
3781 (RUN_TEST_f_b_tg): Likewise.
3782 (RUN_TEST_f_l): Likewise.
3783 (RUN_TEST_f_L): Likewise.
3784 (RUN_TEST_sincos): Likewise.
3785 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3786 whether to show exceptions. Do not include ");\n" in return
3788 (special_functions): Output call to RUN_TEST_sincos instead of
3789 check_float calls. Update calls to new_test.
3790 (parse_args): Output call to single RUN_TEST_* macro instead of
3791 check_* calls and other assignments. Update calls to new_test.
3797 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3798 input to result for tgamma overflow.
3799 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3800 (gamma_coeff): New variable.
3801 (NCOEFF): New macro.
3802 (gamma_positive): New function.
3803 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3804 underflow here. Use gamma_positive instead of exp (lgamma) for
3806 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3807 (gamma_coeff): New variable.
3808 (NCOEFF): New macro.
3809 (gammaf_positive): New function.
3810 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3811 underflow here. Use gamma_positive instead of exp (lgamma) for
3813 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3814 (gamma_coeff): New variable.
3815 (NCOEFF): New macro.
3816 (gammal_positive): New function.
3817 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3818 underflow here. Use gamma_positive instead of exp (lgamma) for
3820 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3821 (gamma_coeff): New variable.
3822 (NCOEFF): New macro.
3823 (gammal_positive): New function.
3824 (__ieee754_gammal_r): Handle positive infinity, overflow and
3825 underflow here. Handle NaN the same as positive infinity. Remove
3826 check x < 0xffffffff for negative integers. Use gamma_positive
3827 instead of exp (lgamma) for other arguments.
3828 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3829 (gamma_coeff): New variable.
3830 (NCOEFF): New macro.
3831 (gammal_positive): New function.
3832 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3833 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3837 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3838 * sysdeps/generic/math_private.h (__gamma_productf): New
3840 (__gamma_product): Likewise.
3841 (__gamma_productl): Likewise.
3842 * math/Makefile (libm-calls): Add gamma_product.
3843 * math/libm-test.inc (tgamma_test): Add more tests.
3844 * sysdeps/i386/fpu/libm-test-ulps: Update.
3845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3847 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3849 * benchtests/bench-skeleton.c (main): Preheat CPU.
3851 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3853 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3855 2013-05-07 Roland McGrath <roland@hack.frob.com>
3857 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3858 and _dl_skip_args_internal.
3860 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3862 * manual/message.texi (Message Translation): Talk about users.
3863 Message to key mapping impacts design.
3865 2013-05-06 Roland McGrath <roland@hack.frob.com>
3867 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3869 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3871 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3872 * sysdeps/wordsize-64/glob64.c: ... here.
3874 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3875 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3878 * debug/getlogin_r_chk.c: Moved to ...
3879 * login/getlogin_r_chk.c: ... here.
3880 * debug/Makefile (routines): Move getlogin_r_chk to ...
3881 * login/Makefile (routines): ... here.
3882 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3883 * login/Versions (libc: GLIBC_2.4): ... here.
3885 * io/poll.c (__poll): Renamed from poll.
3886 Add libc_hidden_def.
3887 (poll): Define as weak alias.
3889 * debug/ptsname_r_chk.c: Moved to ...
3890 * login/ptsname_r_chk.c: ... here.
3891 * debug/Makefile (routines): Move ptsname_r_chk to ...
3892 * login/Makefile (routines): ... here.
3893 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3894 * login/Versions (libc: GLIBC_2.4): ... here.
3896 * posix/getlogin.c: Moved to ...
3897 * login/getlogin.c: ... here.
3898 * posix/getlogin_r.c: Moved to ...
3899 * login/getlogin_r.c: ... here.
3900 * posix/getlogin_r.c: Moved to ...
3901 * login/getlogin_r.c: ... here.
3902 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3903 * login/Makefile (routines): ... here.
3904 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3905 * login/Versions (libc: GLIBC_2.0): ... here.
3907 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3908 (setrlimit): Define as weak alias.
3910 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3911 Call __ names for open, ftruncate, and close.
3912 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3913 (truncate): Define as weak alias.
3915 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3917 * math/gen-libm-test.pl (parse_args): Initialize x before each
3918 test of frexp, modf and remquo.
3920 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3923 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3927 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3929 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3931 2013-05-06 Roland McGrath <roland@hack.frob.com>
3933 * elf/dl-writev.h: New file.
3934 * elf/dl-misc.c: Include it.
3935 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3936 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3938 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3940 * math/libm-test.inc (noXFails): Remove variable.
3941 (noXPasses): Likewise.
3942 (BUILD_COMPLEX_INT): Remove macro.
3943 (print_screen): Remove xfail argument.
3944 (print_screen_max_error): Likewise.
3945 (update_stats): Likewise.
3946 (print_max_error): Likewise. Update calls to other affected
3948 (print_complex_max_error): Likewise.
3949 (test_single_exception): Update calls to print_screen.
3950 (test_single_errno): Likewise.
3951 (check_float_internal): Remove xfail argument. Update calls to
3952 other affected functions.
3953 (check_float): Likewise.
3954 (check_complex): Likewise.
3955 (check_int): Likewise.
3956 (check_long): Likewise.
3957 (check_bool): Likewise.
3958 (check_longlong): Likewise.
3959 (main): Don't print noXFails and noXPasses.
3960 * math/gen-libm-test.pl (top level): Don't mention expected
3961 failure handling in comment.
3962 (new_test): Don't handle expected failures.
3963 (parse_args): Don't mention expected failure handling in comment.
3964 (generate_testfile): Don't handle expected failures.
3965 (parse_ulps): Likewise.
3966 (print_ulps_file): Likewise.
3967 (get_failure): Remove function.
3968 (output_test): Don't handle expected failures.
3969 * make/README.libm-test: Don't mention expected failure handling.
3971 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3972 (minus_zero): Likewise.
3973 (plus_infty): Likewise.
3974 (minus_infty): Likewise.
3975 (qnan_value): Likewise.
3976 (max_value): Likewise.
3977 (min_value): Likewise.
3978 (min_subnorm_value): Likewise.
3979 (initialize): Do not initialize those variables dynamically.
3981 2013-05-03 Roland McGrath <roland@hack.frob.com>
3983 * io/open.c (__open_2): Moved to ...
3984 * io/open_2.c: ... this new file.
3985 * io/open64.c (__open64_2): Moved to ...
3986 * io/open64_2.c: ... this new file.
3987 * io/openat.c (__openat_2): Moved to ...
3988 * io/openat_2.c: ... this new file.
3989 * io/openat64.c (__openat64_2): Moved to ...
3990 * io/openat64_2.c: ... this new file.
3991 * io/Makefile (routines): Add them.
3992 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3993 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3994 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3995 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3996 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3997 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3998 (__openat64): Add hidden_ver.
3999 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4000 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4002 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4003 Separately conditionalize setting of GLRO(dl_sysinfo) so
4004 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4005 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4007 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4009 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4010 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4012 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4013 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4014 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4015 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4016 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4018 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4020 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4023 * math/libm-test.inc (hypot_test): Do not use
4024 IGNORE_ZERO_INF_SIGN.
4026 2013-05-03 Andreas Jaeger <aj@suse.de>
4028 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4030 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4031 (PF_MAX): Adjust for VSOCK change.
4033 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4037 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4040 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4041 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4042 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4044 2013-05-02 David S. Miller <davem@davemloft.net>
4046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4048 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4050 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4052 2013-05-01 Roland McGrath <roland@hack.frob.com>
4054 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4056 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4059 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4060 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4061 Use __attribute__ ((__gnu_inline__)).
4062 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4063 Don't use __attribute__ ((__gnu_inline__)).
4065 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4068 * math/s_catan.c (__catan): Handle small real or imaginary part of
4069 input specially to avoid spurious underflow.
4070 * math/s_catanf.c (__catanf): Likewise.
4071 * math/s_catanh.c (__catanh): Likewise.
4072 * math/s_catanhf.c (__catanhf): Likewise.
4073 * math/s_catanhl.c (__catanhl): Likewise.
4074 * math/s_catanl.c (__catanl): Likewise.
4075 * math/libm-test.inc (catan_test): Add more tests.
4076 (catanh_test): Likewise.
4077 * sysdeps/i386/fpu/libm-test-ulps: Update.
4078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4080 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4084 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4087 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4088 accurately for denominator in atan2.
4089 * math/s_catanf.c (__catanf): Likewise.
4090 * math/s_catanh.c (__catanh): Likewise.
4091 * math/s_catanhf.c (__catanhf): Likewise.
4092 * math/s_catanhl.c (__catanhl): Likewise.
4093 * math/s_catanl.c (__catanl): Likewise.
4094 * math/libm-test.inc (catan_test): Add more tests.
4095 (catanh_test): Likewise.
4096 * sysdeps/i386/fpu/libm-test-ulps: Update.
4097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4099 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4101 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4103 * benchtests/Makefile (bench): Remove slow benchmarks.
4104 * benchtests/atan-inputs: Add slow benchmark inputs.
4105 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4106 (BENCH_FUNC): Accept variant offset.
4108 * benchtests/bench-skeleton.c (main): Run benchmark for each
4110 * benchtests/cos-inputs: Add slow benchmark inputs.
4111 * benchtests/exp-inputs: Likewise.
4112 * benchtests/pow-inputs: Likewise.
4113 * benchtests/sin-inputs: Likewise.
4114 * benchtests/slowatan-inputs: Remove.
4115 * benchtests/slowatan.c: Remove.
4116 * benchtests/slowcos-inputs: Remove.
4117 * benchtests/slowcos.c: Remove.
4118 * benchtests/slowexp-inputs: Remove.
4119 * benchtests/slowexp.c: Remove.
4120 * benchtests/slowpow-inputs: Remove.
4121 * benchtests/slowpow.c: Remove.
4122 * benchtests/slowsin-inputs: Remove.
4123 * benchtests/slowsin.c: Remove.
4124 * benchtests/slowtan-inputs: Remove.
4125 * benchtests/slowtan.c: Remove.
4126 * benchtests/tan-inputs: Add slow benchmark inputs.
4127 * scripts/bench.pl: Parse comments and directives.
4129 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4131 ($(objpfx)bench-%.c): Remove *-ITER.
4132 * benchtests/bench-modf.c: Remove definition of ITER.
4133 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4134 (main): Loop for DURATION seconds instead of fixed number of
4136 * scripts/bench.pl: Don't expect iterations in parameters.
4138 2013-04-29 Roland McGrath <roland@hack.frob.com>
4140 * io/fchdir.c (__fchdir): Renamed from fchdir.
4141 (fchdir): Define as weak alias.
4143 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4145 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4146 (ERRNO_EDOM): Likewise.
4147 (ERRNO_ERANGE): Likewise.
4148 (noErrnoTests): New variable.
4149 (init_max_error): Set errno to 0.
4150 (test_single_errno): New function.
4151 (test_errno): Likewise.
4152 (check_float_internal): Call test_errno. Set errno to 0.
4153 (check_complex): Refer to errno tests in comment.
4154 (check_int): Call test_errno. Set errno to 0.
4155 (check_long): Likewise.
4156 (check_bool): Likewise.
4157 (check_longlong): Likewise.
4158 (cos_test): Use ERRNO_* flags for errno tests instead of
4160 (expm1_test): Likewise.
4161 (fmod_test): Likewise.
4162 (ilogb_test): Likewise.
4163 (lgamma_test): Likewise.
4164 (pow_test): Likewise.
4165 (remainder_test): Likewise.
4166 (sin_test): Likewise.
4167 (tan_test): Likewise.
4168 (yn_test): Likewise.
4169 (initialize): Set errno to 0.
4170 (main): Print number of errno tests.
4171 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4173 2013-04-29 Andreas Jaeger <aj@suse.de>
4176 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4180 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4181 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4185 * stdlib/random.c (__initstate): Return NULL if
4189 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4190 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4193 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4197 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4199 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4200 of individual tests.
4201 (casin_test): Likewise.
4202 (casinh_test): Likewise.
4204 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4207 * math/s_catan.c (__catan): Handle arguments with large real or
4208 imaginary part separately without squaring.
4209 * math/s_catanf.c (__catanf): Likewise.
4210 * math/s_catanh.c (__catanh): Likewise.
4211 * math/s_catanhf.c (__catanhf): Likewise.
4212 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4214 (__catanhl): Handle arguments with large real or imaginary part
4215 separately without squaring.
4216 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4218 (__catanl): Handle arguments with large real or imaginary part
4219 separately without squaring.
4220 * math/libm-test.inc (catan_test): Add more tests.
4221 (catanh_test): Likewise.
4222 * sysdeps/i386/fpu/libm-test-ulps: Update.
4223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4225 2013-04-27 Andreas Jaeger <aj@suse.de>
4228 * stdlib/stdlib.h: Update guards for qecvt.
4229 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4232 2013-04-27 Allan McRae <allan@archlinux.org>
4234 * sysdeps/i386/fpu/libm-test-ulps: Update.
4236 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4239 * math/s_catan.c: Include <float.h>.
4240 (__catan): Ensure underflow exception occurs for underflowed
4242 * math/s_catanf.c: Include <float.h>.
4243 (__catanf): Ensure underflow exception occurs for underflowed
4245 * math/s_catanh.c: Include <float.h>.
4246 (__catanh): Ensure underflow exception occurs for underflowed
4248 * math/s_catanhf.c: Include <float.h>.
4249 (__catanhf): Ensure underflow exception occurs for underflowed
4251 * math/s_catanhl.c: Include <float.h>.
4252 (__catanhl): Ensure underflow exception occurs for underflowed
4254 * math/s_catanl.c: Include <float.h>.
4255 (__catanl): Ensure underflow exception occurs for underflowed
4257 * math/libm-test.inc (catan_test): Add more tests.
4258 (catanh_test): Likewise.
4261 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4263 * math/s_ccoshf.c (__ccoshf): Likewise.
4264 * math/s_ccoshl.c (__ccoshl): Likewise.
4265 * math/s_csin.c (__csin): Likewise.
4266 * math/s_csinf.c (__csinf): Likewise.
4267 * math/s_csinh.c (__csinh): Likewise.
4268 * math/s_csinhf.c (__csinhf): Likewise.
4269 * math/s_csinhl.c (__csinhl): Likewise.
4270 * math/s_csinl.c (__csinl): Likewise.
4271 * math/libm-test.inc (ccos_test): Add more tests.
4272 (ccosh_test): Likewise.
4273 (csin_test): Likewise.
4274 (csinh_test): Likewise.
4276 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4278 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4279 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4280 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4281 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4282 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4283 powerpc/power5+/fpu folders.
4284 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4287 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4291 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4293 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4294 additions to variable.
4295 [$(config-machine) = x86_64] (modules-names): Likewise.
4296 ($(objpfx)tst-audit3): Remove dependency.
4297 ($(objpfx)tst-audit3.out): Likewise.
4298 ($(objpfx)tst-audit4): Likewise.
4299 ($(objpfx)tst-audit4.out): Likewise.
4300 ($(objpfx)tst-audit5): Likewise.
4301 ($(objpfx)tst-audit5.out): Likewise.
4302 ($(objpfx)tst-audit6): Likewise.
4303 ($(objpfx)tst-audit6.out): Likewise.
4304 ($(objpfx)tst-audit7): Likewise.
4305 ($(objpfx)tst-audit7.out): Likewise.
4306 (tst-audit3-ENV): Remove variable.
4307 (tst-audit4-ENV): Likewise.
4308 (tst-audit5-ENV): Likewise.
4309 (tst-audit6-ENV): Likewise.
4310 (tst-audit7-ENV): Likewise.
4311 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4312 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4313 addition to variable.
4314 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4315 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4316 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4317 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4318 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4319 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4320 tst-audit3, tst-audit4 and tst-audit5.
4321 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4322 tst-audit6 and tst-audit7.
4323 [$(subdir) = elf] (modules-names): Add audit modules for those
4325 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4326 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4327 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4328 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4329 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4330 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4331 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4332 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4333 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4334 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4335 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4336 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4337 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4338 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4339 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4340 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4342 [$(subdir) = elf && $(config-cflags-avx) = yes]
4343 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4344 [$(subdir) = elf && $(config-cflags-avx) = yes]
4345 (CFLAGS-tst-auditmod4a.c): Likewise.
4346 [$(subdir) = elf && $(config-cflags-avx) = yes]
4347 (CFLAGS-tst-auditmod4b.c): Likewise.
4348 [$(subdir) = elf && $(config-cflags-avx) = yes]
4349 (CFLAGS-tst-auditmod6b.c): Likewise.
4350 [$(subdir) = elf && $(config-cflags-avx) = yes]
4351 (CFLAGS-tst-auditmod6c.c): Likewise.
4352 [$(subdir) = elf && $(config-cflags-avx) = yes]
4353 (CFLAGS-tst-auditmod7b.c): Likewise.
4354 * elf/tst-audit3.c: Move to ...
4355 * sysdeps/x86_64/tst-audit3.c: ... here.
4356 * elf/tst-audit4.c: Move to ...
4357 * sysdeps/x86_64/tst-audit4.c: ... here.
4358 * elf/tst-audit5.c: Move to ...
4359 * sysdeps/x86_64/tst-audit5.c: ... here.
4360 * elf/tst-audit6.c: Move to ...
4361 * sysdeps/x86_64/tst-audit6.c: ... here.
4362 * elf/tst-audit7.c: Move to ...
4363 * sysdeps/x86_64/tst-audit7.c: ... here.
4364 * elf/tst-auditmod3a.c: Move to ...
4365 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4366 * elf/tst-auditmod3b.c: Move to ...
4367 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4368 * elf/tst-auditmod4a.c: Move to ...
4369 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4370 * elf/tst-auditmod4b.c: Move to ...
4371 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4372 * elf/tst-auditmod5a.c: Move to ...
4373 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4374 * elf/tst-auditmod5b.c: Move to ...
4375 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4376 * elf/tst-auditmod6a.c: Move to ...
4377 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4378 * elf/tst-auditmod6b.c: Move to ...
4379 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4380 * elf/tst-auditmod6c.c: Move to ...
4381 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4382 * elf/tst-auditmod7a.c: Move to ...
4383 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4384 * elf/tst-auditmod7b.c: Move to ...
4385 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4387 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4390 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4391 define unconditionally.
4392 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4393 define unconditionally.
4394 (INT8_C, INT16_C, etc.): Likewise.
4396 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4398 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4399 __ehdr_start with hidden visibility.
4401 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4403 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4405 * math/libm-test.inc (cos_test): Use accurate hex constants.
4406 (sincost_test): Likewise.
4408 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4410 * math/libm-test.inc (catan_test): Add more tests.
4411 (catanh_test): Likewise.
4413 * math/s_catanf.c (__catanf): Use suffixed floating-point
4415 * math/s_catanhf.c (__catanhf): Likewise.
4416 * math/s_catanhl.c (__catanhl): Likewise.
4417 * math/s_catanl.c (__catanl): Likewise.
4420 * math/s_catan.c (__catan): Calculate imaginary part of result
4421 with log1p not log unless computing log of number close to 0.
4422 * math/s_catanf.c (__catanf): Likewise.
4423 * math/s_catanl.c (__catanl): Likewise.
4424 * math/s_catanh.c (__catanh): Calculate real part of result with
4425 log1p not log unless computing log of number close to 0.
4426 * math/s_catanhf.c (__catanhf): Likewise.
4427 * math/s_catanhl.c (__catanhl): Likewise.
4428 * math/libm-test.inc (catan_test): Add more tests.
4429 (catanh_test): Likewise.
4430 * sysdeps/i386/fpu/libm-test-ulps: Update.
4431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4433 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4435 * benchtests/Makefile: Mention files in which fast and slow
4436 paths of math functions are implemented.
4438 2013-04-23 Roland McGrath <roland@hack.frob.com>
4440 * sysdeps/posix/timespec_get.c: New file.
4442 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4446 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4448 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4449 powerpc/power5/fpu folders.
4450 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4451 * benchtests/Makefile: Add modf testcase.
4452 * benchtests/bench-modf.c: New file: Benchmark test for mo
4454 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4457 * time/Makefile (tests): Add tst-strptime-whitespace.
4458 * time/strptime_l.c (get_number): Use ISSPACE.
4459 (__strptime_internal): Likewise.
4460 * time/tst-strptime-whitespace.c: New test case.
4462 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4464 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4466 (_nss_files_init): Set it here.
4468 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4470 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4471 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4474 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4476 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4478 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4480 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4483 2013-04-21 David S. Miller <davem@davemloft.net>
4485 * po/ru.po: Update Russion translation from translation project.
4487 2013-04-17 Adam Conrad <adconrad@0c3.net>
4489 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4492 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4494 * configure.in: Remove i386 configure warning. Remove i386 case.
4495 * configure: Regenerate.
4496 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4497 Add example to error message.
4498 * sysdeps/i386/configure: Regenerate.
4500 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4502 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4504 * benchtests/cos-inputs: New file.
4505 * benchtests/slowcos-inputs: New file.
4506 * benchtests/slowcos.c: New file.
4507 * benchtests/slowtan-inputs: New file.
4508 * benchtests/slowtan.c: New file.
4509 * benchtests/tan-inputs: New file.
4511 2013-04-16 Roland McGrath <roland@hack.frob.com>
4513 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4516 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4518 * benchtests/Makefile: Include cppflags-iterator.mk to add
4519 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4521 * Makefile.in (bench-clean): New target.
4522 * benchtests/Makefile (bench-clean): Likewise.
4524 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4526 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4528 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4530 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4532 2013-04-15 Andreas Schwab <schwab@suse.de>
4534 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4536 * nscd/pwdcache.c (cache_addpw): Likewise.
4537 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4540 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4542 * benchtests/Makefile (bench): Write all output to
4543 bench-out.tmp together.
4545 2013-04-15 Andreas Schwab <schwab@suse.de>
4547 * nscd/nscd.c (main): Don't fork again after closing files.
4549 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4551 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4553 * benchtests/Rules (bench-deps): Collect dependencies into a
4554 single variable. Add Makefile to dependencies.
4555 ($(objpfx)bench-%.c): Depend on bench-deps.
4557 2013-04-12 Roland McGrath <roland@hack.frob.com>
4558 Xavier Roche <roche+kml2@exalead.com>
4561 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4562 just that it's a file descriptor.
4563 * manual/llio.texi (Synchronizing AIO Operations): Update description
4564 for EBADF error from aio_fsync.
4566 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4568 * Rules (bench): Move target definition...
4569 * benchtests/Makefile: ... here.
4571 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4573 * math/libm-test.inc (cos_test): Fix PI/2 test.
4574 (sincos_test): Likewise.
4575 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4576 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4578 2013-04-11 Andreas Schwab <schwab@suse.de>
4581 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4582 accept exponent character only when digits were seen.
4583 * stdio-common/Makefile (tests): Add bug26.
4584 * stdio-common/bug26.c: New file.
4587 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4590 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4592 * Makeconfig (rtld-prefix): Define built linker prefix.
4593 * Rules (run-bench): Use it.
4594 * math/Makefile (run-regen-ulps): Likewise.
4596 * Rules (bench): Remove eval.
4598 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4599 Roland McGrath <roland@hack.frob.com>
4600 Ondrej Bilka <neleai@seznam.cz>
4603 * time/getdate.c: Include ctype.h and alloca.h.
4604 (__getdate_r): Trim leading and trailing spaces of input.
4605 * time/tst-getdate.c (tests): Add tests with leading and
4608 2013-04-08 Roland McGrath <roland@hack.frob.com>
4611 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4612 when computing value.
4614 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4616 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4617 Use testrun.sh to run libm tests.
4620 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4622 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4625 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4627 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4629 * Makefile.in (regen-ulps): New target.
4630 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4631 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4632 [ifneq (no,$(PERL)] (regen-ulps): New target.
4633 [ifeq (no,$(PERL)] (regen-ulps): New target.
4634 * math/libm-test.inc (ulps_file_name): Define.
4635 (output_dir): New variable.
4636 (options): Add "output-dir" option.
4637 (parse_opt): Handle 'o' case.
4638 (main): If output_dir is non-NULL use it as a prefix
4640 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4642 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4645 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4646 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4647 fail configure if __sync_val_compare_and_swap is not inlined.
4648 * sysdeps/i386/configure: Regenerate.
4649 * configure.in: Build for i686 when configured for i386.
4650 * configure: Regenerate.
4651 * README: Remove i386 reference.
4653 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4655 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4656 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4658 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4660 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4661 (lmsnanval): New variables.
4662 (F): Add conversion tests.
4663 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4664 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4666 * stdio-common/tstdiomisc.c (F): Properly collect individual
4670 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4671 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4672 Instead, use input NaN values or generate a qNaN by arithmetic
4673 operation. Also fix bugs to comply with the standard.
4674 * math/libm-test.inc (remainder_test): Add more tests.
4677 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4679 input NaN values or generate a qNaN by arithmetic operation.
4681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4684 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4687 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4690 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4692 * math/s_cexpf.c (__cexpf): Likewise.
4693 * math/s_cexpl.c (__cexpl): Likewise.
4694 * math/libm-test.inc (cexp_test): Add more tests.
4696 2013-04-03 Andreas Schwab <schwab@suse.de>
4699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4700 order arrays from heap if bigger than alloca cutoff.
4702 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4704 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4705 (SNAN_TESTS_double): Refer to GCC PR56831.
4706 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4709 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4711 * Rules (bench): Move bench.out after the run is complete.
4713 * Rules (bench): Echo currently running benchmark.
4715 * benchtests/Makefile (bench): Add atan and slowatan.
4716 * benchtests/atan-inputs: New file.
4717 * benchtests/slowatan-inputs: New file.
4718 * benchtests/slowatan.c: New file.
4720 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4725 * sysdeps/unix/sysv/linux/kernel-features.h
4726 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4727 __ASSUME_XFS_RESTRICTED_CHOWN.
4728 * sysdeps/unix/sysv/linux/pathconf.c
4729 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4730 Save and restore errno.
4732 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4735 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4736 arguments using __kernel_casinh.
4737 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4738 arguments using __kernel_casinhf.
4739 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4740 arguments using __kernel_casinhl.
4741 * math/libm-test.inc (cacosh_test): Add more tests.
4742 * sysdeps/i386/fpu/libm-test-ulps: Update.
4743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4745 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4747 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4750 * bench/Makefile (bench): Add sin and slowsin.
4751 * benchtests/sin-inputs: New file.
4752 * benchtests/slowsin-inputs: New file.
4753 * benchtests/slowsin.c: New file.
4755 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4756 (bench): Add slowexp and slowpow.
4757 (exp-ITER): Increase iterations.
4758 (pow-ITER): Likewise.
4759 * benchtests/exp-inputs: Change input.
4760 * benchtests/pow-inputs: Likewise.
4761 * benchtests/slowexp-inputs: New file.
4762 * benchtests/slowexp.c: New file.
4763 * benchtests/slowpow-inputs: New file.
4764 * benchtests/slowpow.c: New file.
4766 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4768 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4770 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4771 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4772 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4773 * benchtests/Makefile: Add rint benchtest.
4774 * benchtests/rint-inputs: Input for rint benchtest.
4776 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4778 * Versions.def (libm): Add GLIBC_2.18.
4779 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4780 hidden libm prototypes.
4781 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4782 * math/Makefile (libm-calls): Add s_issignaling.
4783 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4784 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4785 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4787 * math/math.h [__USE_GNU] (issignaling): New macro.
4788 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4789 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4790 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4791 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4794 * manual/arith.texi (issignaling): New section.
4795 * manual/libm-err-tab.pl (@all_functions): Update comment.
4796 * math/gen-libm-test.pl (parse_args): Apply special handling for
4798 * math/libm-test.inc (print_float, issignaling_test): New
4800 (check_float_internal): Add issignaling checks.
4801 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4803 * sysdeps/powerpc/math-tests.h: New file.
4804 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4806 * math/test-snan.c (TEST_FUNC): Likewise.
4808 2013-03-30 David S. Miller <davem@davemloft.net>
4810 * po/de.po: Update from translation team.
4812 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4815 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4816 imaginary part less than 1.0 and real part less than 0.5
4818 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4819 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4820 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4821 (cacos_test): Add more tests.
4822 (casin_test): Likewise.
4823 (casinh_test): Likewise.
4824 * sysdeps/i386/fpu/libm-test-ulps: Update.
4825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4827 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4829 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4832 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4833 (__pow_mp): Replace ONE and MONE with their values.
4834 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4836 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4837 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4838 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4841 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4843 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4844 (__pow_mp): Replace ZERO and MZERO with their values.
4845 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4846 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4847 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4849 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4850 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4853 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4855 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4857 2013-03-28 Roland McGrath <roland@hack.frob.com>
4859 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4860 Declare with __attribute__ ((weak)).
4861 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4862 Call __call_tls_dtors only if it's not NULL.
4864 2013-03-28 Roland McGrath <roland@hack.frob.com>
4866 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4867 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4868 magic __ehdr_start linker symbol if it's defined.
4869 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4870 them up here if it was already done.
4872 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4873 (_dl_aux_init): Use const in cast when setting it.
4874 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4875 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4876 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4878 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4880 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4881 * csu/libc-tls.c: Nor here.
4882 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4884 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4885 (__libc_message): Never call vsyslog.
4887 2013-03-28 Alan Modra <amodra@gmail.com>
4889 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4891 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4894 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4897 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4901 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4904 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4905 Don't add gid passed as argument.
4907 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4909 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4912 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4913 imaginary part between 1.0 and 1.5 and real part less than 0.5
4915 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4916 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4917 * math/libm-test.inc (cacos_test): Add more tests.
4918 (casin_test): Likewise.
4919 (casinh_test): Likewise.
4920 * sysdeps/i386/fpu/libm-test-ulps: Update.
4921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4923 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4925 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4929 (__dbl_mp): Likewise.
4930 (add_magnitudes): Likewise.
4931 (sub_magnitudes): Likewise.
4939 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4941 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4942 (__dubcos): Likewise.
4943 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4944 (__ieee754_acos): Likewise.
4945 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4946 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4948 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4951 (my_log2): Likewise.
4952 (checkint): Likewise.
4953 * sysdeps/ieee754/dbl-64/e_remainder.c
4954 (__ieee754_remainder): Likewise.
4955 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4956 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4958 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4960 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4961 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4962 MANTISSA_STORE_T to store computations on mantissa. Use
4963 macros for rounding and division.
4965 (__dbl_mp): Likewise.
4966 (add_magnitudes): Likewise.
4967 (sub_magnitudes): Likewise.
4970 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4971 powers of two in terms of TWOPOW macro.
4972 (mp_no): Make type of mantissa as MANTISSA_T.
4973 [!RADIXI]: Define RADIXI.
4974 [!TWO52]: Define TWO52.
4975 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4977 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4979 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4980 llroundl symbol when building for PPC32.
4982 2013-03-24 Mark H Weaver <mhw@netris.org>
4984 * manual/arith.texi (Normalization Functions): Fix prototypes for
4985 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4987 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4991 high value to check if expl overflow.
4992 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4993 to check for underflow and overflow.
4994 * math/libm-test.inc: Add exp test.
4996 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4999 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5002 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5004 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5007 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5009 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5010 wrap blocks consisting of several statements.
5012 * sysdeps/generic/math-tests.h: New file.
5013 * sysdeps/i386/fpu/math-tests.h: Likewise.
5014 * math/test-snan.c: Include it.
5015 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5017 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5020 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5021 (__ieee754_j0l): Do not improve calculations using cos of twice
5022 input for inputs above LDBL_MAX / 2.0L.
5023 (__ieee754_y0l): Likewise.
5024 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5025 (__ieee754_j1l): Do not improve calculations using cos of twice
5026 input for inputs above LDBL_MAX / 2.0L.
5027 (__ieee754_y1l): Likewise.
5028 * math/libm-test.inc (j0_test): Add another test.
5029 (j1_test): Likewise.
5030 (y0_test): Likewise.
5031 (y1_test): Likewise.
5032 * sysdeps/i386/fpu/libm-test-ulps: Update.
5034 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5036 * Rules ($(objpfx)bench-%.c): Include code from a C source
5039 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5042 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5043 imaginary part 1.0 and real part less than 0.5 specially.
5044 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5045 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5046 * math/libm-test.inc (cacos_test): Add more tests.
5047 (casin_test): Likewise.
5048 (casinh_test): Likewise.
5049 * sysdeps/i386/fpu/libm-test-ulps: Update.
5050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5052 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5054 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5055 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5057 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5059 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5060 * config.make.in (config-cflags-sse4): Remove variable.
5061 (config-cflags-avx): Likewise.
5062 (config-cflags-sse2avx): Likewise.
5063 (config-cflags-novzeroupper): Likewise.
5064 (config-asflags-i686): Likewise.
5065 (have-mfma4): Likewise.
5066 (have-as-vis3): Likewise.
5068 * configure.in (MIG): Do not AC_SUBST.
5069 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5070 (libc_cv_cc_sse4): Do not AC_SUBST.
5071 (libc_cv_cc_avx): Likewise.
5072 (libc_cv_cc_sse2avx): Likewise.
5073 (libc_cv_cc_novzeroupper): Likewise.
5074 (libc_cv_cc_fma4): Likewise.
5075 (libc_cv_as_i686): Likewise.
5076 (libc_cv_sparc_as_vis3): Likewise.
5077 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5079 (config-asflags-i686): Likewise.
5080 (config-cflags-avx): Likewise.
5081 (config-cflags-sse2avx): Likewise.
5082 (have-mfma4): Likewise.
5083 (config-cflags-novzeroupper): Likewise.
5084 * sysdeps/mach/configure.in (MIG): Likewise.
5085 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5086 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5088 (config-cflags-avx): Likewise.
5089 (config-cflags-sse2avx): Likewise.
5090 (have-mfma4): Likewise.
5091 (config-cflags-novzeroupper): Likewise.
5092 * configure: Regenerated.
5093 * sysdeps/i386/configure: Likewise.
5094 * sysdeps/mach/configure: Likewise.
5095 * sysdeps/sparc/configure: Likewise.
5096 * sysdeps/x86_64/configure: Likewise.
5098 2013-03-20 Roland McGrath <roland@hack.frob.com>
5101 * locale/programs/localedef.c (options): Put N_ translation marker
5102 on argument names, not just descriptions.
5104 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5106 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5108 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5111 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5113 2013-03-19 Roland McGrath <roland@hack.frob.com>
5115 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5116 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5117 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5118 [!BEFORE_ABORT] (before_abort): New function.
5119 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5120 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5121 (writev_for_fatal): New function.
5122 (WRITEV_FOR_FATAL): New macro; call that.
5123 (backtrace_and_maps): New function.
5124 (BEFORE_ABORT): New macro; call that.
5125 (struct str_list): Type removed.
5126 (__libc_message, __libc_fatal): Functions removed.
5127 Include <sysdeps/posix/libc_fatal.c> instead.
5129 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5131 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5133 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5136 2013-03-19 Andreas Schwab <schwab@suse.de>
5138 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5139 * sysdeps/gnu/configure: Regenerate.
5141 * configure.in: Substitute libc_cv_rtlddir.
5142 * configure: Regenerate.
5143 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5144 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5145 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5146 * elf/Makefile (install-others, CFLAGS-interp.c)
5147 (ldso_install, common-ldd-rewrite): Likewise.
5148 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5149 $(inst_slibdir)/$(rtld-installed-name).
5150 * scripts/rellns-sh: Add -p option.
5151 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5154 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5156 * manual/nptl.texi: Renamed to ...
5157 * manual/threads.texi: ... this.
5158 * manual/Makefile (chapters): Update.
5160 2013-03-18 Roland McGrath <roland@hack.frob.com>
5163 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5164 on argument names, not just descriptions.
5165 * malloc/memusagestat.c (options): Likewise.
5166 * nss/getent.c (options): Likewise.
5168 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5171 * iconv/iconv_prog.c (options): Put N_ translation marker
5172 on argument names, not just descriptions.
5173 * iconv/iconvconfig.c (options): Likewise.
5175 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5177 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5178 implementation which is faster on all x86_64 architectures.
5179 Tested on AMD, Intel Nehalem, SNB, IVB.
5180 * sysdeps/x86_64/strnlen.S: Likewise.
5182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5183 Remove all multiarch strlen and strnlen versions.
5184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5185 Remove strlen and strnlen related parts.
5187 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5189 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5191 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5192 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5193 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5194 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5195 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5196 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5198 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5200 * manual/memory.texi (Malloc Tunable Parameters):
5201 Sort parameters alphabetically. Add comments for missing entries.
5203 2013-03-17 David S. Miller <davem@davemloft.net>
5205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5207 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5210 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5211 for arguments at most half maximum finite value.
5212 * math/libm-test.inc (j0_test): Add more tests.
5213 (j1_test): Likewise.
5214 (y0_test): Likewise.
5215 (y1_test): Likewise.
5216 * sysdeps/i386/fpu/libm-test-ulps: Update.
5217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5220 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5221 1 / x and functions P and Q for arguments above 0x1p256L.
5222 (__ieee754_y0l): Likewise.
5223 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5224 (__ieee754_y1l): Likewise.
5225 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5226 (j1_test): Likewise.
5227 (y0_test): Likewise.
5228 (y1_test): Likewise.
5230 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5232 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5235 2013-03-15 Roland McGrath <roland@hack.frob.com>
5237 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5238 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5239 zero since it's initialized to EXEC_PAGESIZE.
5241 * sysdeps/unix/sysv/linux/ldsodefs.h
5242 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5243 * sysdeps/generic/ldsodefs.h: ... here.
5245 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5247 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5249 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5251 * math/test-snan.c: Renamed from
5252 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5253 * math/Makefile (tests): Add test-snan.
5254 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5257 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5258 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5260 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5261 __builtin_nan family of functions.
5262 * math/libm-test.inc (initialize): Initialize qnan_value with
5263 __builtin_nan family of functions.
5264 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5266 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5268 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5269 storage class. Initialize qNaN_var and sNaN_var with
5270 __builtin_nan and __builtin_nans families of functions,
5273 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5274 (sqrt_test): Remove duplicate test with qNaN input.
5275 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5276 (round_test, signbit_test, significand_test): Note missing +/-Inf
5277 as well as qNaN tests.
5279 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5280 qNaN_var. Fix a few strings, too.
5281 * math/libm-test.inc (nan_value): Rename to qnan_value.
5282 * math/gen-libm-test.pl (%beautify): Adjust to that.
5283 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5284 * math/test-misc.c (main): Likewise.
5285 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5286 to __qnan_bytes, and __qnan_union, respectively.
5287 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5289 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5290 and lqnanval, respectively.
5291 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5292 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5293 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5294 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5296 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5297 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5300 * math/test-misc.c (main): Fix copy'n'pastos.
5301 * misc/tst-efgcvt.c (special): Likewise.
5303 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5304 Remove declarations.
5306 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5308 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5309 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5310 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5311 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5313 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5316 macro to return vdso values correctly in IFUNC implementations.
5317 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5318 Optimization by using IFUNC.
5320 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5321 Richard Henderson <rth@redhat.com>
5322 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5324 * Makefile.in (bench): New target.
5325 * NEWS: Mention the benchmark framework.
5326 * Rules (bench): Likewise.
5327 (binaries-bench): Generate binaries for functions to
5329 * benchtests/Makefile: New makefile for benchmark tests.
5330 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5332 * benchtests/exp-inputs: New input file for EXP function.
5333 * benchtests/pow-inputs: New input file for POW function.
5334 * scripts/bench.pl: New script to generate source files for
5337 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5339 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5340 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5341 computations on mantissa. Use macros for rounding and
5344 (__dbl_mp): Likewise.
5345 (add_magnitudes): Likewise.
5346 (sub_magnitudes): Likewise.
5349 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5350 powers of two in terms of TWOPOW macro.
5351 (mp_no): Make type of mantissa as MANTISSA_T.
5352 [!RADIXI]: Define RADIXI.
5353 [!TWO52]: Define TWO52.
5354 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5356 * manual/nptl.texi (cindex): Modify threads to pthreads.
5358 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5360 * sysdeps/x86_64/preconfigure: Regenerated.
5362 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5365 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5367 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5368 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5370 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5371 * math/libm-test.inc (j0_test): Do not allow one spurious
5372 underflow exception.
5373 (y1_test): Likewise.
5375 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5377 * manual/Makefile (chapters): Add nptl.
5378 * manual/debug.texi (Debugging Support): Add link to Threads
5380 * manual/nptl.texi: New file.
5382 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5384 2013-03-14 Petr Baudis <pasky@ucw.cz>
5386 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5387 for non-NULL pointer before the memory validity test. Pointed
5388 out by Holger Brunck <holger.brunck@keymile.com>.
5390 2013-03-13 Andreas Schwab <schwab@suse.de>
5392 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5395 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5397 * timezone/zic.c: Update from tzcode 2013b.
5399 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5401 * manual/install.texi (Configuring and compiling):
5402 Mention i686 and i586.
5403 * INSTALL: Regenerate.
5405 2013-03-12 Roland McGrath <roland@hack.frob.com>
5407 * sysdeps/init_array/elf-init.c: New file.
5409 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5410 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5412 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5413 __gmon_start__ as global, but as static with a .preinit_array pointer.
5414 * sysdeps/init_array/gmon-start.c: New file. Use that.
5415 * sysdeps/init_array/crti.S: New file, empty except for comments.
5416 * sysdeps/init_array/crtn.S: Likewise.
5418 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5420 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5423 Remove Prefer_SSE_for_memop.
5424 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5425 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5426 HAS_PREFER_SSE_FOR_MEMOP.
5427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5430 Remove bzero, memset ifunc support.
5431 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5432 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5433 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5434 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5436 2013-03-11 Andreas Schwab <schwab@suse.de>
5439 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5442 (GLIBC_2.16): Remove pthread_atfork.
5444 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5446 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5447 (ptestcases.h): Likewise.
5449 2013-03-08 Roland McGrath <roland@hack.frob.com>
5451 * Makeconfig ($(common-objpfx)config.status): Depend on
5452 sysdeps/*/preconfigure{,.in} too.
5454 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5456 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5457 (__free_hook): Use void * instead of __malloc_ptr_t.
5458 (__malloc_hook): Likewise.
5459 (__realloc_hook): Likewise.
5460 (__memalign_hook): Likewise.
5461 (__after_morecore_hook): Likewise.
5462 * malloc/arena.c (save_malloc_hook): Likewise.
5463 (save_free_hook): Likewise.
5464 * malloc/hooks.c (malloc_hook_ini): Likewise.
5465 (realloc_hook_ini): Likewise.
5466 (memalign_hook_ini): Likewise.
5467 * malloc/malloc.c (malloc_hook_ini): Likewise.
5468 (realloc_hook_ini): Likewise.
5469 (memalign_hook_ini): Likewise.
5470 (__free_hook): Likewise.
5471 (__malloc_hook): Likewise.
5472 (__realloc_hook): Likewise.
5473 (__memalign_hook): Likewise.
5474 (__libc_malloc): Likewise.
5475 (__libc_free): Likewise.
5476 (__libc_realloc): Likewise.
5477 (__libc_memalign): Likewise.
5478 (__libc_valloc): Likewise.
5479 (__libc_pvalloc): Likewise.
5480 (__libc_calloc): Likewise.
5481 (__posix_memalign): Likewise.
5482 * malloc/morecore.c (__sbrk): Likewise.
5483 (__default_morecore): Likewise.
5485 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5487 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5488 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5491 * malloc/malloc.h (__malloc_size_t): Remove macro.
5492 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5494 (old_memalign_hook): Likewise.
5495 (old_realloc_hook): Likewise.
5496 (struct hdr): Likewise.
5498 (mallochook): Likewise.
5499 (memalignhook): Likewise.
5500 (reallochook): Likewise.
5501 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5502 (tr_old_realloc_hook): Likewise.
5503 (tr_old_memalign_hook): Likewise.
5504 (tr_mallochook): Likewise.
5505 (tr_reallochook): Likewise.
5506 (tr_memalignhook): Likewise.
5508 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5510 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5511 default_ldbl_pack and using as default implementation.
5512 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5514 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5515 redundant definition.
5516 (ldbl_insert_mantissa): Likewise.
5517 (ldbl_canonicalize): Likewise.
5518 (ldbl_nearbyint): Likewise.
5519 (ldbl_pack): Rename to ldbl_pack_ppc.
5520 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5521 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5522 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5524 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5527 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5528 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5529 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5531 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5532 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5533 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5535 2013-03-07 Andreas Jaeger <aj@suse.de>
5537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5540 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5542 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5543 Include mpa.h and declare __MPEXP.
5544 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5545 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5546 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5547 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5548 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5549 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5550 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5552 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5553 (__slowpow): Use long double EXPL and LOGL functions to
5555 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5556 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5557 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5558 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5559 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5560 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5563 intermediate variable to calculate exponent.
5565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5569 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5570 [!NO__SQR]: Define __sqr.
5571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5572 and NO__SQR. Remove all code except __mul and __sqr. Include
5573 sysdeps/ieee754/dbl-64/mpa.c.
5574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5577 * posix/Makefile (tests): Add tst-pathconf.
5578 * posix/tst-pathconf.c: New test case.
5579 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5581 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5583 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5585 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5587 2013-03-06 Andreas Jaeger <aj@suse.de>
5589 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5590 definition via __MAP_ANONYMOUS.
5592 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5593 it's not part of Linux headers.
5595 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5596 (MAP_HUGE_MASK): Define.
5598 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5600 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5603 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5604 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5606 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5609 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5611 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5612 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5613 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5614 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5615 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5616 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5618 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5622 Handle f2fs and efivarfs.
5624 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5627 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5628 (EFIVARFS_MAGIC): Add.
5629 (F2FS_LINK_MAX): Add.
5631 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5633 * stdio-common/vfprintf.c: Replace __builtin_expect with
5636 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5639 * sysdeps/generic/bp-sym.h: Remove file.
5640 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5641 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5642 <bp-sym.h> and <bp-asm.h>.
5643 (__longjmp): Don't use BP_SYM.
5644 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5646 (memcpy): Don't use BP_SYM.
5647 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5648 <bp-sym.h> and <bp-asm.h>.
5649 (memcpy): Don't use BP_SYM.
5650 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5652 (memcpy): Don't use BP_SYM.
5653 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5655 (memset): Don't use BP_SYM.
5656 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5657 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5658 (__bzero): Don't use BP_SYM.
5659 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5660 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5661 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5662 <bp-sym.h> and <bp-asm.h>.
5663 (memcmp): Don't use BP_SYM. Remove comment about bounded
5665 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5666 <bp-sym.h> and <bp-asm.h>.
5667 (memcpy): Don't use BP_SYM.
5668 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5669 <bp-sym.h> and <bp-asm.h>.
5670 (memset): Don't use BP_SYM.
5671 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5672 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5673 (__bzero): Don't use BP_SYM.
5674 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5675 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5676 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5677 <bp-sym.h> and <bp-asm.h>.
5678 (strncmp): Don't use BP_SYM. Remove comment about bounded
5680 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5681 <bp-sym.h> and <bp-asm.h>.
5682 (memcpy): Don't use BP_SYM.
5683 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5684 <bp-sym.h> and <bp-asm.h>.
5685 (memset): Don't use BP_SYM.
5686 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5687 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5688 (__bzero): Don't use BP_SYM.
5689 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5690 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5691 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5692 <bp-sym.h> and <bp-asm.h>.
5693 (__memchr): Don't use BP_SYM.
5694 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5695 <bp-sym.h> and <bp-asm.h>.
5696 (memcmp): Don't use BP_SYM. Remove comment about bounded
5698 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5699 <bp-sym.h> and <bp-asm.h>.
5700 (memcpy): Don't use BP_SYM.
5701 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5702 <bp-sym.h> and <bp-asm.h>.
5703 (__mempcpy): Don't use BP_SYM.
5704 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5705 <bp-sym.h> and <bp-asm.h>.
5706 (__memrchr): Don't use BP_SYM.
5707 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5708 <bp-sym.h> and <bp-asm.h>.
5709 (memset): Don't use BP_SYM.
5710 (__bzero): Likewise.
5711 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5712 <bp-sym.h> and <bp-asm.h>.
5713 (__rawmemchr): Don't use BP_SYM.
5714 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5715 <bp-sym.h> and <bp-asm.h>.
5716 (__STRCMP): Don't use BP_SYM.
5717 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5718 <bp-sym.h> and <bp-asm.h>.
5719 (strchr): Don't use BP_SYM.
5720 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5721 <bp-sym.h> and <bp-asm.h>.
5722 (__strchrnul): Don't use BP_SYM.
5723 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5724 <bp-sym.h> and <bp-asm.h>.
5725 (strlen): Don't use BP_SYM.
5726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5727 <bp-sym.h> and <bp-asm.h>.
5728 (strncmp): Don't use BP_SYM. Remove comment about bounded
5730 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5731 <bp-sym.h> and <bp-asm.h>.
5732 (__strnlen): Don't use BP_SYM.
5733 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5734 <bp-sym.h> and <bp-asm.h>.
5735 (__GI__setjmp): Don't use BP_SYM.
5736 (_setjmp): Likewise.
5737 (__sigsetjmp): Likewise.
5738 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5739 (L(start_addresses)): Don't use BP_SYM.
5741 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5743 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5744 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5745 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5746 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5747 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5749 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5750 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5751 about bounded pointers.
5752 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5753 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5754 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5756 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5757 about bounded pointers. Remove GKM FIXME comments.
5758 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5759 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5761 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5762 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5763 Remove GKM FIXME comments.
5764 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5765 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5766 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5768 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5769 about bounded pointers. Remove GKM FIXME comment.
5770 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5772 (strncmp): Don't use BP_SYM. Remove comment about bounded
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5775 <bp-sym.h> and <bp-asm.h>.
5776 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5778 <bp-sym.h> and <bp-asm.h>.
5779 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5782 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5784 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5787 2013-03-05 David S. Miller <davem@davemloft.net>
5789 * po/es.po: Update from translation team.
5791 2013-03-05 Andreas Jaeger <aj@suse.de>
5793 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5794 <bits/mman-linux.h>.
5795 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5798 <bits/mman-linux.h> to end of file.
5799 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5801 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5802 <bits/mman-linux.h> to end of file.
5803 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5806 <bits/mman-linux.h> to end of file.
5808 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5809 (MCL_CURRENT, MCL_FUTURE): Define here.
5811 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5814 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5816 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5818 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5820 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5821 fourth parameter needed for rt_sigprocmask syscall.
5822 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5823 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5824 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5825 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5827 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5829 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5832 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5833 comment about bounded pointers.
5834 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5835 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5837 2013-03-04 Andreas Jaeger <aj@suse.de>
5839 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5842 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5843 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5844 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5845 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5846 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5847 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5849 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5853 __ieee754_sqrl instead of __sqrl.
5855 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5858 * sysdeps/powerpc/fpu_control.h: ... here.
5859 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5860 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5861 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5862 * sysdeps/powerpc/bits/mathinline.h: ... here.
5864 2013-03-01 Roland McGrath <roland@hack.frob.com>
5866 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5867 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5868 to just [NEED_DL_SYSINFO_DSO].
5869 * elf/dl-support.c: Likewise.
5870 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5871 * elf/rtld.c (dl_main): Likewise.
5872 * elf/setup-vdso.h (setup_vdso): Likewise.
5873 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5874 * sysdeps/unix/sysv/linux/dl-sysdep.c
5875 (_dl_discover_osversion): Likewise.
5877 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5879 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5880 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5882 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5884 * NEWS: Mention libm performance improvements and non-x86 PI
5887 * csu/libc-start.c (__pthread_initialize_minimal): Change
5889 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5891 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5894 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5895 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5896 <bp-sym.h> and <bp-asm.h>.
5897 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5898 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5900 (memcpy): Don't use BP_SYM.
5901 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5903 (__mpn_add_n): Don't use BP_SYM.
5904 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5905 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5907 (__mpn_addmul_1): Don't use BP_SYM.
5908 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5909 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5911 (_setjmp): Don't use BP_SYM.
5912 (__novmx_setjmp): Likewise.
5913 (__GI__setjmp): Likewise.
5914 (__vmx_setjmp): Likewise.
5915 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5917 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5918 (__bzero): Don't use BP_SYM.
5919 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5920 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5921 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5922 <bp-sym.h> and <bp-asm.h>.
5923 (memcpy): Don't use BP_SYM.
5924 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5925 <bp-sym.h> and <bp-asm.h>.
5926 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5927 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5928 <bp-sym.h> and <bp-asm.h>.
5929 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5930 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5932 (__mpn_lshift): Don't use BP_SYM.
5933 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5934 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5936 (memset): Don't use BP_SYM.
5937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5939 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5941 (__mpn_mul_1): Don't use BP_SYM.
5942 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5943 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5944 <bp-sym.h> and <bp-asm.h>.
5945 (memcmp): Don't use BP_SYM.
5946 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5947 <bp-sym.h> and <bp-asm.h>.
5948 (memcpy): Don't use BP_SYM.
5949 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5950 <bp-sym.h> and <bp-asm.h>.
5951 (memset): Don't use BP_SYM.
5952 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5953 <bp-sym.h> and <bp-asm.h>.
5954 (strncmp): Don't use BP_SYM.
5955 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5956 <bp-sym.h> and <bp-asm.h>.
5957 (memcpy): Don't use BP_SYM.
5958 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5959 <bp-sym.h> and <bp-asm.h>.
5960 (memset): Don't use BP_SYM.
5961 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5962 <bp-sym.h> and <bp-asm.h>.
5963 (__memchr): Don't use BP_SYM.
5964 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5965 <bp-sym.h> and <bp-asm.h>.
5966 (memcmp): Don't use BP_SYM.
5967 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5968 <bp-sym.h> and <bp-asm.h>.
5969 (memcpy): Don't use BP_SYM.
5970 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5971 <bp-sym.h> and <bp-asm.h>.
5972 (__mempcpy): Don't use BP_SYM.
5973 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5974 <bp-sym.h> and <bp-asm.h>.
5975 (__memrchr): Don't use BP_SYM.
5976 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5977 <bp-sym.h> and <bp-asm.h>.
5978 (memset): Don't use BP_SYM.
5979 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5980 <bp-sym.h> and <bp-asm.h>.
5981 (__rawmemchr): Don't use BP_SYM.
5982 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5983 <bp-sym.h> and <bp-asm.h>.
5984 (__STRCMP): Don't use BP_SYM.
5985 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5986 <bp-sym.h> and <bp-asm.h>.
5987 (strchr): Don't use BP_SYM.
5988 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5989 <bp-sym.h> and <bp-asm.h>.
5990 (__strchrnul): Don't use BP_SYM.
5991 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5992 <bp-sym.h> and <bp-asm.h>.
5993 (strlen): Don't use BP_SYM.
5994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5995 <bp-sym.h> and <bp-asm.h>.
5996 (strncmp): Don't use BP_SYM.
5997 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5998 <bp-sym.h> and <bp-asm.h>.
5999 (__strnlen): Don't use BP_SYM.
6000 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6002 (__mpn_rshift): Don't use BP_SYM.
6003 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6004 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6005 <bp-sym.h> and <bp-asm.h>.
6006 (__sigsetjmp): Don't use BP_SYM.
6007 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6008 (L(start_addresses)): Don't use BP_SYM.
6010 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6012 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6013 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6014 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6015 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6017 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6018 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6019 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6020 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6022 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6024 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6025 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6027 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6029 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6030 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6031 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6033 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6035 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6037 (strncmp): Don't use BP_SYM,
6038 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6040 (__mpn_sub_n): Don't use BP_SYM.
6041 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6042 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6044 (__mpn_submul_1): Don't use BP_SYM.
6045 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6047 <bp-sym.h> and <bp-asm.h>.
6048 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6050 <bp-sym.h> and <bp-asm.h>.
6051 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6054 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6057 Use ZK to minimize writes to Z.
6058 (sub_magnitudes): Simplify code a bit.
6059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6060 Use ZK to minimize writes to Z.
6061 (sub_magnitudes): Simplify code a bit.
6063 2013-02-27 Roland McGrath <roland@hack.frob.com>
6065 * csu/gmon-start.c: Add special exception to license text.
6067 2013-02-27 Richard Henderson <rth@redhat.com>
6069 * scripts/config.guess: Update from config.git.
6070 * scripts/config.sub: Likewise.
6072 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6074 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6076 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6078 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6080 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6082 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6084 2013-02-26 Roland McGrath <roland@hack.frob.com>
6086 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6087 [$(build-shared = yes].
6089 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6091 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6092 (__mul): Reduce iterations for calculating mantissa.
6094 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6096 (__mpranred): Likewise.
6099 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6100 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6102 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6104 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6105 Define __attribute__.
6107 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6109 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6111 * posix/regex_internal.h (__attribute): Remove.
6112 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6113 (re_string_context_at): Likewise.
6114 (bitset_not): Use __attribute__ and mark function as possibly
6116 (bitset_merge): Likewise.
6117 (bitset_mask): Likewise.
6118 (re_string_char_size_at): Likewise.
6119 (re_string_wchar_at): Likewise.
6120 (re_string_elem_size_at): Likewise.
6122 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6124 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6128 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6133 (__dbl_mp): Likewise.
6134 (add_magnitudes): Likewise.
6135 (sub_magnitudes): Likewise.
6139 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6142 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6145 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6149 up changes with default code.
6150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6153 2013-02-24 Allan McRae <allan@archlinux.org>
6155 * manual/socket.texi (The Internet Namespace): Order menu items
6156 to match that in the file.
6158 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6159 node listing of the info page menu.
6161 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6164 * sysdeps/i386/bp-asm.h: Remove file.
6165 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6166 (PARMS): Do not use macros from bp-asm.h.
6170 (__mpn_add_n): Do not use BP_SYM
6171 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6173 (PARMS): Do not use macros from bp-asm.h.
6176 (__mpn_addmul_1): Do not use BP_SYM
6177 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6179 (PARMS): Do not use macros from bp-asm.h.
6181 (_setjmp): Likewise. Do not use BP_SYM.
6182 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6184 (PARMS): Do not use macros from bp-asm.h.
6186 (setjmp): Likewise. Do not use BP_SYM.
6187 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6189 (PARMS): Do not use macros from bp-asm.h.
6190 (__frexp): Do not use BP_SYM.
6192 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6194 (PARMS): Do not use macros from bp-asm.h.
6195 (__frexpf): Do not use BP_SYM.
6197 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6199 (PARMS): Do not use macros from bp-asm.h.
6200 (__frexpl): Do not use BP_SYM.
6202 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6204 (PARMS): Do not use macros from bp-asm.h.
6205 (__remquo): Do not use BP_SYM.
6207 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6209 (PARMS): Do not use macros from bp-asm.h.
6210 (__remquof): Do not use BP_SYM.
6211 (remquof): Likewise.
6212 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6214 (PARMS): Do not use macros from bp-asm.h.
6215 (__remquol): Do not use BP_SYM.
6216 (remquol): Likewise.
6217 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6219 (PARMS): Do not use macros from bp-asm.h.
6222 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6223 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6225 (PARMS): Do not use macros from bp-asm.h.
6226 (strlen): Do not use BP_SYM.
6227 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6229 (PARMS): Do not use macros from bp-asm.h.
6233 (__mpn_add_n): Do not use BP_SYM.
6234 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6236 (PARMS): Do not use macros from bp-asm.h.
6239 (__mpn_addmul_1): Do not use BP_SYM.
6240 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6243 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6245 (PARMS): Do not use macros from bp-asm.h.
6248 (__mpn_lshift): Do not use BP_SYM.
6249 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6251 (PARMS): Do not use macros from bp-asm.h.
6255 (memcpy): Likewise. Do not use BP_SYM.
6256 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6257 libc_hidden_def and weak_alias.
6258 (mempcpy): Do not use BP_SYM in weak_alias.
6259 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6261 (PARMS): Do not use macros from bp-asm.h.
6264 [!BZERO_P] (CHR): Likewise.
6265 (memset): Likewise. Do not use BP_SYM.
6266 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6268 (PARMS): Do not use macros from bp-asm.h.
6271 (__mpn_mul_1): Do not use BP_SYM.
6272 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6274 (PARMS): Do not use macros from bp-asm.h.
6277 (__mpn_rshift): Do not use BP_SYM.
6278 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6280 (PARMS): Do not use macros from bp-asm.h.
6283 (strchr): Likewise. Do not use BP_SYM.
6284 (index): Do not use BP_SYM in weak_alias.
6285 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6287 (PARMS): Do not use macros from bp-asm.h.
6290 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6291 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6293 (PARMS): Do not use macros from bp-asm.h.
6294 (strlen): Do not use BP_SYM.
6295 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6297 (PARMS): Do not use macros from bp-asm.h.
6301 (__mpn_sub_n): Do not use BP_SYM.
6302 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6304 (PARMS): Do not use macros from bp-asm.h.
6307 (__mpn_submul_1): Do not use BP_SYM.
6308 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6310 (PARMS): Do not use macros from bp-asm.h.
6314 (__mpn_add_n): Do not use BP_SYM.
6315 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6318 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6320 (PARMS): Do not use macros from bp-asm.h.
6323 (memcmp): Do not use BP_SYM.
6324 (bcmp): Do not use BP_SYM in weak_alias.
6325 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6327 (PARMS): Do not use macros from bp-asm.h.
6331 (memcpy): Likewise. Do not use BP_SYM.
6332 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6334 (PARMS): Do not use macros from bp-asm.h.
6338 (memmove): Likewise. Do not use BP_SYM.
6339 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6341 (PARMS): Do not use macros from bp-asm.h.
6345 (__mempcpy): Likewise. Do not use BP_SYM.
6346 (mempcpy): Do not use BP_SYM in weak_alias.
6347 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6349 (PARMS): Do not use macros from bp-asm.h.
6352 [!BZERO_P] (CHR): Likewise.
6353 (memset): Likewise. Do not use BP_SYM.
6354 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6356 (PARMS): Do not use macros from bp-asm.h.
6358 (strcmp): Do not use BP_SYM.
6359 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6361 (PARMS): Do not use macros from bp-asm.h.
6364 [USE_AS_STRTOK_R] (SAVE): Likewise.
6365 (FUNCTION): Likewise. Do not use BP_SYM.
6366 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6368 (strtok_r): Likewise.
6369 (__GI___strtok_r): Likewise.
6370 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6371 (PARMS): Do not use macros from bp-asm.h.
6374 (__mpn_lshift): Do not use BP_SYM.
6375 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6376 (PARMS): Do not use macros from bp-asm.h.
6379 (__memchr): Do not use BP_SYM.
6380 (memchr): Do not use BP_SYM in weak_alias.
6381 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6382 (PARMS): Do not use macros from bp-asm.h.
6385 (memcmp): Do not use BP_SYM.
6386 (bcmp): Do not use BP_SYM in weak_alias.
6387 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6388 (PARMS): Do not use macros from bp-asm.h.
6391 (__mpn_mul_1): Do not use BP_SYM.
6392 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6394 (PARMS): Do not use macros from bp-asm.h.
6397 (__rawmemchr): Do not use BP_SYM.
6398 (rawmemchr): Do not use BP_SYM in weak_alias.
6399 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6400 (PARMS): Do not use macros from bp-asm.h.
6403 (__mpn_rshift): Do not use BP_SYM.
6404 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6405 (PARMS): Do not use macros from bp-asm.h.
6407 (__sigsetjmp): Likewise. Do not use BP_SYM.
6408 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6409 (_start): Do not use BP_SYM.
6410 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6411 (PARMS): Do not use macros from bp-asm.h.
6414 (__stpcpy): Likewise. Do not use BP_SYM.
6415 (stpcpy): Do not use BP_SYM in weak_alias.
6416 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6418 (PARMS): Do not use macros from bp-asm.h.
6422 (__stpncpy): Likewise. Do not use BP_SYM.
6423 (stpncpy): Do not use BP_SYM in weak_alias.
6424 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6425 (PARMS): Do not use macros from bp-asm.h.
6428 (strchr): Likewise. Do not use BP_SYM.
6429 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6431 (PARMS): Do not use macros from bp-asm.h.
6434 (__strchrnul): Likewise. Do not use BP_SYM.
6435 (strchrnul): Do not use BP_SYM in weak_alias.
6436 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6438 (PARMS): Do not use macros from bp-asm.h.
6440 (strcspn): Do not use BP_SYM.
6441 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6443 (PARMS): Do not use macros from bp-asm.h.
6446 (strpbrk): Likewise. Do not use BP_SYM.
6447 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6449 (PARMS): Do not use macros from bp-asm.h.
6452 (strrchr): Likewise. Do not use BP_SYM.
6453 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6454 (PARMS): Do not use macros from bp-asm.h.
6456 (strspn): Do not use BP_SYM.
6457 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6458 (PARMS): Do not use macros from bp-asm.h.
6462 (FUNCTION): Likewise. Do not use BP_SYM.
6463 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6465 (strtok_r): Likewise.
6466 (__GI___strtok_r): Likewise.
6467 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6468 (PARMS): Do not use macros from bp-asm.h.
6472 (__mpn_sub_n): Do not use BP_SYM.
6473 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6475 (PARMS): Do not use macros from bp-asm.h.
6478 (__mpn_submul_1): Do not use BP_SYM.
6479 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6481 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6483 (PARMS): Do not use macros from bp-asm.h.
6488 (__clone): Do not use BP_SYM.
6489 (clone): Do not use BP_SYM in weak_alias.
6490 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6492 (PARMS): Do not use macros from bp-asm.h.
6494 (__mmap64): Do not use BP_SYM.
6495 (mmap64): Do not use BP_SYM in weak_alias.
6496 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6497 <bp-sym.h> and <bp-asm.h>.
6498 (PARMS): Do not use macros from bp-asm.h.
6499 (__posix_fadvise64_l64): Do not use BP_SYM.
6500 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6501 (PARMS): Do not use macros from bp-asm.h.
6503 (semtimedop): Do not use BP_SYM.
6504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6507 2013-02-21 Allan McRae <allan@archlinux.org>
6509 * manual/message.texi (Charset conversion in gettext):
6510 Move @end statement to beginning of line.
6512 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6519 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6524 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6526 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6527 tail-call to the resolved function if pltexit isn't needed.
6529 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6532 or Y being zero as being unlikely.
6533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6536 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6538 * manual/nss.texi (System Databases and Name Service Switch):
6539 Remove frobnicate @pxref.
6541 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6543 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6544 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6546 2013-02-20 Petr Machata <pmachata@redhat.com>
6548 * elf/elf.h (R_ARM_TARGET1): New macro.
6549 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6550 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6551 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6552 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6553 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6554 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6555 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6556 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6557 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6558 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6559 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6560 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6561 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6562 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6563 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6564 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6565 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6566 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6567 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6568 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6569 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6570 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6571 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6572 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6573 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6574 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6575 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6576 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6577 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6578 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6579 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6580 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6581 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6582 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6583 (R_ARM_THM_GOT_BREL12): Likewise.
6584 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6585 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6586 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6587 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6588 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6589 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6590 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6591 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6592 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6594 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6596 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6597 __attribute_used__ to __attribute__ ((unused)).
6599 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6601 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6607 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6610 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6612 (ENTER): Remove both macro definitions.
6614 (CHECK_BOUNDS_LOW): Likewise.
6615 (CHECK_BOUNDS_HIGH): Likewise.
6616 (CHECK_BOUNDS_BOTH): Likewise.
6617 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6618 (RETURN_BOUNDED_POINTER): Likewise.
6619 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6620 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6621 (POP_ERRNO_LOCATION_RETURN): Likewise.
6622 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6623 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6624 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6626 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6627 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6628 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6629 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6630 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6631 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6632 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6633 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6634 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6635 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6636 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6637 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6638 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6639 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6641 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6642 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6644 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6645 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6646 * sysdeps/i386/i586/memset.S (memset): Likewise.
6647 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6648 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6649 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6651 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6652 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6653 Change uses of L(2) to L(out).
6654 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6655 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6656 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6657 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6658 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6660 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6661 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6663 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6664 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6665 (RETURN): Do not use macro LEAVE.
6666 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6667 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6668 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6669 * sysdeps/i386/i686/memset.S (memset): Likewise.
6670 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6671 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6672 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6673 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6675 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6676 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6677 L(1_2) and L(1_3) into L(1).
6678 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6679 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6680 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6682 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6683 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6684 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6685 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6686 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6688 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6689 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6690 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6691 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6692 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6693 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6694 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6695 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6696 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6697 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6698 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6699 * sysdeps/i386/strspn.S (strspn): Likewise.
6700 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6702 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6703 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6704 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6705 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6707 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6708 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6709 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6711 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6713 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6715 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6718 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6720 * math/atest-exp.c (exp_mpn): Remove ROUND.
6721 * math/atest-exp2.c (exp_mpn): Likewise.
6722 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6724 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6725 * stdlib/tst-tls-atexit-lib.c: Likewise.
6726 * stdlib/tst-tls-atexit.c: Likewise.
6728 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6730 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6731 and __attribute_alloc_size__.
6733 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6735 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6736 __attribute_alloc_size__.
6737 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6738 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6740 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6742 * include/programs/xmalloc.h: New file.
6743 * catgets/gencat.c: Include it.
6744 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6745 * elf/pldd.c: Likewise.
6746 * iconv/iconv_charmap.c: Likewise.
6747 * iconv/iconvconfig.c: Likewise.
6748 * iconv/strtab.c: Likewise.
6749 * locale/programs/locale.c: Likewise.
6750 * locale/programs/localedef.h: Likewise.
6751 * locale/programs/simple-hash.c: Likewise.
6752 * nscd/nscd.h: Likewise.
6753 * nss/makedb.c: Likewise.
6754 * sysdeps/generic/ldconfig.h: Likewise.
6756 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6758 * Versions.def: Add GLIBC_2.18.
6759 * include/link.h (struct link_map): New member l_tls_dtor_count.
6760 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6761 (__call_tls_dtors): Likewise.
6762 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6763 __cxa_thread_atexit_impl.
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6780 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6781 (tests): Add test case tst-tls-atexit.
6782 (modules-names): Add shared library for tst-tls-atexit.
6783 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6784 (GLIBC_PRIVATE): Add __call_tls_dtors.
6785 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6787 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6788 * stdlib/tst-tls-atexit.c: New test case.
6789 * stdlib/tst-tls-atexit-lib.c: New test case.
6791 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6793 * elf/Versions (ld): Add _dl_find_dso_for_object.
6794 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6795 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6796 (dl_open_worker): Use _dl_find_dso_for_object.
6797 * elf/dl-sym.c (do_sym): Likewise.
6798 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6800 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6802 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6803 Syntactic changes only.
6804 (_dl_runtime_profile): Do a tail-call to the resolved function.
6806 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6809 * sysdeps/x86_64/bp-asm.h: Remove file.
6810 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6811 <bp-sym.h> and <bp-asm.h>.
6812 (__clone): Do not use BP_SYM.
6813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6814 <bp-sym.h> and <bp-asm.h>.
6815 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6816 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6818 (_setjmp): Do not use BP_SYM.
6819 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6821 (setjmp): Do not use BP_SYM.
6822 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6824 (mempcpy): Do not use BP_SYM in weak_alias.
6825 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6827 (strchr): Do not use BP_SYM.
6828 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6830 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6831 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6832 (_start): Do not use BP_SYM.
6833 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6835 (strcat): Do not use BP_SYM.
6836 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6838 (STRCMP): Do not use BP_SYM.
6839 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6841 (STRCPY): Do not use BP_SYM.
6842 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6844 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6846 (FUNCTION): Do not use BP_SYM.
6847 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6849 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6851 2013-02-17 Andreas Jaeger <aj@suse.de>
6853 * time/Versions: Sort entries.
6854 * string/Versions: Likewise.
6855 * resolv/Versions: Likewise.
6856 * posix/Versions: Likewise.
6857 * iconv/Versions: Likewise.
6858 * elf/Versions: Likewise.
6859 * wcsmbs/Versions: Likewise.
6861 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6863 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6864 loop termination condition.
6866 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6867 variable to calculate EZ.
6870 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6871 the lower precision input.
6873 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6876 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6877 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6878 (run-via-rtld-prefix): Do not handle %-bp tests.
6879 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6880 (all-object-suffixes): Remove .ob.
6881 (bppfx): Remove variable.
6882 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6883 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6884 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6885 [$(build-bounded) = yes] (libtype.ob): Likewise.
6886 * Makerules (elide-routines.ob): Remove variable.
6887 (do-tests-clean): Do not handle *-bp.out.
6888 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6889 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6890 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6891 (tests): Do not include $(tests-bp.out).
6892 (xtests): Do not include $(xtests-bp.out).
6893 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6894 [$(build-bounded) = yes] ($(addprefix
6895 $(objpfx),$(binaries-bounded))): Remove rule.
6896 ($(objpfx)%-bp.out): Remove rule.
6897 * config.make.in (build-bounded): Remove variable.
6898 * crypt/Makefile [$(build-bounded) = yes]
6899 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6900 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6902 [$(build-bounded) = yes] (install-lib): Likewise.
6903 [$(build-bounded) = yes] (generated): Likewise.
6904 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6906 * intl/Makefile [$(build-bounded) = yes]
6907 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6908 * math/Makefile [$(build-bounded) = yes]
6909 ($(tests:%=$(objpfx)%-bp): Likewise.
6910 * misc/Makefile [$(build-bounded) = yes]
6911 ($(objpfx)tst-tsearch-bp): Likewise.
6912 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6913 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6915 * string/Makefile (o-objects.ob): Remove variable.
6916 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6917 (CFLAGS-.ob): Remove variable.
6918 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6919 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6920 both definitions of variable.
6921 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6922 (ASFLAGS-.ob): Remove variable.
6924 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6927 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6928 Remove __BOUNDED_POINTERS__ from condition.
6929 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6930 * string/bits/string2.h [!__NO_STRING_INLINES &&
6931 !__BOUNDED_POINTERS__]: Likewise.
6932 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6934 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6935 Remove conditional code.
6936 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6937 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6938 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6942 * csu/libc-start.c: Do not include <bp-sym.h>.
6943 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6944 * elf/dl-open.c: Do not include <bp-sym.h>.
6945 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6946 * math/fegetenv.c: Do not include <bp-sym.h>.
6947 (fegetenv): Do not use BP_SYM in versioned symbols.
6948 * nptl/sysdeps/pthread/bits/libc-lockP.h
6949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6952 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6954 (__pthread_mutex_destroy): Likewise.
6955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6956 (__pthread_mutex_lock): Likewise.
6957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6958 (__pthread_mutex_trylock): Likewise.
6959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6960 (__pthread_mutex_unlock): Likewise.
6961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6962 (__pthread_mutexattr_init): Likewise.
6963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6964 (__pthread_mutexattr_destroy): Likewise.
6965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6966 (__pthread_mutexattr_settype): Likewise.
6967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6968 (__pthread_rwlock_init): Likewise.
6969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6970 (__pthread_rwlock_destroy): Likewise.
6971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6972 (__pthread_rwlock_rdlock): Likewise.
6973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6974 (__pthread_rwlock_tryrdlock): Likewise.
6975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6976 (__pthread_rwlock_wrlock): Likewise.
6977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6978 (__pthread_rwlock_trywrlock): Likewise.
6979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6980 (__pthread_rwlock_unlock): Likewise.
6981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6982 (__pthread_key_create): Likewise.
6983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6984 (__pthread_setspecific): Likewise.
6985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6986 (__pthread_getspecific): Likewise.
6987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6990 (_pthread_cleanup_push_defer): Likewise.
6991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6992 (_pthread_cleanup_pop_restore): Likewise.
6993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6994 (pthread_setcancelstate): Likewise.
6995 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6997 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6998 (memchr): Do not use BP_SYM in weak_alias.
6999 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7000 (fegetenv): Do not use BP_SYM in versioned symbols.
7001 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7002 (fesetenv): Do not use BP_SYM in versioned symbols.
7003 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7004 (feupdateenv): Do not use BP_SYM in versioned symbols.
7005 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7006 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7007 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7008 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7009 (open64): Do not use BP_SYM in weak_alias.
7010 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7011 (fegetenv): Do not use BP_SYM in versioned symbols.
7012 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7013 (fesetenv): Do not use BP_SYM in versioned symbols.
7014 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7015 (feupdateenv): Do not use BP_SYM in versioned symbols.
7016 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7017 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7018 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7019 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7020 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7021 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7022 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7024 (__libc_start_main): Do not use BP_SYM.
7026 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7029 redundant return line.
7033 (sub_magnitudes): Likewise.
7039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7043 (sub_magnitudes): Likewise.
7050 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7052 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7053 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7056 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7057 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7058 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7059 of __mul for squares.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7064 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7065 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7067 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7070 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7072 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7073 prototype or function definition. Rename ubp_* variables and
7074 parameters. Remove argv definitions conditional on
7075 [__BOUNDED_POINTERS__].
7076 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7077 * elf/dl-runtime.c (_dl_fixup): Likewise.
7078 * include/set-hooks.h (RUN_HOOK): Likewise.
7079 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7081 * string/strcpy.c (strcpy): Do not use __unbounded.
7082 * sysdeps/generic/frame.h (struct layout): Likewise.
7083 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7084 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7085 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7086 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7087 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7088 (__backtrace): Likewise.
7089 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7091 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7092 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7093 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7095 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7096 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7097 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7098 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7099 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7100 Do not use __unbounded.
7101 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7102 Rename __unboundedrlimits parameter to rlimits in prototype.
7103 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7104 Do not use __unbounded.
7105 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7107 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7108 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7109 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7110 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7111 __ptrvalue or __unbounded.
7112 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7113 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7115 (__new_msgctl): Do not use __ptrvalue.
7116 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7118 (__libc_msgrcv): Do not use __ptrvalue.
7119 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7120 startup_info): Do not use __unbounded.
7121 (__libc_start_main): Likewise. Rename ubp_* variables and
7122 parameters. Remove argv definitions conditional on
7123 [__BOUNDED_POINTERS__].
7124 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7126 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7128 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7130 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7132 (__new_shmctl): Do not use __ptrvalue.
7133 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7134 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7136 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7138 (__libc_sigaction): Likewise.
7139 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7140 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7142 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7144 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7146 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7148 * string/mempcpy.c: Implement by calling memcpy.
7150 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7157 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7158 values in the mantissa.
7160 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7161 minimize writes to Z.
7162 (sub_magnitudes): Simplify code a bit.
7164 2013-02-12 Roland McGrath <roland@hack.frob.com>
7166 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7167 from the message. The linker prefixes all warnings with that already.
7169 2013-02-12 Andreas Schwab <schwab@suse.de>
7172 * posix/regexec.c (extend_buffers): Add parameter min_len.
7173 (check_matching): Pass minimum needed length.
7174 (clean_state_log_if_needed): Likewise.
7175 (get_subexp): Likewise.
7176 * posix/Makefile (tests): Add bug-regex34.
7177 (bug-regex34-ENV): Define.
7178 * posix/bug-regex34.c: New file.
7181 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7182 elements compare against the byte sequence of it, not its name.
7183 * posix/Makefile (tests): Add bug-regex35.
7184 (bug-regex35-ENV): Define.
7185 * posix/bug-regex35.c: New file.
7187 2013-02-11 Tom de Vries <tom@codesourcery.com>
7189 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7191 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7192 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7193 (CHECK_EOL): Add undef.
7195 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7197 * bits/stdlib-bsearch.h: New file.
7198 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7199 * stdlib/stdlib.h: Likewise.
7201 2013-02-11 Roland McGrath <roland@hack.frob.com>
7203 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7204 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7206 * manual/search.texi (Array Search Function): Add missing const in
7208 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7209 declaration to use rlim_t.
7210 (Basic Scheduling Functions): Remove erroneous const from
7211 sched_getparam prototype. Remove erroneous * from
7212 sched_get_priority_max and sched_get_priority_min prototypes.
7213 (Resource Usage): Fix summary @comment on vtimes to refer to
7214 sys/vtimes.h rather than vtimes.h.
7215 Add missing *s in vtimes prototype.
7216 (Limits on Resources): Fix ulimit prototype to return long int.
7217 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7218 prototypes to use long int rather than double.
7219 (BSD Random): Fix initstate and setstate to use char *, not void *.
7220 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7221 prototype to make second argument 'struct aiocb64 *const[]'.
7222 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7223 (Status of AIO Operations): Remove erroneous const in aio_return and
7224 aio_return64 prototypes.
7225 (Synchronizing I/O): Fix sync prototype to return void.
7226 * manual/startup.texi (Suboptions): Remove an erroneous const in
7227 getsubopt prototype.
7228 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7229 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7230 use size_t rather than int.
7231 (Scanning All Users): Likewise for getpwent_r.
7232 (Setting Groups): Add missing const to setgroups prototype.
7233 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7234 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7235 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7236 'const void *' rather than 'const char *'.
7237 (Host Address Functions): Likewise for inet_ntop.
7238 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7239 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7240 ssize_t for return value.
7241 (Sending Data): Likewise for send, sendto, sendmsg.
7242 (Socket Option Functions): Add a missing const in setsockopt prototype.
7243 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7244 use wchar_t for the argument.
7245 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7246 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7248 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7249 double/float/long double for second argument.
7250 Fix return types of significand, significandf, significandl.
7251 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7252 argument in fchmod prototype.
7253 (File Owner): Use uid_t and gid_t in fchown prototype.
7254 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7255 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7256 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7257 use 'const struct dirent **' as argument types to CMP function pointer
7259 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7260 (File Times): Fix summary magic @comment for struct utimbuf and utime
7261 to refer to utime.h, not time.h.
7262 * manual/string.texi (Argz Functions): Add missing const in
7263 argz_extract and argz_next prototypes.
7264 (Finding Tokens in a String): Likewise for basename.
7265 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7266 (Copying and Concatenation): Fix typo in wmemmove prototype.
7267 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7268 (Signal Stack): Remove erroneous const in sigstack prototype.
7269 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7271 (Simple Calendar Time): Likewise for stime.
7272 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7274 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7275 say sys/sysctl.h instead.
7276 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7277 and vsyslog prototypes.
7279 2013-02-11 Tom de Vries <tom@codesourcery.com>
7281 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7284 2013-02-11 Roland McGrath <roland@hack.frob.com>
7286 * misc/sys/mman.h: Fix typo in mremap comment.
7288 2013-02-08 Roland McGrath <roland@hack.frob.com>
7290 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7291 the '\0' terminator.
7293 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7296 * debug/segfault.c: Don't include <bp-checks.h>.
7297 * sysdeps/generic/bp-checks.h: Remove file.
7298 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7299 (__GETDENTS): Don't use CHECK_N.
7300 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7301 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7302 (__getgroups): Don't use CHECK_N.
7303 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7304 (setgroups): Don't use CHECK_N.
7305 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7306 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7307 (__libc_msgrcv): Don't use CHECK_N.
7308 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7309 (__libc_msgsnd): Don't use CHECK_N.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7312 (__libc_pread): Don't use CHECK_N.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7314 include <bp-checks.h>.
7315 (__libc_pread64): Don't use CHECK_N.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7317 include <bp-checks.h>.
7318 (__libc_pwrite): Don't use CHECK_N.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7320 include <bp-checks.h>.
7321 (__libc_pwrite64): Don't use CHECK_N.
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7324 (__libc_pread): Don't use CHECK_N.
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7326 include <bp-checks.h>.
7327 (__libc_pread64): Don't use CHECK_N.
7328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7329 include <bp-checks.h>.
7330 (__libc_pwrite): Don't use CHECK_N.
7331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7332 include <bp-checks.h>.
7333 (__libc_pwrite64): Don't use CHECK_N.
7334 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7335 (do_pread): Don't use CHECK_N.
7336 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7337 (do_pread64): Don't use CHECK_N.
7338 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7339 (do_pwrite): Don't use CHECK_N.
7340 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7341 (do_pwrite64): Don't use CHECK_N.
7342 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7343 (__libc_readv): Don't use CHECK_N.
7344 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7345 (semop): Don't use CHECK_N.
7346 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7348 (semtimedop): Don't use CHECK_N.
7349 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7350 (__libc_pread): Don't use CHECK_N.
7351 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7353 (__libc_pread64): Don't use CHECK_N.
7354 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7356 (__libc_pwrite): Don't use CHECK_N.
7357 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7359 (__libc_pwrite64): Don't use CHECK_N.
7360 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7362 (__libc_msgrcv): Don't use CHECK_N.
7363 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7364 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7365 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7366 (__libc_writev): Don't use CHECK_N.
7368 2013-02-08 Roland McGrath <roland@hack.frob.com>
7370 * string/strcpy.c: Removed unused variable.
7372 * Makeconfig (+sysdep-includes): Define with := rather than =.
7373 Use an existing include/ subdir of each sysdeps dir before it.
7375 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7377 * nscd/connection.c (register_traced_file): Comment function.
7378 [HAVE_INOTIFY] (union __inev): Define.
7379 [HAVE_INOTIFY] (inotify_check_files): New function.
7380 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7381 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7383 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7385 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7387 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7388 loaded if not already and that a failure is permanent.
7390 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7393 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7394 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7396 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7399 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7400 (CHECK_1_NULL_OK): Likewise.
7401 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7402 (__fxstat): Do not use CHECK_1.
7403 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7405 (___fxstat64): Do not use CHECK_1.
7406 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7408 (__fxstatat): Do not use CHECK_1.
7409 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7411 (__fxstatat64): Do not use CHECK_1.
7412 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7414 (__fxstat): Do not use CHECK_1.
7415 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7417 (__fxstatat): Do not use CHECK_1.
7418 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7420 (__getresgid): Do not use CHECK_1.
7421 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7423 (__getresuid): Do not use CHECK_1.
7424 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7426 (__lxstat): Do not use CHECK_1.
7427 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7429 (__old_msgctl): Do not use CHECK_1.
7430 (__new_msgctl): Likewise.
7431 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7433 (__new_setrlimit): Do not use CHECK_1.
7434 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7436 (__old_shmctl): Do not use CHECK_1.
7437 (__new_shmctl): Likewise.
7438 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7440 (__xstat): Do not use CHECK_1.
7441 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7442 (__lxstat): Do not use CHECK_1.
7443 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7445 (___lxstat64): Do not use CHECK_1.
7446 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7447 (__old_msgctl): Do not use CHECK_1.
7448 (__new_msgctl): Likewise.
7449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7451 (__gettimeofday): Do not use CHECK_1.
7452 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7453 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7454 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7456 (__gettimeofday): Do not use CHECK_1.
7457 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7458 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7459 (__new_shmctl): Do not use CHECK_1.
7460 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7462 (do_sigtimedwait): Do not use CHECK_1.
7463 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7465 (do_sigwaitinfo): Do not use CHECK_1.
7466 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7468 (msgctl): Do not use CHECK_1.
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7471 (shmctl): Do not use CHECK_1.
7472 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7473 (ustat): Do not use CHECK_1.
7474 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7476 (__fxstat): Do not use CHECK_1.
7477 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7479 (__fxstatat): Do not use CHECK_1.
7480 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7482 (__lxstat): Do not use CHECK_1.
7483 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7485 (__xstat): Do not use CHECK_1.
7486 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7487 (__xstat): Do not use CHECK_1.
7488 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7489 (___xstat64): Do not use CHECK_1.
7492 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7494 (CHECK_BOUNDS_HIGH): Likewise.
7495 * string/strcpy.c: Do not include <bp-checks.h>.
7496 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7498 2013-02-07 Roland McGrath <roland@hack.frob.com>
7500 * nscd/nscd-client.h (__nscd_drop_map_ref):
7501 Add __attribute__ ((unused)).
7502 * nis/nss-nisplus.h (niserr2nss): Likewise.
7504 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7505 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7507 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7508 Remove inline keyword.
7509 * include/rounding-mode.h (round_away): Likewise.
7510 * libio/wfileops.c (adjust_wide_data): Likewise.
7511 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7512 (__m128i_strloadu_tolower): Likewise.
7513 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7514 (__m128i_strloadu_tolower): Likewise.
7515 * time/mktime.c (ydhms_diff): Likewise.
7516 * locale/elem-hash.h (elem_hash): Likewise.
7517 * locale/setlocale.c (setdata): Likewise.
7518 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7519 (re_string_wchar_at): Likewise.
7520 (bitset_not, bitset_merge, bitset_mask): Likewise.
7521 [!(__GNUC__ > 3)] (inline): Remove macro.
7522 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7523 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7524 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7525 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7526 * string/memcmp.c (memcmp_bytes): Likewise.
7527 * locale/programs/locarchive.c (compute_hashval): Likewise.
7528 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7529 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7530 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7531 * nss/getent.c (print_rpc, print_protocols): Likewise.
7532 (print_passwd, print_group, print_aliases): Likewise.
7533 * nis/nss-nisplus.h (niserr2nss): Likewise.
7534 * nscd/connections.c (restart_p): Likewise.
7535 Change return type to bool.
7537 2013-02-05 Roland McGrath <roland@hack.frob.com>
7539 * Makeconfig (all-Depend-files): Add existing
7540 $(sorted-subdirs:=/Depend) files.
7541 (all-subdirs): Remove nss.
7542 * sysdeps/unix/inet/Subdirs: Add it here instead.
7543 * hesiod/Depend: New file.
7545 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7546 instead of calling alloca.
7548 * io/lseek.c (__lseek): Rename to __libc_lseek.
7549 Define __lseek as an alias.
7551 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7553 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7555 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7556 else clause and remove check for non-standard endianness.
7558 2013-02-04 David S. Miller <davem@davemloft.net>
7560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7562 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7565 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7566 (__ubp_memchr): Remove prototype.
7567 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7568 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7569 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7570 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7571 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7573 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7574 (__ubp_memchr): Likewise.
7575 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7576 (__ubp_memchr): Likewise.
7577 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7578 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7579 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7580 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7582 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7583 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7584 (__getcwd): Do not use CHECK_STRING.
7585 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7587 (__real_chown): Do not use CHECK_STRING.
7588 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7590 (fchownat): Do not use CHECK_STRING.
7591 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7593 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7595 (__lchown): Do not use CHECK_STRING.
7596 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7597 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7598 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7599 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7601 include <bp-checks.h>.
7602 (truncate64): Do not use CHECK_STRING.
7603 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7605 (__real_chown): Do not use CHECK_STRING.
7606 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7608 (__lchown): Do not use CHECK_STRING.
7609 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7611 (__chown): Do not use CHECK_STRING.
7612 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7614 (truncate64): Do not use CHECK_STRING.
7615 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7617 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7618 (__xmknod): Do not use CHECK_STRING.
7619 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7621 (__xmknodat): Do not use CHECK_STRING.
7622 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7623 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7625 2013-02-04 Andreas Schwab <schwab@suse.de>
7628 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7629 * include/netdb.h: Likewise for h_errno.
7630 * elf/tst-stackguard1.c: Include <tls.h>.
7632 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7634 * elf/link.h (struct link_map): Extend the l_addr comment.
7635 * include/link.h (struct link_map): Likewise.
7637 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7640 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7641 (BOUNDED_1): Remove macro.
7642 * debug/backtrace.c: Don't include <bp-checks.h>.
7643 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7644 (__backtrace): Likewise.
7645 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7647 (__backtrace): Don't use BOUNDED_1.
7648 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7650 (__backtrace): Don't use BOUNDED_1.
7651 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7652 (__backtrace): Don't use BOUNDED_1.
7653 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7654 (shmat): Don't use BOUNDED_N.
7656 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7659 * sysdeps/generic/bp-start.h: Remove file.
7660 * csu/libc-start.c: Don't include <bp-start.h>.
7661 (LIBC_START_MAIN): Set up __environ directly instead of using
7662 INIT_ARGV_and_ENVIRON.
7663 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7667 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7669 (CHECK_FCNTL): Likewise.
7670 (CHECK_N_PAGES): Likewise.
7673 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7675 (CHECK_SIGSET_NULL_OK): Likewise.
7676 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7678 (sigpending): Don't use CHECK_SIGSET.
7679 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7681 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7682 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7684 (do_sigsuspend): Don't use CHECK_SIGSET.
7685 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7687 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7688 (do_sigwait): Don't use CHECK_SIGSET.
7689 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7692 include <bp-checks.h>.
7693 (sigpending): Don't use CHECK_SIGSET.
7694 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7695 include <bp-checks.h>.
7696 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7697 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7699 (sigpending): Don't use CHECK_SIGSET.
7700 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7702 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7705 * sysdeps/generic/bp-semctl.h: Remove file.
7706 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7707 <bp-checks.h> and <bp-semctl.h>.
7708 (__old_semctl): Don't use CHECK_SEMCTL.
7709 (__new_semctl): Likewise.
7710 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7712 (__old_semctl): Don't use CHECK_SEMCTL.
7713 (__new_semctl): Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7715 <bp-checks.h> and <bp-semctl.h>.
7716 (__old_semctl): Don't use CHECK_SEMCTL.
7717 (__new_semctl): Likewise.
7718 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7719 <bp-checks.h> and <bp-semctl.h>.
7720 (semctl): Don't use CHECK_SEMCTL.
7723 * Makerules (elide-bp-thunks): Remove variable.
7724 (elide-routines.oS): Don't use $(elide-bp-thunks).
7725 (elide-routines.os): Likewise.
7726 (elide-routines.o): Likewise.
7727 (elide-routines.op): Likewise.
7728 (elide-routines.og): Likewise.
7729 (objects): Don't use $(bp-thunks).
7730 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7732 (common-generated): Do not add s-proto-bp.d.
7733 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7736 Do not generate makefile rules for bounded-pointer thunks.
7737 * sysdeps/generic/bp-thunks.h: Remove file.
7738 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7739 * sysdeps/unix/s-proto-bp.S: Likewise.
7742 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7743 parts of result separately when argument is not close to line from
7744 -i to i and one part of argument is small.
7745 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7746 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7747 * math/libm-test.inc (cacos_test): Add more tests.
7748 (casin_test): Likewise.
7749 (casinh_test): Likewise.
7750 * sysdeps/i386/fpu/libm-test-ulps: Update.
7751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7753 2013-01-31 David S. Miller <davem@davemloft.net>
7755 * po/de.po: Update from translation team.
7757 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7759 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7761 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7763 * configure.in (_AC_PROG_CC_C89): New definition.
7764 * configure: Regenerate.
7766 * configure.in (AC_PROG_CPP): New definition.
7767 * configure: Regenerate.
7769 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7771 * debug/tst-backtrace.h: New file.
7772 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7773 (ret): Remove variable.
7775 (FAIL): Remove macro.
7776 (NO_INLINE): Likewise.
7777 (fn1): Use match function instead of strstr.
7778 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7779 (ret): Remove variable.
7781 (FAIL): Remove macro.
7782 (NO_INLINE): Likewise.
7783 (fn): Use match function instead of strstr.
7784 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7785 (ret): Remove variable.
7787 (FAIL): Remove macro.
7788 (NO_INLINE): Likewise.
7789 (handle_signal): Use match function instead of strstr.
7790 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7791 (ret): Remove variable.
7793 (FAIL): Remove macro.
7794 (NO_INLINE): Likewise.
7795 (handle_signal): Use match function instead of strstr.
7797 2013-01-23 Roland McGrath <roland@hack.frob.com>
7799 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7801 2013-01-23 David S. Miller <davem@davemloft.net>
7803 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7804 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7805 argument of CAS if possible.
7806 * sysdeps/sparc/sparc64/bits/atomic.h
7807 (__arch_compare_and_exchange_val_32_acq): Likewise.
7808 (__arch_compare_and_exchange_val_64_acq): Likewise.
7810 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7812 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7813 * sysdeps/posix/ulimit.c: ... this.
7815 * sysdeps/unix/bsd/ulimit.c: Remove file.
7817 2013-01-23 Adam Conrad <adconrad@0c3.net>
7819 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7820 (LDFLAGS-tst-array5): Likewise.
7822 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7825 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7826 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7827 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7828 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7830 2013-01-21 David S. Miller <davem@davemloft.net>
7832 * sysdeps/sparc/backtrace.c: New file.
7833 * sysdeps/sparc/sparc32/backtrace.h: New file.
7834 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7835 * sysdeps/sparc/sparc64/backtrace.h: New file.
7836 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7837 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7840 2013-01-21 Andreas Schwab <schwab@suse.de>
7843 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7846 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7852 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7853 Mark Mitchell <mark@codesourcery.com>
7854 Tom de Vries <tom@codesourcery.com>
7855 Paul Pluzhnikov <ppluzhnikov@google.com>
7857 * debug/tst-backtrace2.c: New file.
7858 * debug/tst-backtrace3.c: Likewise.
7859 * debug/tst-backtrace4.c: Likewise.
7860 * debug/tst-backtrace5.c: Likewise.
7861 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7862 (CFLAGS-tst-backtrace3.c): Likewise.
7863 (CFLAGS-tst-backtrace4.c): Likewise.
7864 (CFLAGS-tst-backtrace5.c): Likewise.
7865 (LDFLAGS-tst-backtrace2): Likewise.
7866 (LDFLAGS-tst-backtrace3): Likewise.
7867 (LDFLAGS-tst-backtrace4): Likewise.
7868 (LDFLAGS-tst-backtrace5): Likewise.
7869 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7870 tst-backtrace4 and tst-backtrace5.
7872 2013-01-18 Anton Blanchard <anton@samba.org>
7873 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7875 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7876 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7877 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7878 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7880 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7881 "+r" and remove output regs list as redundant. Add explicit inline
7882 asm to specify register of return val to work around compiler codegen
7883 bug. Remove (int) cast on return value. Add return type parameter to
7884 use in macro so that this macro does not truncate return value for
7886 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7887 pass to INTERNAL_VSYSCALL_NCS.
7888 (INLINE_VSYSCALL): Add 'long int' as return type to
7889 INTERNAL_VSYSCALL_NCS macro invocation.
7890 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7891 INTERNAL_VSYSCALL_NCS macro invocation.
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7894 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7897 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7898 Fix application of SIMD FP exception mask.
7900 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7901 mp_no from a power of two.
7902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7903 __mpexp_twomm1. Use __pow_mp.
7905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7908 2013-01-17 David S. Miller <davem@davemloft.net>
7910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7912 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7915 * include/complex.h: Condition contents on [!_COMPLEX_H].
7916 (__kernel_casinhf): New prototype.
7917 (__kernel_casinh): Likewise.
7918 (__kernel_casinhl): Likewise.
7919 * math/Makefile (libm_calls): Add k_casinh.
7920 * math/k_casinh.c: New file.
7921 * math/k_casinhf.c: Likewise.
7922 * math/k_casinhl.c: Likewise.
7923 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7924 finite nonzero arguments.
7925 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7926 finite nonzero arguments.
7927 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7928 finite nonzero arguments.
7929 * math/s_casinh.c: Do not include <float.h>.
7930 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7931 * math/s_casinhf.c: Do not include <float.h>.
7932 (__casinhf): Move code for finite nonzero arguments to
7934 * math/s_casinhl.c: Do not include <float.h>.
7935 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7937 (__casinhl): Move code for finite nonzero arguments to
7939 * math/libm-test.inc (cacos_test): Add more tests.
7940 * sysdeps/i386/fpu/libm-test-ulps: Update.
7941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7943 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7945 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7946 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7947 [!HAVE_MREMAP]: Remove [defined linux] case.
7948 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7950 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7952 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7954 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7956 * elf/elf.h (R_386_SIZE32): New relocation.
7957 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7959 (elf_machine_rela): Likewise.
7960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7961 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7963 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7965 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7966 (FP_FAST_FMA): Do not define.
7967 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7968 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7969 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7970 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7971 !_SOFT_FLOAT]: Likewise.
7972 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7973 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7975 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7976 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7977 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7978 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7979 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7980 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7983 2013-01-16 Andreas Schwab <schwab@suse.de>
7986 * include/stdlib.h (__mktemp): Add declaration.
7987 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7988 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7990 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7992 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7994 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7995 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7996 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7998 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7999 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8001 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8003 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8004 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8005 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8007 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8008 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8010 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8012 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8014 2013-01-15 David S. Miller <davem@davemloft.net>
8016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8017 trunc{,f} to libm-sysdep_routes.
8018 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8028 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8029 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8030 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8031 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8032 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8033 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8036 nearbyint{,f} to libm-sysdep_routes.
8037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8048 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8050 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8051 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8053 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8054 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8055 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8057 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8058 libc_feholdexcept and libc_fesetenv.
8060 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8062 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8064 2013-01-14 David S. Miller <davem@davemloft.net>
8066 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8067 (SPARC_ASM_VIS2_IFUNC): Likewise.
8068 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8070 use of 'siam' instruction.
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8104 routines to libm-sysdep_routines.
8105 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8108 fdim/fdimf to libm-sysdep_routines.
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8117 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8118 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8119 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8120 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8122 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8124 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8127 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8132 local variable MPTWO.
8133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8136 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8138 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8141 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8143 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8145 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8147 * manual/pattern.texi (glob_t): Document gl_flags.
8148 (glob64_t): Likewise.
8150 2013-01-11 David S. Miller <davem@davemloft.net>
8152 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8153 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8154 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8155 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8156 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8157 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8158 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8159 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8160 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8161 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8162 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8163 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8164 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8166 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8167 sparc V9 rather than using V8 code.
8168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8171 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8173 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8176 2013-01-11 Roland McGrath <roland@hack.frob.com>
8178 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8179 not in the main loop.
8180 * configure: Regenerated.
8182 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8184 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8185 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8187 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8188 [!__GLIBC_HAVE_LONG_LONG] case.
8189 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8190 condition to just #else.
8191 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8192 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8193 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8194 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8196 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8197 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8198 #elif condition to just #else.
8199 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8200 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8201 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8202 #elif condition to just #else.
8204 2013-01-11 Steve Ellcey <sellcey@mips.com>
8206 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8207 (EF_MIPS_ARCH_64): Fix value.
8208 (EF_MIPS_ARCH_32R2): New.
8209 (EF_MIPS_ARCH_64R2): New.
8211 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8213 * Makeconfig (+link-pie-before-libc): New.
8214 (+link-pie-after-libc): Likewise.
8215 (+link-pie-tests): Likewise.
8216 (+link-pie): Rewritten.
8217 (link-before-libc): Remove $(config-LDFLAGS).
8218 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8219 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8220 (config-LDFLAGS): Renamed to ...
8221 (rtld-LDFLAGS): This.
8222 (rtld-tests-LDFLAGS): New macro.
8223 (link-libc-rpath-link): Likewise.
8224 (link-libc-tests-rpath-link): Likewise.
8225 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8226 (link-libc): Prepand $(link-libc-rpath-link).
8227 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8228 (test-program-prefix): New macro.
8229 (test-via-rtld-prefix): Likewise.
8230 (test-program-cmd): Likewise.
8231 (host-test-program-cmd): Likewise.
8232 * Makefile ($(common-objpfx)testrun.sh): Replace
8233 $(run-program-prefix) with $(test-program-prefix).
8234 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8236 ($(common-objpfx)shlib.lds): Likewise.
8237 (build-module-helper): Likewise.
8238 ($(common-objpfx)format.lds): Likewise.
8239 * Rules (binaries-pie-tests): New.
8240 (binaries-pie-notests): Likewise.
8241 (binaries-pie): Rewritten.
8242 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8243 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8244 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8245 (make-test-out): Replace $(host-built-program-cmd) with
8246 $(host-test-program-cmd).
8247 * config.make.in (build-hardcoded-path-in-tests): New variable.
8248 * configure.in (--enable-hardcoded-path-in-tests): New configure
8250 (hardcoded_path_in_tests): New AC_SUBST.
8251 * configure: Regenerated.
8252 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8253 $(built-program-cmd) with $(test-program-cmd).
8254 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8255 (test_program_cmd): This.
8256 * elf/Makefile ($(objpfx)order.out): Run test with
8257 $(test-program-prefix).
8258 ($(objpfx)order2.out): Likewise.
8259 ($(objpfx)tst-initorder.out): Likewise.
8260 ($(objpfx)tst-initorder2.out): Likewise.
8261 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8262 $(test-program-cmd).
8263 ($(objpfx)tst-array1-static.out): Likewise.
8264 ($(objpfx)tst-array2.out): Likewise.
8265 ($(objpfx)tst-array3.out): Likewise.
8266 ($(objpfx)tst-array4.out): Likewise.
8267 ($(objpfx)tst-array5.out): Likewise.
8268 ($(objpfx)tst-array5-static.out): Likewise.
8269 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8270 $(test-program-cmd).
8271 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8272 $(run-program-prefix) with $(test-program-prefix).
8273 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8274 (test_program_prefix): This.
8275 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8276 $(run-program-prefix) with $(test-program-prefix).
8277 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8278 (test_program_prefix): This.
8279 * iconvdata/tst-tables.sh: Likewise.
8280 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8281 $(run-program-prefix) with $(test-program-prefix).
8282 ($(objpfx)tst-translit.out): Likewise.
8283 ($(objpfx)tst-gettext2.out): Likewise.
8284 ($(objpfx)tst-gettext4.out): Likewise.
8285 ($(objpfx)tst-gettext6.out): Likewise.
8286 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8287 (test_program_prefix): This.
8288 * intl/tst-gettext2.sh: Likewise.
8289 * intl/tst-gettext4.sh Likewise.
8290 * intl/tst-gettext6.sh: Likewise.
8291 * intl/tst-translit.sh: Likewise.
8292 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8293 with $(test-program-cmd).
8294 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8295 $(run-program-prefix) with $(test-program-prefix).
8296 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8297 (test_program_prefix): This.
8298 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8299 $(run-program-prefix) with $(test-program-prefix).
8300 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8301 (test_program_prefix): This.
8302 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8303 * posix/Makefile ($(objpfx)globtest.out): Replace
8304 $(run-via-rtld-prefix) and $(test-wrapper) with
8305 $(test-program-prefix) and $(test-via-rtld-prefix).
8306 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8307 $(test-program-prefix).
8308 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8309 $(host-test-program-cmd).
8310 (tst-spawn-ARGS): Likewise.
8311 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8312 $(test-program-prefix).
8313 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8314 (test_via_rtld_prefix): This.
8315 (test_wrapper): Renamed to ...
8316 (test_program_prefix): This.
8317 (run_program_prefix): Replaced by test_program_prefix.
8318 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8319 (test_program_prefix): This.
8320 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8321 with $(host-test-program-cmd).
8322 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8323 $(run-program-prefix) with $(test-program-prefix).
8324 ($(objpfx)tst-printf.out): Likewise.
8325 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8326 $(test-program-cmd).
8327 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8328 (test_program_prefix): This.
8329 * stdio-common/tst-unbputc.sh: Likewise.
8330 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8331 $(run-program-prefix) with $(test-program-prefix).
8332 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8333 (test_program_prefix): This.
8334 * string/Makefile ($(objpfx)tst-svc.out): Replace
8335 $(built-program-cmd) with $(test-program-cmd).
8337 2013-01-11 Andreas Jaeger <aj@suse.de>
8340 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8341 value. Sync with Linux 3.7.
8343 2013-01-10 David S. Miller <davem@davemloft.net>
8345 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8346 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8347 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8349 2013-01-10 Roland McGrath <roland@hack.frob.com>
8351 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8353 * configure: Regenerated.
8355 2013-01-10 David S. Miller <davem@davemloft.net>
8357 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8358 sparc V9 rather than using V8 code.
8359 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8360 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8362 2013-01-10 Roland McGrath <roland@hack.frob.com>
8364 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8365 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8366 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8367 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8368 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8369 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8370 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8371 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8372 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8373 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8374 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8375 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8376 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8377 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8378 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8379 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8380 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8381 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8382 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8383 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8384 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8385 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8386 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8387 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8388 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8389 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8390 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8392 2013-01-10 David S. Miller <davem@davemloft.net>
8394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8396 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8398 * posix/Makefile (tests-static): New variable.
8399 (tests): Add $(tests-static).
8400 (tst-exec-static-ARGS): New variable.
8401 (tst-spawn-static-ARGS): Likewise.
8402 * posix/tst-exec-static.c: New file.
8403 * posix/tst-spawn-static.c: Likewise.
8404 * posix/tst-exec.c: Support run directly.
8405 * posix/tst-spawn.c: Likewise.
8407 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8409 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8411 * math/bits/mathcalls.h (llrint): Likewise.
8412 (llround): Likewise.
8413 * stdlib/stdlib.h (struct drand48_data): Likewise.
8414 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8415 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8416 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8418 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8420 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8421 (elf_greg_t): Likewise.
8422 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8423 (__jmp_buf): Likewise.
8424 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8426 (llrint): Likewise, for all definitions.
8427 (llrintl): Likewise.
8429 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8430 Remove [__GNUC__] condition.
8431 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8432 condition to just [__USE_ISOC99].
8433 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8435 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8438 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8439 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8441 (_POSIX_V6_ILP32_OFF32): Likewise.
8442 (_XBS5_ILP32_OFF32): Likewise.
8443 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8444 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8446 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8448 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8450 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8451 doubles __mpexp_twomm1. Adjust usage.
8452 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8455 2013-01-10 Andreas Schwab <schwab@suse.de>
8458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8459 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8461 2013-01-09 David S. Miller <davem@davemloft.net>
8464 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8465 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8466 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8467 TCP_FASTOPEN): Define.
8468 (tcp_repair_opt): New structure.
8469 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8471 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8472 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8473 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8474 (tcp_cookie_transactions): New structure.
8476 2013-01-09 Anton Blanchard <anton@samba.org>
8478 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8479 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8480 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8481 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8483 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8485 * include/features.h (__USE_ANSI): Remove.
8487 2013-01-09 Roland McGrath <roland@hack.frob.com>
8489 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8491 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8493 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8495 * sysdeps/s390/fpu/libm-test-ulps: Update.
8497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8499 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8504 (__mp_dbl): Likewise.
8505 (__dbl_mp): Likewise.
8506 (add_magnitudes): Likewise.
8507 (sub_magnitudes): Likewise.
8513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8518 (__mp_dbl): Likewise.
8519 (__dbl_mp): Likewise.
8520 (add_magnitudes): Likewise.
8521 (sub_magnitudes): Likewise.
8527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8532 (__mp_dbl): Likewise.
8533 (__dbl_mp): Likewise.
8534 (add_magnitudes): Likewise.
8535 (sub_magnitudes): Likewise.
8542 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8544 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8545 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8546 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8547 2 && __USE_EXTERN_INLINES]: Likewise.
8549 2013-01-08 Andreas Jaeger <aj@suse.de>
8552 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8554 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8555 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8557 2013-01-07 Anton Blanchard <anton@samba.org>
8559 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8560 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8561 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8562 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8563 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8564 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8565 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8566 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8568 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8571 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8572 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8573 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8574 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8575 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8577 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8578 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8579 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8580 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8581 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8582 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8583 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8584 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8585 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8586 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8587 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8588 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8589 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8591 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8592 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8593 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8594 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8595 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8596 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8598 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8599 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8600 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8601 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8603 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8605 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8606 (__MALLOC_PMT): Likewise.
8607 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8608 [__GNUC__], only on [_LIBC].
8609 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8610 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8611 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8612 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8613 forward declaration.
8614 (realloc_hook_ini): Likewise.
8615 (memalign_hook_ini): Likewise.
8616 (__libc_memalign): Do not use __MALLOC_PMT in variable
8618 (__libc_valloc): Likewise.
8619 (__libc_pvalloc): Likewise.
8620 (__libc_calloc): Likewise.
8621 (__posix_memalign): Likewise.
8624 * math/s_casinh.c: Include <float.h>.
8625 (__casinh): Do not do computation with squaring and square root
8626 for large arguments.
8627 * math/s_casinhf.c: Include <float.h>.
8628 (__casinhf): Do not do computation with squaring and square root
8629 for large arguments.
8630 * math/s_casinhl.c: Include <float.h>.
8631 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8632 (__casinhl): Do not do computation with squaring and square root
8633 for large arguments.
8634 * math/libm-test.inc (casin_test): Add more tests.
8635 (casinh_test): Likewise.
8636 * sysdeps/i386/fpu/libm-test-ulps: Update.
8637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8639 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8641 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8642 (__x86_64_raw_data_cache_size): Likewise.
8643 (__x86_64_data_cache_size_half): Likewise.
8644 (__x86_64_raw_data_cache_size_half): Likewise.
8645 (__x86_64_shared_cache_size): Likewise.
8646 (__x86_64_raw_shared_cache_size): Likewise.
8647 (__x86_64_shared_cache_size_half): Likewise.
8648 (__x86_64_raw_shared_cache_size_half): Likewise.
8649 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8651 (__x86_data_cache_size): This.
8652 (__x86_64_raw_data_cache_size): Renamed to ...
8653 (__x86_raw_data_cache_size): This.
8654 (__x86_64_data_cache_size_half): Renamed to ...
8655 (__x86_data_cache_size_half): This.
8656 (__x86_64_raw_data_cache_size_half): Renamed to ...
8657 (__x86_raw_data_cache_size_half): This.
8658 (__x86_64_shared_cache_size): Renamed to ...
8659 (__x86_shared_cache_size): This.
8660 (__x86_64_raw_shared_cache_size): Renamed to ...
8661 (__x86_raw_shared_cache_size): This.
8662 (__x86_64_shared_cache_size_half): Renamed to ...
8663 (__x86_shared_cache_size_half): This.
8664 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8665 (__x86_raw_shared_cache_size_half): This.
8666 * sysdeps/x86_64/memcpy.S: Updated.
8667 * sysdeps/x86_64/memset.S: Likewise.
8668 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8672 2013-01-04 David S. Miller <davem@davemloft.net>
8674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8676 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8678 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8679 1 to avoid redefinition warning.
8680 (__USE_GNU): Don't define.
8681 (init_signaling_nan): Protoize.
8683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8685 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8687 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8689 (__cpymn): Likewise.
8690 (norm): Remove commented code.
8692 (__mp_dbl): Likewise.
8694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8695 (__cpymn): Likewise.
8696 (norm): Remove commented code.
8698 (__mp_dbl): Likewise.
8701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8702 mp_no value for 1.0 and 2.0.
8703 (norm): Use RADIXI instead of radixi.d.
8705 (__mul): Use 0.0 instead of zero.d.
8706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8707 mp_no value for 1.0 and 2.0.
8708 (norm): Use RADIXI instead of radixi.d.
8710 (__mul): Use 0.0 instead of zero.d.
8712 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8715 * math/s_casinh.c (__casinh): Reduce finite argument to first
8716 quadrant then set signs of results at the end.
8717 * math/s_casinhf.c (__casinhf): Likewise.
8718 * math/s_casinhl.c (__casinhl): Likewise.
8719 * math/libm-test.inc (casin_test): Add more tests.
8720 (casinh_test): Likewise.
8721 * sysdeps/i386/fpu/libm-test-ulps: Update.
8722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8724 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8726 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8728 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8730 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8733 (__mp_dbl): Likewise.
8736 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8737 and adjust the header comment.
8739 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8740 variable name from declaration.
8742 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8745 Initialize COMMON_CPUID_INDEX_7 element.
8746 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8747 (CPUID_RTM): Likewise.
8748 (HAS_RTM): Likewise.
8749 (COMMON_CPUID_INDEX_7): New enum.
8751 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8754 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8755 size is zero, record memory as freed.
8757 2013-01-03 Andreas Jaeger <aj@suse.de>
8759 * po/ia.po: Add new Interlingua translation.
8761 2012-01-03 Allan McRae <allan@archlinux.org>
8763 * locale/programs/localedef.c: Fix description of '--posix' flag.
8765 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8767 * NEWS: Update dates in second copyright notice.
8768 * README: Update copyright dates in example.
8769 * manual/libc.texinfo: Update copyright dates.
8770 * scripts/test-installation.pl: Update copyright date in --version
8773 * hurd/ctty-input.c: Fix copyright notice formatting.
8774 * hurd/ctty-output.c: Likewise.
8775 * hurd/dtable.c: Likewise.
8776 * hurd/hurd-raise.c: Likewise.
8777 * hurd/hurdprio.c: Likewise.
8778 * hurd/msgportdemux.c: Likewise.
8779 * misc/sys/file.h: Likewise.
8780 * misc/sys/ioctl.h: Likewise.
8781 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8782 * sysdeps/mach/hurd/chdir.c: Likewise.
8783 * sysdeps/mach/hurd/fchdir.c: Likewise.
8784 * sysdeps/mach/hurd/rename.c: Likewise.
8785 * sysdeps/mach/hurd/rmdir.c: Likewise.
8786 * sysdeps/mach/hurd/seekdir.c: Likewise.
8787 * sysdeps/mach/hurd/setsid.c: Likewise.
8788 * sysdeps/posix/wait3.c: Likewise.
8790 * All files with FSF copyright notices: Update copyright dates
8791 using scripts/update-copyrights.
8792 * intl/plural.c: Regenerated.
8793 * locale/programs/charmap-kw.h: Likewise.
8794 * locale/programs/locfile-kw.h: Likewise.
8796 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8798 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8801 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8802 calculation loop and add branch prediction.
8804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8805 check access beyond bounds of m1np.
8807 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8809 (__inv): Remove local variable MPTWO to use the global
8811 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8812 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8814 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8815 MP3HALFS static const.
8817 2013-01-01 David S. Miller <davem@davemloft.net>
8819 * po/ca.po: Update from translation team.
8821 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8823 * scripts/update-copyrights: New file.
8824 * Makeconfig: Reformat copyright notice.
8825 * ctype/ctype.h: Likewise.
8826 * debug/swprintf_chk.c: Likewise.
8827 * elf/dl-cache.c: Likewise.
8828 * elf/dl-debug.c: Likewise.
8829 * elf/dl-object.c: Likewise.
8830 * grp/initgroups.c: Likewise.
8831 * hurd/Makefile: Likewise.
8832 * hurd/hurd/signal.h: Likewise.
8833 * hurd/hurdfault.c: Likewise.
8834 * hurd/hurdioctl.c: Likewise.
8835 * hurd/hurdlookup.c: Likewise.
8836 * hurd/intr-msg.c: Likewise.
8837 * iconv/gconv_open.c: Likewise.
8838 * libio/swprintf.c: Likewise.
8839 * locale/lc-ctype.c: Likewise.
8840 * locale/nl_langinfo.c: Likewise.
8841 * mach/Machrules: Likewise.
8842 * mach/Makefile: Likewise.
8843 * malloc/obstack.h: Likewise.
8844 * manual/Makefile: Likewise.
8845 * manual/tsort.awk: Likewise.
8846 * misc/bits/stab.def: Likewise.
8847 * nis/nis_print_group_entry.c: Likewise.
8848 * nis/nis_table.c: Likewise.
8849 * nis/nss_compat/compat-pwd.c: Likewise.
8850 * nis/nss_compat/compat-spwd.c: Likewise.
8851 * po/Makefile: Likewise.
8852 * posix/fnmatch.c: Likewise.
8853 * posix/regex.h: Likewise.
8854 * resolv/Makefile: Likewise.
8855 * resolv/nss_dns/dns-network.c: Likewise.
8856 * resolv/res_hconf.c: Likewise.
8857 * scripts/gen-sorted.awk: Likewise.
8858 * soft-fp/soft-fp.h: Likewise.
8859 * stdio-common/printf.h: Likewise.
8860 * stdlib/monetary.h: Likewise.
8861 * stdlib/random.c: Likewise.
8862 * stdlib/random_r.c: Likewise.
8863 * sysdeps/generic/Makefile: Likewise.
8864 * sysdeps/gnu/Makefile: Likewise.
8865 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8893 * sysdeps/mach/hurd/errnos.awk: Likewise.
8894 * sysdeps/mach/hurd/fork.c: Likewise.
8895 * sysdeps/mach/hurd/getcwd.c: Likewise.
8896 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8897 * sysdeps/mach/hurd/mmap.c: Likewise.
8898 * sysdeps/mach/hurd/utimes.c: Likewise.
8899 * sysdeps/mach/hurd/xmknod.c: Likewise.
8900 * sysdeps/posix/profil.c: Likewise.
8901 * sysdeps/posix/readdir_r.c: Likewise.
8902 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8903 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8904 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8905 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8907 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8908 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8909 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8911 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8912 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8913 * sysdeps/pthread/lio_listio.c: Likewise.
8914 * sysdeps/sparc/dl-procinfo.h: Likewise.
8915 * sysdeps/unix/i386/sysdep.S: Likewise.
8916 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8917 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8918 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8919 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8921 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8922 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8923 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8924 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8925 * sysdeps/wordsize-32/divdi3.c: Likewise.
8926 * time/sys/time.h: Likewise.
8927 * wcsmbs/Makefile: Likewise.
8929 2013-01-01 David S. Miller <davem@davemloft.net>
8931 * po/fr.po: Update from translation team.
8933 * catgets/gencat.c: Update copyright year.
8934 * csu/version.c: Likewise.
8935 * debug/catchsegv.sh: Likewise.
8936 * debug/pcprofiledump.c: Likewise.
8937 * debug/xtrace.sh: Likewise.
8938 * elf/ldconfig.c: Likewise.
8939 * elf/ldd.bash.in: Likewise.
8940 * elf/pldd.c: Likewise.
8941 * elf/sotruss.ksh: Likewise.
8942 * elf/sprof.c: Likewise.
8943 * iconv/iconv_prog.c: Likewise.
8944 * iconv/iconvconfig.c: Likewise.
8945 * locale/programs/locale.c: Likewise.
8946 * locale/programs/localedef.c: Likewise.
8947 * login/programs/pt_chown.c: Likewise.
8948 * malloc/memusage.sh: Likewise.
8949 * malloc/memusagestat.c: Likewise.
8950 * malloc/mtrace.pl: Likewise.
8951 * nscd/nscd.c: Likewise.
8952 * nss/getent.c: Likewise.
8953 * nss/makedb.c: Likewise.
8954 * posix/getconf.c: Likewise.
8956 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8958 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8961 2012-12-30 Mike Frysinger <vapier@gentoo.org>
8963 * math/bits/mathcalls.h (modf): Use __nonnull.
8965 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8967 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8968 (split): Use macro CN instead of the bare value.
8969 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8972 instead of the bare value.
8975 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8977 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8979 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8981 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8983 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8984 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8985 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8986 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8988 2012-12-28 Andreas Jaeger <aj@suse.de>
8990 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8991 values are from Linux 3.7.
8993 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8994 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8996 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8998 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9001 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9003 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9004 variables with preprocessor constants.
9005 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9006 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9007 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9009 2012-12-27 Bruno Haible <bruno@clisp.org>
9012 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9015 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9018 and use variable directly.
9019 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9021 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9023 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9024 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9026 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9028 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9029 include directive. Remove local variable MPONE.
9030 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9031 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9032 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9034 2012-12-25 David S. Miller <davem@davemloft.net>
9036 * version.h (RELEASE): Set to "development".
9037 (VERSION): Set to "2.17.90".
9038 * NEWS: Add 2.18 section.
9040 2012-12-21 David S. Miller <davem@davemloft.net>
9042 * po/hr.po: Update from translation team.
9044 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9046 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9048 2012-12-19 Steve Ellcey <sellcey@mips.com>
9050 * NEWS: Mention new memcpy for MIPS.
9052 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9054 * manual/contrib.texi (Contributors): Spelling correction.
9056 2012-12-15 David S. Miller <davem@davemloft.net>
9058 * po/ru.po: Update from translation team.
9060 2012-12-13 David S. Miller <davem@davemloft.net>
9062 * NEWS: Mention IFUNC testsuite enhancements.
9064 * po/pl.po: Update from translation team.
9065 * po/bg.po: Likewise.
9067 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9068 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9070 2012-12-11 David S. Miller <davem@davemloft.net>
9072 * po/sv.po: Update from translation team.
9074 * po/vi.po: Update from translation team.
9076 * po/cs.po: Update from translation team.
9078 * po/de.po: Update from translation team.
9079 * po/eo.po: Likewise.
9080 * po/nl.po: Likewise.
9082 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9085 * manual/argp.texi (Argp Helper Functions): Move node to follow
9089 * manual/conf.texi (Limits on File System Capacity): Mention if
9090 terminating null is included in the max size.
9092 2012-12-10 Andreas Jaeger <aj@suse.de>
9094 * po/cs.po: Update from translation team.
9096 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9098 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9099 void pointer and cast to uintptr_t.
9100 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9102 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9103 * sysdeps/s390/s390-64/memset.S: Likewise.
9105 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9108 * menual/message.texi (Message Translation): Fix typos.
9109 (Helper programs for gettext): Likewise.
9111 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9114 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9117 2012-12-07 David S. Miller <davem@davemloft.net>
9119 * po/libc.pot: Update.
9121 2012-12-07 Richard Henderson <rth@redhat.com>
9124 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9125 normal/normal case to before the switch.
9126 (_FP_DIV): Likewise.
9128 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9129 Mike Frysinger <vapier@gentoo.org>
9131 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9132 check for __NR_fadvise64_64.
9134 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9136 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9137 0, not just to plain "0" as a statement.
9138 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9141 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9143 * NEWS: Use sourceware.org in Bugzilla URL.
9145 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9148 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9150 * stdio-common/tst-put-error.c (do_test): Add newline to the
9151 padded test to ensure flush.
9153 2012-12-05 Jeff Law <law@redhat.com>
9155 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9157 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9159 * README: Don't refer to ports add-on as distributed separately.
9160 Mention AArch64 in list of systems supported in the ports add-on.
9162 * LICENSES: Add more non-FSF copyright and license notices.
9164 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9167 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9169 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9170 10000 as width of padded output.
9172 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9174 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9176 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9177 variable LX with __attribute__ ((unused)).
9178 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9180 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9183 with __attribute__ ((unused)).
9185 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9187 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9189 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9191 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9192 (CFLAGS-nldbl-acos.c): New variable.
9193 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9195 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9214 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9215 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9216 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9217 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9218 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9219 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9220 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9221 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9222 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9223 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9224 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9225 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9226 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9227 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9228 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9229 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9230 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9231 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9232 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9233 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9234 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9235 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9236 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9237 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9238 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9239 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9240 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9241 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9242 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9243 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9244 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9245 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9246 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9247 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9248 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9249 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9250 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9251 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9252 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9253 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9254 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9255 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9256 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9258 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9259 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9260 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9261 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9262 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9263 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9264 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9265 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9266 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9267 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9268 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9269 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9270 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9271 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9272 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9273 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9274 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9275 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9276 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9277 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9278 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9279 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9280 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9281 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9282 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9283 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9284 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9285 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9286 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9287 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9288 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9289 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9292 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9296 whole low double instead of just low 47 bits when splitting values
9299 2012-12-03 Allan McRae <allan@archlinux.org>
9301 * manual/stdio.texi (Predefined Printf Handlers): Remove
9302 @hsep and @vsep usage.
9304 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9306 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9307 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9309 2012-12-03 Jeff Law <law@redhat.com>
9311 * time/sys/time.h (settimeofday): Do not mark TV argument
9314 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9316 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9317 when currently writing and seek to current position when not.
9318 * libio/Makefile (tests): Remove bug-fclose1.
9319 * libio/bug-fclose1.c: Delete.
9321 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9323 * manual/arith.texi (feenableexcept): Fix typo.
9324 (fedisableexcept): Likewise.
9326 2012-11-30 Roland McGrath <roland@hack.frob.com>
9328 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9329 second, differently-typed declaration, rather than a cast.
9331 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9333 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9334 * include/rpc/svc.h: ... here.
9336 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9339 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9340 depending n and resplen2 to catch cases where answer
9343 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9345 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9346 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9348 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9350 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9352 2012-11-29 Roland McGrath <roland@hack.frob.com>
9354 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9356 2012-11-28 Jeff Law <law@redhat.com>
9359 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9360 dataset_temporary. Track alloca usage into alloca_used.
9361 If dataset is large allocate and release it via malloc/free.
9363 2012-06-04 Florian Weimer <fweimer@redhat.com>
9366 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9368 2012-11-28 David S. Miller <davem@davemloft.net>
9370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9372 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9375 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9376 of pi/2 rounded to nearest to 64 bits.
9377 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9379 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9382 2012-11-28 Jeff Law <law@redhat.com>
9383 Martin Osvald <mosvald@redhat.com>
9386 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9387 * sunrpc/svc.c: Include time.h.
9388 (__svc_accept_failed): New function.
9389 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9390 any reason other than EINTR, call __svc_accept_failed.
9391 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9392 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9394 2012-11-28 Andreas Schwab <schwab@suse.de>
9396 * scripts/abilist.awk: Also handle indirect functions in .opd
9399 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9402 * sysdeps/x86/fpu/powl_helper.c: New file.
9403 * sysdeps/x86/fpu/Makefile: Likewise.
9404 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9406 (__ieee754_powl): Use __powl_helper for finite arguments except
9407 integer exponents below 8.
9408 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9410 (__ieee754_powl): Use __powl_helper for finite arguments except
9411 integer exponents below 8.
9412 * math/libm-test.inc (pow_test): Add more tests and enable some
9413 previously disabled tests.
9414 * sysdeps/i386/fpu/libm-test-ulps: Update.
9415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9417 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9418 Carlos O'Donell <carlos_odonell@mentor.com>
9420 * nss/makedb.c (is_prime): Assert that input is odd and greater
9421 than 4. Note that fact in a comment too.
9422 (next_prime): Add 4 to input.
9424 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9427 * libio/Makefile (tests): Add test case tst-fwrite-error.
9428 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9429 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9430 * libio/tst-fwrite-error.c: New test case.
9432 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9434 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9435 before casting to void *.
9436 * include/libc-internal.h (__pointer_type): New macro.
9437 (__integer_if_pointer_type_sub): Likewise.
9438 (__integer_if_pointer_type): Likewise.
9439 (cast_to_integer): Likewise.
9440 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9441 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9442 before casting to atomic64_t.
9443 (atomic_exchange_acq): Likewise.
9444 (__arch_exchange_and_add_body): Likewise.
9445 (__arch_add_body): Likewise.
9446 (atomic_add_negative): Likewise.
9447 (atomic_add_zero): Likewise.
9449 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9451 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9452 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9453 (add_fdes): Likewise.
9454 (linear_search_fdes): Likewise.
9455 (binary_search_unencoded_fdes): Likewise.
9457 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9459 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9461 2012-11-24 Adam Conrad <adconrad@0c3.net>
9463 * configure.in: Autodetect C++ header directories.
9464 * configure: Regenerated.
9466 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9468 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9470 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9474 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9476 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9477 LDBL_MANT_DIG == 106]: Disable some tests.
9478 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9480 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9484 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9485 input for small inputs. Return +/- pi/2 for large inputs.
9486 * math/libm-test.inc (atan_test): Add more tests.
9488 * sysdeps/generic/unwind-dw2-fde-glibc.c
9489 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9490 __attribute__ ((unused)).
9493 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9494 x * y if x and y are nonzero and z is zero.
9497 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9498 nonzero exponents with absolute value below 0x1p-117 to +/-
9502 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9503 up arguments below 2**-450, not just those below 2**-500.
9504 * math/libm-test.inc (hypot_test): Add another test.
9507 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9508 Return a+b for ratio over 2**120, not 2**60.
9509 * math/libm-test.inc (hypot_test): Add another test.
9511 * math/libm-test.inc (clog_test): Use
9512 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9513 (clog10_test): Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9518 2012-11-22 Andreas Schwab <schwab@suse.de>
9520 * sysdeps/i386/fpu/libm-test-ulps: Update.
9522 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9524 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9525 printf output with newline.
9527 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9530 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9531 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9532 -z nodlopen, -z initfirst and -z execstack support.
9533 * configure: Regenerated.
9535 * elf/elf.h (DF_1_NODIRECT): New macro.
9536 (DF_1_IGNMULDEF): Likewise.
9537 (DF_1_NOKSYMS): Likewise.
9538 (DF_1_NOHDR): Likewise.
9539 (DF_1_EDITED): Likewise.
9540 (DF_1_NORELOC): Likewise.
9541 (DF_1_SYMINTPOSE): Likewise.
9542 (DF_1_GLOBAUDIT): Likewise.
9543 (DF_1_SINGLETON): Likewise.
9544 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9545 DT_1_SUPPORTED_MASK bits.
9546 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9548 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9550 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9552 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9554 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9557 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9558 (sendmmsg): Move declarations...
9559 * socket/sys/socket.h: ... here.
9560 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9561 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9563 * socket/recvmmsg.c: ... this new file.
9564 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9565 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9566 definition of __sendmmsg hidden.
9567 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9568 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9569 Move ENOSYS stub into and include it from...
9570 * socket/sendmmsg.c: ... this new file.
9571 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9572 (sysdep_routines): Move recvmmsg and sendmmsg...
9573 * socket/Makefile (routines): ... here.
9574 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9575 (GLIBC_PRIVATE): Add __sendmmsg.
9576 * include/sys/socket.h (__sendmmsg): Add declarations.
9577 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9580 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9583 variable I1 with __attribute__ ((unused)).
9584 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9586 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9588 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9589 DUMMY variables with __attribute__ ((unused)).
9591 * bits/byteswap.h: Include <bits/types.h>.
9592 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9594 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9596 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9597 string_t. Do not manually set errno.
9598 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9599 length with __strnlen. Make sure to both set errno and return it on
9602 2012-11-19 David S. Miller <davem@davemloft.net>
9604 With help from Joseph Myers.
9605 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9606 very large arguments properly.
9607 * math/libm-test.inc (atan_test): New tests.
9608 (atan2_test): New tests.
9609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9612 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9615 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9618 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9619 [POSIX] (EADDRNOTAVAIL): Likewise.
9620 [POSIX] (EAFNOSUPPORT): Likewise.
9621 [POSIX] (EALREADY): Likewise.
9622 [POSIX] (ECONNABORTED): Likewise.
9623 [POSIX] (ECONNREFUSED): Likewise.
9624 [POSIX] (ECONNRESET): Likewise.
9625 [POSIX] (EDESTADDRREQ): Likewise.
9626 [POSIX] (EDQUOT): Likewise.
9627 [POSIX] (EHOSTUNREACH): Likewise.
9628 [POSIX] (EIDRM): Likewise.
9629 [POSIX] (EISCONN): Likewise.
9630 [POSIX] (ELOOP): Likewise.
9631 [POSIX] (EMULTIHOP): Likewise.
9632 [POSIX] (ENETDOWN): Likewise.
9633 [POSIX] (ENETUNREACH): Likewise.
9634 [POSIX] (ENOBUFS): Likewise.
9635 [POSIX] (ENODATA): Likewise.
9636 [POSIX] (ENOLINK): Likewise.
9637 [POSIX] (ENOMSG): Likewise.
9638 [POSIX] (ENOPROTOOPT): Likewise.
9639 [POSIX] (ENOSR): Likewise.
9640 [POSIX] (ENOSTR): Likewise.
9641 [POSIX] (ENOTCONN): Likewise.
9642 [POSIX] (ENOTSOCK): Likewise.
9643 [POSIX] (EOPNOTSUPP): Likewise.
9644 [POSIX] (EOVERFLOW): Likewise.
9645 [POSIX] (EPROTO): Likewise.
9646 [POSIX] (EPROTONOSUPPORT): Likewise.
9647 [POSIX] (EPROTOTYPE): Likewise.
9648 [POSIX] (ESTALE): Likewise.
9649 [POSIX] (ETIME): Likewise.
9650 [POSIX] (ETXTBSY): Likewise.
9651 [POSIX] (EWOULDBLOCK): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9653 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9654 [POSIX] (SEEK_CUR): Likewise.
9655 [POSIX] (SEEK_END): Likewise.
9656 [POSIX || UNIX98] (mode_t): Do not require.
9657 [POSIX] (off_t): Likewise.
9658 [POSIX] (pid_t): Likewise.
9659 [POSIX] (sys/stat.h): Do not allow header.
9660 [POSIX] (unistd.h): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9662 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9664 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9666 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9667 sigevent): Specify elements.
9668 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9670 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9671 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9673 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9674 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9675 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9676 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9677 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9678 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9679 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9680 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9682 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9683 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9684 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9685 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9686 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9688 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9690 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9692 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9694 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9695 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9696 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9697 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9698 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9699 Specify lower bound on value.
9700 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9701 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9702 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9703 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9704 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9705 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9706 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9707 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9709 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9711 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9712 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9713 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9714 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9715 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9716 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9722 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9724 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9728 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9730 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9731 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9735 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9737 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9738 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9739 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9740 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9742 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9743 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9745 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9746 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9747 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9748 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9749 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9750 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9751 specify as optional.
9752 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9753 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9754 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9755 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9756 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9757 [XPG3] (NL_LANGMAX): Likewise.
9758 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9759 [POSIX || XPG3] (NL_NMAX): Likewise.
9760 [POSIX || XPG3] (NL_SETMAX): Likewise.
9761 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9762 [XPG3] (NZERO): Likewise.
9763 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9764 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9765 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9766 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9767 (REG_ERANGE): Expect.
9768 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9770 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9771 Use (void) in prototype.
9772 [POSIX] (*_t): Allow.
9773 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9774 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9775 (WRDE_BADVAL): Expect.
9777 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9779 [XPG3 || XPG4] (O_RSYNC): Likewise.
9780 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9782 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9783 [XPG3 || XPG4] (sigqueue): Likewise.
9784 [XPG3 || XPG4] (sigtimedwait): Likewise.
9785 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9786 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9787 [XPG3 || XPG4] (vsnprintf): Likewise.
9788 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9790 [XPG3 || XPG4] (blksize_t): Likewise.
9791 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9793 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9794 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9795 [XPG3 || XPG4] (struct itimerspec): Likewise.
9796 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9797 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9798 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9799 [XPG3 || XPG4] (clockid_t): Likewise.
9800 [XPG3 || XPG4] (timer_t): Likewise.
9801 [XPG3 || XPG4] (clock_getres): Likewise.
9802 [XPG3 || XPG4] (clock_gettime): Likewise.
9803 [XPG3 || XPG4] (clock_settime): Likewise.
9804 [XPG3 || XPG4] (nanosleep): Likewise.
9805 [XPG3 || XPG4] (timer_create): Likewise.
9806 [XPG3 || XPG4] (timer_delete): Likewise.
9807 [XPG3 || XPG4] (timer_gettime): Likewise.
9808 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9809 [XPG3 || XPG4] (timer_settime): Likewise.
9810 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9811 [XPG3 || XPG4] (getlogin_r): Likewise.
9812 [XPG3 || XPG4] (pread): Likewise.
9813 [XPG3 || XPG4] (pthread_atfork): Likewise.
9814 [XPG3 || XPG4] (pwrite): Likewise.
9817 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9820 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9822 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9823 finalizing MALLSTREAM.
9825 * sysdeps/mach/hurd/syncfs.c: New file.
9827 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9830 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9831 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9832 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9833 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9834 (_nss_dns_gethostbyname4_r): Likewise.
9835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9836 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9838 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9841 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9843 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9845 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9846 * elf/cache.c (print_entry): Print ",AArch64" for
9849 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9850 * elf/cache.c (print_entry): Print ",hard-float" for
9853 2012-11-18 David S. Miller <davem@davemloft.net>
9855 With help from Joseph Myers.
9856 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9858 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9860 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9861 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9863 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9864 * math/libm-test.inc (y0_test): New tests.
9865 (y1_test): New tests.
9866 * sysdeps/i386/fpu/libm-test-ulps: Update.
9867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9870 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9872 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9874 * configure: Regenerated.
9876 2012-11-17 David S. Miller <davem@davemloft.net>
9879 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9880 nonzero exponents with absolute value below 0x1p-128 to +/-
9883 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9885 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9887 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9889 * posix/getconf-speclist.c: New file.
9890 * posix/posix-envs.def: Likewise.
9891 * posix/confstr.c (START_ENV_GROUP): New macro.
9892 (END_ENV_GROUP): Likewise.
9893 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9894 (KNOWN_PRESENT_ENV_STRING): Likewise.
9895 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9896 (UNKNOWN_ENVIRONMENT): Likewise.
9897 (confstr): Include posix-envs.def instead of handling
9898 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9899 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9900 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9901 (END_ENV_GROUP): Likewise.
9902 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9903 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9904 (UNKNOWN_ENVIRONMENT): Likewise.
9905 (__sysconf): Include posix-envs.def instead of handling associated
9906 cases directly here.
9907 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9908 preprocessing getconf-speclist.c rather than running getconf or
9909 generating empty file.
9911 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9913 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9915 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9918 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9920 2012-11-16 David S. Miller <davem@davemloft.net>
9922 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9923 smaller than LDBL_EPSILON/2.0L, just return xm1.
9925 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9927 * elf/tst-array1.c (init): Set constructor priority to 1000.
9928 (fini): Set destructor priority to 1000.
9929 * elf/tst-array2dep.c: Likewise.
9931 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9934 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9935 (_IO_new_file_xsputn): Also return EOF if none of the input
9936 data was written when overflow failed.
9937 * libio/iopadn.c (_IO_padn): Likewise.
9938 * libio/iowpadn.c (_IO_wpadn): Likewise.
9939 * stdio-common/tst-put-error.c: Add copyright notice.
9940 (do_test): Add case for printing padded string.
9941 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9942 _IO_padn returned error.
9943 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9944 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9947 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9949 * libio/libioP.h: Add comment note that the references to C++
9950 bits are now obsolete.
9952 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9954 * math/libm-test.inc (check_complex): Use asprintf.
9956 2012-11-14 Joseph Myers <joseph@codesourcery.com>
9958 * debug/pcprofiledump.c (print_version): Update copyright year.
9959 * malloc/memusagestat.c (print_version): Likewise.
9961 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9964 * elf/Makefile (tests): Add tst-audit8.
9965 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9966 ($(objpfx)tst-audit8.out): New target.
9967 (tst-audit8-ENV): New variable.
9968 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9969 audit if l_reloc_result is NULL.
9970 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9971 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9972 * elf/tst-audit8.c: New file.
9974 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9976 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9977 * misc/Makefile (CFLAGS-select.c): Define.
9978 * posix/Makefile (CFLAGS-pause.c): Define.
9980 2012-11-13 David S. Miller <davem@davemloft.net>
9982 * crypt/Makefile: Move test targets after toplevel Rules
9983 inclusion. Grab any necessary sysdep routines when linking.
9984 * crypt/md5.c (md5_process_block): Remove define, we will always
9985 name it __md5_process_block.
9986 (md5_finish_ctx): Update md5_process_block call.
9987 (md5_stream): Likewise.
9988 (md5_process_bytes): Likewise.
9989 (md5_process_block): Rename to __md5_process_block and move to ...
9990 * crypt/md5-block.c: ... here.
9991 * crypt/sha256.c (sha256_process_block): Move to ...
9992 * crypt/sha256-block.c: ... here.
9993 * crypt/sha512.c (sha512_process_block): Move to ...
9994 * crypt/sha512-block.c: ... here.
9995 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9997 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9998 * sysdeps/sparc/sparc64/multiarch/Makefile
9999 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10001 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10002 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10004 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10005 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10006 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10007 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10008 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10009 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10010 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10011 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10012 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10014 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10015 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10017 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10019 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10021 * timezone/tzselect.ksh: Update from tzcode git revision
10022 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10023 * timezone/zdump.c: Likewise.
10024 * timezone/zic.c: Likewise.
10025 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10026 in TZVERSION setting, not $(PKGVERSION).
10027 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10028 REPORT_BUGS_TO settings.
10031 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10034 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10036 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10037 detection to immediately after _FP_ROUND().
10038 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10041 2012-11-11 David S. Miller <davem@davemloft.net>
10043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10045 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10046 __close rather than their public counterparts.
10048 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10050 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10052 [UNIX98] (sem_timedwait): Do not expect.
10053 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10054 [XPG4 || UNIX98] (sockatmark): Do not expect.
10055 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10056 (clock_getcpuclockid): Do not expect.
10057 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10058 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10060 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10061 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10062 [UNIX98] (vwscanf): Likewise.
10063 [UNIX98] (vswscanf): Likewise.
10065 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10067 * timezone/version.h: Remove file.
10068 * timezone/README: Do not refer to version.h.
10069 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10070 $(objpfx)version.h.
10071 ($(objpfx)zdump.o): Likewise.
10072 ($(objpfx)version.h): New target.
10074 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10076 * timezone/README: Don't mention modification to tzselect.ksh.
10077 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10078 work on unmodified tzselect.ksh. Substitute version numbers in
10081 * Makefile (format-me): Remove.
10082 (INSTALL): Adjust indentation. Use commands directly instead of
10083 using $(format-me).
10085 * aclocal.m4 (ACX_PKGVERSION): New macro.
10086 (ACX_BUGURL): Likewise.
10087 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10088 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10089 (REPORT_BUGS_TO): Likewise.
10090 * configure: Regenerated.
10091 * config.h.in (PKGVERSION): New macro.
10092 (REPORT_BUGS_TO): Likewise.
10093 * config.make.in (PKGVERSION): New variable.
10094 (PKGVERSION_TEXI): Likewise.
10095 (REPORT_BUGS_TO): Likewise.
10096 (REPORT_BUGS_TEXI): Likewise.
10097 * Makefile (format-me): Use -I$(common-objpfx)manual.
10098 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10099 ($(common-objpfx)manual/%): New target.
10100 (manual/%): Remove target.
10101 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10102 (print_version): Use PKGVERSION.
10103 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10104 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10105 and REPORT_BUGS_TO.
10106 ($(objpfx)xtrace): Likewise.
10107 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10108 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10109 (print_version): Use PKGVERSION.
10110 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10111 (do_version): Use PKGVERSION.
10112 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10114 (common-ldd-rewrite): Likewise.
10115 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10116 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10117 (print_version): Use PKGVERSION.
10118 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10119 * elf/pldd.c (argp_program_bug_address): Remove variable.
10120 (more_help): New function.
10121 (argp): Use more_help.
10122 (print_version): Use PKGVERSION.
10123 * elf/sln.c (main): Use PKGVERSION.
10124 (usage): Use REPORT_BUGS_TO.
10125 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10126 (top level): Use PKGVERSION.
10127 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10128 (print_version): Use PKGVERSION.
10129 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10130 (print_version): Use PKGVERSION.
10131 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10132 (print_version): Use PKGVERSION.
10133 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10134 (print_version): Use PKGVERSION.
10135 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10136 (print_version): Use PKGVERSION.
10137 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10138 (print_version): Use PKGVERSION.
10139 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10141 ($(objpfx)memusage): Likewise.
10142 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10143 (do_version): Use PKGVERSION.
10144 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10145 (print_version): Use PKGVERSION.
10146 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10147 ($PKGVERSION): New variable.
10148 ($REPORT_BUGS_TO): Likewise.
10149 (usage): Use $REPORT_BUGS_TO.
10150 (top level): Use $PKGVERSION.
10151 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10152 ($(objpfx)pkgvers.texi): New rule.
10153 ($(objpfx)stamp-pkgvers): Likewise.
10154 * manual/install.texi: Include pkgvers.texi.
10155 (--with-pkgversion): Document new configure option.
10156 (--with-bugurl): Likewise.
10157 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10158 than necessarily for this particular distribution. Use
10159 REPORT_BUGS_TO for where to report bugs.
10160 * INSTALL: Regenerated.
10161 * manual/libc.texinfo: Include pkgvers.texi.
10162 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10163 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10164 (print_version): Use PKGVERSION.
10165 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10166 (print_version): Use PKGVERSION.
10167 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10168 (print_version): Use PKGVERSION.
10169 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10170 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10172 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10173 (print_version): Use PKGVERSION.
10174 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10175 (print_version): Use PKGVERSION.
10176 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10179 * timezone/checktab.awk: Update from tzcode 2012i.
10180 * timezone/ialloc.c: Likewise.
10181 * timezone/private.h: Likewise.
10182 * timezone/scheck.c: Likewise.
10183 * timezone/tzfile.h: Likewise.
10184 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10185 (TZVERSION): Hardcode tzcode version number.
10186 * timezone/zdump.c: Update from tzcode 2012i.
10187 * timezone/zic.c: Likewise.
10188 * timezone/version.h: New file.
10189 * timezone/README: Describe version.h. Update upstream location.
10192 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10193 (mktemp): Enable declaration.
10194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10197 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10199 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10201 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10211 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10212 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10213 for copies of such integer values.
10214 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10215 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10217 2012-11-09 Andreas Jaeger <aj@suse.de>
10219 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10220 definitions and declarations that are provided by
10221 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10223 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10225 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10226 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10227 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10230 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10232 * elf/elf.h: Update comment before AArch64 relocations.
10234 2012-11-07 David S. Miller <davem@davemloft.net>
10236 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10237 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10238 (__start_context): Declare.
10239 (__makecontext_ret): Delete.
10240 (__makecontext): Hook up __start_context instead of
10242 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10243 (sysdep_routines): Add __start_context when in stdlib.
10245 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10247 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10248 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10249 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10251 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10252 (READELF): New variable. Use it instead of hardcoded "readelf".
10254 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10256 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10257 * sysdeps/x86/Makefile: Here.
10258 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10259 * sysdeps/x86/tst-xmmymm.sh: This.
10261 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10263 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10265 [UNIX98] (pthread_barrier_t): Do not expect.
10266 [UNIX98] (pthread_barrierattr_t): Likewise.
10267 [UNIX98] (pthread_spinlock_t): Likewise.
10268 [UNIX98] (pthread_barrier_destroy): Likewise.
10269 [UNIX98] (pthread_barrier_init): Likewise.
10270 [UNIX98] (pthread_barrier_wait): Likewise.
10271 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10272 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10273 [UNIX98] (pthread_barrierattr_init): Likewise.
10274 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10275 [UNIX98] (pthread_getcpuclockid): Likewise.
10276 [UNIX98] (pthread_mutex_timedlock): Likewise.
10277 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10278 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10279 [UNIX98] (pthread_sigmask): Likewise.
10280 [UNIX98] (pthread_spin_destroy): Likewise.
10281 [UNIX98] (pthread_spin_init): Likewise.
10282 [UNIX98] (pthread_spin_lock): Likewise.
10283 [UNIX98] (pthread_spin_trylock): Likewise.
10284 [UNIX98] (pthread_spin_unlock): Likewise.
10285 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10287 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10288 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10289 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10290 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10291 [XPG3 || XPG4] (pthread_key_t): Likewise.
10292 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10293 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10294 [XPG3 || XPG4] (pthread_once_t): Likewise.
10295 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10296 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10298 [XPG3 || XPG4] (pthread_t): Likewise.
10300 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10302 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10304 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10305 Change function return type to int.
10307 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10308 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10309 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10310 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10311 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10312 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10313 [!POSIX] (posix_madvise): Likewise.
10314 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10316 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10317 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10318 (mode_t): Likewise.
10319 (posix_mem_offset): Likewise.
10320 (posix_typed_mem_get_info): Likewise.
10321 (posix_typed_mem_open): Likewise.
10323 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10324 Change condition to [XOPEN2K8].
10326 * conform/conformtest.pl: Preprocess allow-header data with -x c
10327 instead of from stdin.
10328 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10329 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10330 [C99-based standards] (cerfc): Likewise.
10331 [C99-based standards] (cexp2): Likewise.
10332 [C99-based standards] (cexpm1): Likewise.
10333 [C99-based standards] (clog10): Likewise.
10334 [C99-based standards] (clog1p): Likewise.
10335 [C99-based standards] (clog2): Likewise.
10336 [C99-based standards] (clgamma): Likewise.
10337 [C99-based standards] (ctgamma): Likewise.
10338 [C99-based standards] (cerff): Likewise.
10339 [C99-based standards] (cerfcf): Likewise.
10340 [C99-based standards] (cexp2f): Likewise.
10341 [C99-based standards] (cexpm1f): Likewise.
10342 [C99-based standards] (clog10f): Likewise.
10343 [C99-based standards] (clog1pf): Likewise.
10344 [C99-based standards] (clog2f): Likewise.
10345 [C99-based standards] (clgammaf): Likewise.
10346 [C99-based standards] (ctgammaf): Likewise.
10347 [C99-based standards] (cerfl): Likewise.
10348 [C99-based standards] (cerfcl): Likewise.
10349 [C99-based standards] (cexp2l): Likewise.
10350 [C99-based standards] (cexpm1l): Likewise.
10351 [C99-based standards] (clog10l): Likewise.
10352 [C99-based standards] (clog1pl): Likewise.
10353 [C99-based standards] (clog2l): Likewise.
10354 [C99-based standards] (clgammal): Likewise.
10355 [C99-based standards] (ctgammal): Likewise.
10356 * conform/data/inttypes.h-data [C99-based standards]: Include
10357 stdint.h-data. Remove all expectations for stdint.h contents.
10358 [C99-based standards] (PRI*): Do not allow.
10359 [C99-based standards] (SCN*): Likewise.
10360 [C99-based standards] (*_t): Likewise.
10361 [C99-based-standards] (PRId8): Expect macro.
10362 [C99-based-standards] (PRIi8): Likewise.
10363 [C99-based-standards] (PRIo8): Likewise.
10364 [C99-based-standards] (PRIu8): Likewise.
10365 [C99-based-standards] (PRIx8): Likewise.
10366 [C99-based-standards] (PRIX8): Likewise.
10367 [C99-based-standards] (SCNd8): Likewise.
10368 [C99-based-standards] (SCNi8): Likewise.
10369 [C99-based-standards] (SCNo8): Likewise.
10370 [C99-based-standards] (SCNu8): Likewise.
10371 [C99-based-standards] (SCNx8): Likewise.
10372 [C99-based-standards] (PRIdLEAST8): Likewise.
10373 [C99-based-standards] (PRIiLEAST8): Likewise.
10374 [C99-based-standards] (PRIoLEAST8): Likewise.
10375 [C99-based-standards] (PRIuLEAST8): Likewise.
10376 [C99-based-standards] (PRIxLEAST8): Likewise.
10377 [C99-based-standards] (PRIXLEAST8): Likewise.
10378 [C99-based-standards] (SCNdLEAST8): Likewise.
10379 [C99-based-standards] (SCNiLEAST8): Likewise.
10380 [C99-based-standards] (SCNoLEAST8): Likewise.
10381 [C99-based-standards] (SCNuLEAST8): Likewise.
10382 [C99-based-standards] (SCNxLEAST8): Likewise.
10383 [C99-based-standards] (PRIdFAST8): Likewise.
10384 [C99-based-standards] (PRIiFAST8): Likewise.
10385 [C99-based-standards] (PRIoFAST8): Likewise.
10386 [C99-based-standards] (PRIuFAST8): Likewise.
10387 [C99-based-standards] (PRIxFAST8): Likewise.
10388 [C99-based-standards] (PRIXFAST8): Likewise.
10389 [C99-based-standards] (SCNdFAST8): Likewise.
10390 [C99-based-standards] (SCNiFAST8): Likewise.
10391 [C99-based-standards] (SCNoFAST8): Likewise.
10392 [C99-based-standards] (SCNuFAST8): Likewise.
10393 [C99-based-standards] (SCNxFAST8): Likewise.
10394 [C99-based-standards] (PRId16): Likewise.
10395 [C99-based-standards] (PRIi16): Likewise.
10396 [C99-based-standards] (PRIo16): Likewise.
10397 [C99-based-standards] (PRIu16): Likewise.
10398 [C99-based-standards] (PRIx16): Likewise.
10399 [C99-based-standards] (PRIX16): Likewise.
10400 [C99-based-standards] (SCNd16): Likewise.
10401 [C99-based-standards] (SCNi16): Likewise.
10402 [C99-based-standards] (SCNo16): Likewise.
10403 [C99-based-standards] (SCNu16): Likewise.
10404 [C99-based-standards] (SCNx16): Likewise.
10405 [C99-based-standards] (PRIdLEAST16): Likewise.
10406 [C99-based-standards] (PRIiLEAST16): Likewise.
10407 [C99-based-standards] (PRIoLEAST16): Likewise.
10408 [C99-based-standards] (PRIuLEAST16): Likewise.
10409 [C99-based-standards] (PRIxLEAST16): Likewise.
10410 [C99-based-standards] (PRIXLEAST16): Likewise.
10411 [C99-based-standards] (SCNdLEAST16): Likewise.
10412 [C99-based-standards] (SCNiLEAST16): Likewise.
10413 [C99-based-standards] (SCNoLEAST16): Likewise.
10414 [C99-based-standards] (SCNuLEAST16): Likewise.
10415 [C99-based-standards] (SCNxLEAST16): Likewise.
10416 [C99-based-standards] (PRIdFAST16): Likewise.
10417 [C99-based-standards] (PRIiFAST16): Likewise.
10418 [C99-based-standards] (PRIoFAST16): Likewise.
10419 [C99-based-standards] (PRIuFAST16): Likewise.
10420 [C99-based-standards] (PRIxFAST16): Likewise.
10421 [C99-based-standards] (PRIXFAST16): Likewise.
10422 [C99-based-standards] (SCNdFAST16): Likewise.
10423 [C99-based-standards] (SCNiFAST16): Likewise.
10424 [C99-based-standards] (SCNoFAST16): Likewise.
10425 [C99-based-standards] (SCNuFAST16): Likewise.
10426 [C99-based-standards] (SCNxFAST16): Likewise.
10427 [C99-based-standards] (PRId32): Likewise.
10428 [C99-based-standards] (PRIi32): Likewise.
10429 [C99-based-standards] (PRIo32): Likewise.
10430 [C99-based-standards] (PRIu32): Likewise.
10431 [C99-based-standards] (PRIx32): Likewise.
10432 [C99-based-standards] (PRIX32): Likewise.
10433 [C99-based-standards] (SCNd32): Likewise.
10434 [C99-based-standards] (SCNi32): Likewise.
10435 [C99-based-standards] (SCNo32): Likewise.
10436 [C99-based-standards] (SCNu32): Likewise.
10437 [C99-based-standards] (SCNx32): Likewise.
10438 [C99-based-standards] (PRIdLEAST32): Likewise.
10439 [C99-based-standards] (PRIiLEAST32): Likewise.
10440 [C99-based-standards] (PRIoLEAST32): Likewise.
10441 [C99-based-standards] (PRIuLEAST32): Likewise.
10442 [C99-based-standards] (PRIxLEAST32): Likewise.
10443 [C99-based-standards] (PRIXLEAST32): Likewise.
10444 [C99-based-standards] (SCNdLEAST32): Likewise.
10445 [C99-based-standards] (SCNiLEAST32): Likewise.
10446 [C99-based-standards] (SCNoLEAST32): Likewise.
10447 [C99-based-standards] (SCNuLEAST32): Likewise.
10448 [C99-based-standards] (SCNxLEAST32): Likewise.
10449 [C99-based-standards] (PRIdFAST32): Likewise.
10450 [C99-based-standards] (PRIiFAST32): Likewise.
10451 [C99-based-standards] (PRIoFAST32): Likewise.
10452 [C99-based-standards] (PRIuFAST32): Likewise.
10453 [C99-based-standards] (PRIxFAST32): Likewise.
10454 [C99-based-standards] (PRIXFAST32): Likewise.
10455 [C99-based-standards] (SCNdFAST32): Likewise.
10456 [C99-based-standards] (SCNiFAST32): Likewise.
10457 [C99-based-standards] (SCNoFAST32): Likewise.
10458 [C99-based-standards] (SCNuFAST32): Likewise.
10459 [C99-based-standards] (SCNxFAST32): Likewise.
10460 [C99-based-standards] (PRId64): Likewise.
10461 [C99-based-standards] (PRIi64): Likewise.
10462 [C99-based-standards] (PRIo64): Likewise.
10463 [C99-based-standards] (PRIu64): Likewise.
10464 [C99-based-standards] (PRIx64): Likewise.
10465 [C99-based-standards] (PRIX64): Likewise.
10466 [C99-based-standards] (SCNd64): Likewise.
10467 [C99-based-standards] (SCNi64): Likewise.
10468 [C99-based-standards] (SCNo64): Likewise.
10469 [C99-based-standards] (SCNu64): Likewise.
10470 [C99-based-standards] (SCNx64): Likewise.
10471 [C99-based-standards] (PRIdLEAST64): Likewise.
10472 [C99-based-standards] (PRIiLEAST64): Likewise.
10473 [C99-based-standards] (PRIoLEAST64): Likewise.
10474 [C99-based-standards] (PRIuLEAST64): Likewise.
10475 [C99-based-standards] (PRIxLEAST64): Likewise.
10476 [C99-based-standards] (PRIXLEAST64): Likewise.
10477 [C99-based-standards] (SCNdLEAST64): Likewise.
10478 [C99-based-standards] (SCNiLEAST64): Likewise.
10479 [C99-based-standards] (SCNoLEAST64): Likewise.
10480 [C99-based-standards] (SCNuLEAST64): Likewise.
10481 [C99-based-standards] (SCNxLEAST64): Likewise.
10482 [C99-based-standards] (PRIdFAST64): Likewise.
10483 [C99-based-standards] (PRIiFAST64): Likewise.
10484 [C99-based-standards] (PRIoFAST64): Likewise.
10485 [C99-based-standards] (PRIuFAST64): Likewise.
10486 [C99-based-standards] (PRIxFAST64): Likewise.
10487 [C99-based-standards] (PRIXFAST64): Likewise.
10488 [C99-based-standards] (SCNdFAST64): Likewise.
10489 [C99-based-standards] (SCNiFAST64): Likewise.
10490 [C99-based-standards] (SCNoFAST64): Likewise.
10491 [C99-based-standards] (SCNuFAST64): Likewise.
10492 [C99-based-standards] (SCNxFAST64): Likewise.
10493 [C99-based-standards] (PRIdMAX): Likewise.
10494 [C99-based-standards] (PRIiMAX): Likewise.
10495 [C99-based-standards] (PRIoMAX): Likewise.
10496 [C99-based-standards] (PRIuMAX): Likewise.
10497 [C99-based-standards] (PRIxMAX): Likewise.
10498 [C99-based-standards] (PRIXMAX): Likewise.
10499 [C99-based-standards] (SCNdMAX): Likewise.
10500 [C99-based-standards] (SCNiMAX): Likewise.
10501 [C99-based-standards] (SCNoMAX): Likewise.
10502 [C99-based-standards] (SCNuMAX): Likewise.
10503 [C99-based-standards] (SCNxMAX): Likewise.
10504 [C99-based-standards] (PRIdPTR): Likewise.
10505 [C99-based-standards] (PRIiPTR): Likewise.
10506 [C99-based-standards] (PRIoPTR): Likewise.
10507 [C99-based-standards] (PRIuPTR): Likewise.
10508 [C99-based-standards] (PRIxPTR): Likewise.
10509 [C99-based-standards] (PRIXPTR): Likewise.
10510 [C99-based-standards] (SCNdPTR): Likewise.
10511 [C99-based-standards] (SCNiPTR): Likewise.
10512 [C99-based-standards] (SCNoPTR): Likewise.
10513 [C99-based-standards] (SCNuPTR): Likewise.
10514 [C99-based-standards] (SCNxPTR): Likewise.
10515 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10517 * conform/data/stdint.h-data: Update comments to clarify
10519 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10521 [C99-based standards] (INT8_MAX): Likewise.
10522 [C99-based standards] (INT16_MIN): Likewise.
10523 [C99-based standards] (INT16_MAX): Likewise.
10524 [C99-based standards] (INT32_MIN): Likewise.
10525 [C99-based standards] (INT32_MAX): Likewise.
10526 [C99-based standards] (INT64_MIN): Likewise.
10527 [C99-based standards] (INT64_MAX): Likewise.
10528 [C99-based standards] (UINT8_MAX): Likewise.
10529 [C99-based standards] (UINT16_MAX): Likewise.
10530 [C99-based standards] (UINT32_MAX): Likewise.
10531 [C99-based standards] (UINT64_MAX): Likewise.
10532 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10533 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10534 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10535 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10536 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10537 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10538 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10539 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10540 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10541 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10542 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10543 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10544 [C99-based standards] (INT_FAST8_MIN): Likewise.
10545 [C99-based standards] (INT_FAST8_MAX): Likewise.
10546 [C99-based standards] (INT_FAST16_MIN): Likewise.
10547 [C99-based standards] (INT_FAST16_MAX): Likewise.
10548 [C99-based standards] (INT_FAST32_MIN): Likewise.
10549 [C99-based standards] (INT_FAST32_MAX): Likewise.
10550 [C99-based standards] (INT_FAST64_MIN): Likewise.
10551 [C99-based standards] (INT_FAST64_MAX): Likewise.
10552 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10553 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10554 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10555 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10556 [C99-based standards] (INTPTR_MIN): Likewise.
10557 [C99-based standards] (INTPTR_MAX): Likewise.
10558 [C99-based standards] (UINTPTR_MAX): Likewise.
10559 [C99-based standards] (INTMAX_MIN): Likewise.
10560 [C99-based standards] (INTMAX_MAX): Likewise.
10561 [C99-based standards] (UINTMAX_MAX): Likewise.
10562 [C99-based standards] (PTRDIFF_MIN): Likewise.
10563 [C99-based standards] (PTRDIFF_MAX): Likewise.
10564 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10565 [C99-based standards] (SIZE_MAX): Likewise.
10566 [C99-based standards] (WCHAR_MAX): Likewise.
10567 [C99-based standards] (WINT_MAX): Likewise.
10568 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10569 constraint on value.
10570 [C99-based standards] (WCHAR_MIN): Likewise.
10571 [C99-based standards] (WINT_MIN): Likewise.
10572 [C99-based standards] (*_t): Allow.
10573 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10574 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10575 Include math.h-data and complex.h-data. Remove all expectations
10576 of math.h and complex.h contents.
10577 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10579 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10580 (struct tm): Expect tag.
10581 [C99-based-standards] (wcstof): Expect function.
10582 [C99-based-standards] (wcstold): Likewise.
10583 [C99-based-standards] (wcstoll): Likewise.
10584 [C99-based-standards] (wcstoull): Likewise.
10585 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10586 macro-int-constant. Specify type.
10587 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10588 constraint on value.
10589 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10591 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10593 [ISO C standards]: Do not allow headers.
10594 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10595 wcs[abcdefghijklmnopqrstuvwxyz]*.
10596 [ISO C standards] (*_t): Do not allow.
10597 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10599 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10600 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10602 [ISO C standards]: Do not allow headers.
10603 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10604 is[abcdefghijklmnopqrstuvwxyz]*.
10605 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10606 to[abcdefghijklmnopqrstuvwxyz]*.
10607 [ISO C standards] (*_t): Do not allow.
10608 * conform/data/stdalign.h-data: New file.
10609 * conform/data/stdbool.h-data: Likewise.
10610 * conform/data/stdnoreturn.h-data: Likewise.
10612 2012-11-07 Roland McGrath <roland@hack.frob.com>
10615 * manual/filesys.texi (Directory Entries): Typo fix.
10616 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10618 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10620 * elf/elf.h (EM_AARCH64): New macro.
10621 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10622 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10623 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10624 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10625 (R_AARCH64_TLSDESC): Likewise.
10626 (NT_ARM_TLS): Likewise.
10627 (NT_ARM_HW_BREAK): Likewise.
10628 (NT_ARM_HW_WATCH): Likewise.
10630 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10633 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10634 (__ieee754_powl): Saturate nonzero exponents with absolute value
10635 below 0x1p-79 to +/- 0x1p-79.
10636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10637 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10638 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10639 nonzero exponents with absolute value below 0x1p-32 to +/-
10641 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10642 (__ieee754_powl): Saturate nonzero exponents with absolute value
10643 below 0x1p-79 to +/- 0x1p-79.
10644 * math/libm-test.inc (pow_test): Add more tests.
10646 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10648 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10649 _dl_s390_cap_flags with kernel. Increase string length.
10650 (_dl_s390_platforms): Add z196 and zEC12.
10652 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10654 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10655 Change XOPEN21K to XOPEN2K.
10657 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10659 * string/memmove.c: Use memcpy when possible.
10661 2012-11-06 Andreas Jaeger <aj@suse.de>
10663 * po/eo.po: Update from translation team.
10665 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10669 exponent and small x and y exponents, scale x or y up. Increase
10670 by 2 the exponent used in scaling up.
10671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10673 * math/libm-test.inc (fma_test): Add more tests.
10674 (fma_test_towardzero): Likewise.
10675 (fma_test_downward): Likewise.
10676 (fma_test_upward): Likewise.
10678 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10681 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10685 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10686 namespace for names of struct fields.
10687 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10689 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10690 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10692 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10695 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10697 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10699 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10703 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10706 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10710 definitely overflow as x * y not x * y + z.
10711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10713 * math/libm-test.inc (fma_test): Add more tests.
10714 (fma_test_towardzero): Likewise.
10715 (fma_test_downward): Likewise.
10716 (fma_test_upward): Likewise.
10718 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10722 * include/stub-tag.h: Remove file.
10723 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10725 * manual/maint.texi (Porting): Don't reference it.
10726 * Makerules ($(objpfx)stubs): Likewise.
10727 * dirent/closedir.c: Don't include <stub-tag.h>.
10728 * dirent/dirfd.c: Likewise.
10729 * dirent/fdopendir.c: Likewise.
10730 * dirent/getdents.c: Likewise.
10731 * dirent/getdents64.c: Likewise.
10732 * dirent/opendir.c: Likewise.
10733 * dirent/readdir.c: Likewise.
10734 * dirent/readdir64.c: Likewise.
10735 * dirent/readdir64_r.c: Likewise.
10736 * dirent/readdir_r.c: Likewise.
10737 * dirent/rewinddir.c: Likewise.
10738 * dirent/seekdir.c: Likewise.
10739 * dirent/telldir.c: Likewise.
10740 * gmon/profil.c: Likewise.
10741 * grp/setgroups.c: Likewise.
10742 * inet/if_index.c: Likewise.
10743 * io/access.c: Likewise.
10744 * io/chdir.c: Likewise.
10745 * io/chmod.c: Likewise.
10746 * io/chown.c: Likewise.
10747 * io/close.c: Likewise.
10748 * io/dup.c: Likewise.
10749 * io/dup2.c: Likewise.
10750 * io/dup3.c: Likewise.
10751 * io/euidaccess.c: Likewise.
10752 * io/faccessat.c: Likewise.
10753 * io/fchdir.c: Likewise.
10754 * io/fchmod.c: Likewise.
10755 * io/fchmodat.c: Likewise.
10756 * io/fchown.c: Likewise.
10757 * io/fchownat.c: Likewise.
10758 * io/fcntl.c: Likewise.
10759 * io/flock.c: Likewise.
10760 * io/fstatfs.c: Likewise.
10761 * io/fstatfs64.c: Likewise.
10762 * io/fstatvfs.c: Likewise.
10763 * io/fstatvfs64.c: Likewise.
10764 * io/futimens.c: Likewise.
10765 * io/fxstat.c: Likewise.
10766 * io/fxstat64.c: Likewise.
10767 * io/fxstatat.c: Likewise.
10768 * io/fxstatat64.c: Likewise.
10769 * io/getcwd.c: Likewise.
10770 * io/isatty.c: Likewise.
10771 * io/lchmod.c: Likewise.
10772 * io/lchown.c: Likewise.
10773 * io/link.c: Likewise.
10774 * io/linkat.c: Likewise.
10775 * io/lseek.c: Likewise.
10776 * io/lseek64.c: Likewise.
10777 * io/lxstat64.c: Likewise.
10778 * io/mkdir.c: Likewise.
10779 * io/mkdirat.c: Likewise.
10780 * io/mkfifo.c: Likewise.
10781 * io/mkfifoat.c: Likewise.
10782 * io/open.c: Likewise.
10783 * io/open64.c: Likewise.
10784 * io/openat.c: Likewise.
10785 * io/openat64.c: Likewise.
10786 * io/pipe.c: Likewise.
10787 * io/pipe2.c: Likewise.
10788 * io/poll.c: Likewise.
10789 * io/posix_fadvise.c: Likewise.
10790 * io/posix_fadvise64.c: Likewise.
10791 * io/posix_fallocate.c: Likewise.
10792 * io/posix_fallocate64.c: Likewise.
10793 * io/read.c: Likewise.
10794 * io/readlink.c: Likewise.
10795 * io/readlinkat.c: Likewise.
10796 * io/rmdir.c: Likewise.
10797 * io/sendfile.c: Likewise.
10798 * io/sendfile64.c: Likewise.
10799 * io/statfs.c: Likewise.
10800 * io/statfs64.c: Likewise.
10801 * io/statvfs.c: Likewise.
10802 * io/statvfs64.c: Likewise.
10803 * io/symlink.c: Likewise.
10804 * io/symlinkat.c: Likewise.
10805 * io/ttyname.c: Likewise.
10806 * io/ttyname_r.c: Likewise.
10807 * io/umask.c: Likewise.
10808 * io/unlink.c: Likewise.
10809 * io/unlinkat.c: Likewise.
10810 * io/utime.c: Likewise.
10811 * io/utimensat.c: Likewise.
10812 * io/write.c: Likewise.
10813 * io/xmknod.c: Likewise.
10814 * io/xmknodat.c: Likewise.
10815 * io/xstat.c: Likewise.
10816 * io/xstat64.c: Likewise.
10817 * login/getpt.c: Likewise.
10818 * login/grantpt.c: Likewise.
10819 * login/unlockpt.c: Likewise.
10820 * math/e_acoshl.c: Likewise.
10821 * math/e_acosl.c: Likewise.
10822 * math/e_asinl.c: Likewise.
10823 * math/e_atan2l.c: Likewise.
10824 * math/e_atanhl.c: Likewise.
10825 * math/e_coshl.c: Likewise.
10826 * math/e_expl.c: Likewise.
10827 * math/e_fmodl.c: Likewise.
10828 * math/e_gammal_r.c: Likewise.
10829 * math/e_hypotl.c: Likewise.
10830 * math/e_j0l.c: Likewise.
10831 * math/e_j1l.c: Likewise.
10832 * math/e_jnl.c: Likewise.
10833 * math/e_lgammal_r.c: Likewise.
10834 * math/e_log10l.c: Likewise.
10835 * math/e_log2l.c: Likewise.
10836 * math/e_logl.c: Likewise.
10837 * math/e_powl.c: Likewise.
10838 * math/e_rem_pio2l.c: Likewise.
10839 * math/e_sinhl.c: Likewise.
10840 * math/e_sqrtl.c: Likewise.
10841 * math/fclrexcpt.c: Likewise.
10842 * math/fedisblxcpt.c: Likewise.
10843 * math/feenablxcpt.c: Likewise.
10844 * math/fegetenv.c: Likewise.
10845 * math/fegetexcept.c: Likewise.
10846 * math/fegetround.c: Likewise.
10847 * math/feholdexcpt.c: Likewise.
10848 * math/fesetenv.c: Likewise.
10849 * math/fesetround.c: Likewise.
10850 * math/feupdateenv.c: Likewise.
10851 * math/fgetexcptflg.c: Likewise.
10852 * math/fraiseexcpt.c: Likewise.
10853 * math/fsetexcptflg.c: Likewise.
10854 * math/ftestexcept.c: Likewise.
10855 * math/k_cosl.c: Likewise.
10856 * math/k_rem_pio2l.c: Likewise.
10857 * math/k_sinl.c: Likewise.
10858 * math/k_tanl.c: Likewise.
10859 * math/s_asinhl.c: Likewise.
10860 * math/s_atanl.c: Likewise.
10861 * math/s_cbrtl.c: Likewise.
10862 * math/s_erfl.c: Likewise.
10863 * math/s_expm1l.c: Likewise.
10864 * math/s_log1pl.c: Likewise.
10865 * math/s_tanhl.c: Likewise.
10866 * misc/acct.c: Likewise.
10867 * misc/brk.c: Likewise.
10868 * misc/chflags.c: Likewise.
10869 * misc/chroot.c: Likewise.
10870 * misc/fchflags.c: Likewise.
10871 * misc/fgetxattr.c: Likewise.
10872 * misc/flistxattr.c: Likewise.
10873 * misc/fremovexattr.c: Likewise.
10874 * misc/fsetxattr.c: Likewise.
10875 * misc/fsync.c: Likewise.
10876 * misc/ftruncate.c: Likewise.
10877 * misc/futimes.c: Likewise.
10878 * misc/futimesat.c: Likewise.
10879 * misc/getdomain.c: Likewise.
10880 * misc/getdtsz.c: Likewise.
10881 * misc/gethostid.c: Likewise.
10882 * misc/gethostname.c: Likewise.
10883 * misc/getloadavg.c: Likewise.
10884 * misc/getpagesize.c: Likewise.
10885 * misc/getsysstats.c: Likewise.
10886 * misc/getxattr.c: Likewise.
10887 * misc/gtty.c: Likewise.
10888 * misc/ioctl.c: Likewise.
10889 * misc/lgetxattr.c: Likewise.
10890 * misc/listxattr.c: Likewise.
10891 * misc/llistxattr.c: Likewise.
10892 * misc/lremovexattr.c: Likewise.
10893 * misc/lsetxattr.c: Likewise.
10894 * misc/lutimes.c: Likewise.
10895 * misc/madvise.c: Likewise.
10896 * misc/mincore.c: Likewise.
10897 * misc/mlock.c: Likewise.
10898 * misc/mlockall.c: Likewise.
10899 * misc/mmap.c: Likewise.
10900 * misc/mprotect.c: Likewise.
10901 * misc/msync.c: Likewise.
10902 * misc/munlock.c: Likewise.
10903 * misc/munlockall.c: Likewise.
10904 * misc/munmap.c: Likewise.
10905 * misc/preadv.c: Likewise.
10906 * misc/preadv64.c: Likewise.
10907 * misc/ptrace.c: Likewise.
10908 * misc/pwritev.c: Likewise.
10909 * misc/pwritev64.c: Likewise.
10910 * misc/readv.c: Likewise.
10911 * misc/reboot.c: Likewise.
10912 * misc/remap_file_pages.c: Likewise.
10913 * misc/removexattr.c: Likewise.
10914 * misc/revoke.c: Likewise.
10915 * misc/select.c: Likewise.
10916 * misc/setdomain.c: Likewise.
10917 * misc/setegid.c: Likewise.
10918 * misc/seteuid.c: Likewise.
10919 * misc/sethostid.c: Likewise.
10920 * misc/sethostname.c: Likewise.
10921 * misc/setregid.c: Likewise.
10922 * misc/setreuid.c: Likewise.
10923 * misc/setxattr.c: Likewise.
10924 * misc/sstk.c: Likewise.
10925 * misc/stty.c: Likewise.
10926 * misc/swapoff.c: Likewise.
10927 * misc/swapon.c: Likewise.
10928 * misc/sync.c: Likewise.
10929 * misc/syncfs.c: Likewise.
10930 * misc/syscall.c: Likewise.
10931 * misc/truncate.c: Likewise.
10932 * misc/ualarm.c: Likewise.
10933 * misc/usleep.c: Likewise.
10934 * misc/ustat.c: Likewise.
10935 * misc/utimes.c: Likewise.
10936 * misc/vhangup.c: Likewise.
10937 * misc/writev.c: Likewise.
10938 * posix/_exit.c: Likewise.
10939 * posix/alarm.c: Likewise.
10940 * posix/execve.c: Likewise.
10941 * posix/fexecve.c: Likewise.
10942 * posix/fork.c: Likewise.
10943 * posix/fpathconf.c: Likewise.
10944 * posix/getaddrinfo.c: Likewise.
10945 * posix/getegid.c: Likewise.
10946 * posix/geteuid.c: Likewise.
10947 * posix/getgid.c: Likewise.
10948 * posix/getgroups.c: Likewise.
10949 * posix/getlogin.c: Likewise.
10950 * posix/getlogin_r.c: Likewise.
10951 * posix/getpgid.c: Likewise.
10952 * posix/getpid.c: Likewise.
10953 * posix/getppid.c: Likewise.
10954 * posix/getresgid.c: Likewise.
10955 * posix/getresuid.c: Likewise.
10956 * posix/getsid.c: Likewise.
10957 * posix/getuid.c: Likewise.
10958 * posix/glob64.c: Likewise.
10959 * posix/nanosleep.c: Likewise.
10960 * posix/pathconf.c: Likewise.
10961 * posix/pause.c: Likewise.
10962 * posix/posix_madvise.c: Likewise.
10963 * posix/pread.c: Likewise.
10964 * posix/pread64.c: Likewise.
10965 * posix/pwrite.c: Likewise.
10966 * posix/pwrite64.c: Likewise.
10967 * posix/sched_getaffinity.c: Likewise.
10968 * posix/sched_getp.c: Likewise.
10969 * posix/sched_gets.c: Likewise.
10970 * posix/sched_primax.c: Likewise.
10971 * posix/sched_primin.c: Likewise.
10972 * posix/sched_rr_gi.c: Likewise.
10973 * posix/sched_setaffinity.c: Likewise.
10974 * posix/sched_setp.c: Likewise.
10975 * posix/sched_sets.c: Likewise.
10976 * posix/sched_yield.c: Likewise.
10977 * posix/setgid.c: Likewise.
10978 * posix/setlogin.c: Likewise.
10979 * posix/setpgid.c: Likewise.
10980 * posix/setresgid.c: Likewise.
10981 * posix/setresuid.c: Likewise.
10982 * posix/setsid.c: Likewise.
10983 * posix/setuid.c: Likewise.
10984 * posix/sleep.c: Likewise.
10985 * posix/spawni.c: Likewise.
10986 * posix/sysconf.c: Likewise.
10987 * posix/times.c: Likewise.
10988 * posix/wait.c: Likewise.
10989 * posix/wait3.c: Likewise.
10990 * posix/wait4.c: Likewise.
10991 * posix/waitpid.c: Likewise.
10992 * resolv/gai_sigqueue.c: Likewise.
10993 * resource/getpriority.c: Likewise.
10994 * resource/getrlimit.c: Likewise.
10995 * resource/getrusage.c: Likewise.
10996 * resource/nice.c: Likewise.
10997 * resource/setpriority.c: Likewise.
10998 * resource/setrlimit.c: Likewise.
10999 * resource/ulimit.c: Likewise.
11000 * rt/aio_cancel.c: Likewise.
11001 * rt/aio_fsync.c: Likewise.
11002 * rt/aio_read.c: Likewise.
11003 * rt/aio_sigqueue.c: Likewise.
11004 * rt/aio_suspend.c: Likewise.
11005 * rt/aio_write.c: Likewise.
11006 * rt/clock_getres.c: Likewise.
11007 * rt/clock_gettime.c: Likewise.
11008 * rt/clock_nanosleep.c: Likewise.
11009 * rt/clock_settime.c: Likewise.
11010 * rt/lio_listio.c: Likewise.
11011 * rt/mq_close.c: Likewise.
11012 * rt/mq_getattr.c: Likewise.
11013 * rt/mq_notify.c: Likewise.
11014 * rt/mq_open.c: Likewise.
11015 * rt/mq_receive.c: Likewise.
11016 * rt/mq_send.c: Likewise.
11017 * rt/mq_setattr.c: Likewise.
11018 * rt/mq_timedreceive.c: Likewise.
11019 * rt/mq_timedsend.c: Likewise.
11020 * rt/mq_unlink.c: Likewise.
11021 * rt/shm_open.c: Likewise.
11022 * rt/shm_unlink.c: Likewise.
11023 * rt/timer_create.c: Likewise.
11024 * rt/timer_delete.c: Likewise.
11025 * rt/timer_getoverr.c: Likewise.
11026 * rt/timer_gettime.c: Likewise.
11027 * rt/timer_settime.c: Likewise.
11028 * setjmp/__longjmp.c: Likewise.
11029 * setjmp/setjmp.c: Likewise.
11030 * signal/kill.c: Likewise.
11031 * signal/killpg.c: Likewise.
11032 * signal/raise.c: Likewise.
11033 * signal/sigaction.c: Likewise.
11034 * signal/sigaltstack.c: Likewise.
11035 * signal/sigblock.c: Likewise.
11036 * signal/sigignore.c: Likewise.
11037 * signal/sigintr.c: Likewise.
11038 * signal/signal.c: Likewise.
11039 * signal/sigpause.c: Likewise.
11040 * signal/sigpending.c: Likewise.
11041 * signal/sigqueue.c: Likewise.
11042 * signal/sigreturn.c: Likewise.
11043 * signal/sigset.c: Likewise.
11044 * signal/sigsetmask.c: Likewise.
11045 * signal/sigstack.c: Likewise.
11046 * signal/sigsuspend.c: Likewise.
11047 * signal/sigtimedwait.c: Likewise.
11048 * signal/sigvec.c: Likewise.
11049 * signal/sigwait.c: Likewise.
11050 * signal/sigwaitinfo.c: Likewise.
11051 * signal/sysv_signal.c: Likewise.
11052 * socket/accept.c: Likewise.
11053 * socket/accept4.c: Likewise.
11054 * socket/bind.c: Likewise.
11055 * socket/connect.c: Likewise.
11056 * socket/getpeername.c: Likewise.
11057 * socket/getsockname.c: Likewise.
11058 * socket/getsockopt.c: Likewise.
11059 * socket/isfdtype.c: Likewise.
11060 * socket/listen.c: Likewise.
11061 * socket/recv.c: Likewise.
11062 * socket/recvfrom.c: Likewise.
11063 * socket/recvmsg.c: Likewise.
11064 * socket/send.c: Likewise.
11065 * socket/sendmsg.c: Likewise.
11066 * socket/sendto.c: Likewise.
11067 * socket/setsockopt.c: Likewise.
11068 * socket/shutdown.c: Likewise.
11069 * socket/sockatmark.c: Likewise.
11070 * socket/socket.c: Likewise.
11071 * socket/socketpair.c: Likewise.
11072 * stdio-common/ctermid.c: Likewise.
11073 * stdio-common/cuserid.c: Likewise.
11074 * stdio-common/remove.c: Likewise.
11075 * stdio-common/rename.c: Likewise.
11076 * stdio-common/renameat.c: Likewise.
11077 * stdio-common/tempname.c: Likewise.
11078 * stdlib/getcontext.c: Likewise.
11079 * stdlib/makecontext.c: Likewise.
11080 * stdlib/setcontext.c: Likewise.
11081 * stdlib/swapcontext.c: Likewise.
11082 * stdlib/system.c: Likewise.
11083 * streams/fattach.c: Likewise.
11084 * streams/fdetach.c: Likewise.
11085 * streams/getmsg.c: Likewise.
11086 * streams/getpmsg.c: Likewise.
11087 * streams/putmsg.c: Likewise.
11088 * streams/putpmsg.c: Likewise.
11089 * sysdeps/unix/bsd/getpt.c: Likewise.
11090 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11091 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11092 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11095 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11096 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11097 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11098 * sysvipc/msgctl.c: Likewise.
11099 * sysvipc/msgget.c: Likewise.
11100 * sysvipc/msgrcv.c: Likewise.
11101 * sysvipc/msgsnd.c: Likewise.
11102 * sysvipc/semctl.c: Likewise.
11103 * sysvipc/semget.c: Likewise.
11104 * sysvipc/semop.c: Likewise.
11105 * sysvipc/semtimedop.c: Likewise.
11106 * sysvipc/shmat.c: Likewise.
11107 * sysvipc/shmctl.c: Likewise.
11108 * sysvipc/shmdt.c: Likewise.
11109 * sysvipc/shmget.c: Likewise.
11110 * termios/tcdrain.c: Likewise.
11111 * termios/tcflow.c: Likewise.
11112 * termios/tcflush.c: Likewise.
11113 * termios/tcgetattr.c: Likewise.
11114 * termios/tcgetpgrp.c: Likewise.
11115 * termios/tcsendbrk.c: Likewise.
11116 * termios/tcsetattr.c: Likewise.
11117 * termios/tcsetpgrp.c: Likewise.
11118 * time/adjtime.c: Likewise.
11119 * time/clock.c: Likewise.
11120 * time/getitimer.c: Likewise.
11121 * time/gettimeofday.c: Likewise.
11122 * time/setitimer.c: Likewise.
11123 * time/settimeofday.c: Likewise.
11124 * time/stime.c: Likewise.
11125 * time/time.c: Likewise.
11127 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11129 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11132 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11134 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11136 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11140 FE_TONEAREST before applying Dekker multiplication and Knuth
11141 addition. Clear inexact exceptions and check for exact zero
11142 results afterwards.
11143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11144 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11145 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11146 * math/libm-test.inc (fma_test): Add more tests.
11147 (fma_test_towardzero): Likewise.
11148 (fma_test_downward): Likewise.
11149 (fma_test_upward): Likewise.
11150 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11152 (libc_fesetround): New macro.
11153 (libc_fesetroundf): Likewise.
11154 (libc_fesetroundl): Likewise.
11155 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11157 (libc_fesetround_387): Likewise.
11158 (libc_fesetroundf): New macro.
11159 (libc_fesetround): Likewise.
11160 (libc_fesetroundl): Likewise.
11161 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11163 (libc_fesetroundf): New macro.
11164 (libc_fesetround): Likewise.
11165 (libc_fesetroundl): Likewise.
11166 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11167 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11168 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11170 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11171 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11173 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11174 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11176 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11180 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11181 integer constant usable in #if and use that to give value to enum
11183 (FE_DIVBYZERO): Likewise.
11184 (FE_UNDERFLOW): Likewise.
11185 (FE_OVERFLOW): Likewise.
11186 (FE_INVALID): Likewise.
11187 (FE_INVALID_SNAN): Likewise.
11188 (FE_INVALID_ISI): Likewise.
11189 (FE_INVALID_IDI): Likewise.
11190 (FE_INVALID_ZDZ): Likewise.
11191 (FE_INVALID_IMZ): Likewise.
11192 (FE_INVALID_COMPARE): Likewise.
11193 (FE_INVALID_SOFTWARE): Likewise.
11194 (FE_INVALID_SQRT): Likewise.
11195 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11196 (FE_TONEAREST): Likewise.
11197 (FE_TOWARDZERO): Likewise.
11198 (FE_UPWARD): Likewise.
11199 (FE_DOWNWARD): Likewise.
11200 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11201 (FE_DIVBYZERO): Likewise.
11202 (FE_OVERFLOW): Likewise.
11203 (FE_UNDERFLOW): Likewise.
11204 (FE_INEXACT): Likewise.
11205 (FE_TONEAREST): Likewise.
11206 (FE_DOWNWARD): Likewise.
11207 (FE_UPWARD): Likewise.
11208 (FE_TOWARDZERO): Likewise.
11209 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11210 (FE_UNDERFLOW): Likewise.
11211 (FE_OVERFLOW): Likewise.
11212 (FE_DIVBYZERO): Likewise.
11213 (FE_INVALID): Likewise.
11214 (FE_TONEAREST): Likewise.
11215 (FE_TOWARDZERO): Likewise.
11216 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11217 (FE_OVERFLOW): Likewise.
11218 (FE_UNDERFLOW): Likewise.
11219 (FE_DIVBYZERO): Likewise.
11220 (FE_INEXACT): Likewise.
11221 (FE_TONEAREST): Likewise.
11222 (FE_TOWARDZERO): Likewise.
11223 (FE_UPWARD): Likewise.
11224 (FE_DOWNWARD): Likewise.
11225 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11226 (FE_DIVBYZERO): Likewise.
11227 (FE_OVERFLOW): Likewise.
11228 (FE_UNDERFLOW): Likewise.
11229 (FE_INEXACT): Likewise.
11230 (FE_TONEAREST): Likewise.
11231 (FE_DOWNWARD): Likewise.
11232 (FE_UPWARD): Likewise.
11233 (FE_TOWARDZERO): Likewise.
11235 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11237 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11239 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11241 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11242 commands. Quote $PWD.
11243 (blacklist_exports): Don't use remove_newlines. Replace "declare
11245 (remove_newlines): Remove.
11247 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11249 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11250 * stdlib/stdlib.h (atof): Moved to ...
11251 * include/bits/stdlib-float.h: Here. New file.
11252 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11253 * stdlib/bits/stdlib-float.h: New file.
11254 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11259 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11261 * conform/conformtest.pl (@headers): Add fenv.h.
11262 * conform/data/fenv.h-data: New file.
11263 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11264 include of <math/fenv.h>.
11266 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11267 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11268 && !UNIX98]. Enables tests for XOPEN2K8.
11269 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11270 POSIX2008]: Likewise.
11272 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11273 (struct rusage): Do not expect type or its members.
11276 * math/math.h (FP_NAN): Define macro to integer constant usable in
11277 #if and use that to give value to enum constant.
11278 (FP_INFINITE): Likewise.
11279 (FP_ZERO): Likewise.
11280 (FP_SUBNORMAL): Likewise.
11281 (FP_NORMAL): Likewise.
11283 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11285 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11286 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11289 2012-11-02 Roland McGrath <roland@hack.frob.com>
11291 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11292 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11293 autoconf-time if not.
11294 * configure.in: Remove AC_PREREQ.
11296 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11298 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11299 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11300 of the internal implementation.
11302 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11304 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11305 except include of <misc/sys/syslog.h>.
11307 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11310 function returns with a NULL context exit with zero.
11312 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11314 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11316 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11318 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11319 (run_program_cmd): This.
11320 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11321 (tst_langinfo): New variable. Use it.
11323 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11325 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11326 floating point opcodes.
11328 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11330 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11333 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11335 * sysdeps/mach/hurd/powerpc: Remove directory.
11336 * sysdeps/mach/powerpc: Likewise.
11338 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11340 * scripts/check-local-headers.sh: Ignore c++ headers.
11342 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11344 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11345 __libc_cleanup_region_start argument.
11347 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11352 x * y using scaling, not as x * y + z.
11353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11354 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11355 * math/libm-test.inc (fma_test): Add more tests.
11356 (fma_test_towardzero): Likewise.
11357 (fma_test_downward): Likewise.
11358 (fma_test_upward): Likewise.
11360 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11362 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11364 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11366 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11369 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11371 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11373 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11380 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11383 Fix the order of the list for glibc 2.17.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11387 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11391 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11394 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11395 for low part of x being zero before using __atanl (y).
11396 * math/libm-test.inc (atan2_test): Add another test.
11398 * manual/install.texi (Configuring and compiling): Document
11399 general use of test-wrapper and test-wrapper-env.
11400 * INSTALL: Regenerated.
11402 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11403 (__fma): Do not extract and scale down low bits on after-rounding
11404 systems when result rounded to normal precision would have normal
11406 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11407 (__fmal): Do not extract and scale down low bits on after-rounding
11408 systems when result rounded to normal precision would have normal
11410 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11411 (__fmal): Do not extract and scale down low bits on after-rounding
11412 systems when result rounded to normal precision would have normal
11414 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11416 (fma_test): Add more tests.
11417 (fma_test_towardzero): Likewise.
11418 (fma_test_downward): Likewise.
11419 (fma_test_upward): Likewise.
11421 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11423 * sysdeps/i386/tininess.h: Renamed to ...
11424 * sysdeps/x86/tininess.h: This.
11425 * sysdeps/x86_64/tininess.h: Removed.
11427 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11429 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11430 input. Use $(build-program-cmd).
11431 ($(objpfx)tst-array1-static.out): Likewise.
11432 ($(objpfx)tst-array2.out): Likewise.
11433 ($(objpfx)tst-array3.out): Likewise.
11434 ($(objpfx)tst-array4.out): Likewise.
11435 ($(objpfx)tst-array5.out): Likewise.
11436 ($(objpfx)tst-array5-static.out): Likewise.
11438 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11440 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11443 * nss/nsswitch.h (nss_interface_function): Provide new
11444 macro for use with NSS functions.
11445 * grp/initgroups.c: Use new macro.
11446 * nss/getXXbyYY.c: Likewise.
11447 * nss/getXXbyYY_r.c: Likewise.
11448 * nss/getXXent.c: Likewise.
11449 * nss/getXXent_r.c: Likewise.
11450 * sysdeps/posix/getaddrinfo.c: Likewise.
11452 2012-10-30 Andreas Jaeger <aj@suse.de>
11454 * po/ru.po: Update Russion translation from translation project.
11456 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11461 result and shift together with sticky bit instead of replicating
11462 round-to-nearest rounding.
11463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11465 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11466 missing underflow exceptions.
11467 (fma_test_towardzero): Add more tests.
11468 (fma_test_downward): Likewise.
11469 (fma_test_upward): Likewise.
11472 * sysdeps/generic/tininess.h: New file.
11473 * sysdeps/i386/tininess.h: Likewise.
11474 * sysdeps/sh/tininess.h: Likewise.
11475 * sysdeps/x86_64/tininess.h: Likewise.
11476 * stdlib/tst-strtod-underflow.c: Likewise.
11477 * stdlib/tst-tininess.c: Likewise.
11478 * stdlib/strtod_l.c: Include <tininess.h>.
11479 (round_and_return): Do not set errno for exact underflow cases.
11480 Force an underflow exception when setting errno for underflow.
11481 Determine underflow based on rounding to normal precision if
11482 TININESS_AFTER_ROUNDING.
11483 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11484 ERANGE for exact underflow cases.
11485 * stdlib/Makefile (tests): Add tst-tininess and
11486 tst-strtod-underflow.
11487 ($(objpfx)tst-tininess): Use $(link-libm).
11488 ($(objpfx)tst-strtod-underflow): Likewise.
11490 2012-10-30 Andreas Jaeger <aj@suse.de>
11493 * elf/Makefile (tests): Remove conditional for have-initfini-array
11494 since this is now always required and the variable does not exist
11496 (tests-static): Likewise.
11497 (modules-names): Likewise.
11499 * po/eo.po: Add Esperanto translation from translation project.
11501 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11502 merged with constructor/destructor.
11503 (init_array): Likewise.
11504 * elf/tst-array2dep.c (fini_array): Likewise.
11505 (init_array): Likewise.
11507 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11509 * manual/message.texi: Delete @cartouche tags.
11511 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11513 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11515 * sysdeps/mach/hurd/fsync.c: Likewise.
11517 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11518 [_POSIX_REALTIME_SIGNALS]: Change condition to
11519 [_POSIX_REALTIME_SIGNALS > 0].
11521 2012-10-27 Andreas Jaeger <aj@suse.de>
11523 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11524 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11525 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11526 [__WORDSIZE != 64]: Likewise.
11528 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11530 * iconvdata/tst-table.sh: Remove ${SHELL}.
11531 * iconvdata/tst-tables.sh: Likewise.
11533 2012-10-25 David S. Miller <davem@davemloft.net>
11535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11536 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11541 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11542 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11543 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11546 2012-10-25 Roland McGrath <roland@hack.frob.com>
11548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11549 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11552 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11553 Jim Blandy <jimb@codesourcery.com>
11555 * scripts/cross-test-ssh.sh: New file.
11556 * manual/install.texi (Configuring and compiling): Document use of
11558 * INSTALL: Regenerated.
11560 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11562 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11565 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11567 * Makeconfig (run-program-prefix): Fix comment.
11569 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11570 Jim Blandy <jimb@codesourcery.com>
11572 * Makeconfig (test-wrapper): New variable,
11573 (test-wrapper-env): Likewise.
11574 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11575 (run-built-tests): Define to yes.
11576 (run-program-prefix): Use $(test-wrapper).
11577 (built-program-cmd): Likewise.
11578 * Rules (make-test-out): Use $(test-wrapper-env) and
11579 $(host-built-program-cmd).
11580 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11581 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11583 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11584 $(test-wrapper-env) to tst-rtld-load-self.sh.
11585 ($(objpfx)order2.out): Use $(test-wrapper).
11586 ($(objpfx)tst-initorder.out): Likewise.
11587 ($(objpfx)tst-initorder2.out): Likewise.
11588 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11589 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11590 (test_wrapper_env): New variable. Use it to run ld.so.
11591 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11592 Use it to run ld.so.
11593 (test_wrapper_env): Likewise.
11594 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11595 $(test-wrapper) to run-iconv-test.sh.
11596 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11597 (ICONV): Use $test_wrapper.
11598 * posix/Makefile ($(objpfx)globtest.out): Pass
11599 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11600 globtest.sh, not $(run-program-prefix).
11601 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11602 (test_wrapper): Likewise.
11603 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11604 set together with run_via_rtld_prefix.
11605 (run_program_prefix): Define in terms of test_wrapper and
11606 run_via_rtld_prefix.
11608 2012-10-24 Roland McGrath <roland@hack.frob.com>
11610 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11611 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11615 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11616 Declare __clock_getres, __clock_gettime, __clock_settime,
11617 __clock_nanosleep, and __clock_getcpuclockid.
11618 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11619 Remove librt_hidden_def (clock_gettime).
11620 * sysdeps/unix/clock_gettime.c: Likewise.
11621 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11622 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11623 * rt/clock_getres.c: Define __clock_getres as an alias.
11624 * sysdeps/posix/clock_getres.c: Likewise.
11625 * rt/clock_settime.c: Define __clock_settime as an alias.
11626 * sysdeps/unix/clock_settime.c: Likewise.
11627 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11628 * sysdeps/unix/clock_nanosleep.c: Likewise.
11629 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11630 * rt/clock-compat.c: New file.
11631 * rt/Makefile (librt-routines): Add clock-compat and move
11632 $(clock-routines) to ...
11633 (routines): ... here, new variable.
11634 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11635 Don't add get_clockfreq here.
11636 * rt/Versions (libc: GLIBC_2.17): New version set.
11637 Add clock_* symbols here.
11638 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11639 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11640 (GLIBC_2.17): Add clock_* symbols.
11641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11652 * NEWS: Mention the move.
11654 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11655 Use __open, __read, __close rather than their public counterparts.
11656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11657 (__get_clockfreq_via_cpuinfo): Likewise.
11658 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11659 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11661 * config.h.in (HAVE_IFUNC): New #undef.
11662 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11664 * configure: Regenerated.
11666 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11668 * configure.in: Move READELF check to start of file.
11669 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11670 libc_cv_asm_gnu_indirect_function in the process.
11671 * configure: Regenerated.
11673 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11675 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11676 send the output to /dev/null.
11677 (libc_cv_cc_with_libunwind): Likewise.
11678 (libc_cv_as_noexecstack): Likewise.
11679 * configure: Regenerate.
11681 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11683 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11685 * posix/globtest.sh (TMPDIR): Do not set.
11686 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11687 (testout): Likewise.
11689 2012-10-24 Andreas Jaeger <aj@suse.de>
11691 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11692 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11693 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11694 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11695 posix_fadvise64, posix_fallocate64.
11697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11698 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11699 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11701 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11703 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11706 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11707 <bits/fcntl-linux.h>.
11708 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11711 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11712 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11713 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11714 [__WORDSIZE != 64]: Likewise.
11716 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11718 * Makeconfig (run-built-tests): New variable.
11719 * Rules [$(cross-compiling) = yes]: Change condition to
11720 [$(run-built-tests) = no].
11721 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11722 to [$(run-built-tests) = yes].
11723 * elf/Makefile [$(cross-compiling) = no]: Likewise
11724 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11725 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11726 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11727 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11728 * io/Makefile [$(cross-compiling) = no]: Likewise.
11729 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11730 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11731 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11732 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11733 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11734 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11735 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11736 * string/Makefile [$(cross-compiling) = no]: Likewise.
11738 * posix/Makefile ($(objpfx)globtest.out): Pass
11739 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11740 $(rtld-installed-name).
11741 * posix/globtest.sh (elf_objpfx): Remove variable.
11742 (rtld_installed_name): Likewise.
11743 (library_path): Likewise.
11744 (run_program_prefix): New variable. Use for running globtest
11747 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11748 Joseph Myers <joseph@codesourcery.com>
11750 * Makeconfig (host-built-program-cmd): New variable.
11751 * elf/Makefile (tst-stackguard1-ARGS): Use
11752 $(host-built-program-cmd).
11753 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11754 (tst-spawn-ARGS): Likewise.
11755 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11757 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11758 Jim Blandy <jimb@codesourcery.com>
11760 * Makeconfig (run-via-rtld-prefix): New variable.
11761 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11762 (built-program-cmd): Likewise.
11764 2012-10-22 Andreas Jaeger <aj@suse.de>
11766 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11767 __O_RSYNC if it exists, otherwise to O_SYNC.
11769 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11770 Joseph Myers <joseph@codesourcery.com>
11772 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11774 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11776 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11779 2012-10-22 Andreas Jaeger <aj@suse.de>
11781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11783 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11786 bits/fcntl-linux.h.
11788 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11789 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11796 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11797 Joseph Myers <joseph@codesourcery.com>
11799 * config.make.in (NM): New variable.
11801 2012-10-21 Andreas Jaeger <aj@suse.de>
11803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11804 definitions and declarations that are provided by
11805 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11807 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11810 * elf/Makefile (tests-static): Add tst-leaks1-static.
11811 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11812 ($(objpfx)tst-leaks1-static): New rule.
11813 ($(objpfx)tst-leaks1-static-mem): Likewise.
11814 (tst-leaks1-static-ENV): New macro.
11815 * elf/dl-open.c (dl_open_worker): Check the main application
11816 only if SHARED is defined.
11817 * elf/tst-leaks1-static.c: New file.
11819 2012-10-20 Andreas Jaeger <aj@suse.de>
11821 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11822 generic values for Linux.
11823 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11824 and declarations that are provided by <bits/fcntl-linux.h> and
11825 include <bits/fcntl-linux.h>.
11826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11829 2012-10-20 Roland McGrath <roland@hack.frob.com>
11831 * io/fcntl.h: Move include of <bits/types.h> to the top and
11832 include it unconditionally.
11834 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11836 * wcsmbs/Makefile (tests-ifunc): New variable.
11837 (tests): Add $(tests-ifunc).
11838 * wcsmbs/test-wcschr-ifunc.c: New file.
11839 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11840 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11841 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11842 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11843 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11845 * string/Makefile (tests-ifunc): New variable.
11846 (tests): Add $(tests-ifunc).
11847 * string/test-memccpy.c (TEST_NAME): New macro.
11848 * string/test-memchr.c (TEST_NAME): Likewise.
11849 * string/test-memcmp.c (TEST_NAME): Likewise.
11850 * string/test-memcpy.c (TEST_NAME): Likewise.
11851 * string/test-memmem.c (TEST_NAME): Likewise.
11852 * string/test-memmove.c (TEST_NAME): Likewise.
11853 * string/test-memset.c (TEST_NAME): Likewise.
11854 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11855 * string/test-stpcpy.c (TEST_NAME): Likewise.
11856 * string/test-stpncpy.c (TEST_NAME): Likewise.
11857 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11858 * string/test-strcasestr.c (TEST_NAME): Likewise.
11859 * string/test-strcat.c (TEST_NAME): Likewise.
11860 * string/test-strchr.c (TEST_NAME): Likewise.
11861 * string/test-strcmp.c(TEST_NAME): Likewise.
11862 * string/test-strcpy.c (TEST_NAME): Likewise.
11863 * string/test-strcspn.c (TEST_NAME): Likewise.
11864 * string/test-strlen.c (TEST_NAME): Likewise.
11865 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11866 * string/test-strncmp.c (TEST_NAME): Likewise.
11867 * string/test-strncpy.c (TEST_NAME): Likewise.
11868 * string/test-strnlen.c (TEST_NAME): Likewise.
11869 * string/test-strpbrk.c (TEST_NAME): Likewise.
11870 * string/test-strrchr.c (TEST_NAME): Likewise.
11871 * string/test-strspn.c (TEST_NAME): Likewise.
11872 * string/test-strstr.c (TEST_NAME): Likewise.
11873 * string/test-bcopy-ifunc.c: New file.
11874 * string/test-bzero-ifunc.c: Likewise.
11875 * string/test-memccpy-ifunc.c: Likewise.
11876 * string/test-memchr-ifunc.c: Likewise.
11877 * string/test-memcmp-ifunc.c: Likewise.
11878 * string/test-memcpy-ifunc.c: Likewise.
11879 * string/test-memmem-ifunc.c: Likewise.
11880 * string/test-memmove-ifunc.c: Likewise.
11881 * string/test-mempcpy-ifunc.c: Likewise.
11882 * string/test-memset-ifunc.c: Likewise.
11883 * string/test-rawmemchr-ifunc.c: Likewise.
11884 * string/test-stpcpy-ifunc.c: Likewise.
11885 * string/test-stpncpy-ifunc.c: Likewise.
11886 * string/test-strcasecmp-ifunc.c: Likewise.
11887 * string/test-strcasestr-ifunc.c: Likewise.
11888 * string/test-strcat-ifunc.c: Likewise.
11889 * string/test-strchr-ifunc.c: Likewise.
11890 * string/test-strchrnul-ifunc.c: Likewise.
11891 * string/test-strcmp-ifunc.c: Likewise.
11892 * string/test-strcpy-ifunc.c: Likewise.
11893 * string/test-strcspn-ifunc.c: Likewise.
11894 * string/test-strlen-ifunc.c: Likewise.
11895 * string/test-strncasecmp-ifunc.c: Likewise.
11896 * string/test-strncat-ifunc.c: Likewise.
11897 * string/test-strncmp-ifunc.c: Likewise.
11898 * string/test-strncpy-ifunc.c: Likewise.
11899 * string/test-strnlen-ifunc.c: Likewise.
11900 * string/test-strpbrk-ifunc.c: Likewise.
11901 * string/test-strrchr-ifunc.c: Likewise.
11902 * string/test-strspn-ifunc.c: Likewise.
11903 * string/test-strstr-ifunc.c: Likewise.
11905 * debug/Makefile (tests-ifunc): New variable.
11906 (tests): Add $(tests-ifunc).
11907 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11908 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11909 * debug/test-stpcpy_chk-ifunc.c: New file.
11910 * debug/test-strcpy_chk-ifunc.c: Likewise.
11912 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11915 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11916 header is not read in.
11918 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11920 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11921 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11922 directly. Pass built executable to script as
11923 $(built-program-cmd).
11924 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11925 $testprogram without using LD_LIBRARY_PATH and $ldso.
11927 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11928 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11929 $(rtld-installed-name).
11930 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11931 (rtld_installed_name): Likewise.
11932 (library_path): Likewise.
11933 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11934 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11935 $(run-program-prefix) to tst-tables.sh.
11936 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11937 it to run tst-table-from and tst-table-to.
11938 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11939 Pass it to tst-table.sh.
11940 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11941 $(run-program-prefix) to tst-gettext.sh.
11942 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11944 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11946 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11947 to run tst-gettext.
11948 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11949 to run tst-gettext2.
11950 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11951 to run tst-translit.
11952 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11953 $(run-program-prefix) to tst-mtrace.sh.
11954 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11956 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11957 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11958 $(rtld-installed-name).
11959 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11960 (rtld_installed_name): Likewise.
11961 (run_program_prefix): New variable. Use it to run wordexp-test.
11963 * Makeconfig (ARCH): Remove all definitions.
11964 (machine): Likewise.
11965 [ARCH]: Remove conditional code.
11966 [!objdir]: Give error.
11967 [!objdir] (objpfx): Remove.
11968 [!objdir] (common-objpfx): Likewise.
11969 [!objdir] (common-objdir): Likewise.
11970 * configure.in (config_makefile): Remove. Hardcode Makefile in
11971 AC_CONFIG_FILES call.
11972 * configure: Regenerated.
11975 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11977 (testout): Likewise.
11979 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11980 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11981 $(rtld-installed-name).
11982 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11983 (rtld_installed_name): Likwise.
11984 (runit): Remove function.
11985 (run_getconf): New variable, Use it for running getconf binary.
11987 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11990 * string/test-memmem.c (check_result): New function.
11991 (do_one_test): Use it.
11992 (check1): New function.
11993 (test_main): Use it.
11995 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11997 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11999 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12001 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12002 (_G_LSEEK64): Likewise.
12003 (_G_MMAP64): Likewise.
12004 (_G_FSTAT64): Likewise.
12005 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12006 (_G_LSEEK64): Likewise.
12007 (_G_MMAP64): Likewise.
12008 (_G_FSTAT64): Likewise.
12009 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12010 unconditional. Call __mmap64 directly.
12011 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12012 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12013 __lseek64 directly.
12014 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12015 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12017 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12018 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12019 __lseek64 directly.
12020 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12021 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12022 __lseek64 directly.
12023 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12024 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12025 __lseek64 directly.
12026 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12027 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12028 __fxstat64 directly.
12029 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12030 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12032 (freopen64) [!_G_OPEN64]: Remove conditional code.
12033 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12035 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12036 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12038 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12039 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12041 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12042 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12044 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12045 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12047 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12048 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12050 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12051 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12053 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12055 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12058 * manual/memory.texi (Malloc Tunable Parameters): Add note
12059 about free list pointers overwriting some perturb bytes.
12060 Wording suggested by Roland McGrath.
12062 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12064 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12065 (lgamma_test): Likewise.
12066 (tgamma_test): Likewise.
12068 2012-10-16 Florian Weimer <fweimer@redhat.com>
12071 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12072 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12074 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12076 * NEWS: Mention BZ #14716.
12077 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12078 when removing AVAILABLE1_USES_J macro.
12080 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12082 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12083 (__bswap_64): __uint64_t for unsigned 64-bit int.
12085 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12087 * include/string.h (memmem): Declare libc hidden alias.
12088 * string/memmem.c (memmem): Define libc hidden alias.
12089 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12090 __read, __close instead of open, read, close.
12092 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12095 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12097 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12098 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12099 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12101 (__rawmemchr_sse2): Likewise.
12102 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12103 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12104 (__strchr_sse2): Likewise.
12105 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12106 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12107 (__strcasecmp_sse2): Likewise.
12108 (__strncasecmp_sse2): Likewise.
12109 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12110 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12111 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12112 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12113 (__strrchr_sse2): Likewise.
12114 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12116 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12117 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12118 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12119 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12120 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12122 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12123 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12124 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12125 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12126 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12127 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12128 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12129 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12130 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12131 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12132 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12133 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12134 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12135 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12136 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12137 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12138 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12139 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12140 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12141 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12142 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12143 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12144 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12145 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12147 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12149 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12150 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12151 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12152 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12154 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12156 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12157 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12158 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12159 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12161 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12162 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12163 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12164 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12165 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12166 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12167 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12168 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12169 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12170 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12171 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12172 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12173 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12174 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12175 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12176 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12177 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12178 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12179 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12180 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12181 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12182 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12183 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12184 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12185 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12186 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12187 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12188 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12189 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12190 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12191 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12192 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12193 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12194 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12195 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12196 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12197 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12198 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12199 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12200 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12201 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12203 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12204 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12205 * include/ifunc-impl-list.h: New file.
12206 * misc/ifunc-impl-list.c: Likewise.
12207 * misc/Makefile (routines): Add ifunc-impl-list.
12208 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12209 * string/test-string.h: Include <ifunc-impl-list.h>.
12210 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12211 impl_array): New variables.
12212 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12214 (test_init): Call __libc_ifunc_impl_list to initialize
12215 func_list if TEST_IFUNC and TEST_NAME are defined.
12217 * string/Makefile (strop-tests): Add bcopy and bzero.
12218 * string/test-bcopy.c: New file.
12219 * string/test-bzero.c: Likewise.
12220 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12222 * string/test-memset.c: Support bzero test if TEST_BZERO is
12224 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12226 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12228 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12231 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12233 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12234 * configure: Regenerated.
12236 * Makeconfig (+link-static-before-libc): Don't include
12237 $(link-static-libc).
12239 * libio/libio.h (_IO_pos_t): Remove.
12241 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12243 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12246 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12248 * crypt/crypt-entry.c: Include fips-private.h.
12249 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12250 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12251 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12252 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12254 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12256 * crypt/crypt-private.h: Include stdbool.h.
12257 (_ufc_setup_salt_r): Return bool.
12258 * crypt/crypt-entry.c: Include errno.h.
12259 (__crypt_r): Return NULL with EINVAL for bad salt.
12260 * crypt/crypt_util.c (bad_for_salt): New.
12261 (_ufc_setup_salt_r): Check that salt is long enough and within
12262 the specified alphabet.
12263 * crypt/badsalttest.c: New file.
12264 * crypt/Makefile (tests): Add it.
12265 ($(objpfx)badsalttest): New.
12267 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12269 * NEWS: Add entry for BZ #14602.
12271 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12273 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12275 * math/libm-test.inc: Update comment listing what functions and
12277 (isgreater_test): New function.
12278 (isgreaterequal_test): Likewise.
12279 (isless_test): Likewise.
12280 (islessequal_test): Likewise.
12281 (islessgreater_test): Likewise.
12282 (isunordered_test): Likewise.
12283 (main): Call the new functions.
12285 2012-10-09 Roland McGrath <roland@hack.frob.com>
12287 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12288 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12289 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12290 * sysdeps/i386/configure: Regenerated.
12291 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12292 * sysdeps/mach/configure: Regenerated.
12293 * sysdeps/mach/hurd/configure: Regenerated.
12294 * sysdeps/powerpc/configure: Regenerated.
12295 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12296 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12297 * sysdeps/s390/s390-32/configure: Regenerated.
12298 * sysdeps/s390/s390-64/configure: Regenerated.
12299 * sysdeps/sh/configure: Regenerated.
12300 * sysdeps/sparc/configure: Regenerated.
12301 * sysdeps/unix/sysv/linux/configure: Regenerated.
12302 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12303 * sysdeps/x86_64/configure: Regenerated.
12305 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12306 defined. Don't check if MAP is NULL.
12308 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12310 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12311 (_G_stat64): Likewise.
12312 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12313 (_G_stat64): Likewise.
12314 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12315 instead of struct _G_stat64.
12316 * libio/fileops.c (mmap_remap_check): Likewise.
12317 (decide_maybe_mmap): Likewise.
12318 (_IO_new_file_seekoff): Likewise.
12319 (_IO_file_stat): Likewise.
12320 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12322 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12323 instead of struct _G_stat64.
12324 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12326 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12329 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12331 (CHECK_EOL): New macro.
12332 (two_way_short_needle): Check beginning of haystack for EOL. Use
12334 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12335 Replace with CHECK_EOL.
12336 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12337 Replace with CHECK_EOL.
12339 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12341 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12343 * math/libm-test.inc: Update comment listing what functions and
12345 (finite_test): New function.
12346 (isinf_test): Likewise.
12347 (isnan_test): Likewise.
12348 (fpclassify_test): Test subnormal input.
12349 (isfinite_test): Likewise.
12350 (isnormal_test): Likewise.
12351 (main): Call the new functions.
12353 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12356 * Makerules (%.dynsym): Force C locale when running
12357 $(OBJDUMP) --dynamic-syms.
12359 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12361 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12364 2012-10-06 David S. Miller <davem@davemloft.net>
12366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12367 upper 32-bits of the length value in %o2 since we use branch-on-register
12368 tests which consider the entire 64-bit register.
12370 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12372 * string/test-strstr.c (check2): Add a test for page boundary.
12374 2012-10-05 David S. Miller <davem@davemloft.net>
12376 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12377 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12379 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12381 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12382 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12383 and bzero when HWCAP_SPARC_CRYPTO is present.
12385 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12388 * string/test-strstr.c (check2): New function.
12389 (test_main): Call check2.
12391 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12393 * string/bug-strcasestr1.c (do_test): Moved to ...
12394 * string/test-strcasestr.c (check1): Here. New function.
12395 (do_one_test): Break out result checking code into ...
12396 (check_result): This. New function.
12397 (do_one_test): Call check_result.
12398 (test_main): Call check1.
12399 * string/bug-strchr1.c (do_test): Moved to ...
12400 * string/test-strchr.c (check1): Here. New function.
12401 (do_one_test): Break out result checking code into ...
12402 (check_result): This. New function.
12403 (do_one_test): Call check_result.
12404 (test_main): Call check1.
12405 * string/bug-strstr1.c (main): Moved to ...
12406 * string/test-strstr.c (check1): Here. New function.
12407 (do_one_test): Break out result checking code into ...
12408 (check_result): This. New function.
12409 (do_one_test): Call check_result.
12410 (test_main): Call check1.
12411 * string/bug-strcasestr1.c: Removed.
12412 * string/bug-strchr1.c: Likewise.
12413 * string/bug-strstr1.c: Likewise.
12415 * elf/Makefile (dl-routines): Add hwcaps.
12416 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12417 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12418 (_dl_important_hwcaps): Moved to ...
12419 * elf/dl-hwcaps.c: Here. New file.
12420 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12423 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12424 if IS_IN_rtld isn't defined.
12426 * elf/dl-support.c (_dl_sysinfo_map): New.
12427 Include "get-dynamic-info.h" and "setup-vdso.h".
12428 (_dl_non_dynamic_init): Call setup_vdso.
12429 * elf/dynamic-link.h: Don't include <assert.h>.
12430 (elf_get_dynamic_info): Moved to ...
12431 * elf/get-dynamic-info.h: Here. New file.
12432 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12433 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12434 * elf/setup-vdso.h: Here. New file.
12435 * elf/rtld.c: Include "setup-vdso.h".
12436 (dl_main): Call setup_vdso.
12438 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12440 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12441 creal in comment listing functions tested. List finite, isinf,
12442 isnan, isless, islessequal, isgreater, isgreaterequal,
12443 islessgreater, isunordered, lgamma_r and pow10 as functions and
12444 macros not tested. Mention which functions not tested are aliases
12445 for other functions. Fix typo. Note that signs of NaNs are not
12448 * scripts/config.guess: Update from config.git.
12449 * scripts/config.sub: Likewise.
12451 2012-10-04 Roland McGrath <roland@hack.frob.com>
12453 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12454 * misc/madvise.c (madvise): Renamed to __madvise.
12455 Make madvise a weak alias.
12456 * include/sys/mman.h: Declare __madvise.
12457 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12458 * sysdeps/unix/syscalls.list
12459 (madvise): Make __madvise the strong name, and madvise a weak alias.
12460 * sysdeps/unix/sysv/linux/syscalls.list
12461 (madvise, mmap): Remove redundant entries.
12462 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12463 * malloc/malloc.c (mtrim): Likewise.
12464 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12466 2012-10-03 Roland McGrath <roland@hack.frob.com>
12468 * sysdeps/mach/hurd/dl-cache.c: File removed.
12469 * config.h.in (USE_LDCONFIG): New #undef.
12470 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12471 * configure: Regenerated.
12472 * elf/Makefile (dl-routines): Add dl-cache only under
12473 [$(use-ldconfig) = yes].
12474 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12475 cache on [USE_LDCONFIG].
12476 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12478 * elf/rtld.c (dl_main): Likewise.
12480 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12482 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12483 _SC_LEVEL4_CACHE_LINESIZE.
12485 2012-10-03 Roland McGrath <roland@hack.frob.com>
12487 * sysdeps/unix/bsd/confstr.h: File removed.
12489 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12491 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12494 2012-10-02 Roland McGrath <roland@hack.frob.com>
12496 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12497 Make 'mapoff' field ElfW(Off) rather than off_t.
12499 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12501 * nscd/Makefile: Remove nscd-cflags and all its users.
12502 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12503 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12506 * malloc.c (malloc_printerr): Clarify error message.
12508 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12512 Set bit_FMA_Usable if FMA is supported.
12513 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12515 (bit_FMA4_Usable): Updated.
12516 (index_FMA_Usable): New macro.
12517 (CPUID_FMA): Likewise
12518 (HAS_FMA): Defined with bit_FMA_Usable.
12520 2012-10-01 Roland McGrath <roland@hack.frob.com>
12522 * bits/types.h (__swblk_t): Type removed.
12523 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12524 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12526 (__SWBLK_T_TYPE): Likewise.
12527 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12528 (__SWBLK_T_TYPE): Likewise.
12529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12530 (__SWBLK_T_TYPE): Likewise.
12531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12532 (__SWBLK_T_TYPE): Likewise.
12534 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12535 Honza Horak <hhorak@redhat.com>
12537 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12538 (xdr_mapname): Use YPMAXMAP as maxsize.
12539 (xdr_peername): Use YPMAXPEER as maxsize.
12540 (xdr_keydat): Use YPAXRECORD as maxsize.
12541 (xdr_valdat): Use YPMAXRECORD as maxsize.
12543 2012-10-01 Roland McGrath <roland@hack.frob.com>
12545 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12547 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12548 * csu/init-first.c: ... here.
12549 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12550 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12551 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12552 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12553 * sysdeps/i386/init-first.c: File removed.
12554 * sysdeps/sh/init-first.c: File removed.
12556 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12560 if x * y might underflow to zero and z is zero.
12561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12562 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12563 * math/libm-test.inc (min_subnorm_value): New variable.
12564 (fma_test): Add more tests.
12565 (fma_test_towardzero): Likewise.
12566 (fma_test_downward): Likewise
12567 (fma_test_upward): Likewise.
12568 (initialize): Set min_subnorm_value.
12570 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12575 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12576 mode for addition resulting in exact zero.
12577 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12580 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12582 * math/libm-test.inc (fma_test): Add more tests.
12583 (fma_test_towardzero): New function.
12584 (fma_test_downward): Likewise.
12585 (fma_test_upward): Likewise.
12586 (main): Call the new functions.
12588 2012-09-28 David S. Miller <davem@davemloft.net>
12590 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12592 2012-09-28 Roland McGrath <roland@hack.frob.com>
12594 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12595 instead of SIGALRM.
12597 * sysdeps/gnu/_G_config.h: Moved to ...
12598 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12599 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12600 * sysdeps/generic/_G_config.h: ... here.
12602 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12604 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12606 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12607 Conditionalize target on [libnss_test1.so-version].
12609 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12611 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12612 (elfobjdir): Move out of conditionals.
12614 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12615 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12616 (__nss_lookup_function): Conditionalize label remove_from_tree on
12617 [!DO_STATIC_NSS || SHARED], matching its only use.
12619 2012-09-28 David S. Miller <davem@davemloft.net>
12621 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12622 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12624 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12626 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12628 when HWCAP_SPARC_CRYPTO is present.
12630 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12632 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12634 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12637 * stdio-common/vfprintf.c (process_string_arg): Revert
12640 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12642 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12644 * stdio-common/tst-sprintf.c: Include <locale.h>
12645 (main): Test sprintf's handling of incomplete multibyte
12648 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12650 * elf/dl-runtime.c (VERSYMIDX): Removed.
12651 * elf/dl-version.c (VERSYMIDX): Likewise.
12652 * elf/do-rel.h (VERSYMIDX): Likewise.
12653 (VALIDX): Likewise.
12654 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12655 * elf/rtld.c (VALIDX): Likewise.
12656 (ADDRIDX): Likewise.
12657 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12658 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12659 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12660 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12661 (VALIDX): Likewise.
12662 (ADDRIDX): Likewise.
12664 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12666 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12668 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12671 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12673 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12674 addresses are in the same scope as 192.0.2/24.
12675 * posix/gai.conf: Document new scope table defaults.
12677 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12680 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12681 for ftell. Compute offsets from write pointers instead.
12682 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12684 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12687 * libio/Makefile (tests): New test case tst-fseek.
12688 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12689 combination works in wide mode.
12690 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12691 state when the external buffer state changes.
12693 2012-09-27 David S. Miller <davem@davemloft.net>
12696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12697 pass reloc->r_addend in as the 'high' argument to
12698 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12702 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12704 * rt/tst-aio2.c: Include <pthread.h>.
12705 * rt/tst-aio3.c: Likewise.
12707 2012-09-27 Steve Ellcey <sellcey@mips.com>
12709 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12711 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12713 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12714 contents on [SHARED].
12716 2012-09-26 Marek Polacek <polacek@redhat.com>
12720 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12721 for C++ and GCC <4.3 as well as for non GCC compilers.
12723 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12727 2012-09-25 Roland McGrath <roland@hack.frob.com>
12729 * Makefile.in (all, install): Declare with .PHONY.
12730 Reported by Michael Hope <michael.hope@linaro.org>.
12732 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12734 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12735 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12737 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12739 (sydep_routines): Add the new and the internal functions.
12740 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12741 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12743 (GLIBC_2.17): Add the new function.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12745 (GLIBC_2.17): Likewise.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12747 (GLIBC_2.17): Likewise.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12749 (GLIBC_2.17): Likewise.
12750 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12752 2012-09-25 Alan Modra <amodra@gmail.com>
12754 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12755 Add release barrier before setting once_control to say
12756 initialisation is done. Add hints on lwarx. Use macro in
12758 (clear_once_control): Add release barrier.
12760 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12763 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12765 * math/s_clog10.c (__clog10): Likewise.
12766 * math/s_clog10f.c (__clog10f): Likewise.
12767 * math/s_clog10l.c (__clog10l): Likewise.
12768 * math/s_clogf.c (__clogf): Likewise.
12769 * math/s_clogl.c (__clogl): Likewise.
12770 * math/Makefile (libm-calls): Add x2y2m1.
12771 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12772 (__x2y2m1): Likewise.
12773 (__x2y2m1l): Likewise.
12774 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12775 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12778 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12779 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12780 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12781 * sysdeps/i386/fpu/libm-test-ulps: Update.
12782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12785 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12786 int as type of variable DEPTH.
12787 (glob): Use size_t instead of int as type of variables NEWCOUNT
12790 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12792 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12793 Add s_sincosf-sse2.
12794 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12795 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12796 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12797 macros for using routine as __sincosf_ia32.
12798 Use macro for function declaration and weak_alias.
12799 * sysdeps/i386/fpu/libm-test-ulps: Update.
12801 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12804 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12805 subnormal argument.
12806 * math/s_cexpf.c (__cexpf): Likewise.
12807 * math/s_csinf.c (__csinf): Likewise.
12808 * math/s_csinhf.c (__csinhf): Likewise.
12809 * math/s_ctanf.c (__ctanf): Likewise.
12810 * math/s_ctanhf.c (__ctanhf): Likewise.
12811 * math/s_ccosh.c (__ccoshf): Likewise.
12812 * math/s_cexp.c (__cexpl): Likewise.
12813 * math/s_csin.c (__csin): Likewise.
12814 * math/s_csinh.c (__csinh): Likewise.
12815 * math/s_ctan.c (__ctan): Likewise.
12816 * math/s_ctanh.c (ctanh): Likewise.
12817 * math/s_ccoshl.c (__ccoshl): Likewise.
12818 * math/s_cexpl.c (__cexpl): Likewise.
12819 * math/s_csinl.c (__csinl): Likewise.
12820 * math/s_csinhl.c (__csinhl): Likewise.
12821 * math/s_ctanl.c (__ctanl): Likewise.
12822 * math/s_ctanhl.c (__ctanhl): Likewise.
12824 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12826 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12827 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12828 (_IO_off_t): Define to __off_t, not _G_off_t.
12829 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12830 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12831 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12832 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12833 type of __dummy and __dummy2 fields.
12834 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12835 (_G_ssize_t): Likewise.
12836 (_G_off_t): Likewise.
12837 (_G_pid_t): Likewise.
12838 (_G_uid_t): Likewise.
12839 (_G_wchar_t): Likewise.
12840 (_G_wint_t): Likewise.
12841 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12842 (_G_ssize_t): Likewise.
12843 (_G_off_t): Likewise.
12844 (_G_pid_t): Likewise.
12845 (_G_uid_t): Likewise.
12846 (_G_wchar_t): Likewise.
12847 (_G_wint_t): Likewise.
12848 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12849 (_G_ssize_t): Likewise.
12850 (_G_off_t): Likewise.
12851 (_G_pid_t): Likewise.
12852 (_G_uid_t): Likewise.
12853 (_G_wchar_t): Likewise.
12854 (_G_wint_t): Likewise.
12856 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12858 * malloc/arena.c: Include malloc-sysdep.h.
12859 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12860 is sufficient to shrink the heap or an unmap is needed.
12861 * sysdeps/generic/malloc-sysdep.h: New file. Define
12862 new function check_may_shrink_heap.
12863 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12864 new function check_may_shrink_heap.
12866 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12868 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12871 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12873 * catgets/test-gencat.sh: Add "set -e".
12874 * elf/tst-pathopt.sh: Likewise.
12875 * grp/tst_fgetgrent.sh: Likewise.
12876 * iconvdata/run-iconv-test.sh: Likewise.
12877 * intl/tst-gettext.sh: Likewise.
12878 * intl/tst-gettext2.sh: Likewise.
12879 * intl/tst-gettext4.sh: Likewise.
12880 * intl/tst-gettext6.sh: Likewise.
12881 * intl/tst-translit.sh: Likewise.
12882 * io/ftwtest-sh: Likewise.
12883 * libio/test-freopen.sh: Likewise.
12884 * malloc/tst-mtrace.sh: Likewise.
12885 * posix/globtest.sh: Likewise.
12886 * posix/tst-getconf.sh: Likewise.
12887 * posix/wordexp-tst.sh: Likewise.
12888 * stdio-common/tst-printf.sh: Likewise.
12889 * stdio-common/tst-unbputc.sh: Likewise.
12890 * stdlib/tst-fmtmsg.sh: Likewise.
12891 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12892 * catgets/Makefile: Do not specify -e option when running
12893 testsuite shell scripts.
12894 * elf/Makefile: Likewise.
12895 * grp/Makefile: Likewise.
12896 * iconvdata/Makefile: Likewise.
12897 * intl/Makefile: Likewise.
12898 * io/Makefile: Likewise.
12899 * libio/Makefile: Likewise.
12900 * malloc/Makefile: Likewise.
12901 * posix/Makefile: Likewise.
12902 * stdio-common/Makefile: Likewise.
12903 * stdlib/Makefile: Likewise.
12904 * sysdeps/x86_64/Makefile: Likewise.
12906 * io/ftwtest-sh: Add copyright header.
12907 * posix/globtest.sh: Likewise.
12908 * posix/tst-getconf.sh: Likewise.
12909 * posix/wordexp-tst.sh: Likewise.
12910 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12912 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12915 * Makeconfig (+link): Defined as $(+link-static) if
12916 $(build-shared) isn't yes.
12917 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12919 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12921 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12924 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12925 new chunk size with MALLOC_ALIGN_MASK.
12927 2012-09-24 Joseph Myers <joseph@codesourcery.com>
12930 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12932 (__printf_fphex): Determine rounding using get_rounding_mode and
12934 * stdio-common/tst-printf-round.c (struct hex_test): New
12936 (hex_tests): New variable.
12937 (test_hex_in_one_mode): New function.
12938 (do_test): Also run tests for hex float output.
12940 2012-09-21 Joseph Myers <joseph@codesourcery.com>
12942 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12943 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12944 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12945 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12946 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12947 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12948 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12949 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12951 2012-09-20 Joseph Myers <joseph@codesourcery.com>
12953 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12954 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12955 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12956 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12958 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12961 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12963 * elf/tst-rtld-load-self.sh: New test.
12964 * elf/Makefile: Run it.
12966 2012-09-18 Joseph Myers <joseph@codesourcery.com>
12968 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12969 (tst-writev-ENV): Remove.
12970 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12972 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12974 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12976 2012-09-17 Joseph Myers <joseph@codesourcery.com>
12978 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12980 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12982 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12983 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12984 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12987 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12990 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12991 * config.make.in (have-cpp-asm-debuginfo): Removed.
12992 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12993 * configure: Regenerated.
12995 2012-09-14 Joseph Myers <joseph@codesourcery.com>
12998 * stdio-common/printf_fp.c: Include <stdbool.h> and
13000 (___printf_fp): Determine rounding using get_rounding_mode and
13002 * stdio-common/tst-printf-round.c: New file.
13003 * stdio-common/Makefile (tests): Add tst-printf-round.
13004 (link-libm): New variable.
13005 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13007 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13010 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13011 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13013 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13016 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13018 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13019 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13020 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13021 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13023 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13026 * include/rounding-mode.h: New file.
13027 * sysdeps/generic/get-rounding-mode.h: Likewise.
13028 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13029 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13030 (MAX_VALUE): New macro.
13031 (MIN_VALUE): Likewise.
13032 (overflow_value): New function.
13033 (underflow_value): Likewise.
13034 (round_and_return): Use overflow_value and underflow_value to
13035 determine return values in overflow and underflow cases. Use
13036 round_away to determine rounding depending on rounding mode.
13037 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13038 determine return values in overflow and underflow cases.
13039 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13040 (struct test_results): New structure.
13041 (struct test): Use struct test_results to store expected results
13042 for all rounding modes.
13043 (TEST): Include expected results for all rounding modes.
13044 (test_in_one_mode): New function.
13045 (do_test): Use test_in_one_mode to compute and check results.
13046 Check results for all rounding modes.
13047 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13050 2012-12-09 Allan McRae <allan@archlinux.org>
13052 * sysdeps/i386/fpu/libm-test-ulps: Update
13054 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13056 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13057 (_G_int32_t): Likewise.
13058 (_G_uint16_t): Likewise.
13059 (_G_uint32_t): Likewise.
13060 (_G_HAVE_BOOL): Likewise.
13061 (_G_HAVE_ATEXIT): Likewise.
13062 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13063 (_G_HAVE_IO_FILE_OPEN): Likewise.
13064 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13065 (_G_int32_t): Likewise.
13066 (_G_uint16_t): Likewise.
13067 (_G_uint32_t): Likewise.
13068 (_G_HAVE_BOOL): Likewise.
13069 (_G_HAVE_ATEXIT): Likewise.
13070 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13071 (_G_HAVE_IO_FILE_OPEN): Likewise.
13072 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13073 (_G_int32_t): Likewise.
13074 (_G_uint16_t): Likewise.
13075 (_G_uint32_t): Likewise.
13076 (_G_HAVE_BOOL): Likewise.
13077 (_G_HAVE_ATEXIT): Likewise.
13078 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13079 (_G_HAVE_IO_FILE_OPEN): Likewise.
13081 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13083 * csu/libc-tls.c: Update copyright years.
13085 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13087 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13088 [!_G_USING_THUNKS]: Remove conditional code.
13089 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13090 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13092 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13093 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13094 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13095 (_G_VTABLE_LABEL_PREFIX): Likewise.
13096 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13097 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13098 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13099 (_G_VTABLE_LABEL_PREFIX): Likewise.
13100 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13101 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13102 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13103 (_G_VTABLE_LABEL_PREFIX): Likewise.
13104 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13106 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13108 * libio/Makefile: Include ../Makeconfig before tests.
13109 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13110 only if $(build-shared) is yes.
13112 * iconv/gconv_db.c: Update copyright years.
13114 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13116 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13117 unwind info if defined PIC. Fix special cases description.
13118 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13120 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13122 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13124 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13126 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13128 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13131 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13132 (LDLIBS-tst-chk4): This.
13133 (LDFLAGS-tst-chk5): Renamed to ...
13134 (LDLIBS-tst-chk5): This.
13135 (LDFLAGS-tst-chk6): Renamed to ...
13136 (LDLIBS-tst-chk6): This.
13137 (LDFLAGS-tst-lfschk4): Renamed to ...
13138 (LDLIBS-tst-lfschk4): This.
13139 (LDFLAGS-tst-lfschk5): Renamed to ...
13140 (LDLIBS-tst-lfschk5): This.
13141 (LDFLAGS-tst-lfschk6): Renamed to ...
13142 (LDLIBS-tst-lfschk6): This.
13144 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13145 on $(common-objpfx)soversions.mk.
13147 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13150 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13153 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13155 * malloc/arena.c (arena_get_retry): New function that gets
13156 another arena for the caller to try its request on.
13157 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13158 current arena cannot fulfill the request.
13159 (__libc_memalign): Likewise.
13160 (__libc_memalign): Likewise.
13161 (__libc_pvalloc): Likewise.
13162 (__libc_calloc): Likewise.
13164 2012-09-05 John Tobey <john.tobey@gmail.com>
13167 * manual/arith.texi (Operations on Complex): Fix description
13168 of carg branch cut.
13170 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13173 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13177 * manual/memory.texi (Memory): Make order of menu items match
13180 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13182 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13183 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13184 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13186 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13188 * csu/libc-tls.c (static_dtv): Renamed to ...
13189 (_dl_static_dtv): This. Make it global.
13190 (_dl_initial_dtv): Removed.
13191 (__libc_setup_tls): Updated.
13192 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13193 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13196 2012-09-06 Petr Machata <pmachata@redhat.com>
13198 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13199 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13200 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13201 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13203 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13206 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13207 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13210 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13213 * Makeconfig (link-static-before-libc): Replace $(+prector)
13215 (link-static-after-libc): Replace $(+postctor) with
13217 (link-bounded): Replace $(+prector)/$(+postctor) with
13218 $(+prectorT)/$(+postctorT).
13219 (+prectorT): New macro.
13220 (+postctorT): Likewise.
13222 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13224 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13225 (round_str): Handle values above the maximum for IBM long double
13227 * stdlib/tst-strtod-round.c (tests): Regenerated.
13229 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13231 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13233 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13234 zarch_nohighgprs around the zarch optimized routines.
13235 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13236 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13237 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13240 2012-09-05 David S. Miller <davem@davemloft.net>
13242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13244 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13245 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13246 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13247 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13250 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13252 * malloc/arena.c: Fold copyright years.
13253 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13255 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13257 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13259 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13261 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13263 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13265 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13266 change internal state upon failure.
13268 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13270 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13271 * malloc/memusage.c (mmap): Likewise.
13272 (mmap64, mremap): Likewise. Adjust name in comment.
13274 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13276 * libio/fileops.c: Fix typos in comments.
13277 * libio/oldfileops.c: Likewise.
13278 * libio/wfileops.c: Likewise.
13280 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13283 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13284 (tst-malloc-usable-ENV): Set environment for test case.
13285 * malloc/hooks.c (malloc_check_get_size): New function to get
13287 * malloc/malloc.c (musable): Use malloc_check_get_size.
13288 * malloc/tst-malloc-usable.c: New test case.
13290 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13292 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13294 2012-09-05 Allan McRae <allan@archlinux.org>
13297 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13298 determine header location.
13299 * configure: Regenerated.
13301 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13303 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13305 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13306 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13308 (test): Regenerate.
13310 2012-09-04 David S. Miller <davem@davemloft.net>
13312 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13313 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13314 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13316 2012-09-04 Florian Weimer <fweimer@redhat.com>
13318 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13321 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13323 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13326 * libio/iogetdelim.c: Include <limits.h>.
13327 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13328 + len + 1 would overflow.
13330 2012-09-03 Andreas Jaeger <aj@suse.de>
13332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13333 * sysdeps/i386/fpu/libm-test-ulps: Update.
13335 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13337 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13338 Add s_sinf-sse2, s_conf-sse2.
13340 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13341 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13342 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13343 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13345 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13346 for using routine as __sinf_ia32.
13347 Use macro for function declaration and weak_alias.
13348 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13349 for using routine as __cosf_ia32.
13350 Use macro for function declaration and weak_alias.
13352 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13353 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13355 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13356 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13359 * math/libm-test.inc (cos_test): Add more test cases.
13360 (sin_test): Likewise.
13361 (sincos_test): Likewise.
13363 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13365 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13366 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13368 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13370 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13373 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13374 first element of the GOT.
13375 (elf_machine_load_address): Return the difference between
13376 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13378 2012-09-01 Allan McRae <allan@archlinux.org>
13381 * configure.in (AWK): Require gawk version 3.0 or later.
13382 * configure: Regenerated.
13384 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13386 * sysdeps/unix/sysv/linux/kernel-features.h
13387 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13389 [__NR_clock_getres]: Make code unconditional.
13390 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13391 (clock_getcpuclockid): Remove code left unreachable by removal of
13393 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13394 code unconditional.
13395 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13396 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13397 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13398 Make code unconditional.
13399 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13400 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13401 * sysdeps/unix/sysv/linux/clock_settime.c
13402 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13404 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13405 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13407 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13410 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13411 scripts/test-installation.pl.
13413 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13414 and $ld_so_version if it is set.
13416 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13419 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13420 failure if reading from procfs failed.
13421 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13423 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13425 * sysdeps/unix/sysv/linux/kernel-features.h
13426 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13427 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13428 Remove conditional code.
13429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13430 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13431 Remove conditional code.
13432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13433 * sysdeps/unix/sysv/linux/i386/fxstat.c
13434 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13436 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13437 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13439 * sysdeps/unix/sysv/linux/i386/lxstat.c
13440 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13442 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13443 Remove conditional code.
13444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13445 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13446 Remove conditional code.
13447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13448 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13449 <kernel-features.h>.
13450 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13452 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13453 Remove conditional code.
13454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13455 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13456 Remove conditional.
13458 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13461 * NEWS: Add fixed bug number.
13463 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13466 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13467 underflowing exponent in case of negative sign.
13468 * stdlib/tst-strtod-round-data: Add more tests.
13469 * stdlib/tst-strtod-round.c (tests): Regenerated.
13472 * stdlib/strtod_l.c (NDIG): Remove.
13473 (HEXNDIG): Likewise.
13474 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13475 smallest representable value.
13476 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13477 lie within an exact representation of 1/2 ulp of the result.
13478 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13480 (TENS_P9_IDX): Define unconditionally.
13481 (TENS_P9_SIZE): Likewise.
13482 (TENS_P10_IDX): Likewise.
13483 (TENS_P10_SIZE): Likewise.
13484 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13485 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13486 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13487 entries for 10^2^13 and 10^2^14.
13488 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13489 (TENS_P13_IDX): Define.
13490 (TENS_P13_SIZE): Likewise.
13491 (TENS_P14_IDX): Likewise.
13492 (TENS_P14_SIZE): Likewise.
13493 (_fpioconst_pow10): Change array size to
13494 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13496 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13497 1024]: Add entries for 10^2^13 and 10^2^14.
13498 [LAST_POW10 > _LAST_POW10]: Remove #error.
13499 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13500 (_fpioconst_pow10): Change array size to
13501 FPIOCONST_POW10_ARRAY_SIZE.
13502 * stdlib/gen-fpioconst.c: New file.
13503 * stdlib/gen-tst-strtod-round.c: Likewise.
13504 * stdlib/tst-strtod-round-data: Likewise.
13505 * stdlib/tst-strtod-round.c: Likewise.
13506 * stdlib/Makefile (tests): Add tst-strtod-round.
13509 * stdlib/strtod_l.c: Include <stdint.h>.
13510 (NDEBUG): Do not define.
13511 (round_and_return): Change EXPONENT parameter to type intmax_t.
13512 Rearrange calculations to avoid internal overflow possibilities.
13513 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13514 Rearrange calculations to avoid internal overflow possibilities.
13515 Assert that number fits inside MPNSIZE limbs.
13516 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13517 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13518 calculations and add assertions to avoid internal overflow
13519 possibilities. Add casts to avoid signed/unsigned operations.
13520 * stdlib/tst-strtod-overflow.c: New file.
13521 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13523 2012-08-25 Marek Polacek <polacek@redhat.com>
13525 * time/time.h: Fix some typos in comments.
13527 2012-08-23 Roland McGrath <roland@hack.frob.com>
13529 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13530 * posix/tst-rfc3484-2.c: Likewise.
13531 * posix/tst-rfc3484-3.c: Likewise.
13533 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13535 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13536 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13538 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13540 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13541 #include of fxstatat64.c.
13543 2012-08-22 Roland McGrath <roland@hack.frob.com>
13545 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13546 * shadow/getspent_r.c: Likewise.
13547 * shadow/getspnam.c: Likewise.
13548 * shadow/getspnam_r.c: Likewise.
13549 * gshadow/getsgent.c: Likewise.
13550 * gshadow/getsgent_r.c: Likewise.
13551 * gshadow/getsgnam.c: Likewise.
13552 * gshadow/getsgnam_r.c: Likewise.
13553 * inet/getnetbyad.c: Likewise.
13554 * inet/getnetbyad_r.c: Likewise.
13555 * inet/getnetbynm.c: Likewise.
13556 * inet/getnetbynm_r.c: Likewise.
13557 * inet/getnetent.c: Likewise.
13558 * inet/getnetent_r.c: Likewise.
13559 * inet/getproto.c: Likewise.
13560 * inet/getproto_r.c: Likewise.
13561 * inet/getprtent.c: Likewise.
13562 * inet/getprtent_r.c: Likewise.
13563 * inet/getprtname.c: Likewise.
13564 * inet/getprtname_r.c: Likewise.
13565 * inet/getrpcbyname.c: Likewise.
13566 * inet/getrpcbyname_r.c: Likewise.
13567 * inet/getrpcbynumber.c: Likewise.
13568 * inet/getrpcbynumber_r.c: Likewise.
13569 * inet/getrpcent.c: Likewise.
13570 * inet/getrpcent_r.c: Likewise.
13571 * inet/getaliasent.c: Likewise.
13572 * inet/getaliasent_r.c: Likewise.
13573 * inet/getaliasname.c: Likewise.
13574 * inet/getaliasname_r.c: Likewise.
13575 * nscd/getgrgid_r.c: Likewise.
13576 * nscd/getgrnam_r.c: Likewise.
13577 * nscd/gethstbyad_r.c: Likewise.
13578 * nscd/gethstbynm3_r.c: Likewise.
13579 * nscd/getpwnam_r.c: Likewise.
13580 * nscd/getpwuid_r.c: Likewise.
13581 * nscd/getsrvbynm_r.c: Likewise.
13582 * nscd/getsrvbypt_r.c: Likewise.
13583 * nscd/gai.c: Likewise.
13585 * configure.in (build_nscd): New substituted variable, set
13586 by --disable-build-nscd and defaults to $use_nscd.
13587 * configure: Regenerated.
13588 * config.make.in (build-nscd): New substituted variable.
13589 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13590 Change conditional to require [$(build-nscd) = yes] as well.
13591 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13594 * configure.in (use_nscd): New substituted variable, set by
13595 --disable-nscd. If enabled, define USE_NSCD.
13596 * configure: Regenerated.
13597 * config.h.in: Add USE_NSCD.
13598 * config.make.in (use-nscd): New substituted variable.
13599 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13600 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13601 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13602 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13603 (CFLAGS-getgrnam_r.c): Likewise.
13604 (CFLAGS-initgroups.c): Likewise.
13605 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13606 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13608 * inet/getnetgrent_r.c
13609 (nscd_setnetgrent): New function, broken out of ...
13610 (setnetgrent): ... here. Call it.
13611 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13612 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13613 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13614 * nscd/Makefile (routines, aux): Move definitions after include of
13615 Makeconfig. Conditionalize on [$(use-nscd) != no].
13616 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13617 Conditionalize on [USE_NSCD].
13618 (is_nscd, nscd_init_cb): Likewise.
13619 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13620 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13621 * nss/nss_db/db-init.c: Likewise.
13622 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13624 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13625 (make_request): Use it.
13626 (cache_valid_p): New function.
13627 (__check_pf): Use it.
13628 * NEWS: Add item for --disable-nscd.
13630 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13632 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13633 to support sed >= 4.2.1-20-ga9bf076.
13634 * configure: Regenerated.
13636 2012-08-22 Roland McGrath <roland@hack.frob.com>
13638 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13639 Conditionalize whole body on [IREL].
13641 2012-08-22 Jeff Law <law@redhat.com>
13644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13645 if the family is PF_UNSPEC.
13647 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13649 * Makerules (lib-version): Rename from V.
13650 (install-lib-nosubdir): Change V to lib-version.
13652 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13655 * powerpc32/power6/wcschr.c: New file.
13656 * powerpc32/power6/wcscpy.c: New file.
13657 * powerpc32/power6/wcsrchr.c: New file.
13658 * powerpc64/power6/wcschr.c: New file.
13659 * powerpc64/power6/wcscpy.c: New file.
13660 * powerpc64/power6/wcsrchr.c: New file.
13662 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13664 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13665 (two_way_short_needle): Use it.
13666 * string/strstr.c (AVAILABLE1_USES_J): Define.
13667 * string/strcasestr.c: Likewise.
13669 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13671 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13674 * NEWS: Add an entry.
13675 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13676 define their defaults.
13677 (two_way_short_needle): Detect end-of-string on-the-fly.
13678 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13679 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13680 * string/bug-strcasestr1.c: New test.
13681 * string/Makefile: Run it.
13683 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13686 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13687 the first character.
13689 2012-08-21 Roland McGrath <roland@hack.frob.com>
13691 * csu/elf-init.c (__libc_csu_irel): Function removed.
13692 * csu/libc-start.c (apply_irel): New function.
13693 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13695 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13697 * sysdeps/unix/sysv/linux/kernel-features.h
13698 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13699 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13700 <kernel-features.h>.
13701 [__NR_fadvise64_64]: Make code unconditional.
13702 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13703 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13704 !__NR_fadvise64_64)]: Likewise.
13705 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13706 !__NR_fadvise64_64))]: Likewise.
13707 [__NR_fadvise64]: Make code unconditional.
13708 [!__NR_fadvise64]: Remove conditional code.
13709 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13710 <kernel-features.h>.
13711 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13713 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13716 not include <kernel-features.h>.
13717 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13719 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13721 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13722 include <kernel-features.h>.
13723 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13725 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13728 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13730 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13731 slight instruction rearrangements per scrollpipe analysis.
13732 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13734 2012-08-20 Roland McGrath <roland@hack.frob.com>
13736 * manual/syslog.texi (syslog; vsyslog, closelog):
13737 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13738 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13740 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13741 DSOCAPS to match condition on defining it.
13743 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13745 * sysdeps/unix/sysv/linux/kernel-features.h
13746 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13748 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13749 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13751 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13752 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13754 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13755 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13757 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13758 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13760 * sysdeps/unix/sysv/linux/kernel-features.h
13761 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13762 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13764 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13765 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13766 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13767 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13768 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13769 Make code unconditional.
13770 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13771 (__mmap64) [!__NR_mmap2]: Likewise.
13772 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13773 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13774 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13775 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13776 [__NR_mmap2]: Make code unconditional.
13777 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13778 (__mmap64) [!__NR_mmap2]: Likewise.
13780 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13782 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13784 2012-08-18 Andreas Jaeger <aj@suse.de>
13786 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13788 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13790 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13791 * include/unistd.h (__have_sock_cloexec): Likewise.
13792 (__have_pipe2): Likewise.
13793 (__have_dup3): Likewise.
13795 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13798 * include/unistd.h (__have_pipe2): Change define into an extern int.
13799 (__have_dup3): Likewise.
13800 * socket/have_sock_cloexec.c: Include fcntl.h.
13801 (__have_pipe2): New variable.
13802 (__have_dup3): Likewise.
13804 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13806 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13808 2012-08-17 Marek Polacek <polacek@redhat.com>
13810 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13811 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13813 2012-08-17 Roland McGrath <roland@hack.frob.com>
13815 * configure.in: Add AC_SUBST for sysheaders.
13816 * configure: Regenerated.
13817 * config.make.in (sysheaders): New substituted variable.
13819 * sysdeps/unix/mkfifo.c: Moved ...
13820 * sysdeps/posix/mkfifo.c: ... here.
13821 * sysdeps/unix/mkfifoat.c: Moved ...
13822 * sysdeps/posix/mkfifoat.c: ... here.
13824 * sysdeps/unix/utime.c: Moved ...
13825 * sysdeps/posix/utime.c: ... here.
13827 * sysdeps/unix/time.c: Moved ...
13828 * sysdeps/posix/time.c: ... here.
13829 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13830 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13832 * sysdeps/unix/nice.c: Moved ...
13833 * sysdeps/posix/nice.c: ... here.
13835 * sysdeps/unix/alarm.c: Moved ...
13836 * sysdeps/posix/alarm.c: ... here.
13838 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13840 2012-08-17 Jeff Law <law@redhat.com>
13842 * intl/Makefile (codeset_mo): New variable.
13843 ($(codeset_mo)): New target.
13844 (tst-codeset.out): Depend on that. Remove explicit rule.
13845 (tst-gettext3.out, tst-gettext5.out): Likewise.
13846 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13847 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13848 * intl/tst-codeset.sh: Remove.
13849 * intl/tst-gettext3.sh: Likewise.
13850 * intl/tst-gettext5.sh: Likewise.
13852 2012-08-17 Roland McGrath <roland@hack.frob.com>
13854 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13855 * sysdeps/unix/syscalls.list: ... here.
13857 * sysdeps/posix/getaddrinfo.c
13858 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13859 (gaiconf_init, gaiconf_reload): Use them.
13860 [!_STATBUF_ST_NSEC]
13861 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13862 Define using time_t rather than struct timespec.
13864 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13865 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13867 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13869 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13870 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13873 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13874 __libc_cleanup_push argument.
13876 * bits/param.h: New file.
13877 * misc/sys/param.h: New file.
13878 * include/sys/param.h: New file.
13879 * misc/Makefile (headers): Add bits/param.h.
13880 * sysdeps/generic/sys/param.h: File removed.
13881 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13882 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13883 * sysdeps/mach/hurd/bits/param.h: New file.
13884 * sysdeps/mach/hurd/sys/param.h: File removed.
13886 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13889 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13891 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13892 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13895 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13896 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13897 rather than -D_IO_MTSAFE_IO conditionally.
13898 * stdio-common/Makefile (CPPFLAGS): Likewise.
13899 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13900 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13901 Use $(libio-mtsafe).
13902 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13903 of -D_IO_MTSAFE_IO.
13904 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13905 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13906 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13907 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13908 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13909 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13910 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13911 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13912 (CFLAGS-fread_u_chk.c): Likewise.
13913 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13914 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13915 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13916 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13917 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13918 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13919 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13920 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13921 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13923 * libio/Makefile: Test [$(libc-reentrant) = yes]
13924 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13927 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13928 * sysdeps/pthread/configure: File removed.
13929 * sysdeps/pthread/Makeconfig: New file.
13930 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13931 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13933 2012-08-16 Gary Benson <gbenson@redhat.com>
13935 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13936 unmapping the first object in a namespace.
13938 2012-08-16 Roland McGrath <roland@hack.frob.com>
13940 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13941 (__internal_setnetgrent): ... this. Add internal_function to
13942 definition. Add libc_hidden_def.
13943 (setnetgrent): Update caller.
13944 (internal_endnetgrent): Renamed to ...
13945 (__internal_endnetgrent): ... this. Add internal_function to
13946 definition. Add libc_hidden_def.
13947 (endnetgrent): Update caller.
13948 (internal_getnetgrent_r): Renamed to ...
13949 (__internal_getnetgrent_r): ... this. Add internal_function to
13950 definition. Add libc_hidden_def.
13951 (__getnetgrent_r): Update caller.
13952 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13954 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13956 * stdlib/longlong.h: Update from GCC.
13958 2012-08-16 Roland McGrath <roland@hack.frob.com>
13960 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13961 on _QL, which is set by umul_ppmm but never used.
13962 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13963 variables, which are set by GMP macros but never used.
13964 * stdio-common/_itowa.c (_itowa): Likewise.
13965 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13966 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13968 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13970 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13971 struct La_sh_regs is not constant.
13972 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13973 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13974 and struct La_sparc64_regs are not constant.
13976 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13978 * sysdeps/unix/sysv/linux/kernel-features.h
13979 (__ASSUME_POSIX_TIMERS): Remove.
13980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13981 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13982 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13983 Make code unconditional.
13984 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13985 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13986 Make code unconditional.
13987 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13988 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13989 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13990 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13991 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13992 Make code unconditional.
13993 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13994 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13995 (__libc_missing_posix_timers): Remove.
13997 2012-08-15 Roland McGrath <roland@hack.frob.com>
13999 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14000 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14002 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14004 * elf/dl-sym.c: Include <stdlib.h>.
14006 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14007 constants, which avoids warnings in 32-bit builds.
14009 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14010 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14012 * misc/lseek.c: File moved to ...
14013 * io/lseek.c: ... here.
14015 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14017 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14018 shifting LEN more than 31 bits at once.
14020 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14023 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14024 segmentation fault for a case of two empty input strings.
14025 * string/test-strncasecmp.c (check1): Renamed to...
14026 (bz12205): ...this.
14027 (bz14195): Add new testcase for two empty input strings and N > 0.
14028 (test_main): Call new testcase, adapt for renamed function.
14030 2012-08-15 Andreas Jaeger <aj@suse.de>
14033 * crypt/md5test2.c: New test, based on test supplied by Serge
14034 Belyshev <belyshev@depni.sinp.msu.ru>.
14035 * crypt/Makefile (xtests): Add md5test-giant..
14036 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14038 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14041 * crypt/md5.c (md5_process_block): Don't assume the buffer
14042 length is less than 2**32.
14043 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14044 length is less than 2**64.
14046 2012-08-15 Roland McGrath <roland@hack.frob.com>
14048 * string/str-two-way.h: Include <sys/param.h>.
14049 (MAX): Macro removed.
14051 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14052 Move #define and #undef of memmove to just before and after
14053 including <string.h>.
14055 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14056 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14057 and after including <string.h>. Move declarations of
14058 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14059 to before #include "string/memmove.c".
14061 * include/dirent.h: Declare __getdirentries.
14063 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14064 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14066 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14068 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14069 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14070 * sysdeps/i386/configure: Regenerated.
14071 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14072 STABS_CURRENT_FILE, and STABS_FUN.
14073 (END): Remove call to STABS_FUN_END.
14074 (STABS_CURRENT_FILE1): Delete.
14075 (STABS_CURRENT_FILE): Likewise.
14076 (STABS_FUN): Likewise.
14077 (STABS_FUN_END): Likewise.
14078 (STABS_FUN2): Likewise.
14079 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14080 * sysdeps/x86_64/configure: Regenerated.
14082 2012-08-14 Roland McGrath <roland@hack.frob.com>
14084 * elf/dl-open.c: Include <atomic.h>.
14085 * elf/dl-lookup.c: Likewise.
14087 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14089 * sysdeps/unix/sysv/linux/kernel-features.h
14090 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14091 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14093 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14095 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14096 condition on __ASSUME_CLONE_THREAD_FLAGS.
14098 2012-08-14 Andreas Jaeger <aj@suse.de>
14100 * sysdeps/i386/fpu/libm-test-ulps: Update.
14102 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14104 * include/atomic.h (atomic_exchange_and_add): Split into ...
14105 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14108 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14112 2012-08-13 Jeff Law <law@redhat.com>
14114 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14115 null byte in the output string.
14117 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14119 * sysdeps/unix/sysv/linux/kernel-features.h
14120 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14121 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14122 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14123 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14124 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14125 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14126 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14128 2012-08-09 Jeff Law <law@redhat.com>
14131 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14132 When avoid_arena is set, don't retry in the that arena. Pick the
14133 next one, whatever it might be.
14134 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14135 (arena_lock): Pass in new parameter to arena_get2.
14136 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14138 (__libc_malloc): Unify retrying after main arena failure with
14139 __libc_memalign version.
14140 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14142 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14145 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14146 to __redirect_strstr.
14147 (__strstr_sse42): Use typeof __redirect_strstr.
14148 (__strstr_ia32): Likewise.
14149 (__libc_strstr): New prototype.
14150 (strstr): Renamed to ...
14151 (__libc_strstr): This.
14152 (strstr): New strong alias of __libc_strstr.
14153 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14154 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14157 (__libc_time): New prototype.
14158 (time_ifunc): Replace time with __libc_time.
14159 (time): New strong alias and hidden definition of __libc_time.
14160 (__GI_time): Remove strong alias.
14161 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14162 Include <stddef.h>.
14163 (memmove): Redefined to __redirect_memmove.
14164 (__memmove_sse2): Use typeof __redirect_memmove.
14165 (__memmove_ssse3): Likewise.
14166 (__memmove_ssse3_back): Likewise.
14167 (__libc_memmove): New prototype.
14168 (memmove): Renamed to ...
14169 (__libc_memmove): This.
14170 (memmove): New strong alias of __libc_memmove.
14172 2012-08-08 Mark Salter <msalter@redhat.com>
14175 (R_MN10300_TLS_GD): Define.
14176 (R_MN10300_TLS_LD): Likewise.
14177 (R_MN10300_TLS_LDO): Likewise.
14178 (R_MN10300_TLS_GOTIE): Likewise.
14179 (R_MN10300_TLS_IE): Likewise.
14180 (R_MN10300_TLS_LE): Likewise.
14181 (R_MN10300_TLS_DTPMOD): Likewise.
14182 (R_MN10300_TLS_DTPOFF): Likewise.
14183 (R_MN10300_TLS_TPOFF): Likewise.
14184 (R_MN10300_SYM_DIFF): Likewise.
14185 (R_MN10300_ALIGN): Likewise.
14186 (R_MN10300_NUM): Update.
14188 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14190 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14193 2012-08-08 Roland McGrath <roland@hack.frob.com>
14195 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14197 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14198 sysdeps/unix -> sysdeps/posix move.
14199 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14201 2012-08-07 Allan McRae <allan@archlinux.org>
14204 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14205 (SUNOS_CPP): Likewise.
14206 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14208 (open_input): Call CPP using execvp.
14210 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14212 * sysdeps/unix/sysv/linux/kernel-features.h
14213 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14214 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14215 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14216 (__ASSUME_WAITID_SYSCALL): Likewise.
14217 * sysdeps/unix/sysv/linux/dl-execstack.c
14218 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14219 code unconditional.
14220 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14222 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14223 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14224 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14226 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14228 [__ASSUME_WAITID_SYSCALL]: Likewise.
14229 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14231 2012-08-07 Roland McGrath <roland@hack.frob.com>
14233 * sysdeps/unix/closedir.c: Renamed to ...
14234 * sysdeps/posix/closedir.c: ... here.
14235 * sysdeps/unix/dirfd.c: Renamed to ...
14236 * sysdeps/posix/dirfd.c: ... here.
14237 * sysdeps/unix/dirstream.h: Renamed to ...
14238 * sysdeps/posix/dirstream.h: ... here.
14239 * sysdeps/unix/fdopendir.c: Renamed to ...
14240 * sysdeps/posix/fdopendir.c: ... here.
14241 * sysdeps/unix/opendir.c: Renamed to ...
14242 * sysdeps/posix/opendir.c: ... here.
14243 * sysdeps/unix/readdir.c: Renamed to ...
14244 * sysdeps/posix/readdir.c: ... here.
14245 * sysdeps/unix/readdir_r.c: Renamed to ...
14246 * sysdeps/posix/readdir_r.c: ... here.
14247 * sysdeps/unix/rewinddir.c: Renamed to ...
14248 * sysdeps/posix/rewinddir.c: ... here.
14249 * sysdeps/unix/seekdir.c: Renamed to ...
14250 * sysdeps/posix/seekdir.c: ... here.
14251 * sysdeps/unix/telldir.c: Renamed to ...
14252 * sysdeps/posix/telldir.c: ... here.
14253 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14254 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14255 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14256 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14258 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14259 * bits/fcntl.h: ... here.
14261 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14263 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14264 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14265 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14266 (struct flock): Move l_start, l_len to the beginning.
14267 Use __pid_t for l_pid.
14268 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14269 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14270 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14271 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14272 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14273 [__USE_LARGEFILE64] (struct flock64): New type.
14274 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14276 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14277 * bits/dirent.h: ... here.
14279 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14280 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14282 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14284 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14285 Change from 2.6.0 to 2.6.16.
14286 * sysdeps/unix/sysv/linux/configure: Regenerated.
14287 * sysdeps/unix/sysv/linux/kernel-features.h
14288 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14289 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14291 (__ASSUME_UTIMES): Likewise.
14292 (__ASSUME_CLONE_STOPPED): Remove.
14293 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14294 architectures, not kernel version.
14295 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14296 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14297 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14298 (__ASSUME_WAITID_SYSCALL): Likewise.
14299 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14300 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14301 * README: State 2.6.16 as minimum Linux kernel version. Do not
14302 refer to older versions.
14304 2012-08-06 Roland McGrath <roland@hack.frob.com>
14306 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14307 Define alphasort64 as an alias.
14308 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14309 Define versionsort64 as an alias.
14310 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14311 Define scandir64 as an alias.
14312 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14313 Define scandirat64 as an alias.
14314 * dirent/alphasort64.c (alphasort64):
14315 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14316 * dirent/versionsort64.c: Likewise.
14317 * dirent/scandir64.c: Likewise.
14318 * dirent/scandirat64.c: Likewise.
14319 * sysdeps/wordsize-64/alphasort.c: File removed.
14320 * sysdeps/wordsize-64/alphasort64.c: File removed.
14321 * sysdeps/wordsize-64/scandir.c: File removed.
14322 * sysdeps/wordsize-64/scandir64.c: File removed.
14323 * sysdeps/wordsize-64/scandirat.c: File removed.
14324 * sysdeps/wordsize-64/scandirat64.c: File removed.
14325 * sysdeps/wordsize-64/versionsort.c: File removed.
14326 * sysdeps/wordsize-64/versionsort64.c: File removed.
14327 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14328 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14330 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14332 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14334 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14336 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14338 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14340 [defined __arch64__ || defined __sparcv9]
14341 (__INO_T_MATCHES_INO64_T): New macro.
14342 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14343 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14344 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14345 * sysdeps/unix/sysv/linux/bits/dirent.h
14346 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14347 (_DIRENT_MATCHES_DIRENT64): New macro.
14349 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14350 Define lockf64 as an alias.
14351 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14352 Define fseeko64 as an alias.
14353 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14354 Define ftello64 as an alias.
14355 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14356 Define _IO_fgetpos64 and fgetpos64 as aliases.
14357 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14358 Define _IO_fsetpos64 and fsetpos64 as aliases.
14359 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14360 Conditionalize body on this.
14361 * libio/fseeko64.c: Likewise.
14362 * libio/ftello64.c: Likewise.
14363 * libio/iofgetpos64.c: Likewise.
14364 * libio/iofsetpos64.c: Likewise.
14365 * sysdeps/wordsize-64/lockf.c: File removed.
14366 * sysdeps/wordsize-64/lockf64.c: File removed.
14367 * sysdeps/wordsize-64/fseeko.c: File removed.
14368 * sysdeps/wordsize-64/fseeko64.c: File removed.
14369 * sysdeps/wordsize-64/ftello.c: File removed.
14370 * sysdeps/wordsize-64/ftello64.c: File removed.
14371 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14372 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14373 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14374 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14376 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14377 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14378 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14379 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14380 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14382 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14384 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14386 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14388 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14390 [defined __arch64__ || defined __sparcv9]
14391 (__OFF_T_MATCHES_OFF64_T): New macro.
14392 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14393 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14395 (__OFF_T_MATCHES_OFF64_T): New macro.
14397 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14399 * stdlib/secure-getenv.c (__secure_getenv): Replace
14400 GLIBC_2_16 with GLIBC_2_17.
14402 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14404 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14405 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14407 2012-08-03 David S. Miller <davem@davemloft.net>
14409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14411 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14413 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14415 (__ASSUME_CORRECT_SI_PID): Likewise.
14416 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14417 (__ASSUME_TMPFS_NAME): Likewise.
14418 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14419 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14420 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14421 (HAVE_AUX_SECURE): Make definition unconditional.
14422 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14423 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14425 2012-08-03 Roland McGrath <roland@hack.frob.com>
14427 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14428 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14429 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14430 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14431 __eloop_threshold instead of SYMLOOP_MAX.
14433 * sysdeps/generic/eloop-threshold.h: New file.
14434 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14436 * elf/chroot_canon.c (chroot_canon): Likewise.
14438 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14441 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14442 Change to 2.6.0 everywhere.
14443 * sysdeps/unix/sysv/linux/configure: Regenerated.
14444 * sysdeps/unix/sysv/linux/kernel-features.h
14445 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14446 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14448 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14449 (__ASSUME_FUTEX_REQUEUE): Remove.
14450 (__ASSUME_STATFS64): Define unconditionally.
14451 (__ASSUME_AT_SECURE): Likewise.
14452 (__ASSUME_CORRECT_SI_PID): Likewise.
14453 (__ASSUME_TGKILL): Define without depending on kernel version for
14455 (__ASSUME_UTIMES): Likewise.
14456 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14458 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14459 (__ASSUME_TMPFS_NAME): Likewise.
14460 * README: Update reference to Linux kernel versions.
14462 2012-08-02 Marek Polacek <polacek@redhat.com>
14465 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14466 libc_cv_asm_type_prefix with %.
14467 * configure: Regenerated.
14468 * include/libc-symbols.h: Remove comment about
14469 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14470 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14471 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14472 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14473 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14474 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14475 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14476 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14477 * elf/tst-unique2mod1.c: Likewise.
14478 * elf/tst-unique1mod2.c: Likewise.
14479 * elf/tst-unique1mod1.c: Likewise.
14480 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14481 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14482 Replace ASM_TYPE_DIRECTIVE with .type.
14483 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14484 * sysdeps/i386/sysdep.h: Likewise.
14485 * sysdeps/x86_64/sysdep.h: Likewise.
14486 * sysdeps/sh/sysdep.h: Likewise.
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14488 Do not define ASM_TYPE_DIRECTIVE.
14489 * sysdeps/powerpc/sysdep.h: Likewise.
14490 * sysdeps/powerpc/powerpc32/sysdep.h:
14491 Replace ASM_TYPE_DIRECTIVE with .type.
14492 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14493 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14494 * sysdeps/i386/fpu/e_powf.S: Likewise.
14495 * sysdeps/i386/fpu/e_expl.S: Likewise.
14496 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14497 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14498 * sysdeps/i386/fpu/e_pow.S: Likewise.
14499 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14500 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14501 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14502 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14503 * sysdeps/i386/fpu/e_log2.S: Likewise.
14504 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14505 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14506 * sysdeps/i386/fpu/e_powl.S: Likewise.
14507 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14508 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14509 * sysdeps/i386/fpu/e_logl.S: Likewise.
14510 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14511 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14512 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14513 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14514 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14515 * sysdeps/i386/fpu/e_log.S: Likewise.
14516 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14517 * sysdeps/i386/fpu/e_logf.S: Likewise.
14518 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14519 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14520 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14521 * sysdeps/i386/fpu/e_log10.S: Likewise.
14522 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14523 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14524 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14525 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14526 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14527 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14528 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14529 * sysdeps/i386/i686/strtok.S: Likewise.
14530 * sysdeps/i386/i386-mcount.S: Likewise.
14531 * sysdeps/i386/strtok.S: Likewise.
14532 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14533 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14535 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14536 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14537 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14538 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14539 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14540 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14541 * sysdeps/x86_64/_mcount.S: Likewise.
14542 * sysdeps/x86_64/strtok.S: Likewise.
14543 * sysdeps/sh/_mcount.S: Likewise.
14545 2012-08-01 Roland McGrath <roland@hack.frob.com>
14547 * libio/iofopen.c: Include <fcntl.h>.
14548 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14549 (_IO_fopen64, fopen64): Define as aliases.
14550 * libio/iofopen64.c: Include <fcntl.h>.
14551 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14552 Conditionalize body on this.
14553 * sysdeps/wordsize-64/iofopen.c: File removed.
14554 * sysdeps/wordsize-64/iofopen64.c: File removed.
14556 2012-08-01 Marek Polacek <polacek@redhat.com>
14558 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14559 Use dlfcn directly instead of a variable.
14560 (binfmt-subdir): Do not define.
14563 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14565 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14566 Remove all definitions.
14567 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14568 <kernel-features.h>.
14569 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14570 (miss_F_GETOWN_EX): Remove all definitions.
14571 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14573 [!__ASSUME_FCNTL64]: Remove conditional code.
14574 [__ASSUME_FCNTL64]: Make code unconditional.
14575 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14576 <kernel-features.h>.
14577 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14578 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14579 (lockf64) [__NR_fcntl64]: Make code unconditional.
14580 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14582 * sysdeps/unix/sysv/linux/kernel-features.h
14583 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14584 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14585 Make code unconditional.
14586 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14587 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14589 [__NR_vfork]: Make code unconditional.
14590 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14591 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14593 [__NR_vfork]: Make code unconditional.
14594 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14595 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14597 2012-08-01 Roland McGrath <roland@hack.frob.com>
14599 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14600 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14602 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14603 Define mkstemp64 as an alias.
14604 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14605 Define mkstemps64 as an alias.
14606 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14607 Define mkostemp64 as an alias.
14608 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14609 Define mkostemps64 as an alias.
14610 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14611 Conditionalize body on this.
14612 * misc/mkostemp64.c: Likewise.
14613 * misc/mkostemps64.c: Likewise.
14614 * misc/mkstemps64.c: Likewise.
14615 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14616 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14617 * sysdeps/wordsize-64/mkostemp.c: File removed.
14618 * sysdeps/wordsize-64/mkstemp.c: File removed.
14619 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14620 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14621 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14622 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14625 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14626 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14627 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14628 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14630 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14631 compat_symbol macros from <shlib-compat.h> rather than the underlying
14632 default_symbol_version and symbol_version macros, so that DEFAULT
14633 lines in shlib-versions are respected.
14634 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14636 2012-08-01 Florian Weimer <fweimer@redhat.com>
14638 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14639 Declare with warn_unused_result.
14640 (setgid, setregid, setegid, setresgid): Likewise.
14641 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14643 * WUR-REPORT: Remove set*id functions.
14645 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14647 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14649 2012-07-31 Roland McGrath <roland@hack.frob.com>
14652 * include/sys/socket.h (__libc_accept, __libc_accept4):
14653 Add attribute_hidden.
14654 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14656 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14658 * inet/getnetgrent_r.c (setup): Likewise.
14660 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14662 2012-07-31 David S. Miller <davem@davemloft.net>
14664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14666 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14669 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14670 value between 1.0 and 2.0 and smaller part has absolute value less
14672 * math/s_clog10.c (__clog10): Likewise.
14673 * math/s_clog10f.c (__clog10f): Likewise.
14674 * math/s_clog10l.c (__clog10l): Likewise.
14675 * math/s_clogf.c (__clogf): Likewise.
14676 * math/s_clogl.c (__clogl): Likewise.
14677 * math/libm-test.inc (clog_test): Add more tests.
14678 (clog10_test): Likewise.
14679 * sysdeps/i386/fpu/libm-test-ulps: Update.
14680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14682 2012-07-31 Florian Weimer <fweimer@redhat.com>
14684 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14685 Exit with zero in case no suitable GID is found, and write a
14686 message to standard error.
14688 2012-07-30 Roland McGrath <roland@hack.frob.com>
14690 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14692 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14693 (MAXPATHLEN): Removed.
14694 (NOGROUP, NODEV): New macros.
14695 (setbit, clrbit, isset, isclr): New macros.
14696 (howmany, roundup, powerof2): New macros.
14697 (DEV_BSIZE): New macro.
14699 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14700 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14702 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14703 definition on [!__NO_LONG_DOUBLE_MATH].
14705 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14706 PTR_MANGLE and PTR_DEMANGLE.
14708 * socket/accept4.c (accept4): Rename to __libc_accept4.
14709 Define accept4 as a weak alias.
14711 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14712 on [_DIRENT_HAVE_D_TYPE].
14713 * io/ftw.c (ftw_dir): Likewise.
14715 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14717 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14719 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14720 Use the BSD numbers rather than the arbitrary ones we had.
14721 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14722 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14723 (SIGXCPU, SIGXFSZ): New macros.
14726 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14727 initializer on [_LIBC_REENTRANT].
14729 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14730 definitions inside [_POSIX_MAPPED_FILES].
14732 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14734 * dirent/opendir.c: Include <fcntl.h>.
14736 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14737 (__libc_getspecific): Likewise.
14738 (__libc_key_create): Likewise.
14740 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14741 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14742 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14743 (tmpfile64): Define as alias.
14744 * sysdeps/wordsize-64/tmpfile.c: File removed.
14745 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14746 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14747 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14749 * stdio-common/vfscanf.c: Include <stdbool.h>.
14750 * nss/makedb.c: Likewise.
14751 * stdio-common/_i18n_number.h: Likewise.
14752 * argp/argp-help.c: Likewise.
14753 * posix/wordexp.c: Likewise.
14754 * sysdeps/posix/spawni.c: Likewise.
14755 * nss/nss_files/files-initgroups.c: Likewise.
14756 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14757 * nss/nss_files/files-initgroups.c: Likewise.
14758 * nss/nss_db/db-netgrp.c: Likewise.
14759 * nss/nss_db/db-initgroups.c: Likewise.
14760 * io/fchmodat.c: Include <sys/stat.h>.
14762 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14763 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14765 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14768 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14769 Add multiple inclusion protection.
14771 2012-07-27 David S. Miller <davem@davemloft.net>
14773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14775 2012-07-27 Gary Benson <gbenson@redhat.com>
14778 * elf/rtld.c: Include <stap-probe.h>.
14779 (dl_main): Added static probes "init_start" and "init_complete".
14780 * elf/dl-load.c: Include <stap-probe.h>.
14781 (lose): Take new parameter "nsid".
14782 Added static probe "map_failed".
14783 (_dl_map_object_from_fd): Pass namespace id to lose.
14784 Added static probe "map_start".
14785 (open_verify): Pass namespace id to lose.
14786 * elf/dl-open.c: Include <stap-probe.h>.
14787 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14788 and "reloc_complete".
14789 * elf/dl-close.c: Include <stap-probe.h>.
14790 (_dl_close_worker): Added static probes "unmap_start" and
14792 * elf/rtld-debugger-interface.txt: New file documenting the above.
14794 2012-07-26 Roland McGrath <roland@hack.frob.com>
14796 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14797 rather than a string variable.
14798 * sunrpc/rpc_main.c (h_output): Likewise.
14799 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14801 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14803 * inet/check_native.c: New file.
14805 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14808 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14809 if larger part has absolute value 1.0.
14810 * math/s_clog10.c (__clog10): Likewise.
14811 * math/s_clog10f.c (__clog10f): Likewise.
14812 * math/s_clog10l.c (__clog10l): Likewise.
14813 * math/s_clogf.c (__clogf): Likewise.
14814 * math/s_clogl.c (__clogl): Likewise.
14815 * math/libm-test.inc (clog_test): Add more tests.
14816 (clog10_test): Likewise.
14817 * sysdeps/i386/fpu/libm-test-ulps: Update.
14818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14820 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14821 (pltexit): Likewise.
14822 (La_regs): Likewise.
14823 (La_retval): Likewise.
14824 (int_retval): Likewise.
14825 Update #error for removed macros to refer only to definitions in
14827 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14829 (pltexit): Likewise.
14830 (La_regs): Likewise.
14831 (La_retval): Likewise.
14832 (int_retval): Likewise.
14833 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14835 (pltexit): Likewise.
14836 (La_regs): Likewise.
14837 (La_retval): Likewise.
14838 (int_retval): Likewise.
14839 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14841 (pltexit): Likewise.
14842 (La_regs): Likewise.
14843 (La_retval): Likewise.
14844 (int_retval): Likewise.
14845 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14847 (pltexit): Likewise.
14848 (La_regs): Likewise.
14849 (La_retval): Likewise.
14850 (int_retval): Likewise.
14851 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14853 (pltexit): Likewise.
14854 (La_regs): Likewise.
14855 (La_retval): Likewise.
14856 (int_retval): Likewise.
14857 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14859 (pltexit): Likewise.
14860 (La_regs): Likewise.
14861 (La_retval): Likewise.
14862 (int_retval): Likewise.
14863 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14864 macro definitions in tst-audit.h.
14865 * sysdeps/i386/tst-audit.h: New file.
14866 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14867 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14868 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14869 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14870 * sysdeps/sh/tst-audit.h: Likewise.
14871 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14872 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14873 * sysdeps/x86_64/tst-audit.h: Likewise.
14875 2012-07-26 Andreas Jaeger <aj@suse.de>
14877 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14880 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14881 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14882 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14884 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14885 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14886 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14888 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14891 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14893 (si_call_addr, si_syscall, si_arch): Define new macro.
14894 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14896 (si_call_addr, si_syscall, si_arch): Define new marcro.
14897 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14899 (si_call_addr, si_syscall, si_arch): Define new macro.
14900 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14902 (si_call_addr, si_syscall, si_arch): Define new macro.
14904 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14907 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14908 Change to 2.4.21 where previously 2.4.1.
14909 * sysdeps/unix/sysv/linux/configure: Regenerated.
14910 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14911 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14912 Linux kernel version.
14913 (__ASSUME_STD_AUXV): Remove.
14914 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14916 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14917 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14918 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14919 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14920 (__ASSUME_NETLINK_SUPPORT): Likewise.
14921 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14922 (__no_netlink_support): Remove conditional definition.
14923 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14925 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14926 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14927 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14928 (if_nameindex_ioctl): Remove.
14929 (if_nameindex_netlink): Do not handle __no_netlink_support.
14930 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14932 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14933 Remove conditional code.
14934 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14936 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14938 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14939 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14940 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14942 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14943 [!__ASSUME_STD_AUXV]: Remove conditional code.
14944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14945 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14946 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14948 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14949 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14951 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14953 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14954 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14956 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14958 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14961 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14964 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14965 code unconditional.
14966 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14968 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14970 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14973 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14975 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14978 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14979 code unconditional.
14980 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14982 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14984 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14987 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14988 code unconditional.
14989 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14991 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14993 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14996 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14998 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14999 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15000 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15001 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15002 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15003 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15004 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15005 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15006 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15007 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15008 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15009 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15010 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15011 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15012 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15013 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15014 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15015 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15016 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15018 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15019 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15020 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15022 2012-07-25 Florian Weimer <fweimer@redhat.com>
15024 * Versions.def: Add GLIBC_2.17.
15025 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15026 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15027 Introduce __libc_secure_getenv.
15028 * stdlib/Versions (2.17): Add secure_getenv
15029 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15030 * stdlib/secure-getenv.c: Rename __secure_getenv to
15031 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15032 symbol __secure_getenv for GLIBC_2.0.
15033 * stdlib/tst-secure-getenv.c: New.
15034 * stdlib/Makefile (tests): Add testcase.
15035 * manual/startup.texi (Environment Access): Document
15037 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15038 __libc_secure_getenv.
15039 * inet/ruserpass.c (ruserpass): Likewise.
15040 * malloc/mtrace.c (mtrace): Likewise.
15041 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15042 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15043 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15044 * sysdeps/posix/tempname.c: Likewise. Evaluate
15045 HAVE_SECURE_GETENV.
15046 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15047 __secure_getenv to __libc_secure_getenv.
15048 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15061 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15063 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15064 (struct La_i86_retval): Likewise.
15065 (struct La_x86_64_regs): Likewise.
15066 (struct La_x86_64_retval): Likewise.
15067 (struct La_x32_regs): Likewise.
15068 (struct La_x32_retval): Likewise.
15069 (struct La_ppc32_regs): Likewise.
15070 (struct La_ppc32_retval): Likewise.
15071 (struct La_ppc64_regs): Likewise.
15072 (struct La_ppc64_retval): Likewise.
15073 (struct La_sh_regs): Likewise.
15074 (struct La_sh_retval): Likewise.
15075 (struct La_s390_32_regs): Likewise.
15076 (struct La_s390_32_retval): Likewise.
15077 (struct La_s390_64_regs): Likewise.
15078 (struct La_s390_64_retval): Likewise.
15079 (struct La_sparc32_regs): Likewise.
15080 (struct La_sparc32_retval): Likewise.
15081 (struct La_sparc64_regs): Likewise.
15082 (struct La_sparc64_retval): Likewise.
15083 (struct audit_ifaces): Remove architecture-specific pltenter and
15085 * sysdeps/i386/ldsodefs.h: New file.
15086 * sysdeps/powerpc/ldsodefs.h: Likewise.
15087 * sysdeps/s390/ldsodefs.h: Likewise.
15088 * sysdeps/sh/ldsodefs.h: Likewise.
15089 * sysdeps/sparc/ldsodefs.h: Likewise.
15090 * sysdeps/x86_64/ldsodefs.h: Likewise.
15092 2012-07-25 Marek Polacek <polacek@redhat.com>
15095 * math/libm-test.inc (yn_test): Add another test.
15096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15097 to ERANGE when the result is +-Inf.
15098 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15099 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15100 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15101 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15103 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15105 * conform/data/time.h-data (NULL): Use macro-constant. Require
15107 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15109 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15111 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15113 * configure.in <sysdeps resolving>: Correct printing
15115 * configure: Regenerate.
15117 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15119 * math/w_ilogb.c: Include <limits.h>.
15120 * math/w_ilogbl.c: Likewise.
15122 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15124 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15125 va_copy. Document allowing for unavailable va_copy only as
15126 pre-C99 compatibility.
15127 * manual/string.texi (Copying and Concatenation): Use va_copy
15128 instead of __va_copy in concat example.
15130 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15132 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15133 (__sendto): Use create_address_port. Initialize APORT and deallocate
15136 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15137 with O_NOLINK passed to __file_name_lookup.
15139 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15140 with O_NOLINK passed to __file_name_lookup.
15142 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15143 negative N or less than NGIDS.
15145 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15146 type to string_t. Set ERANGE as errno and return it if NAME is not big
15147 enough. Use memcpy instead of strncpy.
15149 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15151 * elf/Makefile (check-data): Remove.
15152 (localplt.data): New vpath directive.
15153 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15154 instead of $(check-data).
15155 * scripts/data/localplt-generic.data: Move to ...
15156 * sysdeps/generic/localplt.data: ... here.
15157 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15158 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15159 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15162 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15165 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15168 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15171 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15174 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15178 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15180 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15181 PPC32 and PPC64 files.
15182 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15183 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15185 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15187 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15188 __makecontext_ret to ...
15189 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15190 ... here and call exit if uc_link is NULL. New file.
15191 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15192 __makecontext_ret.S.
15193 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15194 __makecontext_ret to ...
15195 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15196 ... here and call exit if uc_link is NULL. New file.
15197 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15198 __makecontext_ret.S.
15200 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15202 * elf/elf.h (R_390_IRELATIVE): New definition.
15203 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15204 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15205 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15206 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15207 (elf_machine_lazy_rel): Likewise.
15208 * sysdeps/s390/dl-irel.h: New file.
15209 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15210 * sysdeps/s390/s390-64/memset.S: New asm code.
15211 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15212 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15213 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15214 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15215 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15216 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15217 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15218 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15219 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15220 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15221 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15222 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15223 * sysdeps/s390/s390-32/memset.S: New asm code.
15224 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15226 2012-07-17 Marek Polacek <polacek@redhat.com>
15229 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15230 * sysdeps/s390/s390-64/configure.in: Likewise.
15231 * sysdeps/sparc/configure.in: Likewise.
15232 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15233 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15234 * sysdeps/i386/configure.in: Likewise.
15235 * sysdeps/x86_64/configure.in: Likewise.
15236 * sysdeps/sh/configure.in: Likewise.
15237 * sysdeps/s390/s390-32/configure: Regenerated.
15238 * sysdeps/s390/s390-64/configure: Likewise.
15239 * sysdeps/x86_64/configure: Likewise.
15240 * sysdeps/sh/configure: Likewise.
15241 * sysdeps/powerpc/powerpc64/configure: Likewise.
15242 * sysdeps/powerpc/powerpc32/configure: Likewise.
15243 * sysdeps/sparc/configure: Likwise.
15244 * sysdeps/i386/configure: Likewise.
15246 * elf/dl-open.c: Comment fixes.
15248 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15250 * Makefile [CXX] (check-data): Remove.
15251 [CXX] (c++-types.data): New vpath directive.
15252 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15253 vpath. Do not allow for C++ type data being missing.
15254 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15255 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15256 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15257 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15258 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15259 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15260 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15263 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15266 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15269 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15272 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15275 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15278 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15281 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15284 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15285 definitions to architecture-specific files.
15286 (TLS_IE): Likewise.
15287 (TLS_LD): Likewise.
15288 (TLS_GD): Likewise.
15289 * sysdeps/i386/tls-macros.h: New file.
15290 * sysdeps/powerpc/tls-macros.h: Likewise.
15291 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15292 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15293 * sysdeps/sh/tls-macros.h: Likewise.
15294 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15295 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15296 * sysdeps/x86_64/tls-macros.h: Likewise.
15298 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15300 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15301 zero value for regular exit case.
15303 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15304 (__start_context): Preserve zero value for regular exit case.
15306 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15307 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15309 * manual/setjmp.texi (setcontext): Clarify normal process
15310 termination when uc_link is the null pointer.
15311 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15314 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15316 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15317 preprocessor. Test for each exception mask separately.
15319 2012-07-16 Andreas Jaeger <aj@suse.de>
15321 * po/ru.po: Update from translation team.
15323 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15325 * conform/data/string.h-data (NULL): Use macro-constant. Require
15327 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15328 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15329 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15330 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15333 2012-07-13 Andreas Jaeger <aj@suse.de>
15335 * po/fr.po: Update from translation team.
15337 2012-07-12 Marek Polacek <polacek@redhat.com>
15340 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15341 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15344 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15347 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15348 Change to 2.4.1 where previously 2.4.0.
15349 * sysdeps/unix/sysv/linux/configure: Regenerated.
15350 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15351 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15353 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15354 (__ASSUME_AT_CLKTCK): Remove.
15355 (__ASSUME_AT_PAGESIZE): Likewise.
15356 (__ASSUME_AT_XID): Likewise.
15357 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15358 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15359 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15361 (HAVE_AUX_PAGESIZE): Likewise.
15362 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15363 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15364 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15366 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15370 the temporary buffer used to invoke __gethostbyname2_r,
15371 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15372 host_data / struct gaih_addrtuple.
15373 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15374 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15375 header file nss/nsswitch.h.
15376 * nss/nsswitch.h (global scope): Add definition of implementation
15377 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15378 resolv/nss_dns/dns-host.c).
15380 2012-07-11 Andreas Jaeger <aj@suse.de>
15382 * po/fr.po: Update from translation team.
15384 * po/sv.po: Update from translation team
15385 * po/fr.po: Another update from translation team.
15387 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15389 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15390 for subnormals or multiply small sinh result by itself.
15391 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15394 2012-07-11 David S. Miller <davem@davemloft.net>
15396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15398 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15401 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15402 (INTERNAL_MARK): Shift it here.
15404 2012-07-10 Marek Polacek <polacek@redhat.com>
15407 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15408 libc_cv_asm_global_directive with .globl.
15409 * configure: Regenerated.
15410 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15412 * sysdeps/i386/configure: Regenerated.
15413 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15415 * sysdeps/x86_64/configure: Regenerated.
15416 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15417 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15418 * elf/tst-unique2mod2.c: Likewise.
15419 * elf/tst-unique2mod1.c: Likewise.
15420 * elf/tst-unique1mod2.c: Likewise.
15421 * elf/tst-unique1mod1.c: Likewise.
15422 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15423 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15424 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15425 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15426 * sysdeps/mach/sysdep.h: Likewise.
15427 * sysdeps/i386/sysdep.h: Likewise.
15428 * sysdeps/i386/i386-mcount.S: Likewise.
15429 * sysdeps/x86_64/_mcount.S: Likewise.
15430 * sysdeps/x86_64/sysdep.h: Likewise.
15431 * sysdeps/sh/_mcount.S: Likewise.
15432 * sysdeps/sh/sysdep.h: Likewise.
15433 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15434 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15435 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15436 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15437 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15438 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15439 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15440 * locale/localeinfo.h: Likewise.
15441 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15442 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15444 2012-07-09 Roland McGrath <roland@hack.frob.com>
15447 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15449 * manual/message.texi (The Uniforum approach): Likewise.
15450 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15451 (glibc iconv Implementation): Likewise.
15453 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15456 * math/s_clog.c (__clog): Avoid scaling a value down where that
15457 could result in underflow.
15458 * math/s_clog10.c (__clog10): Likewise.
15459 * math/s_clog10f.c (__clog10f): Likewise.
15460 * math/s_clog10l.c (__clog10l): Likewise.
15461 * math/s_clogf.c (__clogf): Likewise.
15462 * math/s_clogl.c (__clogl): Likewise.
15463 * math/libm-test.inc (clog_test): Add more tests.
15464 (clog10_test): Likewise.
15465 * sysdeps/i386/fpu/libm-test-ulps: Update.
15466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15468 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15471 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15472 by 7 not 8 to examine high bit of fractional part.
15475 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15476 for call to __mcount_internal.
15477 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15478 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15479 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15481 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15484 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15485 approximation for values within 0x1p-13f of an odd multiple of
15487 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15488 exception. Add more tests.
15489 * sysdeps/i386/fpu/libm-test-ulps: Update.
15492 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15493 inputs and return -1 for them. Do not check for +Inf in case not
15494 reachable for +Inf.
15495 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15496 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15498 and return -1 for them. Do not check for +Inf in case not
15499 reachable for +Inf.
15500 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15502 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15503 and return -1 for them. Do not check for +Inf in case not
15504 reachable for +Inf.
15505 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15506 spurious underflow.
15507 * sysdeps/i386/fpu/libm-test-ulps: Update.
15508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15510 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15512 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15514 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15518 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15519 could result in spurious underflow. Scale down values above
15520 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15521 * math/s_csqrtf.c (__csqrtf): Likewise.
15522 * math/s_csqrtl.c (__csqrtl): Likewise.
15523 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15524 spurious underflow.
15525 * sysdeps/i386/fpu/libm-test-ulps: Update.
15526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15528 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15530 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15532 * catgets/xopen-msg.awk: New file.
15533 * catgets/xopen-msg.sed: Removed.
15535 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15537 * intl/po2test.awk: New file.
15538 * intl/po2test.sed: Removed.
15540 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15543 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15544 or multiply small sinh result by itself.
15545 * math/s_ctanf.c (__ctanf): Likewise.
15546 * math/s_ctanh.c (__ctanh): Likewise.
15547 * math/s_ctanhf.c (__ctanhf): Likewise.
15548 * math/s_ctanhl.c (__ctanhl): Likewise.
15549 * math/s_ctanl.c (__ctanl): Likewise.
15550 * math/libm-test.inc (ctan_test_tonearest): New function.
15551 (ctan_test_towardzero): Likewise.
15552 (ctan_test_downward): Likewise.
15553 (ctan_test_upward): Likewise.
15554 (ctanh_test_tonearest): Likewise.
15555 (ctanh_test_towardzero): Likewise.
15556 (ctanh_test_downward): Likewise.
15557 (ctanh_test_upward): Likewise.
15558 (main): Call these new functions.
15559 * sysdeps/i386/fpu/libm-test-ulps: Update.
15560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15562 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15564 * .gitignore: Delete /ports entry.
15566 2012-07-03 Andreas Jaeger <aj@suse.de>
15568 * po/bg.po: Update from translation team.
15569 * po/cs.po: Likewise.
15570 * po/de.po: Likewise.
15571 * po/hr.po: Likewise.
15572 * po/nl.pl: Likewise.
15573 * po/pl.po: Likewise.
15574 * po/vi.po: Likewise.
15576 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15578 * Makeconfig [!+link] (+link-before-libc): New variable.
15579 [!+link] (+link-after-libc): Likewise.
15580 [!+link] (+link-tests): Likewise.
15581 [!+link] (+link): Define in terms of $(+link-before-libc) and
15582 $(+link-after-libc).
15583 [!+link-static] (+link-static-before-libc): New variable.
15584 [!+link-static] (+link-static-after-libc): Likewise.
15585 [!+link-static] (+link-static-tests): Likewise.
15586 [!+link-static] (+link-static): Define in terms of
15587 $(+link-static-before-libc) and $(+link-static-after-libc).
15588 [build-shared] (link-libc-before-gnulib): New variable.
15589 [build-shared] (link-libc-tests): Likewise.
15590 [build-shared] (link-libc): Define in terms of
15591 $(link-libc-before-gnulib).
15592 [!build-shared] (link-libc-tests): New variable.
15593 (link-libc-static-tests): New variable.
15594 [!gnulib] (gnulib-arch): New variable.
15595 [!gnulib] (gnulib-tests): Likewise.
15596 [!gnulib] (static-gnulib-arch): Likewise.
15597 [!gnulib] (static-gnulib-tests): Likewise.
15598 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15599 Define with "=" instead of ":=".
15600 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15601 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15602 * Rules (binaries-all-notests): New variable.
15603 (binaries-all-tests): Likewise.
15604 (binaries-static-notests): Likewise.
15605 (binaries-static-tests): Likewise.
15606 (binaries-all): Define using $(binaries-all-notests) and
15607 $(binaries-all-tests).
15608 (binaries-static): Define using $(binaries-static-notests) and
15609 $(binaries-static-tests).
15610 (binaries-shared-tests): New variable.
15611 (binaries-shared-notests): Likewise.
15612 (binaries-shared): Remove variable.
15613 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15614 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15615 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15616 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15617 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15618 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15619 * elf/Makefile (sln-modules): New variable.
15620 (extra-objs): Add $(sln-modules:=.o).
15621 (ldconfig-modules): Add static-stubs.
15622 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15623 * elf/static-stubs.c: New file.
15626 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15627 by 7 not 8 to examine high bit of fractional part. Use volatile
15628 variables when splitting into final array of floats if
15629 __FLT_EVAL_METHOD__ != 0.
15630 * math/libm-test.inc (cos_test): Add another test.
15631 (sin_test): Likewise.
15632 * sysdeps/i386/fpu/libm-test-ulps: Update.
15635 * math/libm-test.inc (cosh_test): Add more tests.
15637 * version.h (RELEASE): Set to "development".
15638 (VERSION): Set to "2.16.90".
15640 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15642 * NEWS: Update copyright. Remove last-updated date.
15643 Mention math library bug fixes and timezone data changes.
15644 * README: Mention GNU/Hurd, x32, and HPPA support status.
15646 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15648 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15650 2012-06-27 Andreas Jaeger <aj@suse.de>
15652 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15654 2012-06-25 Andreas Jaeger <aj@suse.de>
15656 * sysdeps/s390/fpu/libm-test-ulps: Update.
15658 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15659 Thomas Schwinge <thomas@codesourcery.com>
15661 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15662 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15666 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15668 * sysdeps/mach/start.c: Remove file.
15669 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15670 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15671 * sysdeps/sh/init-first.c: Likewise.
15673 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15674 registers for frame unwinding purposes, add CFI directives.
15675 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15676 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15677 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15680 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15681 __fortify_fail returning.
15682 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15684 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15685 sysdeps/sh/____longjmp_chk.S.
15686 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15687 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15688 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15689 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15691 * sysdeps/sh/abort-instr.h: New file.
15692 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15693 process in case exit returns.
15695 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15696 initialize the GOT register before use.
15698 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15699 calculation of ARGC > 4.
15701 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15702 meaningful names to some local labels.
15704 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15705 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15707 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15708 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15709 (__arch_compare_and_exchange_val_16_acq): Likewise.
15710 (__arch_compare_and_exchange_val_32_acq): Likewise.
15711 (atomic_exchange_and_add): Fix gUSA sequence.
15712 (atomic_add): Likewise.
15713 (atomic_add_negative): Likewise.
15714 (atomic_add_zero): Likewise.
15715 (atomic_bit_test_set): Likewise.
15717 2012-06-22 Andreas Schwab <schwab@redhat.com>
15720 * include/link.h (struct link_map): Add l_free_initfini.
15721 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15723 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15724 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15725 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15728 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15730 * configure.in: Use AC_LANG_SOURCE.
15731 * configure: Regenerate.
15733 2012-06-22 Roland McGrath <roland@hack.frob.com>
15735 * configure.in (libc_cv_localstatedir): New substituted variable.
15736 * configure: Regenerated.
15737 * config.make.in (localstatedir): New variable, substituted from
15738 libc_cv_localstatedir.
15739 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15740 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15741 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15742 * sysdeps/gnu/configure: Regenerated.
15744 2012-06-21 Jeff Law <law@redhat.com>
15747 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15748 free. Simplify list management for _LIBC case.
15750 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15753 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15754 Clear sign bit of 64-bit integer value before comparing against
15757 * sysdeps/mach/configure: Regenerated.
15759 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15762 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15764 2012-06-21 Jeff Law <law@redhat.com>
15767 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15768 uint16_t for elements in the "seen" array to avoid char overflows.
15769 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15770 * elf/dl-open.c (dl_open_worker): Likewise.
15772 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15774 * scripts/list-sources.sh: Scan PORTS for translations.
15775 * po/libc.pot: Regenerated.
15777 2012-06-21 Andreas Jaeger <aj@suse.de>
15780 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15782 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15783 * bits/byteswap-16.h (__bswap_16): Likewise.
15784 * bits/byteswap.h (__bswap_constant_16): Likewise.
15786 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15789 * sysdeps/i386/fpu_control.h: Removed.
15790 * sysdeps/x86_64/fpu_control.h: Moved to ...
15791 * sysdeps/x86/fpu_control.h: Here.
15793 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15794 (_FPU_SETCW): Likewise.
15796 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15799 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15800 * sysdeps/x86/fpu/bits/mathinline.h: This.
15801 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15805 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15806 functions if __x86_64__ is defined.
15808 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15810 * string/endian.h: Add !__ASSEMBLER__ condition for including
15811 conversion interfaces.
15813 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15817 of ABS(x) in calculating zero to negative powers other than odd
15819 * math/libm-test.inc (pow_test): Add more tests.
15821 2012-06-15 Andreas Jaeger <aj@suse.de>
15823 * manual/contrib.texi (Contributors): Update entry of Liubov
15824 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15827 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15829 * string/string.h: Add __wur to GNU version of strerror_r.
15831 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15834 * string/Makefile (tests): Add tst-strtok_r.
15835 * string/tst-strtok_r.c: New file.
15836 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15837 RAX_LP/RDX_LP on SAVE_PTR.
15839 2012-06-14 Roland McGrath <roland@hack.frob.com>
15841 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15843 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15845 * libm_test.inc (csqrt_test): Allow more spurious underflow
15847 (j0_test): Likewise.
15848 (j1_test): Likewise.
15849 (y0_test): Likewise.
15850 (y1_test): Likewise.
15852 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15854 * po/Makefile (libc.pot): Use UTF-8 charset.
15856 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15859 Suppress sign-conversion warning from FD_SET.
15860 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15861 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15862 not unsigned long int.
15863 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15865 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15869 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15870 __extern_always_inline instead of __extern_inline.
15871 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15872 (__signbit): Likewise.
15873 (__signbitl): Support C++ namespace.
15874 (lrintf): New inline function.
15876 (llrintf): Likewise.
15877 (llrint): Likewise.
15887 (floorf): Likewise.
15888 (nearbyint): Likewise.
15889 (nearbyintf): Likewise.
15891 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15893 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15894 non-default versions.
15896 2012-06-11 Roland McGrath <roland@hack.frob.com>
15899 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15901 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15903 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15904 (FE_UPWARD, FE_DOWNWARD): Don't define.
15905 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15906 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15908 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15910 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15911 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15913 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15915 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15916 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15917 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15918 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15920 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15923 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15924 * sysdeps/i386/fpu/Implies: New file.
15925 * sysdeps/x86_64/fpu/Implies: Likewise.
15926 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15927 * sysdeps/x86/fpu/bits/fenv.h: This.
15929 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15932 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15935 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15936 character 0xffff that matches the last element of the
15939 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15941 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15944 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15946 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15947 values higher than 25.6283.
15949 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15951 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15952 subnormal exponent extraction and add some __builtin_expect.
15953 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15954 Fix for subnormal mantissa calculation.
15956 2012-06-04 Mike Frysinger <vapier@gentoo.org>
15958 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15959 cpu2 is -1 and errno is not ENOSYS.
15961 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15964 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15965 * sysdeps/x86/bits/string.h: This.
15966 * sysdeps/x86_64/bits/string.h: Removed.
15968 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15969 if not compiling for x86-64, but compiling for >= i486.
15971 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15972 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15974 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15975 New macro from Linux kernel 3.4.0.
15976 (FP_XSTATE_MAGIC2): Likewise.
15977 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15978 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15979 (struct _fpx_sw_bytes): New struct.
15980 (struct _xsave_hdr): Likewise.
15981 (struct _ymmh_state): Likewise.
15982 (struct _xstate): Likewise.
15984 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15985 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15986 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15987 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15988 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15989 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15991 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15992 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15993 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15994 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15995 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15996 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15998 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16001 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16002 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16003 (sysdep_headers): Include sys/platform/ppc.h.
16004 * sysdeps/powerpc/test-gettimebase.c: Test for
16005 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16006 * manual/Makefile (appendices): Include platform.texi.
16007 * manual/contrib.texi (Contributors): Update @node pointers.
16008 * manual/maint.texi (Maintenance): Likewise.
16009 (Platform): New node.
16010 * manual/platform.texi: New file. Document the new features.
16012 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16013 Jakub Jelinek <jakub@redhat.com>
16016 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16017 where __builtin_expect is unavailable.
16019 2012-06-03 David S. Miller <davem@davemloft.net>
16021 * stdlib/longlong.h: Updated from GCC.
16023 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16026 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16027 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16030 (GLIBC_2.16): Likewise.
16032 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16034 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16036 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16039 (default-abi): New variable.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16041 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16043 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16045 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16047 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16050 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16051 definition. Document in comment.
16053 2012-06-01 David S. Miller <davem@davemloft.net>
16055 * stdlib/longlong.h: Updated from GCC.
16057 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16060 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16061 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16062 sys/debugreg.h sys/io.h here.
16063 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16064 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16066 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16067 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16068 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16069 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16070 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16071 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16073 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16074 Define only if __x86_64__ is defined.
16076 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16080 Use int64_t for variable i.
16081 * math/libm-test.inc (fmod_test): Add more tests.
16083 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16084 z computation is not scheduled after fetestexcept.
16085 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16086 Use math_force_eval instead of asm to ensure calculation scheduled
16087 before exception test.
16088 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16089 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16091 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16094 computation is not scheduled after fetestexcept.
16096 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16099 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16100 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16102 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16104 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16105 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16107 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16110 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16112 (__WCHAR_MIN): Support __WORDSIZE == 64.
16113 (__WCHAR_MAX): Likewise.
16115 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16116 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16119 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16120 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16123 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16124 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16126 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16127 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16129 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16130 Defined to 1 if __x86_64__ isn't defined.
16131 (_STAT_VER_LINUX_OLD): New.
16132 (st_atime): Remove duplicate.
16133 (st_mtime): Likewise.
16134 (st_ctime): Likewise.
16136 2012-05-31 David S. Miller <davem@davemloft.net>
16138 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16141 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16143 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16147 * elf/dl-reloc.c: Include <_itoa.h>.
16148 (_dl_reloc_bad_type): Remove use of INTUSE.
16149 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16150 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16151 * stdio-common/psiginfo.c (psiginfo): Likewise.
16152 * stdio-common/psignal.c (psignal): Likewise.
16153 * string/strsignal.c (strsignal): Likewise.
16154 * include/signal.h (_sys_siglist): Declare hidden proto.
16155 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16156 INTVARDEF with libc_hidden_data_def.
16157 * stdio-common/itoa-udigits.c: Likewise.
16158 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16159 (_itoa_lower_digits_internal): Remove declaration.
16160 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16161 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16162 (_sys_sigabbrev_internal): Remove aliases.
16163 (_sys_siglist): Define hidden alias.
16165 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16170 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16173 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16174 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16176 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16177 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16178 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16179 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16181 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16183 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16184 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16185 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16187 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16195 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16196 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16197 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16199 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16200 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16202 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16203 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16204 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16206 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16207 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16209 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16210 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16213 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16214 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16216 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16217 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16219 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16221 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16222 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16223 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16225 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16227 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16229 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16231 * math/math.h (M_El): Use two more decimal places.
16232 (M_LOG2El): Likewise.
16233 (M_LOG10El): Likewise.
16234 (M_LN2l): Likewise.
16235 (M_LN10l): Likewise.
16237 (M_PI_2l): Likewise.
16238 (M_PI_4l): Likewise.
16239 (M_1_PIl): Likewise.
16240 (M_2_PIl): Likewise.
16241 (M_2_SQRTPIl): Likewise.
16242 (M_SQRT2l): Likewise.
16243 (M_SQRT1_2l): Likewise.
16245 2012-05-31 David S. Miller <davem@davemloft.net>
16247 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16248 values between float registers.
16249 * sysdeps/sparc/sparc64/memset.S: Likewise.
16250 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16252 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16254 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16255 -D_FORTIFY_SOURCE=1.
16256 (CPPFLAGS-tst-longjmp_chk.c): Define.
16257 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16258 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16259 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16260 CFLAGS-tst-wchar-h.c.
16262 2012-05-31 Marek Polacek <polacek@redhat.com>
16265 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16266 __endmntent_internal): Remove declaration.
16267 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16268 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16269 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16271 2012-05-30 David S. Miller <davem@davemloft.net>
16273 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16274 (___Q_simulate_exceptions): Use real FP ops rather than writing
16276 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16279 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16282 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16283 * sysdeps/x86/bits/xtitypes.h: This.
16285 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16286 * sysdeps/x86/bits/wordsize.h: This.
16288 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16289 * sysdeps/x86/bits/huge_vall.h: This.
16291 * sysdeps/i386/bits/select.h: Removed.
16292 * sysdeps/x86_64/bits/select.h: Renamed to ...
16293 * sysdeps/x86/bits/select.h: This.
16295 * sysdeps/i386/bits/setjmp.h: Removed.
16296 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16297 * sysdeps/x86/bits/setjmp.h: This.
16299 * sysdeps/i386/bits/mathdef.h: Removed.
16300 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16301 * sysdeps/x86/bits/mathdef.h: This.
16303 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16306 * include/sys/socket.h (__connect_internal)
16307 (__libc_sa_len_internal): Remove declaration.
16308 (__connect, __libc_sa_len): Declare hidden_proto.
16309 (SA_LEN): Remove use of INTUSE.
16310 * socket/connect.c: Add libc_hidden_def.
16311 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16312 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16313 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16315 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16316 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16317 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16318 of adding _internal alias.
16320 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16323 * sysdeps/i386/bits/link.h: Removed.
16324 * sysdeps/i386/bits/linkmap.h: Likewise.
16325 * sysdeps/x86_64/bits/link.h: Renamed to ...
16326 * sysdeps/x86/bits/link.h: This.
16327 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16328 * sysdeps/x86/bits/linkmap.h: This.
16330 * sysdeps/i386/bits/endian.h: Removed.
16331 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16332 * sysdeps/x86/bits/endian.h: This.
16334 * sysdeps/i386/bits/byteswap.h: Removed.
16335 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16336 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16337 * sysdeps/x86/bits/byteswap.h: This.
16338 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16339 * sysdeps/x86/bits/byteswap-16.h: This.
16340 * sysdeps/i386/Implies: Add x86.
16341 * sysdeps/x86_64/Implies: Likewise.
16343 2012-05-30 David S. Miller <davem@davemloft.net>
16345 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16346 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16347 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16348 (FP_TRAPPING_EXCEPTIONS): Define.
16349 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16350 (FP_TRAPPING_EXCEPTIONS): Define.
16351 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16352 subnormals only when inexact has been signalled or underflow
16353 exceptions are enabled.
16354 (_FP_PACK_CANONICAL): Likewise.
16356 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16359 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16360 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16362 2012-05-30 Richard Henderson <rth@twiddle.net>
16364 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16365 with #ifndef NOT_IN_libc.
16367 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16368 marked to avoid plt entry.
16370 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16373 * Makeconfig (default-abi): New macro.
16374 (abi-includes): Likewise.
16375 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16376 $(abi-$(default-abi)-lib-soname) for soname if defined.
16377 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16379 * Makefile (installed-stubs): Likewise.
16380 * include/stubs-biarch.h: Removed.
16381 * scripts/lib-names.awk: Only handle one library at a time.
16382 * scripts/soversions.awk: Remove WORDSIZE support.
16383 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16385 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16387 (syscall-list-default-condition): Likewise.
16388 (syscall-list-default-condition): Likewise.
16389 (syscall-list-includes): Likewise.
16390 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16391 syscall-list-* with abi-*. Handle undefined abi-variants.
16392 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16393 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16394 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16395 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16396 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16397 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16399 (syscall-list-32-options): Likewise.
16400 (syscall-list-32-condition): Likewise.
16401 (syscall-list-64-options): Likewise.
16402 (syscall-list-64-condition): Likewise.
16403 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16405 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16408 (abi-64-ld-soname): New macro.
16409 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16410 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16413 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16414 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16416 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16418 * sysdeps/unix/sysv/linux/kernel-features.h
16419 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16420 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16421 include <kernel-features.h>.
16422 [!__NR_ftruncate64]: Remove conditional code.
16423 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16424 [__NR_ftruncate64]: Make code unconditional.
16425 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16426 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16427 include <kernel-features.h>.
16428 [!__NR_ftruncate64]: Remove conditional code.
16429 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16430 [__NR_ftruncate64]: Make code unconditional.
16431 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16433 include <kernel-features.h>.
16434 [!__NR_ftruncate64]: Remove conditional code.
16435 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16436 [__NR_ftruncate64]: Make code unconditional.
16437 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16439 include <kernel-features.h>.
16440 [!__NR_ftruncate64]: Remove conditional code.
16441 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16442 [__NR_ftruncate64]: Make code unconditional.
16443 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16445 * configure.in (libc_cv_fpie): Weaken to a compile test using
16446 LIBC_TRY_CC_OPTION.
16447 * configure: Regenerated.
16449 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16464 2012-05-27 David S. Miller <davem@davemloft.net>
16466 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16468 (__Q_simulate_exceptions): Return void. Change to simulate
16469 exceptions by writing into the %fsr.
16470 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16471 (__Qp_handle_exceptions): Likewise.
16473 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16474 __Qp_handle_exceptions.
16475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16476 __Qp_handle_exceptions.
16477 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16478 as unused and give dummy FP_RND_NEAREST initializer.
16479 (FP_INHIBIT_RESULTS): Define.
16480 (___Q_simulate_exceptions): Update declaration.
16481 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16483 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16484 as unused and give dummy FP_RND_NEAREST initializer.
16485 (__Qp_handle_exceptions): Update declaration.
16486 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16489 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16491 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16492 the temporary FPU control word.
16493 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16494 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16495 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16496 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16497 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16498 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16499 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16500 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16501 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16502 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16503 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16505 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16507 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16510 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16512 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16513 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16514 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16515 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16517 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16518 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16521 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16523 * po/h.po: Update from translation team.
16525 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16527 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16529 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16530 handling of denormals.
16531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16532 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16533 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16534 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16535 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16540 2012-05-26 Marek Polacek <polacek@redhat.com>
16543 * math/libm-test.inc (fma_test): Don't always expect underflow
16546 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16549 * elf/tst-execstack.c: Include stackinfo.h.
16550 (do_test): Adjust test case to ensure that pthread_getattr_np
16551 behaviour remains the same after marking stack executable.
16553 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16555 * sysdeps/unix/sysv/linux/kernel-features.h
16556 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16557 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16559 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16560 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16561 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16563 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16564 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16566 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16568 * configure.in: Define the default includes to being none.
16569 * configure: Regenerated.
16571 2012-05-25 Roland McGrath <roland@hack.frob.com>
16573 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16574 * sysdeps/x86_64/setjmp.S: Likewise.
16575 * sysdeps/i386/bsd-setjmp.S: Likewise.
16576 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16577 * sysdeps/i386/setjmp.S: Likewise.
16578 * sysdeps/i386/__longjmp.S: Likewise.
16579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16580 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16582 * include/stap-probe.h: New file.
16583 * configure.in: Handle --enable-systemtap.
16584 * configure: Regenerated.
16585 * config.h.in (USE_STAP_PROBE): New #undef.
16586 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16587 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16588 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16590 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16594 to 2.4.0 where earlier.
16595 * sysdeps/unix/sysv/linux/configure: Regenerated.
16596 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
16605 [__ASSUME_32BITUIDS]: Make code unconditional.
16606 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16607 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16608 <kernel-features.h>.
16609 [__ASSUME_32BITUIDS]: Make code unconditional.
16610 [!__ASSUME_32BITUIDS]: Remove conditional code.
16611 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16612 <kernel-features.h>.
16613 [__ASSUME_32BITUIDS]: Make code unconditional.
16614 [!__ASSUME_32BITUIDS]: Remove conditional code.
16615 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16616 <kernel-features.h>.
16617 [__ASSUME_32BITUIDS]: Make code unconditional.
16618 [!__ASSUME_32BITUIDS]: Remove conditional code.
16619 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16620 <kernel-features.h>.
16621 [__ASSUME_32BITUIDS]: Make code unconditional.
16622 [!__ASSUME_32BITUIDS]: Remove conditional code.
16623 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16624 <kernel-features.h>.
16625 [__ASSUME_32BITUIDS]: Make code unconditional.
16626 [!__ASSUME_32BITUIDS]: Remove conditional code.
16627 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16628 <kernel-features.h>.
16629 [__ASSUME_32BITUIDS]: Make code unconditional.
16630 [!__ASSUME_32BITUIDS]: Remove conditional code.
16631 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16632 <kernel-features.h>.
16633 [__ASSUME_32BITUIDS]: Make code unconditional.
16634 [!__ASSUME_32BITUIDS]: Remove conditional code.
16635 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16636 <kernel-features.h>.
16637 [__ASSUME_32BITUIDS]: Make code unconditional.
16638 [!__ASSUME_32BITUIDS]: Remove conditional code.
16639 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16640 <kernel-features.h>.
16641 [__ASSUME_32BITUIDS]: Make code unconditional.
16642 [!__ASSUME_32BITUIDS]: Remove conditional code.
16643 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16644 <kernel-features.h>.
16645 [__ASSUME_32BITUIDS]: Make code unconditional.
16646 [!__ASSUME_32BITUIDS]: Remove conditional code.
16647 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16648 <kernel-features.h>.
16649 [__NR_setresgid] (__setresgid): Do not declare.
16650 [__ASSUME_32BITUIDS]: Make code unconditional.
16651 [!__ASSUME_32BITUIDS]: Remove conditional code.
16652 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16653 <kernel-features.h>.
16654 [__NR_setresuid] (__setresuid): Do not declare.
16655 [__ASSUME_32BITUIDS]: Make code unconditional.
16656 [!__ASSUME_32BITUIDS]: Remove conditional code.
16657 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16658 <kernel-features.h>.
16659 [__ASSUME_32BITUIDS]: Make code unconditional.
16660 [!__ASSUME_32BITUIDS]: Remove conditional code.
16661 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16662 <kernel-features.h>.
16663 [__ASSUME_32BITUIDS]: Make code unconditional.
16664 [!__ASSUME_32BITUIDS]: Remove conditional code.
16665 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16666 <kernel-features.h>.
16667 [__ASSUME_32BITUIDS]: Make code unconditional.
16668 [!__ASSUME_32BITUIDS]: Remove conditional code.
16669 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16670 <kernel-features.h>.
16671 [__ASSUME_32BITUIDS]: Make code unconditional.
16672 [!__ASSUME_32BITUIDS]: Remove conditional code.
16673 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16674 <kernel-features.h>.
16675 [__ASSUME_32BITUIDS]: Make code unconditional.
16676 [!__ASSUME_32BITUIDS]: Remove conditional code.
16677 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16678 <kernel-features.h>.
16679 [__ASSUME_32BITUIDS]: Make code unconditional.
16680 [!__ASSUME_32BITUIDS]: Remove conditional code.
16681 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16682 <kernel-features.h>.
16683 [__ASSUME_32BITUIDS]: Make code unconditional.
16684 [!__ASSUME_32BITUIDS]: Remove conditional code.
16685 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16686 <kernel-features.h>.
16687 [__ASSUME_32BITUIDS]: Make code unconditional.
16688 [!__ASSUME_32BITUIDS]: Remove conditional code.
16689 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16690 <kernel-features.h>.
16691 [__ASSUME_32BITUIDS]: Make code unconditional.
16692 [!__ASSUME_32BITUIDS]: Remove conditional code.
16693 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16694 <kernel-features.h>.
16695 [__ASSUME_32BITUIDS]: Make code unconditional.
16696 [!__ASSUME_32BITUIDS]: Remove conditional code.
16697 * sysdeps/unix/sysv/linux/kernel-features.h
16698 (__ASSUME_SETRESUID_SYSCALL): Remove.
16699 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16700 (__ASSUME_32BITUIDS): Likewise.
16701 (__ASSUME_LDT_WORKS): Likewise.
16702 (__ASSUME_O_DIRECTORY): Likewise.
16703 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16704 architecture but not kernel version.
16705 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16706 (__ASSUME_MMAP2_SYSCALL): Likewise.
16707 (__ASSUME_STAT64_SYSCALL): Likewise.
16708 (__ASSUME_IPC64): Likewise.
16709 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16710 <kernel-features.h>.
16711 [__ASSUME_32BITUIDS]: Make code unconditional.
16712 [!__ASSUME_32BITUIDS]: Remove conditional code.
16713 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16714 <kernel-features.h>.
16715 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16716 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16717 132096]: Remove conditional code.
16718 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16719 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16720 <kernel-features.h>.
16721 [__ASSUME_32BITUIDS]: Make code unconditional.
16722 [!__ASSUME_32BITUIDS]: Remove conditional code.
16723 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16724 <kernel-features.h>.
16725 [__ASSUME_32BITUIDS]: Make code unconditional.
16726 [!__ASSUME_32BITUIDS]: Remove conditional code.
16727 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16728 <kernel-features.h>.
16729 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16731 (__setresgid): Do not declare.
16732 [__ASSUME_32BITUIDS]: Make code unconditional.
16733 [!__ASSUME_32BITUIDS]: Remove conditional code.
16734 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16735 <kernel-features.h>.
16736 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16738 (__setresuid): Do not declare.
16739 [__ASSUME_32BITUIDS]: Make code unconditional.
16740 [!__ASSUME_32BITUIDS]: Remove conditional code.
16741 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16742 <kernel-features.h>.
16743 [__ASSUME_32BITUIDS]: Make code unconditional.
16744 [!__ASSUME_32BITUIDS]: Remove conditional code.
16745 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16746 <kernel-features.h>.
16747 [__ASSUME_32BITUIDS]: Make code unconditional.
16748 [!__ASSUME_32BITUIDS]: Remove conditional code.
16750 2012-05-25 Richard Henderson <rth@twiddle.net>
16752 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16753 dl_hwcap to ifunc resolver.
16754 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16756 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16757 dl_hwcap to ifunc resolver.
16758 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16760 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16763 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16764 for |x| <= 2**-26, not 2**-57.
16765 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16768 2012-05-24 Jeff Law <law@redhat.com>
16770 * stdio-common/Makefile (tests): Add bug25.
16771 * stdio-common/bug25.c: New test.
16773 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16776 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16777 multiple of MALLOC_ALIGNMENT in size.
16778 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16780 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16782 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16784 (FILENAME_MAX): Use macro-int-constant.
16785 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16786 (_IOFBF): Use macro-int-constant.
16787 (_IOLBF): Likewise.
16788 (_IONBF): Likewise.
16789 (SEEK_CUR): Likewise.
16790 (SEEK_END): Likewise.
16791 (SEEK_SET): Likewise.
16792 (TMP_MAX): Likewise.
16793 (EOF): Use macro-int-constant. Require < 0.
16794 (NULL): Use macro-constant. Require == 0.
16795 (stdin): Require type to be FILE *.
16796 (stdout): Likewise.
16797 (stderr): Likewise.
16798 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16799 macro-int-constant.
16800 (EXIT_SUCCESS): Likewise.
16801 (NULL): Use macro-constant. Require == 0.
16802 (RAND_MAX): Use macro-int-constant.
16803 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16804 [C99-based standards] (strtof): Require function.
16805 [C99-based standards] (strtold): Likewise.
16806 [C99-based standards] (strtoll): Likewise.
16807 [C99-based standards] (strtoull): Likewise.
16808 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16809 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16810 [ISO || ISO99 || ISO11] (math.h): Likewise.
16811 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16812 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16813 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16815 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16818 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16819 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16820 * intl/dgettext.c (DCGETTEXT): Likewise.
16821 * intl/gettext.c (DCGETTEXT): Likewise.
16822 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16823 * posix/regex_internal.h (gettext): Likewise.
16824 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16825 Remove declaration.
16826 * include/argz.h (__argz_count_internal)
16827 (__argz_stringify_internal): Remove declaration.
16828 (__argz_count, __argz_stringify): Declare hidden proto.
16829 * intl/dcgettext.c: Remove use of INTDEF.
16830 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16831 * string/argz-stringify.c: Likewise.
16832 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16833 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16834 Declare hidden proto.
16835 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16836 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16837 Declare hidden proto.
16838 * include/stdio.h (__asprintf_internal): Don't declare.
16839 (__asprintf): Don't define as macro. Declare hidden proto.
16840 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16841 (__fsetlocking): Declare hidden proto.
16842 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16843 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16845 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16846 (_IO_setlinebuf): Remove use of INTUSE.
16847 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16848 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16849 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16850 Remove declaration.
16851 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16852 (_IO_do_flush): Remove use of INTUSE.
16853 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16854 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16855 (_IO_adjust_column, _IO_least_wmarker)
16856 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16857 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16858 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16859 (_IO_default_doallocate, _IO_wdefault_doallocate)
16860 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16861 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16862 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16863 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16864 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16865 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16866 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16867 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16868 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16869 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16870 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16871 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16872 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16874 (_IO_flush_all_internal, _IO_adjust_column_internal)
16875 (_IO_default_uflow_internal, _IO_default_finish_internal)
16876 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16877 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16878 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16879 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16880 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16881 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16882 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16883 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16884 (_IO_file_close_internal, _IO_file_close_it_internal)
16885 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16886 (_IO_file_init_internal, _IO_file_attach_internal)
16887 (_IO_file_fopen_internal, _IO_file_read_internal)
16888 (_IO_file_sync_internal, _IO_file_seek_internal)
16889 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16890 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16891 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16892 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16893 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16894 (_IO_list_all_internal, _IO_link_in_internal)
16895 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16896 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16897 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16898 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16899 (_IO_do_write_internal, _IO_padn_internal)
16900 (_IO_getline_info_internal, _IO_getline_internal)
16901 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16902 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16903 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16904 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16905 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16906 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16907 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16908 with libc_hidden_ver, remove use of INTUSE.
16909 * libio/genops.c: Likewise.
16910 * libio/freopen.c: Likewise.
16911 * libio/freopen64.c: Likewise.
16912 * libio/iofclose.c: Likewise.
16913 * libio/iofdopen.c: Likewise.
16914 * libio/iofflush.c: Likewise.
16915 * libio/iofflush_u.c: Likewise.
16916 * libio/iofgets.c: Likewise.
16917 * libio/iofgets_u.c: Likewise.
16918 * libio/iofopen.c: Likewise.
16919 * libio/iofopncook.c: Likewise.
16920 * libio/iofread.c: Likewise.
16921 * libio/iofread_u.c: Likewise.
16922 * libio/ioftell.c: Likewise.
16923 * libio/iofwrite.c: Likewise.
16924 * libio/iogetline.c: Likewise.
16925 * libio/iogets.c: Likewise.
16926 * libio/iogetwline.c: Likewise.
16927 * libio/iopadn.c: Likewise.
16928 * libio/iopopen.c: Likewise.
16929 * libio/ioseekoff.c: Likewise.
16930 * libio/ioseekpos.c: Likewise.
16931 * libio/iosetbuffer.c: Likewise.
16932 * libio/iosetvbuf.c: Likewise.
16933 * libio/ioungetc.c: Likewise.
16934 * libio/ioungetwc.c: Likewise.
16935 * libio/iovdprintf.c: Likewise.
16936 * libio/iovsprintf.c: Likewise.
16937 * libio/iovsscanf.c: Likewise.
16938 * libio/memstream.c: Likewise.
16939 * libio/obprintf.c: Likewise.
16940 * libio/oldfileops.c: Likewise.
16941 * libio/oldiofclose.c: Likewise.
16942 * libio/oldiofdopen.c: Likewise.
16943 * libio/oldiofopen.c: Likewise.
16944 * libio/oldiopopen.c: Likewise.
16945 * libio/oldstdfiles.c: Likewise.
16946 * libio/putc.c: Likewise.
16947 * libio/setbuf.c: Likewise.
16948 * libio/setlinebuf.c: Likewise.
16949 * libio/stdfiles.c: Likewise.
16950 * libio/strops.c: Likewise.
16951 * libio/vasprintf.c: Likewise.
16952 * libio/vscanf.c: Likewise.
16953 * libio/vsnprintf.c: Likewise.
16954 * libio/vswprintf.c: Likewise.
16955 * libio/wfiledoalloc.c: Likewise.
16956 * libio/wfileops.c: Likewise.
16957 * libio/wgenops.c: Likewise.
16958 * libio/wmemstream.c: Likewise.
16959 * libio/wstrops.c: Likewise.
16960 * libio/__fpurge.c: Likewise.
16961 * libio/__fsetlocking.c: Likewise.
16962 * assert/assert.c: Likewise.
16963 * debug/fgets_chk.c: Likewise.
16964 * debug/fgets_u_chk.c: Likewise.
16965 * debug/fread_chk.c: Likewise.
16966 * debug/fread_u_chk.c: Likewise.
16967 * debug/gets_chk.c: Likewise.
16968 * debug/obprintf_chk.c: Likewise.
16969 * debug/vasprintf_chk.c: Likewise.
16970 * debug/vdprintf_chk.c: Likewise.
16971 * debug/vsnprintf_chk.c: Likewise.
16972 * debug/vsprintf_chk.c: Likewise.
16973 * malloc/mtrace.c: Likewise.
16974 * misc/error.c: Likewise.
16975 * misc/syslog.c: Likewise.
16976 * stdio-common/asprintf.c: Likewise.
16977 * stdio-common/fxprintf.c: Likewise.
16978 * stdio-common/getw.c: Likewise.
16979 * stdio-common/isoc99_fscanf.c: Likewise.
16980 * stdio-common/isoc99_scanf.c: Likewise.
16981 * stdio-common/isoc99_vfscanf.c: Likewise.
16982 * stdio-common/isoc99_vscanf.c: Likewise.
16983 * stdio-common/isoc99_vsscanf.c: Likewise.
16984 * stdio-common/printf-prs.c: Likewise.
16985 * stdio-common/printf_fp.c: Likewise.
16986 * stdio-common/printf_fphex.c: Likewise.
16987 * stdio-common/printf_size.c: Likewise.
16988 * stdio-common/putw.c: Likewise.
16989 * stdio-common/scanf.c: Likewise.
16990 * stdio-common/sprintf.c: Likewise.
16991 * stdio-common/tmpfile.c: Likewise.
16992 * stdio-common/vfprintf.c: Likewise.
16993 * stdio-common/vfscanf.c: Likewise.
16994 * stdlib/strfmon_l.c: Likewise.
16995 * sunrpc/openchild.c: Likewise.
16996 * sunrpc/xdr_stdio.c: Likewise.
16997 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16998 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17000 2012-05-24 Roland McGrath <roland@hack.frob.com>
17002 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17004 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17005 in the third column, to generate for the shared library an IFUNC
17006 that uses _dl_vdso_vsym.
17007 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17008 * Makeconfig (object-suffixes-noshared): New variable.
17010 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17011 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17012 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17013 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17016 * include/sys/time.h (__gettimeofday): Remove macro.
17017 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17018 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17020 (__gettimeofday): Add libc_hidden_def.
17021 (gettimeofday): Add libc_hidden_weak.
17022 * sysdeps/mach/gettimeofday.c: Likewise.
17023 * sysdeps/posix/gettimeofday.c: Likewise.
17024 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17025 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17027 (__gettimeofday_internal): Remove strong_alias.
17028 (__gettimeofday): Add libc_hidden_def.
17029 (gettimeofday): Add libc_hidden_weak.
17030 * sysdeps/unix/syscalls.list (gettimeofday):
17031 Remove __gettimeofday_internal alias.
17033 2012-05-24 Daniel Jacobowitz <drow@false.org>
17034 H.J. Lu <hongjiu.lu@intel.com>
17037 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17038 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17039 (largebin_index_32_big): New.
17040 (largebin_index): Use it for 16-byte alignment.
17041 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17042 correction with front_misalign.
17044 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17072 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17073 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17075 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17079 * math/libm-test.inc (exp_test): Add test from bug 14036.
17080 (pow_test): Add test from bug 10846.
17082 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17084 (special_function): Do not include flags in test name.
17085 (parse_args): Likewise.
17086 * sysdeps/i386/fpu/libm-test-ulps: Update.
17087 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17088 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17089 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17092 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17094 * math/libm-test.inc ("Philosophy"): Update comment about
17096 (UNDERFLOW_EXCEPTION): New macro.
17097 (UNDERFLOW_EXCEPTION_OK): Likewise.
17098 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17099 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17100 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17101 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17102 (INVALID_EXCEPTION_OK): Update value.
17103 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17104 (OVERFLOW_EXCEPTION_OK): Likewise.
17105 (IGNORE_ZERO_INF_SIGN): Likewise.
17106 (test_exceptions): Handle underflow exceptions.
17107 (acos_test): Update for underflow exception expectations.
17108 (cexp_test): Likewise.
17109 (clog_test): Likewise.
17110 (clog10_test): Likewise.
17111 (csqrt_test): Likewise.
17112 (ctan_test): Likewise.
17113 (ctanh_test): Likewise.
17114 (exp_test): Likewise.
17115 (exp10_test): Likewise.
17116 (exp2_test): Likewise.
17117 (expm1_test): Likewise.
17118 (fma_test): Likewise.
17119 (j0_test): Likewise.
17120 (jn_test): Likewise.
17121 (nexttoward_test): Likewise.
17122 (pow_test): Likewise.
17123 (scalbn_test): Likewise.
17124 (scalbln_test): Likewise.
17125 (tan_test): Likewise.
17126 (y1_test): Likewise.
17127 * sysdeps/i386/fpu/libm-test-ulps: Update.
17128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17130 2012-05-23 David S. Miller <davem@davemloft.net>
17132 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17133 (__libc_sigaction): Remove unused local variables.
17135 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17137 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17139 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17141 mktime: avoid signed integer overflow
17142 * time/mktime.c (__mktime_internal): Do not mishandle the case
17143 where diff == INT_MIN.
17145 mktime: simplify computation of average
17146 * time/mktime.c (ranged_convert): Use new time_t_avg function
17147 instead of rolling our own (probably-slower) code.
17149 mktime: do not assume signed right shift propagates sign bit
17150 * time/mktime.c (isdst_differ): New static function.
17151 (__mktime_internal): No need to normalize tm_isdst now.
17152 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17155 mktime: merge another wrapv change from gnulib
17156 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17157 from some compilers.
17159 mktime: remove incorrect attempt at unusual arithmetics
17160 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17161 The code didn't really work on such machines anyway.
17162 (TYPE_MINIMUM): Assume two's complement.
17163 (twos_complement_arithmetic): Verify that long_int and time_t
17164 are two's complement (or unsigned, in the latter case).
17166 mktime: check signed shifts on long_int and time_t, too
17167 * time/mktime.c (SHR): Check that shifts work as desired
17168 on the types long_int and time_t too, as SHR is used on
17171 mktime: do not assume 'long' is wide enough
17172 * time/mktime.c (verify): Move decl up.
17173 (long_int): New type.
17174 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17175 to remove assumption in the code that 'long' is wide enough to
17176 store year values. This assumption is not true on x32 and on
17177 some non-glibc platforms.
17179 mktime: merge wrapv change from gnulib
17180 * time/mktime.c (WRAPV): New macro.
17181 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17182 (guess_time_tm, __mktime_internal): Do not assume that signed
17183 integer overflow wraps around; modern compilers generate code
17184 where this assumption is no longer valid.
17186 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17188 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17189 Replace "jmp L(pseudo_end)" with "ret".
17190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17193 2012-05-23 Andreas Jaeger <aj@suse.de>
17195 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17196 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17198 2012-05-23 Andreas Jaeger <aj@suse.de>
17199 Maximilian Attems <max@stro.at>
17201 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17204 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17207 code so that pseudo_end is just ret and the stack pointer is
17208 correct also for static library in error case.
17210 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17212 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17213 move to syscalls.list.
17214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17219 * manual/install.texi (Running make install): Do not mention Linux
17220 kernel version for which pt_chown is not needed.
17221 (Linux): Do not mention problems with nscd with 2.0 kernels.
17222 * INSTALL: Regenerated.
17224 2012-05-23 Andreas Jaeger <aj@suse.de>
17226 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17227 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17229 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17230 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17231 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17232 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17233 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17234 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17236 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17237 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17238 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17239 * sysdeps/unix/sysv/linux/bits/in.h
17240 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17242 2012-05-22 Roland McGrath <roland@hack.frob.com>
17244 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17245 (PREPARE_VERSION): Just use assert instead, it will be elided
17246 under [NDEBUG] anyway.
17248 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17250 * sysdeps/unix/sysv/linux/Makefile: Include
17251 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17252 (sysdep_routines): Remove sysctl.
17253 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17254 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17255 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17256 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17257 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17259 2012-05-22 Andreas Jaeger <aj@suse.de>
17261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17262 that pseudo_end is just ret and the stack pointer is correct also
17263 for static library in error case.
17265 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17268 * nss/nsswitch.c (defconfig_entries): New variable.
17269 (__nss_database_lookup): Don't leak defconfig entries.
17270 (nss_parse_service_list): Don't leak on error paths.
17271 (free_database_entries): New function.
17272 (free_defconfig): New function.
17273 (free_mem): Move common code to free_database_entries.
17275 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17277 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17279 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17281 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17282 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17285 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17286 (INTERNAL_SYSCALL_TYPES): Likewise.
17287 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17288 (LOAD_REGS_TYPES_[1-6]): Likewise.
17289 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17290 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17292 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17294 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17295 copysignl for GLIBC_2_0.
17296 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17297 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17299 logbl for GLIBC_2_0.
17300 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17301 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17303 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17306 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17308 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17311 * time/mktime.c: Update copyright years.
17313 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17315 mktime: merge comment-quoting-style change from gnulib
17316 * time/mktime.c: Quote 'like this' in comments.
17317 The GNU coding standards suggest that we no longer quote `like this',
17318 as "`" and "'" are typically rendered asymmetrically nowadays.
17319 The typical gnulib style is to quote 'like this' when quoting
17320 code, and "like this" when quoting English.
17322 * time/mktime.c (compile-command): Add "-I.".
17324 mktime: merge mktime-internal.h change from gnulib
17325 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17327 mktime: merge time_r change from gnulib
17328 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17330 mktime: merge DEBUG change from gnulib
17331 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17332 case system <time.h> has a #define.
17334 mktime: merge <sys/types.h> change from gnulib
17335 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17336 since <time.t> is now guaranteed to define time_t.
17338 mktime: merge HAVE_CONFIG_H change from gnulib
17339 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17341 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17346 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17348 (struct rusage): Use anonymous union to pad each field to
17351 2012-05-21 David S. Miller <davem@davemloft.net>
17353 * Makefules (o-iterator): Remove .s cases.
17354 (compile-command.s): Delete.
17355 (COMPILE.s): Delete.
17356 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17358 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17360 * configure.in (libc_cv_predef_stack_protector): Only consider
17361 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17362 * configure: Regenerated.
17364 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17367 New macro. Use R*LP on int and pointer.
17368 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17369 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17370 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17371 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17373 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17374 [__WORDSIZE_TIME64_COMPAT32] instead of
17375 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17376 (struct utmp): Likewise.
17377 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17378 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17380 (__WORDSIZE_TIME64_COMPAT32): This.
17381 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17382 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17383 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17384 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17385 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17386 (__WORDSIZE_TIME64_COMPAT32): New macro.
17388 2012-05-21 Andreas Jaeger <aj@suse.de>
17390 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17391 only if [SHARED]. Add prototype for __wcschr_ia32.
17393 2012-05-21 Roland McGrath <roland@hack.frob.com>
17395 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17396 of %rbp unmolested in the jmp_buf while mangling the low bits.
17397 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17398 unmolested high bits of %rbp while demangling the low bits.
17399 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17401 2012-05-21 Andreas Jaeger <aj@suse.de>
17403 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17404 * sunrpc/svc_simple.c: Use it for registerrpc.
17405 * sunrpc/xcrypt.c: Use it for passwd2des.
17407 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17409 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17411 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17412 Don't define if [__SYSCALL_WORDSIZE != 32].
17413 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17416 2012-05-21 Bruno Haible <bruno@clisp.org>
17417 Andreas Jaeger <aj@suse.de>
17419 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17420 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17421 inptr and inend for must_buffer_ch.
17422 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17423 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17424 * stdio-common/Makefile (tests): Remove bug15.
17425 (bug15-ENV): Remove macro.
17426 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17429 2012-05-19 Andreas Jaeger <aj@suse.de>
17430 Roland McGrath <roland@hack.frob.com>
17432 * manual/contrib.texi: Completely rewritten. It contains now an
17433 alphabetical list of contributors and their contributions.
17435 2012-05-21 Richard Henderson <rth@twiddle.net>
17437 * misc/getauxval.c (__getauxval): Use unsigned long int.
17438 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17439 (getauxval): Use unsigned long int.
17441 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17443 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17445 2012-05-21 Roland McGrath <roland@hack.frob.com>
17447 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17448 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17449 __alignof__ (long double).
17451 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17455 2012-05-20 Richard Henderson <rth@twiddle.net>
17457 * misc/getauxval.c: New file.
17458 * misc/sys/auxv.h: New file.
17459 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17460 (routines): Add getauxval.
17461 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17462 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17463 * elf/dl-sysdep.c (_dl_auxv): Remove.
17464 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17465 * elf/dl-support.c (_dl_auxv): New variable.
17466 (_dl_aux_init): Initialize it.
17467 * manual/startup.texi (Auxiliary Vector): New node.
17468 * sysdeps/generic/bits/hwcap.h: New file.
17469 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17470 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17471 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17472 * sysdeps/sparc/sysdep.h: ... here. Include it.
17473 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17474 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17480 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17486 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17490 2012-05-19 David S. Miller <davem@davemloft.net>
17492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17494 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17497 * math/s_ccosh.c: Include <float.h>
17498 (__ccosh): Avoid internal overflow calculating sinh and cosh
17499 values before multiplying by sin and cos values.
17500 * math/s_ccoshf.c: Likewise.
17501 * math/s_ccoshl.c: Likewise.
17502 * math/s_csin.c: Likewise.
17503 * math/s_csinf.c: Likewise.
17504 * math/s_csinl.c: Likewise.
17505 * math/s_csinh.c: Likewise.
17506 * math/s_csinhf.c: Likewise.
17507 * math/s_csinhl.c: Likewise.
17508 * math/libm-test.inc (ccos_test): Add more tests.
17509 (ccosh_test): Likewise.
17510 (csin_test): Likewise.
17511 (csinh_test): Likewise.
17512 * sysdeps/i386/fpu/libm-test-ulps: Update.
17513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17515 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17517 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17518 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17520 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17522 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17524 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17525 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17526 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17527 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17528 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17529 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17530 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17531 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17532 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17533 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17534 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17535 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17536 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17537 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17538 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17539 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17540 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17541 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17542 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17543 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17544 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17545 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17546 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17547 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17548 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17549 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17550 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17551 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17552 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17553 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17554 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17556 2012-05-18 Andreas Jaeger <aj@suse.de>
17558 * csu/.gitignore: Delete.
17560 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17562 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17563 (timex): Use __syscall_slong_t.
17565 2012-05-18 Andreas Jaeger <aj@suse.de>
17566 Carlos O'Donell <carlos_odonell@mentor.com>
17568 * manual/install.texi (Configuring and compiling): Update
17569 description about files modified in the source directory.
17570 * INSTALL: Regenerated.
17572 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17574 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17575 value. Use "or" to set return value to -1.
17576 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17577 negate return value.
17579 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17581 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17582 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17583 failure if the compiler has Graphite support disabled.
17584 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17586 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17587 CFLAGS-memmove.c): Likewise.
17588 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17591 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17593 * sysdeps/x86_64/x32/_itoa.h: New file.
17595 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17596 getdents system call only if kernel and user dirents have the
17597 same d_ino and d_off.
17599 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17600 LLONG_MAX != LONG_MAX.
17601 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17602 (_fitoa_word): Likewise.
17604 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17606 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17607 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17608 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17610 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17611 include <bits/wordsize.h>. Check __x86_64__ instead of
17613 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17614 if __x86_64__ is defined. Use anonymous union on fpstate.
17616 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17619 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17621 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17622 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17623 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17624 Refer to _rtld_local_ro instead of _rtld_global_ro.
17625 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17627 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17629 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17631 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17632 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17633 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17635 * sysdeps/powerpc/powerpc32/dl-machine.c
17636 (__elf_machine_runtime_setup) [PROF]: Don't reference
17639 2012-05-18 Andreas Jaeger <aj@suse.de>
17641 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17642 function only available for GCCs before 3.4 since GCC 3.4
17643 introduced a builtin.
17645 (llrintf): Likewise.
17646 (llrint): Likewise.
17653 (nearbyint): Likewise.
17654 (nearbyintf): Likewise.
17658 (floorf): Likewise.
17660 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17662 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17663 on both fields and cast pointer to __syscall_ulong_t.
17665 * bits/types.h (__fsword_t): New type.
17666 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17667 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17668 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17669 (__FSWORD_T_TYPE): Likewise.
17670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17671 (__FSWORD_T_TYPE): Likewise.
17672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17673 (__FSWORD_T_TYPE): Likewise.
17674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17675 (__FSWORD_T_TYPE): Likewise.
17676 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17677 __SWORD_TYPE with __fsword_t.
17678 (statfs64): Likewise.
17680 2012-05-17 David S. Miller <davem@davemloft.net>
17682 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17684 2012-05-17 Andreas Jaeger <aj@suse.de>
17686 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17689 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17691 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17693 2012-05-17 Andreas Jaeger <aj@suse.de>
17695 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17698 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17700 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17702 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17704 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17705 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17707 2012-05-17 Andreas Jaeger <aj@suse.de>
17708 Carlos O'Donell <carlos_odonell@mentor.com>
17711 * sysdeps/x86_64/multiarch/init-arch.h
17712 (bit_YMM_Usable): Rename to...
17713 (bit_AVX_Usable): ... this.
17714 (bit_FMA4_Usable): New macro.
17715 (bit_XMM_state): New macro.
17716 (bit_YMM_state): New macro.
17717 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17718 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17719 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17720 (CPUID_OSXSAVE): New macro.
17721 (CPUID_AVX): New macro.
17722 (CPUID_FMA4): New macro.
17723 (index_YMM_Usable): Rename to...
17724 (index_AVX_Usable): ... this.
17725 (HAS_AVX): Use HAS_ARCH_FEATURE.
17726 (HAS_FMA4): Likewise.
17727 (HAS_YMM_USABLE): Remove.
17728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17729 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17731 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17732 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17733 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17734 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17735 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17737 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17739 * math/libm-test.c: Support platforms without multiple rounding modes.
17740 * math/bug-nextafter.c: Support platforms without FP exceptions.
17741 * math/bug-nexttoward.c: Likewise.
17742 * math/test-fenv.c: Likewise.
17743 * math/test-misc.c: Likewise.
17744 * stdlib/bug-getcontext.c: Likewise.
17746 2012-05-17 Andreas Jaeger <aj@suse.de>
17748 * manual/examples/search.c (critter_cmp): Change signature to
17750 * manual/string.texi (Collation Functions): Likewise.
17752 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17754 * bits/types.h: Fold copyright years.
17755 * bits/typesizes.h: Likewise.
17756 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17760 * time/time.h: Likewise.
17762 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17765 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17766 in instead of returning them. Return void.
17767 (__libc_mallinfo): Accumulate over all arenas.
17768 (__malloc_stats): Adjust for change in int_mallinfo interface.
17770 2012-05-16 Roland McGrath <roland@hack.frob.com>
17773 * configure.in (NM): Add AC_CHECK_TOOL for it.
17774 (libc_extra_cflags): New substituted variable.
17775 Check for -fstack-protector being used implicitly.
17776 * configure: Regenerated.
17777 * config.make.in (config-extra-cflags): New variable,
17778 gets @libc_extra_cflags@.
17779 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17782 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17783 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17784 * configure: Regenerated.
17785 * config.make.in (CPPUNDEFS): New substituted variable.
17786 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17787 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17788 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17790 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17792 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17793 (mq_attr): Use __syscall_slong_t.
17795 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17797 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17798 Check __x86_64__ instead of __WORDSIZE.
17799 (_STAT_VER_LINUX): Likewise.
17800 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17801 __syscall_ulong_t and __syscall_slong_t.
17802 (stat64): Likewise.
17804 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17806 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17808 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17810 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17812 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17814 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17817 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17818 include <bits/wordsize.h>. Check __x86_64__ instead of
17820 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17822 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17824 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17825 include <bits/wordsize.h>. Check __x86_64__ instead of
17827 (user_regs_struct): Use "__extension__ unsigned long long"
17828 instead of "unsigned long" if __x86_64__ is defined.
17829 (user): Likewise. Pad after pointer field if __ILP32__ is
17832 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17834 * configure.in (makeinfo): Require version 4.5 or later. Allow
17836 * configure: Regenerated.
17837 * manual/install.texi (texinfo): Increase version requirement to
17839 * INSTALL: Regenerated.
17841 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17843 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17845 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17847 * sysdeps/x86_64/x32/ffs.c: New file.
17849 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17851 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17852 defined. Use __syscall_ulong_t.
17853 (shminfo): Use __syscall_ulong_t.
17854 (shm_info): Likewise.
17856 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17859 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17861 (msgqnum_t): Use __syscall_ulong_t.
17862 (msglen_t): Likewise.
17863 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17866 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17867 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17869 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17871 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17872 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17874 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17877 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17878 include <bits/wordsize.h>. Check __x86_64__ instead of
17881 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17882 "unsigned long long int" if __x86_64__ is defined.
17883 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17885 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17886 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17887 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17889 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17891 (GET_PC): Cast to uintptr_t first.
17892 (GET_FRAME): Likewise.
17893 (GET_STACK): Likewise.
17895 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17896 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17897 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17898 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17899 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17900 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17901 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17902 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17903 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17904 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17906 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17908 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17909 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17910 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17912 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17913 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17914 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17916 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17917 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17918 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17920 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17921 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17922 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17923 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17925 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17927 * Makerules (+depfiles): Also collect depfiles from .oS in
17929 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17930 .oS, $(libnldbl-routines)).
17932 * Makerules (native-compile-mkdep-flags): Define.
17933 * sunrpc/Makefile (extra-objs): Add $(addprefix
17934 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17935 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17936 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17937 calling $(make-target-directory).
17939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17941 * bits/types.h (__snseconds_t): Removed.
17942 * time/time.h (struct timespec): Replace __snseconds_t with
17944 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17945 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17947 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17948 (__SNSECONDS_T_TYPE): Likewise.
17949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17950 (__SNSECONDS_T_TYPE): Likewise.
17951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17952 (__SNSECONDS_T_TYPE): Likewise.
17954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17956 * sysdeps/mach/hurd/bits/typesizes.h
17957 (__SYSCALL_SLONG_TYPE): New macro.
17958 (__SYSCALL_ULONG_TYPE): Likewise.
17960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17962 * bits/types.h (__syscall_slong_t): New type.
17963 (__syscall_ulong_t): Likewise.
17965 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17966 (__SYSCALL_ULONG_TYPE): Likewise.
17967 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17968 (__SYSCALL_SLONG_TYPE): Likewise.
17969 (__SYSCALL_ULONG_TYPE): Likewise.
17970 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17971 (__SYSCALL_SLONG_TYPE): Likewise.
17972 (__SYSCALL_ULONG_TYPE): Likewise.
17973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17974 (__SYSCALL_SLONG_TYPE): Likewise.
17975 (__SYSCALL_ULONG_TYPE): Likewise.
17977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17979 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17980 Add sigaltstack-offsets.sym.
17981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17982 <sigaltstack-offsets.h>.
17983 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17984 longjmp_msg pointer.
17985 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17986 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17988 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17990 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17992 * elf/stackguard-macros.h: Remove file.
17993 * sysdeps/generic/stackguard-macros.h: New file.
17994 * sysdeps/i386/stackguard-macros.h: Likewise.
17995 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17996 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17997 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17998 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17999 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18000 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18001 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18002 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18003 <elf/stackguard-macros.h>.
18006 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18007 __aligned__ in attribute.
18008 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18009 (gregset_t): Likewise.
18011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18013 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18014 * sysdeps/x86_64/64/Implies-after: Here. New file.
18015 * sysdeps/x86_64/x32/Implies-after: New file.
18017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18019 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18020 and access return value for _dl_profile_fixup. Use R10_LP to
18023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18025 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18029 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18030 * sysdeps/x86_64/x32/sysdep.h: New file.
18032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18034 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18035 * sysdeps/x86_64/setjmp.S: Likewise.
18037 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18039 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18040 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18041 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18043 remove unused global constant.
18045 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18047 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18048 include of <not-cancel.h>.
18050 2012-05-15 Roland McGrath <roland@hack.frob.com>
18052 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18054 2012-05-15 Jeff Law <law@redhat.com>
18055 Andreas Jaeger <aj@suse.de>
18058 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18060 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18061 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18062 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18063 code changing __hst_map_handle.map.
18065 2012-05-15 Roland McGrath <roland@hack.frob.com>
18067 * configure.in (sysnames): Look for Implies-before and Implies-after
18069 * configure: Regenerated.
18071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18073 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18074 8-byte data alignment with LP_SIZE alignment.
18076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18078 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18083 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18087 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18088 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18095 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18096 (stackinfo_sub_sp): Likewise.
18098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18115 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18119 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18120 into R11_LP and load __x86_64_shared_cache_size_half into
18123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18125 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18128 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18130 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18136 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18137 powerpc32/power7/fpu/s_logb.c via #include.
18138 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18139 powerpc32/power7/fpu/s_logbf.c via #include.
18140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18141 powerpc32/power7/fpu/s_logbl.c via #include.
18143 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18145 * README.libm: Remove file.
18147 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18149 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18150 count for x32. Use R*_LP and omit operand-size suffix.
18152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18154 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18155 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18156 * sysdeps/x86_64/x32/shlib-versions: New file.
18158 2012-05-14 Roland McGrath <roland@hack.frob.com>
18160 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18161 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18162 Use _dl_fatal_printf instead.
18164 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18166 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18167 set if not set by the user. Do not allow for being unset.
18168 * sysdeps/unix/sysv/linux/configure: Regenerated.
18170 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18172 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18173 the `q' suffix from lea and replace .quad with ASM_ADDR.
18175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18178 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18180 (PTR_DEMANGLE): Likewise.
18182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18184 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18186 (ASM_ADDR): Likewise.
18187 (RAX_LP): Likewise.
18188 (RBP_LP): Likewise.
18189 (RBX_LP): Likewise.
18190 (RCX_LP): Likewise.
18191 (RDI_LP): Likewise.
18192 (RSI_LP): Likewise.
18193 (RSP_LP): Likewise.
18196 (R10_LP): Likewise.
18197 (R10_LP): Likewise.
18198 (R11_LP): Likewise.
18199 (R12_LP): Likewise.
18200 (R13_LP): Likewise.
18201 (R14_LP): Likewise.
18202 (R15_LP): Likewise.
18204 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18206 * sysdeps/x86_64/x32/dl-machine.h: New file.
18208 2012-05-14 Andreas Jaeger <aj@suse.de>
18210 * manual/Makefile (subdir): Remove export of subdir.
18211 (all): Remove target.
18212 (.PHONY): Remove all from list.
18213 (mkinstalldirs): Remove.
18214 (.PHONY): Remove installdirs from list.
18215 ($(inst_infodir)/libc.info): Use make-target-directory.
18216 (installdirs): Remove.
18217 (subdir_%): Remove.
18218 (glibc-targets): Remove.
18221 ($(objpfx)stubs ../po/manual.pot): Remove.
18222 ($(objpfx)stamp%): Remove.
18223 (make-target-directory): Remove.
18224 (subdir_install): Remove.
18225 (routines): Remove.
18232 * manual/.gitignore: Remove, it's not needed anymore.
18233 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18235 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18237 (texis): Renamed to $(objpfx)texis.
18238 (texis-path): New, contains path to generated files.
18239 (chapters.%): Use texis-path for complete path, add extra argument
18241 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18242 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18243 (summary,texi, stamp-summary): Use complete path of
18244 files. Generate files in build dir.
18245 (dir-add.texi): Build in build dir.
18246 (libm-err.texi,stamp-libm-err): Likewise.
18247 (version.texi, stamp-version): Likewise.
18248 (.%c.texi): Likewise.
18249 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18250 (mostlyclean): Remove target.
18251 (realclean): Remove target.
18252 (generated): Add new variable with contents from mostlyclean and
18253 realclean, remove entries duplicated in common-mostlyclean, add
18254 stamp-libm-err and stamp-version.
18255 (generated-dirs): Add libc directory.
18256 ($(inst_infodir)/libc.info): Install files from build dir.
18258 * manual/install.texi (Configuring and compiling): Adjust since
18259 the info files are not part of the tar ball anymore.
18261 2012-05-14 Andreas Jaeger <aj@suse.de>
18263 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18266 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18270 to 2.2.0 where earlier.
18271 * sysdeps/unix/sysv/linux/configure: Regenerated.
18272 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18273 Remove conditional code.
18274 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18275 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18276 Remove conditional code.
18277 [!__NR_lchown]: Likewise.
18278 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18279 [__NR_lchown]: Likewise.
18280 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18281 comment referencing __ASSUME_LCHOWN_SYSCALL.
18282 * sysdeps/unix/sysv/linux/i386/sigaction.c
18283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18285 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18286 Remove conditional code.
18287 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18288 (__protocol_available): Remove #if 0 code.
18289 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18291 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18292 * sysdeps/unix/sysv/linux/kernel-features.h
18293 (__ASSUME_GETCWD_SYSCALL): Don't define.
18294 (__ASSUME_REALTIME_SIGNALS): Likewise.
18295 (__ASSUME_PREAD_SYSCALL): Likewise.
18296 (__ASSUME_PWRITE_SYSCALL): Likewise.
18297 (__ASSUME_POLL_SYSCALL): Likewise.
18298 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18299 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18301 (__ASSUME_SIOCGIFNAME): Don't define.
18302 (__ASSUME_MSG_NOSIGNAL): Likewise.
18303 (__ASSUME_SENDFILE): Define unconditionally.
18304 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18305 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18307 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18308 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18309 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18310 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18311 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18312 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18313 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18318 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18324 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18330 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18338 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18339 Remove conditional code.
18340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18341 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18342 Remove conditional code.
18343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18344 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18345 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18346 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18347 Remove conditional code.
18348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18349 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18350 Remove conditional code.
18351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18352 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18353 Remove conditional code.
18354 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18355 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18356 Remove conditional code.
18357 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18358 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18359 Remove conditional code.
18360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18361 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18362 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18364 * sysdeps/unix/sysv/linux/sigaction.c
18365 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18366 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18367 * sysdeps/unix/sysv/linux/sigpending.c
18368 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18369 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18370 * sysdeps/unix/sysv/linux/sigprocmask.c
18371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18373 * sysdeps/unix/sysv/linux/sigsuspend.c
18374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18376 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18377 (__libc_missing_rt_sigs): Remove.
18378 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18379 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18380 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18381 Remove conditional code.
18382 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18383 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18385 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18386 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18387 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18388 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18390 2012-05-14 Andreas Jaeger <aj@suse.de>
18392 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18393 it's not used in glibc.
18394 (__coshm1): Likewise.
18395 (__acosh1p): Likewise.
18398 * manual/string.texi (Copying and Concatenation): Add missing
18399 variable in concat example.
18400 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18402 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18406 __builtin_clzl with __builtin_clzll.
18408 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18411 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18414 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18416 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18417 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18418 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18419 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18421 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18423 * NEWS: Update ia64 info.
18425 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18427 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18430 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18432 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18433 * sysdeps/unix/syscalls.list (dup3): Likewise.
18434 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18435 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18437 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18439 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18440 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18442 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18444 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18446 (TLS_IE): Use mov/add instead of movq/addq to load thread
18448 (TLS_GD_PREFIX): New.
18451 2012-05-11 David S. Miller <davem@davemloft.net>
18453 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18454 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18455 (_FPU_SETCW): Likewise.
18457 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18459 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18460 is 32-byte aligned.
18462 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18465 * iconvdata/gb18030.c: Update tables.
18466 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18467 characters specially.
18468 (BODY for TO_LOOP): Add encoding of missing ranges.
18470 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18473 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18474 * sysdeps/mach/hurd/dup3.c: Likewise.
18475 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18476 * sysdeps/powerpc/memmove.c:: Likewise.
18478 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18481 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18483 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18485 * elf/elf.h (R_X86_64_RELATIVE64): New.
18486 (R_X86_64_NUM): Updated.
18487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18488 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18489 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18490 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18491 tst-quad1pie tst-quad2pie
18492 (modules-names): Add tst-quadmod1 tst-quadmod2.
18493 ($(objpfx)tst-quad1): New dependency.
18494 ($(objpfx)tst-quad2): Likewise.
18495 ($(objpfx)tst-quad1pie): Likewise.
18496 ($(objpfx)tst-quad2pie): Likewise.
18497 * sysdeps/x86_64/tst-quad1.c: New file.
18498 * sysdeps/x86_64/tst-quad1pie.c: New file.
18499 * sysdeps/x86_64/tst-quad2.c: Likewise.
18500 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18501 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18502 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18503 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18504 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18508 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18509 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18510 * streams/stropts.h (t_scalar_t): Define type.
18512 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18513 (_PATH_PRESERVE): Set to "/var/lib".
18514 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18516 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18519 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18520 if __dir_mkfile succeeded.
18522 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18523 checking for _hurd_dtablesize. Unlock it right after having
18524 finished _hurd_dtable allocation.
18526 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18528 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18529 * sysdeps/mach/hurd/configure: Regenerated.
18530 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18531 special-casing to...
18532 * sysdeps/gnu/configure.in: ... this new file.
18533 * sysdeps/unix/sysv/linux/configure: Regenerated.
18534 * sysdeps/gnu/configure: New generated file.
18536 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18537 for Linux: use nsec instead of usec, as well as:
18538 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18539 members of type struct timespec.
18540 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18542 (struct stat64): Likewise.
18543 (_STATBUF_ST_NSEC): New macro.
18544 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18546 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18547 __strtoul_internal rather than strtoul.
18549 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18551 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18556 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18557 which preserves existing values.
18558 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18560 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18562 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18563 TIMEOUT values. Return EINVAL for NFDS values either negative or
18564 greater than FD_SETSIZE.
18566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18568 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18569 allocated, call __vm_protect to finish enabling the existing space, and
18570 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18571 allocate the remainder.
18573 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18575 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18576 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18580 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18581 sysdeps/mach/hurd/readlink.c.
18583 * posix/tst-sysconf.c (posix_options): Only use
18584 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18585 _POSIX_SYNCHRONIZED_IO when they are defined
18586 * sysdeps/mach/hurd/bits/posix_opt.h:
18587 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18588 (_XOPEN_REALTIME): Undefine macro.
18589 (_XOPEN_REALTIME_THREADS): Undefine macro.
18590 (_XOPEN_SHM): Undefine macro.
18591 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18593 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18595 (_POSIX_ASYNC_IO): Undefine macro.
18596 (_POSIX_PRIORITIZED_IO): Undefine macro.
18597 (_POSIX_SPIN_LOCKS): Define macro to -1.
18599 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18600 SA_NODEFER, SA_RESETHAND.
18601 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18602 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18605 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18607 * elf/Makefile (pldd-modules): Define unconditionally.
18609 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18611 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18615 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18616 Return ENOENT when name is empty.
18617 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18621 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18623 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18625 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18627 Fix mlock in all cases except non-readable pages.
18628 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18629 instead of VM_PROT_ALL as parameter to __vm_wire function.
18631 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18632 (__mkdir): When path is `/', just fail with EEXIST.
18633 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18637 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18638 <sys/uio.h> (for writev).
18639 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18640 and <sys/param.h> (for MIN).
18642 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18644 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18645 REQUESTED_TIME. Properly set the remaining time and return EINTR
18648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18650 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18651 Depend on against $(link-rpcuserlibs).
18653 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18655 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18656 (__libc_stack_end): Do not use attribute_relro.
18657 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18658 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18659 to libthread-provided value.
18660 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18663 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18666 * bits/libc-lock.h (__libc_once_get): New macro.
18667 * sysdeps/mach/bits/libc-lock.h: Likewise.
18668 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18670 instead of using implementation details.
18672 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18673 * libio/freopen.c: Likewise.
18674 * libio/freopen64.c: Likewise.
18675 * misc/syslog.c: Likewise.
18676 * nscd/connections.c: Likewise.
18677 * nscd/netgroupcache.c: Likewise.
18678 * sysdeps/posix/getcwd.c: Likewise.
18680 2012-05-10 Roland McGrath <roland@hack.frob.com>
18682 * math/w_ilogbf.c: Add #include <limits.h>.
18684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18686 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18687 path instead of returning without unlocking.
18689 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18690 immediate-write ioctls.
18691 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18695 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18696 __builtin_frame_address instead of making assumptions about the
18697 location of the return address relative to DATA. Force early load of
18698 the return address.
18699 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18700 __builtin_frame_address.
18703 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18704 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18705 implement dup3 and do some further code clean-ups.
18706 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18707 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18711 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18713 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18714 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18715 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18716 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18717 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18720 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18721 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18722 when handler == SIG_ERR, not when handler != SIG_ERR.
18724 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18726 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18727 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18730 accept4 for GNU Hurd.
18731 * include/sys/socket.h (__libc_accept4): New prototype.
18732 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18733 to implement __libc_accept4.
18734 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18736 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18738 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18739 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18740 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18741 signal-defines.sym.
18743 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18745 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18747 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18749 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18750 assertion on O_CLOEXEC flag.
18751 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18752 * hurd/intern-fd.c: Likewise.
18753 * hurd/port2fd.c: Likewise.
18755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18758 * bits/in.h (IPV6_PKTINFO): Define new macro.
18759 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18761 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18766 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18768 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18771 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18772 * math/libm-test.inc (logb_test) : Additional logb tests.
18774 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18775 Andreas Jaeger <aj@suse.de>
18777 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18778 * configure: Regenerated.
18779 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18780 * config.make.in (link-obsolete-rpc): New substituted variable.
18781 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18782 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18783 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18784 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18785 so that libc.a contains the symbols.
18786 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18787 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18788 * sunrpc/auth_none.c: Likewise.
18789 * sunrpc/auth_unix.c: Likewise.
18790 * sunrpc/authdes_prot.c: Likewise.
18791 * sunrpc/authuxprot.c: Likewise.
18792 * sunrpc/clnt_gen.c: Likewise.
18793 * sunrpc/clnt_perr.c: Likewise.
18794 * sunrpc/clnt_raw.c: Likewise.
18795 * sunrpc/clnt_simp.c: Likewise.
18796 * sunrpc/clnt_tcp.c: Likewise.
18797 * sunrpc/clnt_udp.c: Likewise.
18798 * sunrpc/clnt_unix.c: Likewise.
18799 * sunrpc/des_crypt.c: Likewise.
18800 * sunrpc/des_soft.c: Likewise.
18801 * sunrpc/get_myaddr.c: Likewise.
18802 * sunrpc/key_call.c: Likewise.
18803 * sunrpc/key_prot.c: Likewise.
18804 * sunrpc/netname.c: Likewise.
18805 * sunrpc/pm_getmaps.c: Likewise.
18806 * sunrpc/pm_getport.c: Likewise.
18807 * sunrpc/pmap_clnt.c: Likewise.
18808 * sunrpc/pmap_prot.c: Likewise.
18809 * sunrpc/pmap_prot2.c: Likewise.
18810 * sunrpc/pmap_rmt.c: Likewise.
18811 * sunrpc/publickey.c: Likewise.
18812 * sunrpc/rpc_cmsg.c: Likewise.
18813 * sunrpc/rpc_common.c: Likewise.
18814 * sunrpc/rpc_dtable.c: Likewise.
18815 * sunrpc/rpc_prot.c: Likewise.
18816 * sunrpc/rpc_thread.c: Likewise.
18817 * sunrpc/rtime.c: Likewise.
18818 * sunrpc/svc.c: Likewise.
18819 * sunrpc/svc_auth.c: Likewise.
18820 * sunrpc/svc_raw.c: Likewise.
18821 * sunrpc/svc_run.c: Likewise.
18822 * sunrpc/svc_tcp.c: Likewise.
18823 * sunrpc/svc_udp.c: Likewise.
18824 * sunrpc/svc_unix.c: Likewise.
18825 * sunrpc/svcauth_des.c: Likewise.
18826 * sunrpc/xcrypt.c: Likewise.
18827 * sunrpc/xdr.c: Likewise.
18828 * sunrpc/xdr_array.c: Likewise.
18829 * sunrpc/xdr_float.c: Likewise.
18830 * sunrpc/xdr_intXX_t.c: Likewise.
18831 * sunrpc/xdr_mem.c: Likewise.
18832 * sunrpc/xdr_rec.c: Likewise.
18833 * sunrpc/xdr_ref.c: Likewise.
18834 * sunrpc/xdr_sizeof.c: Likewise.
18835 * sunrpc/xdr_stdio.c: Likewise.
18837 2012-05-10 Roland McGrath <roland@hack.frob.com>
18839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18840 change. Update copyright years.
18842 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18844 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18846 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18847 Joseph Myers <joseph@codesourcery.com>
18848 Paul Pluzhnikov <ppluzhnikov@google.com>
18851 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18853 [cross-compiling] (extra-libs): Likewise.
18854 [cross-compiling] (extra-libs-others): Likewise.
18855 [cross-compiling] (librpcsvc-routines): Likewise.
18856 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18857 [cross-compiling] (omit-deps): Likewise.
18858 (sunrpc-CPPFLAGS): New variable.
18859 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18860 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18861 (cross-rpcgen-objs): New variable.
18862 (extra-objs): Append $(cross-rpcgen-objs).
18863 ($(cross-rpcgen-objs)): New rule.
18864 ($(objpfx)cross-rpcgen): Likewise.
18865 (rpcgen-cmd): Define to use $(built-program-file). Expand
18867 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18868 ($(objpfx)x%.stmp): Likewise.
18869 * sunrpc/proto.h [IS_IN_build] (_): Define.
18870 [IS_IN_build] (_libc_intl_domainname): Likewise.
18872 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18875 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18876 and R_X86_64_TPOFF64.
18878 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18880 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18881 sysdeps/unix/sysv/syscalls.list.
18884 * sysdeps/unix/sysv/syscalls.list: Remove file.
18886 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18889 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18890 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18891 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18892 (__LC_IDENTIFICATION): Make these macros useful in #if
18893 expressions, as required by C99.
18895 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18897 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18898 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18901 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18903 * stdlib/longlong.h: Updated from GCC.
18905 2012-05-09 Andreas Jaeger <aj@suse.de>
18907 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18908 default is first entry.
18909 (run_mode): Set type.
18910 (main): Remove informal message about syslog.
18911 (options): Fix typo.
18914 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18917 (llrintf): Likewise.
18918 (llrint): Likewise.
18921 (nearbyint): Likewise.
18922 (nearbyintf): Likewise.
18924 2012-05-09 Andreas Jaeger <aj@suse.de>
18925 Pedro Alves <palves@redhat.com>
18927 * nscd/nscd.c (run_mode): Use enum.
18928 (main): Cleanup coding style issue.
18930 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
18931 Andreas Jaeger <aj@suse.de>
18933 * nscd/nscd.c (go_background): Replaced with...
18934 (run_mode): ... this.
18935 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18936 (options): Add -F --foreground.
18937 (main): Implement it.
18938 (parse_opt): Parse it.
18940 2012-05-09 Andreas Jaeger <aj@suse.de>
18943 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18944 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18945 -Wconversion warning.
18946 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18949 2012-05-09 Joseph Myers <joseph@codesourcery.com>
18951 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18953 (LC_ALL): Use macro-int-constant.
18954 (LC_COLLATE): Likewise.
18955 (LC_CTYPE): Likewise.
18956 (LC_MESSAGES): Likewise.
18957 (LC_MONETARY): Likewise.
18958 (LC_NUMERIC): Likewise.
18959 (LC_TIME): Likewise.
18960 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18961 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18963 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18965 [C99-based standards] (float_t): Expect type.
18966 [C99-based standards] (double_t): Expect type.
18967 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18969 [C99-based standards] (HUGE_VALL): Likewise.
18970 [C99-based standards] (INFINITY): Likewise.
18971 [C99-based standards] (NAN): Likewise.
18972 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18973 [C99-based standards] (FP_NAN): Likewise.
18974 [C99-based standards] (FP_NORMAL): Likewise.
18975 [C99-based standards] (FP_SUBNORMAL): Likewise.
18976 [C99-based standards] (FP_ZERO): Likewise.
18977 [C99-based standards] (FP_FAST_FMA): Use
18978 optional-macro-int-constant. Specify type. Require == 1.
18979 [C99-based standards] (FP_FAST_FMAF): Likewise.
18980 [C99-based standards] (FP_FAST_FMAL): Likewise.
18981 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18982 [C99-based standards] (FP_ILOGBNAN): Likewise.
18983 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18985 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18986 [C99-based standards] (math_errhandling): Specify type.
18987 [ISO99 || ISO11] (signgam): Do not allow.
18988 [non-C99-based standards] (copysignf): Do not allow.
18989 [non-C99-based standards] (exp2f): Likewise.
18990 [non-C99-based standards] (log2f): Likewise.
18991 [non-C99-based standards] (modff): Allow.
18992 [non-C99-based standards] (erff): Do not allow.
18993 [non-C99-based standards] (erfcf): Likewise.
18994 [non-C99-based standards] (gammaf): Likewise.
18995 [non-C99-based standards] (hypotf): Likewise.
18996 [non-C99-based standards] (j0f): Likewise.
18997 [non-C99-based standards] (j1f): Likewise.
18998 [non-C99-based standards] (jnf): Likewise.
18999 [non-C99-based standards] (lgammaf): Likewise.
19000 [non-C99-based standards] (tgammaf): Likewise.
19001 [non-C99-based standards] (y0f): Likewise.
19002 [non-C99-based standards] (y1f): Likewise.
19003 [non-C99-based standards] (ynf): Likewise.
19004 [non-C99-based standards] (isnanf): Likewise.
19005 [non-C99-based standards] (acoshf): Likewise.
19006 [non-C99-based standards] (asinhf): Likewise.
19007 [non-C99-based standards] (atanhf): Likewise.
19008 [non-C99-based standards] (cbrtf): Likewise.
19009 [non-C99-based standards] (expm1f): Likewise.
19010 [non-C99-based standards] (ilogbf): Likewise.
19011 [non-C99-based standards] (log1pf): Likewise.
19012 [non-C99-based standards] (logbf): Likewise.
19013 [non-C99-based standards] (nextafterf): Likewise.
19014 [non-C99-based standards] (remainderf): Likewise.
19015 [non-C99-based standards] (rintf): Likewise.
19016 [non-C99-based standards] (scalbf): Likewise.
19017 [non-C99-based standards] (copysignl): Likewise.
19018 [non-C99-based standards] (exp2l): Likewise.
19019 [non-C99-based standards] (log2l): Likewise.
19020 [non-C99-based standards] (modfl): Allow.
19021 [non-C99-based standards] (erfl): Do not allow.
19022 [non-C99-based standards] (erfcl): Likewise.
19023 [non-C99-based standards] (gammal): Likewise.
19024 [non-C99-based standards] (hypotl): Likewise.
19025 [non-C99-based standards] (j0l): Likewise.
19026 [non-C99-based standards] (j1l): Likewise.
19027 [non-C99-based standards] (jnl): Likewise.
19028 [non-C99-based standards] (lgammal): Likewise.
19029 [non-C99-based standards] (tgammal): Likewise.
19030 [non-C99-based standards] (y0l): Likewise.
19031 [non-C99-based standards] (y1l): Likewise.
19032 [non-C99-based standards] (ynl): Likewise.
19033 [non-C99-based standards] (isnanl): Likewise.
19034 [non-C99-based standards] (acoshl): Likewise.
19035 [non-C99-based standards] (asinhl): Likewise.
19036 [non-C99-based standards] (atanhl): Likewise.
19037 [non-C99-based standards] (cbrtl): Likewise.
19038 [non-C99-based standards] (expm1l): Likewise.
19039 [non-C99-based standards] (ilogbl): Likewise.
19040 [non-C99-based standards] (log1pl): Likewise.
19041 [non-C99-based standards] (logbl): Likewise.
19042 [non-C99-based standards] (nextafterl): Likewise.
19043 [non-C99-based standards] (remainderl): Likewise.
19044 [non-C99-based standards] (rintl): Likewise.
19045 [non-C99-based standards] (scalbl): Likewise.
19046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19047 [non-C99-based standards] (FP_*): Do not allow.
19048 [C99-based standards] (FP_*): Change to
19049 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19050 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19052 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19053 (SIG_ERR): Likewise.
19054 [X/Open-based standards] (SIG_HOLD): Likewise.
19055 (SIG_IGN): Likewise.
19056 (SIGABRT): Use macro-int-constant. Specify type. Require
19058 (SIGFPE): Likewise.
19059 (SIGILL): Likewise.
19060 (SIGINT): Likewise.
19061 (SIGSEGV): Likewise.
19062 (SIGTER): Likewise.
19063 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19064 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19065 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19066 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19067 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19068 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19069 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19070 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19071 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19072 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19073 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19074 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19075 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19076 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19077 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19078 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19079 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19080 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19081 [X/Open-based standards] (SIGTRAP): Likewise.
19082 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19083 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19084 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19085 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19086 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19089 2012-05-08 Ian Wienand <ianw@vmware.com>
19092 * time/tzset.c (__tzset_parse_tz): Update default rules for
19093 daylight time changes in the Energy Policy Act of 2005.
19095 2012-05-09 Andreas Jaeger <aj@suse.de>
19098 * elf/ldconfig.c (parse_conf): Change string to make clear that
19099 ldconfig only issued a warning if ld.so.conf does not exist.
19101 2012-05-08 David S. Miller <davem@davemloft.net>
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19104 movxtod instead of popping the value on the stack.
19106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19108 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19110 * config.h.in: Add HAVE_ARM_PCS_VFP.
19112 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19115 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19116 checking but the checks are disabled for any reason.
19118 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19120 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19121 and ELF64_R_TYPE with ELFW(R_TYPE).
19123 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19125 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19126 (ulimit): Likewise.
19128 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19129 (settimeofday): Likewise.
19131 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19133 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19134 a struct th_u2 inside the union, and move tu_block/tu_code into
19135 a new th_u3 union of tu_block/tu_code inside of that. Move
19136 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19137 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19138 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19139 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19140 (th_stuff): Change to th_u1.tu_stuff.
19142 (th_msg): Change to th_u1.th_u2.tu_data.
19144 2012-05-07 David S. Miller <davem@davemloft.net>
19146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19149 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19150 (SETUP_PIC_REG): Use it.
19151 (SETUP_PIC_REG_LEAF): Use it.
19153 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19157 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19159 (EXPL_FINITE): Likewise.
19160 (FLDLOG): Likewise.
19161 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19162 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19164 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19166 (EXPL_FINITE): Likewise.
19167 (FLDLOG): Likewise.
19168 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19169 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19171 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19172 test of -max_value argument for long double.
19173 * sysdeps/i386/fpu/libm-test-ulps: Update.
19174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19176 2012-05-06 David S. Miller <davem@davemloft.net>
19178 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19179 quad soft-float symbols whose references which are compiler
19181 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19183 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19187 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19189 (EXPL_FINITE): Likewise.
19190 (FLDLOG): Likewise.
19193 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19194 Adjust comments for base varying.
19195 (__expl_finite): Change alias to EXPL_FINITE.
19196 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19198 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19199 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19201 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19202 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19204 (EXPL_FINITE): Likewise.
19205 (FLDLOG): Likewise.
19208 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19209 Adjust comments for base varying.
19210 (__expl_finite): Change alias to EXPL_FINITE.
19211 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19216 * math/libm-test.inc (check_float_internal): Correct ulp
19217 calculation for subnormal expected results.
19219 2012-05-06 Andreas Jaeger <aj@suse.de>
19221 * Makeconfig (+math-flags): New, set to -frounding-math.
19222 (+cflags): Add +math-flags so that all of glibc gets compiled with
19225 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19227 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19229 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19235 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19236 (__ieee754_expl): Allow for and saturate large arguments.
19237 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19238 (u_threshold): Likewise.
19239 (__exp): Call __ieee754_exp before checking for overflow and
19241 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19242 (u_threshold): Likewise.
19243 (__expf): Call __ieee754_expf before checking for overflow and
19245 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19246 (u_threshold): Likewise.
19247 (__expl): Call __ieee754_expl before checking for overflow and
19249 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19250 (__ieee754_expl): Allow for and saturate large arguments.
19251 * math/libm-test.inc (exp_test): Add another test. Do not allow
19252 missing overflow exception on overflow.
19253 (expm1_test): Do not allow missing overflow exception on overflow.
19255 * sysdeps/i386/fpu/e_expl.c: Move to ...
19256 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19257 rather than using inline asm.
19258 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19259 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19260 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19262 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19265 (signal): Likewise.
19269 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19271 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19272 sysdeps/unix/common/syscalls.list.
19273 (fchmod): Likewise.
19274 (fchown): Likewise.
19275 (ftruncate): Likewise.
19276 (getrusage): Likewise.
19277 (gettimeofday): Likewise.
19278 (setpgid): Likewise.
19279 (setregid): Likewise.
19280 (setreuid): Likewise.
19281 (sigaction): Likewise.
19282 (truncate): Likewise.
19283 (vhangup): Likewise.
19284 * sysdeps/unix/common/syscalls.list: Remove file.
19285 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19286 * sysdeps/unix/sysv/linux/Implies: Likewise.
19288 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19290 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19292 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19296 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19299 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19302 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19305 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19308 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19311 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19314 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19318 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19322 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19325 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19329 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19333 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19335 * sysdeps/unix/common/bits/dirent.h: Remove file.
19336 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19338 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19339 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19340 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19341 * sysdeps/unix/bsd/isatty.c: Likewise.
19342 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19343 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19344 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19346 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19349 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19350 long double comparison inaccuracies.
19351 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19354 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19356 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19357 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19359 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19363 nonzero digits before rounding a hex value.
19364 * stdlib/tst-strtod.c (tests): Add another test.
19366 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19368 * sysdeps/s390/fpu/libm-test-ulps: Update.
19370 2012-05-03 Andreas Jaeger <aj@suse.de>
19372 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19373 does not get optimized out.
19374 (malloc_opt_barrier): New.
19376 2012-05-03 Andreas Jaeger <aj@suse.de>
19377 Roland McGrath <roland@hack.frob.com>
19379 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19380 intermediate file deletion.
19381 (generated): Add .symlist files.
19383 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19386 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19387 Redirect under this condition.
19388 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19389 [__USE_GNU] (__dprintf_chk): Not under this condition.
19390 [__USE_GNU] (__vdprintf_chk): Likewise.
19391 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19392 under this condition.
19393 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19394 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19395 [__USE_XOPEN2K8] (vdprintf): Likewise.
19396 [__USE_GNU] (__dprintf_chk): Not under this condition.
19397 [__USE_GNU] (__vdprintf_chk): Likewise.
19398 [__USE_GNU] (dprintf): Likewise.
19399 [__USE_GNU] (vdprintf): Likewise.
19401 2012-05-03 Roland McGrath <roland@hack.frob.com>
19403 * elf/Makefile (common-generated): Set this instead of generated for
19404 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19405 $(all-built-dso)-derived lists.
19407 2012-05-03 Andreas Jaeger <aj@suse.de>
19409 * sysdeps/i386/fpu/libm-test-ulps: Update.
19412 * FAQ.in: Likewise.
19413 * scripts/gen-FAQ.pl: Likewise.
19414 * manual/install.texi (Installation): Point to online location of
19416 * Makefile (files-for-dist): Remove FAQ.
19419 2012-05-02 Allan McRae <allan@archlinux.org>
19421 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19422 (LDFLAGS-reldepmod5.so): Likewise.
19423 (LDFLAGS-reldep6mod1.so): Likewise.
19424 (LDFLAGS-reldep6mod4.so): Likewise.
19425 (LDFLAGS-reldep8mod3.so): Likewise.
19426 (LDFLAGS-unload4mod1.so): Likewise.
19427 (LDFLAGS-unload4mod2.so): Likewise.
19428 (LDFLAGS-tst-initorder): Likewise.
19429 (LDFLAGS-tst-initordera2.so): Likewise.
19430 (LDFLAGS-tst-initordera3.so): Likewise.
19431 (LDFLAGS-tst-initordera4.so): Likewise.
19432 (LDFLAGS-tst-initorderb2.so): Likewise.
19433 (LDFLAGS-noload): Likewise.
19434 (LDFLAGS-next): Likewise.
19435 (LDFLAGS-order2mod1.so): Likewise.
19436 (LDFLAGS-order2mod2.so): Likewise.
19437 (LDFLAGS-tst-initorder2): Likewise.
19438 (LDFLAGS-tst-initorder2a.so): Likewise.
19439 (LDFLAGS-tst-initorder2b.so): Likewise.
19440 (LDFLAGS-tst-initorder2c.so): Likewise.
19441 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19443 2012-05-02 David S. Miller <davem@davemloft.net>
19445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19447 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19450 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19452 2012-05-02 Andreas Jaeger <aj@suse.de>
19454 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19455 since we manipulate rounding mode.
19456 (CPPFLAGS-test-idouble.c): Likewise.
19457 (CPPFLAGS-test-ifloat.c): Likewise.
19458 (CFLAGS-test-ldouble.c): Likewise.
19459 (CFLAGS-test-double.c): Likewise.
19460 (CFLAGS-test-float.c): Likewise.
19461 (CFLAGS-test-misc.c): Likewise.
19462 (CFLAGS-test-test-fenv.c): Likewise.
19464 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19468 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19469 comparisons to determine direction to adjust input.
19471 2012-05-01 Roland McGrath <roland@hack.frob.com>
19473 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19474 output to the target.
19476 * scripts/localplt.awk: New file.
19477 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19478 (check-localplt-CFLAGS): Variable removed.
19479 ($(all-built-dso:=.jmprel)): New static pattern rule.
19480 (generated): Add those targets.
19481 (localplt-built-dso): New variable.
19482 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19484 * elf/check-localplt.c: File removed.
19486 * scripts/check-execstack.awk: New file.
19487 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19488 (check-execstack-CFLAGS): Variable removed.
19489 ($(objpfx)check-execstack.h): Target removed.
19490 ($(objpfx)execstack-default): New target.
19491 (generated): Add that instead of check-execstack.h.
19492 ($(all-built-dso:=.phdr)): New static pattern rule.
19493 (generated): Add those targets.
19494 * elf/check-execstack.c: File removed.
19496 * scripts/check-textrel.awk: New file.
19497 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19498 (check-textrel-CFLAGS): Variable removed.
19499 (all-built-dso): Use := to define.o
19500 ($(all-built-dso:=.dyn)): New static pattern rule.
19501 (generated): Add those targets.
19502 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19503 * config.make.in (READELF): New substituted variable.
19504 * elf/check-textrel.c: File removed.
19506 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19508 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19510 * conform/data/ctype.h-data [C99-based standards] (isblank):
19512 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19513 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19515 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19516 Specify type. Require positive value.
19517 (EILSEQ): Likewise.
19518 (ERANGE): Likewise.
19519 [ISO || POSIX] (EILSEQ): Do not expect.
19520 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19521 Specify type. Require positive value.
19522 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19546 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19548 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19549 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19550 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19551 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19552 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19553 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19554 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19555 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19556 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19557 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19558 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19559 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19560 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19561 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19562 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19564 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19567 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19569 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19570 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19571 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19572 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19573 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19576 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19577 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19578 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19579 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19580 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19581 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19582 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19592 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19593 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19596 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19597 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19598 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19600 (FLT_ROUNDS): Expect as macro, not constant.
19601 (FLT_MANT_DIG): Use macro-int-constant.
19602 (DBL_MANT_DIG): Likewise.
19603 (LDBL_MANT_DIG): Likewise.
19604 (FLT_DIG): Likewise.
19605 (DBL_DIG): Likewise.
19606 (LDBL_DIG): Likewise.
19607 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19608 (DBL_MIN_EXP): Likewise.
19609 (LDBL_MIN_EXP): Likewise.
19610 (FLT_MAX_EXP): Use macro-int-constant.
19611 (DBL_MAX_EXP): Likewise.
19612 (LDBL_MAX_EXP): Likewise.
19613 (FLT_MAX_10_EXP): Likewise.
19614 (DBL_MAX_10_EXP): Likewise.
19615 (LDBL_MAX_10_EXP): Likewise.
19616 (FLT_MAX): Use macro-constant.
19617 (DBL_MAX): Likewise.
19618 (LDBL_MAX): Likewise.
19619 (FLT_EPSILON): Use macro-constant. Give upper bound.
19620 (DBL_EPSILON): Likewise.
19621 (LDBL_EPSILON): Likewise.
19622 (FLT_MIN): Likewise.
19623 (DBL_MIN): Likewise.
19624 (LDBL_MIN): Likewise.
19625 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19626 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19627 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19628 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19629 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19630 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19631 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19632 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19633 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19634 [ISO11] (FLT_TRUE_MIN): Likewise.
19635 [ISO11] (LDBL_TRUE_MIN): Likewise.
19636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19637 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19638 (SCHAR_MIN): Use macro-int-constant. Specify type.
19639 (SCHAR_MAX): Likewise.
19640 (UCHAR_MAX): Likewise.
19641 (CHAR_MIN): Likewise.
19642 (CHAR_MAX): Likewise.
19643 (MB_LEN_MAX): Use macro-int-constant.
19644 (SHRT_MIN): Use macro-int-constant. Specify type.
19645 (SHRT_MAX): Likewise.
19646 (USHRT_MAX): Likewise.
19647 (INT_MAX): Likewise.
19648 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19650 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19652 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19654 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19655 bound negative. Suffix upper bound with "L".
19656 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19658 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19660 [C99-based standards] (LLONG_MAX): Likewise.
19661 [C99-based standards] (ULLONG_MAX): Likewise.
19662 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19664 [ISO11] (max_align_t): Require type.
19665 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19667 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19668 from $CFLAGS, without defining away __attribute__ calls.
19669 (checknamespace): Use $CFLAGS_namespace.
19671 * conform/conformtest.pl (@keywords): Only include C99 keywords
19672 for standards based on C99 or C11.
19674 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19676 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19679 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19680 usability of symbols in #if.
19682 * conform/conformtest.pl: If macro or constant types start
19683 "promoted:", expect the symbol to be of the following type
19684 promoted by the integer promotions.
19686 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19687 in one place. Also handle "macro-constant".
19689 * conform/conformtest.pl: Only accept expected macro values with
19690 "==". Parse all "macro" lines in one place.
19691 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19693 * conform/conformtest.pl: Handle braced types on "constant" lines
19694 instead of handling "typed-constant".
19695 * conform/data/signal.h-data: Use "constant" instead of
19698 * conform/conformtest.pl: Handle "optional-" at start of lines in
19699 one place rather than duplicating several cases. Handle each
19700 format of "macro" line with initial "optional-".
19702 * conform/conformtest.pl: Only accept expected constant or
19703 optional-constant values with "==". Parse all "constant" lines in
19704 one place. Parse all "optional-constant" lines in one place.
19705 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19706 * conform/data/fmtmsg.h-data: Likewise.
19707 * conform/data/netinet/in.h-data: Likewise.
19708 * conform/data/tar.h-data: Likewise.
19709 * conform/data/limits.h-data: Use "==" form on "constant" and
19710 "optional-constant" lines.
19712 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19713 Use -std=c99 for XOPEN2K.
19714 (@knownproblems): Remove.
19715 (newtoken): Don't check %isknown.
19717 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19718 Do not expect macro.
19719 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19731 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19732 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19749 [XPG3] (acosh): Likewise.
19750 [XPG3] (asinh): Likewise.
19751 [XPG3] (atanh): Likewise.
19752 [XPG3] (cbrt): Likewise.
19753 [XPG3] (expm1): Likewise.
19754 [XPG3] (ilogb): Likewise.
19755 [XPG3] (log1p): Likewise.
19756 [XPG3] (logb): Likewise.
19757 [XPG3] (nextafter): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19760 [XPG3] (remainder): Likewise.
19761 [XPG3] (rint): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19769 [UNIX98 || XOPEN2K] (scalb): Expect.
19770 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19771 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19856 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19857 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19862 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19864 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19865 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19866 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19867 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19868 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19869 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19870 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19871 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19872 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19873 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19874 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19875 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19876 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19877 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19878 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19879 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19880 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19881 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19882 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19883 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19884 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19885 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19886 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19887 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19888 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19889 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19890 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19891 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19892 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19893 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19895 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19896 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19897 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19898 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19899 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19900 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19901 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19902 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19904 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19905 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19906 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19908 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19909 _XOPEN_SOURCE_EXTENDED for XPG4.
19911 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19913 * Makeconfig (localtime): Remove variable.
19914 (inst_localtime-file): Likewise.
19916 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19937 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19941 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19942 comparisons to determine direction to adjust input.
19943 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19944 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19945 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19947 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19949 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19951 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19952 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19954 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19956 * math/libm-test.inc (nexttoward_test): Add more tests.
19958 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19961 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19962 in version GLIBC_2.1, not GLIBC_2.0.
19963 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19966 2012-04-30 Joseph Myers <joseph@codesourcery.com>
19969 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19971 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19972 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19973 * math/libm-test.inc (acos_test): Add more tests.
19974 (asin_test): Likewise.
19975 * sysdeps/i386/fpu/libm-test-ulps: Update.
19976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19979 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19981 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19982 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19983 * math/libm-test.inc (acos_test_tonearest): New function.
19984 (acos_test_towardzero): Likewise.
19985 (acos_test_downward): Likewise.
19986 (acos_test_upward): Likewise.
19987 (asin_test_tonearest): Likewise.
19988 (asin_test_towardzero): Likewise.
19989 (asin_test_downward): Likewise.
19990 (asin_test_upward): Likewise.
19991 (main): Call the new functions.
19992 * sysdeps/i386/fpu/libm-test-ulps: Update.
19993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19997 * math/e_exp10.c: Include <float.h>.
19998 (__ieee754_exp10): Handle underflow here rather than multiplying
19999 large negative argument by M_LN10.
20000 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20002 * math/e_exp10l.c: Include <float.h>.
20003 (__ieee754_exp10l): Handle underflow here rather than multiplying
20004 large negative argument by M_LN10l.
20005 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20006 spurious overflow exception on underflow.
20008 2012-04-29 Marek Polacek <polacek@redhat.com>
20010 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20011 (__fortify_function): New macro.
20012 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20013 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20014 __extern_always_inline.
20015 * libio/bits/stdio2.h: Likewise.
20016 * libio/bits/stdio.h: Likewise.
20017 * string/string.h: Likewise.
20018 * string/bits/string3.h: Likewise.
20019 * include/stdio.h: Likewise.
20020 * stdlib/bits/stdlib.h: Likewise.
20021 * stdlib/stdlib.h: Likewise.
20022 * rt/bits/mqueue2.h: Likewise.
20023 * rt/mqueue.h: Likewise.
20024 * posix/bits/unistd.h: Likewise.
20025 * posix/unistd.h: Likewise.
20026 * io/bits/poll2.h: Likewise.
20027 * io/bits/fcntl2.h: Likewise.
20028 * io/fcntl.h: Likewise.
20029 * io/sys/poll.h: Likewise.
20030 * misc/bits/syslog.h: Likewise.
20031 * misc/bits/syslog-ldbl.h: Likewise.
20032 * misc/sys/syslog.h: Likewise.
20033 * socket/bits/socket2.h: Likewise.
20034 * socket/sys/socket.h: Likewise.
20035 * debug/tst-chk1.c: Likewise.
20036 * wcsmbs/bits/wchar2.h: Likewise.
20037 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20038 * wcsmbs/wchar.h: Likewise.
20040 2012-04-29 Andreas Jaeger <aj@suse.de>
20042 * Makerules (tests): Remove enable-check-abi protection.
20043 (check-abi-warn): Remove.
20044 (check-abi-%): Remove check-abi-warn usage.
20046 * configure.in: Remove check-abi configure option.
20047 * configure: Regenerated.
20048 * config.make.in (enable-check-abi): Remove.
20050 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20053 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20054 double functions to double *_finite functions.
20057 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20058 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20060 * stdio-common/Makefile (tests): Add tst-sprintf3.
20061 * stdio-common/tst-sprintf3.c: New file.
20063 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20064 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20066 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20068 * conform/conformtest.pl: Remove duplicate typed-constant
20071 2012-04-28 David S. Miller <davem@davemloft.net>
20073 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20074 (check-abi-%): Remove AWK script prerequisite and explicit
20076 (check-abi): Rewrite to just diff the symlist with the abilist.
20077 (config-tls, config-abi-config): Delete, no longer used.
20078 (update-abi-%): Remove AWK script and explicit abilist directory.
20079 (update-abi): Rewrite to simply compare and conditionally copy the
20080 symlist and the sysdep abilist file. Remove update-abi-config
20082 * abilist/ld.abilist: Remove.
20083 * abilist/libBrokenLocale.abilist: Remove.
20084 * abilist/libanl.abilist: Remove.
20085 * abilist/libcrypt.abilist: Remove.
20086 * abilist/libdl.abilist: Remove.
20087 * abilist/librt.abilist: Remove.
20088 * abilist/libthread_db.abilist: Remove.
20089 * abilist/libutil.abilist: Remove.
20090 * scripts/extract-abilist.awk: Remove.
20091 * scripts/merge-abilist.awk: Remove.
20092 * sysdeps/generic/libcidn.abilist: New file.
20093 * sysdeps/generic/libnss_compat.abilist: New file.
20094 * sysdeps/generic/libnss_db.abilist: New file.
20095 * sysdeps/generic/libnss_dns.abilist: New file.
20096 * sysdeps/generic/libnss_files.abilist: New file.
20097 * sysdeps/generic/libnss_hesiod.abilist: New file.
20098 * sysdeps/generic/libnss_nis.abilist: New file.
20099 * sysdeps/generic/libnss_nisplus.abilist: New file.
20100 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20101 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20102 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20105 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20106 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20107 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20108 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20109 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20110 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20111 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20112 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20114 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20115 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20116 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20117 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20119 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20120 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20121 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20122 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20123 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20124 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20126 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20127 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20128 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20130 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20233 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20234 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20235 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20238 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20239 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20240 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20241 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20242 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20243 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20244 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20245 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20246 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20298 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20300 * conform/conformtest.pl: Fix typo in handling typed-constant from
20303 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20305 * README: Cut down references to pre-2.6 Linux kernels and
20306 Linuxthreads. Update lists of configurations in libc and ports
20307 and sort alphabetically. Say "or newer" with Linux kernel version
20310 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20312 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20315 * math/libm-test.inc (logb_test_downward): New test to expose
20316 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20319 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20322 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20324 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20325 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20327 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20329 * sysdeps/unix/i386/brk.S: Remove file.
20330 * sysdeps/unix/i386/dl-brk.S: Likewise.
20331 * sysdeps/unix/i386/pipe.S: Likewise.
20332 * sysdeps/unix/i386/sigreturn.S: Likewise.
20333 * sysdeps/unix/i386/syscall.S: Likewise.
20334 * sysdeps/unix/i386/vfork.S: Likewise.
20335 * sysdeps/unix/i386/wait.S: Likewise.
20337 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20338 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20340 * configure.in (arm*-none*): Do not allow without
20341 --enable-hacker-mode.
20342 (netbsd*): Remove case setting base_os.
20343 (386bsd*): Likewise.
20344 (freebsd*): Likewise.
20347 (sunos*): Likewise.
20348 (ultrix*): Likewise.
20349 (newsos*): Likewise.
20350 (dynix*): Likewise.
20356 (minix*): Likewise.
20357 (irix4*): Likewise.
20358 (irix6*): Likewise.
20359 (solaris[2-9]*): Likewise.
20361 * configure: Regenerated.
20363 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20366 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20367 overflow or cancellation in calculating denominator.
20368 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20370 down expression to avoid unexpected rounding in newer GCCs.
20371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20373 2012-04-26 David S. Miller <davem@davemloft.net>
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20376 long-double compat symbols.
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20391 2012-04-25 David S. Miller <davem@davemloft.net>
20393 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20394 HWCAP_* values only after the memory barriers have been defined.
20395 (atomic_full_barrier): Define.
20396 (atomic_read_barrier): Define.
20397 (atomic_write_barrier): Define.
20399 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20401 * shlib-versions: Add libgcc_s version information.
20402 * sysdeps/generic/libgcc_s.h: Remove.
20403 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20405 * sysdeps/gnu/unwind-resume.c: Likewise.
20406 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20408 2012-04-25 David S. Miller <davem@davemloft.net>
20410 * sysdeps/unix/sparc/brk.S: Delete.
20411 * sysdeps/unix/sparc/dl-brk.S: Delete.
20412 * sysdeps/unix/sparc/pipe.S: Delete.
20413 * sysdeps/unix/sparc/sysdep.S: Delete.
20414 * sysdeps/unix/sparc/sysdep.h: Delete.
20415 * sysdeps/unix/sparc/vfork.S: Delete.
20416 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20417 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20418 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20419 ret_ERRVAL, r0, r1, MOVE): Define.
20420 (JUMPTARGET): Remove.
20421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20422 sysdeps/unix/sparc/sysdep.h
20423 (ENTRY, END): Remove.
20424 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20426 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20428 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20429 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20432 * timezone/README: Update upstream location and email address for
20434 * timezone/zdump.c: Update from tzcode 2012b.
20435 * timezone/zic.c: Likewise.
20437 * configure.in (libc_cv_as_needed): Remove test.
20438 * configure: Regenerated.
20439 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20440 conditional definition.
20441 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20442 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20443 * config.make.in (have-as-needed): Remove variable.
20445 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20446 Paul Pluzhnikov <ppluzhnikov@google.com>
20448 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20451 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20453 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20454 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20455 * sysdeps/sh/strlen.S: Likewise.
20457 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20459 * sysdeps/unix/fork.S: Remove file.
20460 * sysdeps/unix/i386/fork.S: Likewise.
20461 * sysdeps/unix/sparc/fork.S: Likewise.
20463 * sysdeps/unix/system.c: Remove file.
20464 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20466 * sysdeps/unix/getegid.S: Remove file.
20467 * sysdeps/unix/geteuid.S: Likewise.
20469 2012-04-24 Roland McGrath <roland@hack.frob.com>
20471 * scripts/check-localplt.awk: New file.
20472 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20474 * scripts/data/localplt-generic.data: Add a comment.
20476 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20477 NODE when __dir_mkfile failed.
20478 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20479 Reported by Ludovic Courtès <ludo@gnu.org>.
20481 2012-04-24 Andreas Jaeger <aj@suse.de>
20483 * Makerules (common-clean): Also remove gen-as-const-headers
20486 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20488 * Makerules (native-compile): Do not change working directory for
20489 build. Use $(OUTPUT_OPTION) in command.
20490 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20492 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20495 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20496 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20497 * math/libm-test.inc (floor_test): Add more tests.
20498 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20500 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20502 * sysdeps/unix/getdents.c: Remove file.
20503 * sysdeps/unix/sysv/getdents.c: Likewise.
20504 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20506 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20507 sysdeps/unix/mman/syscalls.list.
20509 (mprotect): Likewise.
20511 (munmap): Likewise.
20512 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20513 * sysdeps/unix/mman/syscalls.list: Remove.
20514 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20516 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20517 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20518 * configure: Regenerated.
20519 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20520 $(libgcc_s_suffix).
20521 * config.make.in (libgcc_s_suffix): Remove variable.
20523 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20525 * sysdeps/unix/sysv/gethostname.c: Move to ...
20526 * sysdeps/posix/gethostname.c: ... here.
20528 * sysdeps/unix/execve.S: Remove file.
20530 * sysdeps/unix/_exit.S: Remove file.
20532 2012-04-23 Andreas Jaeger <aj@suse.de>
20535 * manual/Makefile: Remove make dist support, there's no
20536 need for a stand-alone documentation tar ball.
20537 (TEXI2DVI): Define always, it's not in Makeconfig.
20540 (edition): Removed.
20541 (glibc-doc-$(edition).tar): Removed
20545 (ETAGS): Remove, it's in Makeconfig.
20546 (move-if-change): Remove, it's in Makeconfig.
20548 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20551 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20552 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20553 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20554 (strtod_l, strtof_l, strtold_l): Remove __wur.
20555 It is not necessarily an error to ignore strtol's return value.
20556 One can reliably look at the stored endptr to decide whether
20557 the number had valid syntax.
20559 2012-04-21 Andreas Jaeger <aj@suse.de>
20562 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20564 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20566 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20567 * sysdeps/unix/sysv/Versions: Remove file.
20569 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20574 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20577 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20578 version from __vm86.
20580 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20582 * sysdeps/unix/common/lxstat.c: Remove file.
20583 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20585 * sysdeps/unix/sysv/Makefile: Remove file.
20587 * sysdeps/unix/sysv/direct.h: Remove file.
20589 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20590 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20591 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20592 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20593 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20594 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20595 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20597 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20599 * sysdeps/unix/xmknod.c: Remove file.
20600 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20602 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20604 * sysdeps/unix/sysv/i386/time.S: Remove file.
20606 * sysdeps/unix/fxstat.c: Remove file.
20607 * sysdeps/unix/xstat.c: Likewise.
20608 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20610 * sysdeps/unix/sysv/sigaction.c: Remove file.
20612 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20613 (sysdep_headers): Remove variable.
20614 [termio.h not in sysdep_headers] (generated): Likewise.
20615 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20616 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20617 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20618 * sysdeps/unix/sysv/tcflow.c: Likewise.
20619 * sysdeps/unix/sysv/tcflush.c: Likewise.
20620 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20621 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20622 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20623 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20624 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20626 * sysdeps/unix/siglist.c: Remove file.
20628 * sysdeps/unix/getppid.S: Remove file.
20630 * sysdeps/unix/mkdir.c: Remove file.
20631 * sysdeps/unix/rmdir.c: Likewise.
20633 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20635 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20638 errlist-compat value.
20640 2012-04-18 David S. Miller <davem@davemloft.net>
20642 * sysdeps/generic/memcopy.h (reg_char): Delete.
20643 * debug/strcat_chk.c: Use char, not reg_char.
20644 * debug/strcpy_chk.c: Likewise.
20645 * debug/strncat_chk.c: Likewise.
20646 * debug/strncpy_chk.c: Likewise.
20647 * string/memchr.c: Likewise.
20648 * string/memrchr.c: Likewise.
20649 * string/rawmemchr.c: Likewise.
20650 * string/strcat.c: Likewise.
20651 * string/strchr.c: Likewise.
20652 * string/strchrnul.c: Likewise.
20653 * string/strcmp.c: Likewise.
20654 * string/strcpy.c: Likewise.
20655 * string/strncat.c: Likewise.
20656 * string/strncmp.c: Likewise.
20657 * string/strncpy.c: Likewise.
20659 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20661 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20662 __builtin_memcopy is called when src and dest ranges are known to not
20665 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20667 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20668 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20669 fwd_align_merge macro call.
20670 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20671 bwd_align_merge macro call.
20672 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20674 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20676 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20677 bwd_align_merge macros.
20678 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20679 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20680 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20682 2012-04-18 David S. Miller <davem@davemloft.net>
20684 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20686 2012-04-18 Andreas Jaeger <aj@suse.de>
20689 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20690 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20691 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20693 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20694 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20695 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20697 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20698 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20699 Adjust for changed ldbl-128 files.
20701 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20702 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20703 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20705 2012-04-17 David S. Miller <davem@davemloft.net>
20707 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20709 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20711 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20712 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20713 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20714 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20715 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20716 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20718 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20721 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20722 * math/libm-test.inc: Add ilogb errno and exception tests.
20723 * math/w_ilogb.c: New file: ilogb wrapper.
20724 * math/w_ilogbf.c: New file: ilogbf wrapper.
20725 * math/w_ilogbl.c: New file: ilogbl wrapper.
20726 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20727 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20728 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20729 exception being thrown with 0.0 as argument.
20730 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20731 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20732 exception being thrown with 0.0 as argument.
20733 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20734 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20735 exception being thrown with 0.0 as argument.
20736 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20737 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20738 exception being thrown with 0.0 as argument.
20739 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20740 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20741 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20742 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20743 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20744 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20745 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20746 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20747 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20749 2012-04-17 Petr Baudis <pasky@ucw.cz>
20751 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20754 2012-04-16 Marek Polacek <polacek@redhat.com>
20756 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20758 2012-04-16 Marek Polacek <polacek@redhat.com>
20760 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20761 operands of fdivp instruction.
20763 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20765 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20766 * elf/tst-auditmod3b.c: Likewise.
20767 * elf/tst-auditmod4b.c: Likewise.
20768 * elf/tst-auditmod5b.c: Likewise.
20769 * elf/tst-auditmod6b.c: Likewise.
20770 * elf/tst-auditmod6c.c: Likewise.
20771 * elf/tst-auditmod7b.c: Likewise.
20772 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20773 * sysdeps/x86_64/preconfigure.in: Likewise.
20774 * sysdeps/x86_64/preconfigure: Regenerated.
20776 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20778 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20781 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20784 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20786 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20789 * locale/iso-639.def: Fix gl language name. Spotted by
20792 2012-04-12 Roland McGrath <roland@hack.frob.com>
20795 * libio/libio.h (__io_write_fn): Update comment.
20797 2012-04-12 Petr Baudis <pasky@ucw.cz>
20800 * stdio.texi (Hook Functions): The user provided writer function
20801 is not allowed to return -1.
20803 2012-04-11 David S. Miller <davem@davemloft.net>
20805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20807 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20809 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20810 Add a leading slash to rtkaio.
20812 2012-04-11 Jim Meyering <meyering@redhat.com>
20815 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20816 It is not necessarily an error to ignore fwrite's return
20817 value. One can reliably use ferror to test for errors after
20820 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20822 * bits/types.h (__snseconds_t): New type.
20823 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20825 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20827 (__SNSECONDS_T_TYPE): Likewise.
20828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20829 (__SNSECONDS_T_TYPE): Likewise.
20830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20831 (__SNSECONDS_T_TYPE): Likewise.
20833 2012-04-10 Andreas Jaeger <aj@suse.de>
20836 * manual/time.texi (Processor Time): Return type of times is
20837 elapsed real time since an arbitrary point in the past.
20838 (CPU Time): Move CLK_TCK from here...
20839 (Processor Time): ...to here. Correct description.
20840 * manual/conf.texi (Constants for Sysconf): Correct description of
20843 2012-04-10 David S. Miller <davem@davemloft.net>
20846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20847 where the is a gap between DT_REL(A) and DT_JMPREL.
20849 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20851 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20852 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20853 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20855 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20857 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20858 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20859 (dl_main): Handle --inhibit-cache.
20860 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20862 * elf/dl-load.c (_dl_map_object): Use it.
20863 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20865 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20868 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20869 (__ieee754_powl): Saturate large exponents rather than testing for
20870 overflow of y*log2(x).
20871 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20872 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20876 * math/s_ctan.c: Include <float.h>.
20877 (__ctan): Avoid internal overflow or cancellation in calculating
20879 * math/s_ctanf.c: Likewise.
20880 * math/s_ctanl.c: Likewise.
20881 * math/s_ctanh.c: Likewise.
20882 * math/s_ctanhf.c: Likewise.
20883 * math/s_ctanhl.c: Likewise.
20884 * math/libm-test.inc (ctan_test): Add more tests.
20885 (ctanh_test): Likewise.
20886 * sysdeps/i386/fpu/libm-test-ulps: Update.
20887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20889 2012-04-09 Andreas Jaeger <aj@suse.de>
20892 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20893 is an optional BSD extension.
20896 * manual/stdio.texi (Opening Streams): Document additional fopen
20899 2012-04-09 Roland McGrath <roland@hack.frob.com>
20901 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20902 %eax without telling the compiler.
20904 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20907 * manual/install.texi: Use sourceware.org.
20909 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20912 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20913 (__ieee754_pow): Generate overflow and underflow using huge*huge
20914 and tiny*tiny rather than just returning constant infinity or zero
20915 for large exponents.
20916 * math/libm-test.inc (pow_test): Require overflow exceptions for
20917 applicable cases of large exponents.
20920 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20921 (__ieee754_pow): Use iterative multiplication algorithm only for
20922 integer exponents with absolute value below 1024. Check for odd
20923 integer exponents when using algorithm for real exponents.
20924 * math/libm-test.inc (pow_test): Add more tests.
20925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20927 2012-04-08 Joseph Myers <joseph@codesourcery.com>
20930 * math/libm-test.inc (exp_test): Do not allow overflow exception
20933 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20936 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20937 instead of __kernel_standard_f.
20939 2012-04-08 Mike Frysinger <vapier@gentoo.org>
20941 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20942 * sysdeps/x86_64/memset_chk.S: Likewise.
20944 2012-04-08 Andreas Jaeger <aj@suse.de>
20947 * manual/startup.texi (Environment Access): Describe return value
20948 for putenv and setenv.
20951 * manual/filesys.texi (Directory Entries): Add description for
20955 * manual/filesys.texi (Directory Entries): Clarify that it's file
20956 system not operating system in the description of DT_UNKNOWN.
20959 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20961 2012-04-08 Stephen Compall <s11@member.fsf.org>
20964 * manual/llio.texi (Opening and Closing Files): Add cross
20965 reference to explain mode argument.
20967 2012-04-07 Mike Frysinger <vapier@gentoo.org>
20969 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20970 * sysdeps/x86_64/memset_chk.S: Likewise.
20972 2012-04-07 David S. Miller <davem@davemloft.net>
20974 * elf/elf.h (R_SPARC_WDISP10): Define.
20975 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20978 R_SPARC_SIZE64 and R_SPARC_H34.
20980 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20983 conditions and remove no longer applicable assertion.
20985 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20987 * bits/byteswap.h: Include <features.h>.
20988 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20989 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20991 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20993 * bits/byteswap.h (__bswap_16): Removed.
20994 Include <bits/byteswap-16.h> to get __bswap_16.
20995 * sysdeps/i386/bits/byteswap.h: Likewise.
20996 * sysdeps/s390/bits/byteswap.h: Likewise.
20997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20998 * bits/byteswap-16.h: New file.
20999 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21000 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21001 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21002 * string/Makefile (headers): Add bits/byteswap-16.h.
21004 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21007 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21009 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21010 * nss/tst-nss-static.c: New.
21012 2012-04-06 Robert Millan <rmh@gnu.org>
21015 * manual/llio.texi (File Position Primitive): lseek
21016 refers to WHENCE when it really means OFFSET.
21018 2012-04-06 Andreas Jaeger <aj@suse.de>
21020 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21021 strncmp declarations.
21023 * abilist/libc.abilist: Add __poll and __ppoll.
21025 2012-04-05 David S. Miller <davem@davemloft.net>
21027 * scripts/check-local-headers.sh: Accept a host triplet in the
21028 path matched by the exclude regexp.
21030 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21032 * sysdeps/powerpc/powerpc32/dl-machine.h
21033 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21034 * sysdeps/s390/s390-32/dl-machine.h
21035 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21036 * sysdeps/sparc/sparc32/dl-machine.h
21037 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21038 * sysdeps/sparc/sparc64/dl-machine.h
21039 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21041 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21043 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21044 undefined symbol errors.
21046 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21049 2012-04-05 Michael Matz <matz@suse.de>
21052 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21054 2012-04-05 Andreas Jaeger <aj@suse.de>
21057 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21060 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21062 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21063 which ROUND is no valid rounding mode.
21065 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21067 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21069 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21071 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21073 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21074 an exception using FPU order intentionally.
21076 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21078 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21079 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21080 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21081 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21083 2012-04-05 Simon Josefsson <simon@josefsson.org>
21086 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21087 EINVAL when BUFLEN is too smal.
21089 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21092 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21093 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21095 2012-04-03 Andreas Jaeger <aj@suse.de>
21098 * manual/setjmp.texi (System V contexts): Fix sentence.
21101 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21102 New macro for this case.
21103 [!__GNUC__] (__bswap_64): New inline function for this case.
21104 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21105 * bits/byteswap.h: Likewise.
21106 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21107 ull, guard with __GLIBC_HAVE_LONG_LONG.
21109 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21110 __GLIBC_HAVE_LONG_LONG.
21112 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21113 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21115 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21118 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21119 inptr and inend, rather than using last_ch.
21121 2012-04-02 David S. Miller <davem@davemloft.net>
21123 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21124 * stdio-common/printf-parse.h (read_int): Change return type to
21125 'int', return -1 on INT_MAX overflow.
21126 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21127 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21128 overflows INT_MAX. Check for overflow of in-format-string precision
21129 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21130 SIZE_MAX not INT_MAX for integer overflow test.
21131 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21132 skip the construct in the format string but do not record anything.
21133 * stdio-common/bug22.c: Adjust to test both width/prevision
21134 INT_MAX overflow as well as total length INT_MAX overflow. Check
21135 explicitly for proper errno values.
21137 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21139 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21141 * string/test-strcmp.c [! WIDE]: Likewise.
21142 * time/tst-mktime2.c: Likewise for INT_MAX.
21143 * string/test-string.h: #include <sys/param.h> for MIN.
21145 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21146 * sysdeps/i386/init-first.c (init): Likewise.
21147 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21148 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21149 * sysdeps/sh/init-first.c (init): Likewise.
21151 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21153 * po/ru.po: Update from translation team.
21154 * po/vi.po: Likewise.
21156 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21158 * resolv/nss_dns/dns-host.c: Merge copyright years.
21160 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21162 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21163 Optimize memcpy with prefetch if
21164 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21165 src, dst pointers have unequal 16 byte alignments.
21167 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21170 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21171 from a CNAME entry and return the minimum ttl for the query.
21172 (gaih_getanswer_slice): Likewise.
21174 2012-03-30 Jeff Law <law@redhat.com>
21176 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21178 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21179 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21181 * resolv/nss_dns/dns-host.c: Update copyright year.
21183 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21185 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21186 requests to save a system call. Fix check that all bytes are sent.
21188 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21189 comments for sendmmsg.
21191 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21194 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21195 with only 1 character between 0x0041 and 0x01b0.
21196 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21197 * wcsmbs/tst-mbsnrtowcs.c: New file.
21199 2012-03-29 David S. Miller <davem@davemloft.net>
21201 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21202 small copies by hand.
21204 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21207 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21208 _nss_compat_initgroups_dyn): Fall back to malloc/free
21209 for large group memberships.
21211 2012-03-28 David S. Miller <davem@davemloft.net>
21213 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21214 that branches into memcpy.
21215 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21218 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21221 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21222 implementation too.
21223 * sysdeps/sparc/mempcpy.S: New file.
21225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21226 the IFUNC routine in the libc case.
21227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21229 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21230 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21231 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21232 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21233 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21234 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21235 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21236 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21238 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21239 loop to 256 bytes instead of 64 bytes and fix test signedness.
21241 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21242 * sysdeps/sparc/sparc32/Makefile: rather than here...
21243 * sysdeps/sparc/sparc64/Makefile: and here.
21245 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21247 * malloc/mallocbug.c: Avoid warnings about unused variables.
21249 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21252 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21253 in the right place. Discard and retry query if response is
21254 larger than input buffer size.
21256 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21261 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21262 x for large integer exponent.
21263 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21264 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21265 sign of result as needed afterwards.
21266 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21267 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21268 result for underflowing pow the same as for overflow.
21269 (__kernel_standard_l): Handle powl overflow and underflow here
21270 rather than calling __kernel_standard.
21271 * math/libm-test.inc (pow_test): Add more tests.
21286 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21287 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21288 (__kernel_standard_l): New function.
21289 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21291 * math/w_acosl.c (__acosl): Likewise.
21292 * math/w_asinl.c (__asinl): Likewise.
21293 * math/w_atan2l.c (__atan2l): Likewise.
21294 * math/w_atanhl.c (__atanhl): Likewise.
21295 * math/w_coshl.c (__coshl): Likewise.
21296 * math/w_exp10l.c (__exp10l): Likewise.
21297 * math/w_exp2l.c (__exp2l): Likewise.
21298 * math/w_fmodl.c (__fmodl): Likewise.
21299 * math/w_hypotl.c (__hypotl): Likewise.
21300 * math/w_j0l.c (__j0l, __y0l): Likewise.
21301 * math/w_j1l.c (__j1l, __y1l): Likewise.
21302 * math/w_jnl.c (__jnl, __ynl): Likewise.
21303 * math/w_lgammal.c (__lgammal): Likewise.
21304 * math/w_log10l.c (__log10l): Likewise.
21305 * math/w_log2l.c (__log2l): Likewise.
21306 * math/w_logl.c (__logl): Likewise.
21307 * math/w_powl.c (__powl): Likewise.
21308 * math/w_remainderl.c (__remainderl): Likewise.
21309 * math/w_scalbl.c (sysv_scalbl): Likewise.
21310 * math/w_sinhl.c (__sinhl): Likewise.
21311 * math/w_sqrtl.c (__sqrtl): Likewise.
21312 * math/w_tgammal.c (__tgammal): Likewise.
21313 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21314 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21315 * math/libm-test.inc (acos_test): Add more tests.
21316 (acosh_test): Likewise.
21317 (asin_test): Likewise.
21318 (atanh_test): Likewise.
21319 (exp_test): Likewise.
21320 (exp10_test): Likewise.
21321 (exp2_test): Likewise.
21322 (expm1_test): Likewise.
21323 (lgamma_test): Likewise.
21324 (log_test): Likewise.
21325 (log10_test): Likewise.
21326 (log1p_test): Likewise.
21327 (log2_test): Likewise.
21328 (pow_test): Do not allow some spurious overflow exceptions.
21329 (sqrt_test): Add more tests.
21330 (tgamma_test): Likewise.
21331 (y0_test): Likewise.
21332 (y1_test): Likewise.
21333 (yn_test): Likewise.
21335 2012-03-27 Anton Blanchard <anton@samba.org>
21337 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21339 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21340 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21341 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21343 2012-03-27 David S. Miller <davem@davemloft.net>
21345 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21347 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21348 have-as-vis3 check.
21350 2012-03-27 Andreas Jaeger <aj@suse.de>
21352 * sysdeps/x86_64/elf/configure.in: Moved to ...
21353 * sysdeps/x86_64/configure.in: ... here.
21354 * sysdeps/x86_64/elf/start.S: Moved to ...
21355 * sysdeps/x86_64/start.S: ... here.
21356 * sysdeps/x86_64/elf/configure: Delete.
21358 * sysdeps/x86_64/configure.in: Merge contents from
21359 sysdeps/i386/configure.in (without i686 check).
21361 * sysdeps/i386/elf/Versions: Merge into ...
21362 * sysdeps/i386/Versions: ... this.
21363 * sysdeps/i386/elf/Versions: Delete file.
21364 * sysdeps/i386/elf/start.S: Moved to ...
21365 * sysdeps/i386/start.S: ...here.
21366 * sysdeps/i386/elf/configure.in: Merge into...
21367 * sysdeps/i386/configure.in: ...here.
21368 * sysdeps/i386/elf/configure.in: Delete file.
21369 * sysdeps/i386/elf/configure: Delete file.
21371 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21372 * debug/backtracesyms.c: ... here.
21373 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21374 * debug/backtracesymsfd.c: ... here.
21375 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21376 * sysdeps/generic/ifunc-sel.h: ... here.
21378 * sysdeps/unix/i386/start.c: Delete file.
21379 * sysdeps/unix/sparc/start.c: Delete file.
21380 * sysdeps/unix/start.c: Delete file.
21382 * sysdeps/sh/elf/configure.in: Moved to ...
21383 * sysdeps/sh/configure.in: ... here.
21384 * sysdeps/sh/elf/start.S: Moved to ...
21385 * sysdeps/sh/start.S: ... here.
21386 * sysdeps/sh/elf/configure: Delete file.
21388 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21389 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21390 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21391 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21392 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21393 * sysdeps/powerpc/powerpc64/start.S: here.
21394 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21395 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21396 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21397 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21398 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21400 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21401 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21402 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21403 * sysdeps/powerpc/powerpc32/start.S: ... here.
21404 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21405 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21406 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21408 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21409 * sysdeps/powerpc/ifunc-sel.h: ... here.
21410 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21411 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21413 * sysdeps/sparc/elf/configure.in: Moved to ...
21414 * sysdeps/sparc/configure.in: ... here.
21415 * sysdeps/sparc/elf/configure: Delete file.
21416 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21417 * sysdeps/sparc/sparc32/start.S: ... here.
21418 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21419 * sysdeps/sparc/sparc64/start.S: ... here.
21420 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21421 * sysdeps/sparc/sparc32/Makefile: ... this.
21422 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21423 * sysdeps/sparc/sparc64/Makefile: ... this.
21425 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21426 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21427 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21428 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21429 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21430 * sysdeps/s390/s390-32/setjmp.S: ... here.
21431 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21432 * sysdeps/s390/s390-32/configure.in: ... here.
21433 * sysdeps/s390/s390-32/elf/configure: Delete file.
21434 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21435 * sysdeps/s390/s390-32/start.S: ... here.
21437 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21438 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21439 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21440 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21441 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21442 * sysdeps/s390/s390-64/setjmp.S: ... here.
21443 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21444 * sysdeps/s390/s390-64/configure.in: ... here
21445 * sysdeps/s390/s390-64/elf/configure: Delete file.
21446 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21447 * sysdeps/s390/s390-64/start.S: ... here.
21448 * sysdeps/s390/s390-64/elf/configure: Delete.
21450 * configure.in: Remove support for elf directories in sysdeps.
21452 * configure: Regenerated.
21453 * sysdeps/i386/configure: Regenerated.
21454 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21455 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21456 * sysdeps/s390/s390-32/configure: Regenerated.
21457 * sysdeps/s390/s390-64/configure: Regenerated.
21458 * sysdeps/sh/configure: Regenerated.
21459 * sysdeps/sparc/configure: Regenerated.
21460 * sysdeps/x86_64/configure: Regenerated.
21462 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21467 denormal result into account.
21469 2012-03-25 Roland McGrath <roland@hack.frob.com>
21471 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21472 Reported by Allan McRae <allan@archlinux.org>.
21474 2012-03-23 Jeff Law <law@redhat.com>
21476 * nss/getnssent.c (__nss_getent): Fix typo.
21478 2012-03-23 David S. Miller <davem@davemloft.net>
21480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21482 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21484 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21485 to pad to uint64_t for each field.
21486 (dl_tls_index): Replace unsigned long with uint64_t.
21488 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21489 Paul Pluzhnikov <ppluzhnikov@google.com>
21492 * grp/Makefile (otherlibs): Don't set it.
21493 * inet/Makefile (otherlibs): Likewise.
21494 * login/Makefile (otherlibs): Likewise.
21495 * nscd/Makefile (otherlibs): Likewise.
21496 * posix/Makefile (otherlibs): Likewise.
21497 * pwd/Makefile (otherlibs): Likewise.
21498 * rt/Makefile (otherlibs): Likewise.
21499 * sunrpc/Makefile (otherlibs): Likewise.
21500 * nss/Makefile (otherlibs): Likewise.
21501 Add libnss_files to routines and static-only-routines.
21502 ($(objpfx)getent): Remove rule.
21503 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21504 static-only-routines.
21506 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21509 * math/s_cexp.c: Include <float.h>.
21510 (__cexp): Handle exp result overflowing not necessarily
21511 overflowing both real and imaginary parts of result.
21512 * math/s_cexpf.c: Likewise.
21513 * math/s_cexpl.c: Likewise.
21514 * math/libm-test.inc (cexp_test): Add more tests.
21515 * sysdeps/i386/fpu/libm-test-ulps: Update.
21516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21518 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21520 * include/link.h (ELFW): New macro.
21521 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21522 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21524 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21526 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21529 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21531 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21533 (struct La_x32_retval): Likewise.
21535 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21537 * sysdeps/x86_64/preconfigure.in: New file.
21538 * sysdeps/x86_64/preconfigure: New generated file.
21540 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21543 * math/e_exp2l.c: Include <float.h>.
21544 (__ieee754_exp2l): Handle overflow and underflow cases
21545 separately. Only pass fractional part of argument to
21547 * math/libm-test.inc (exp2_test): Add more tests.
21549 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21550 negating x to take absolute value.
21551 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21553 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21554 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21556 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21557 computing low part if x was negated.
21558 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21560 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21562 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21563 la_x32_gnu_pltexit.
21564 (pltexit): Cast int_retval to ptrdiff_t.
21565 * elf/tst-auditmod3b.c: Likewise.
21566 * elf/tst-auditmod4b.c: Likewise.
21567 * elf/tst-auditmod5b.c: Likewise.
21568 * elf/tst-auditmod6b.c: Likewise.
21569 * elf/tst-auditmod6c.c: Likewise.
21570 * elf/tst-auditmod7b.c: Likewise.
21572 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21573 and x32_gnu_pltexit.
21575 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21576 __ELF_NATIVE_CLASS.
21577 (La_x32_regs): New macro.
21578 (La_x32_retval): Likewise.
21579 (la_x32_gnu_pltenter): New function prototype.
21580 (la_x32_gnu_pltexit): Likewise.
21582 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21584 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21589 * configure.in (libc_cv_cc_nofma): Check for option to disable
21590 generation of FMA instructions.
21591 * configure: Regenerate.
21592 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21593 * sysdeps/ieee754/dbl-64/Makefile: New file.
21594 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21595 Remove brandred-fma4.
21596 (CFLAGS-brandred-fma4.c): Remove.
21597 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21598 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21600 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21603 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21605 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21606 LLONG_MAX != LONG_MAX.
21607 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21608 (_fitoa_word): Likewise.
21609 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21610 LLONG_MAX != LONG_MAX.
21611 * stdio-common/_itowa.h: Include <_itoa.h>.
21612 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21613 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21614 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21615 only if not defined.
21616 (_ITOA_WORD_TYPE): Likewise.
21617 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21618 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21620 2012-03-21 David S. Miller <davem@davemloft.net>
21622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21624 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21626 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21627 of x86_64 when setting libc_cv_slibdir, libdir and
21629 * sysdeps/unix/sysv/linux/configure: Regenerated.
21631 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21633 * manual/lang.texi (Old Varargs): Remove section.
21634 (How Variadic): Update menu.
21635 (va_start): Do not mention varargs.h.
21637 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21638 Joseph Myers <joseph@codesourcery.com>
21640 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21642 * configure: Regenerated.
21644 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21646 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21647 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21650 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21653 * Makefile (files-for-dist): Remove NOTES.
21654 (NOTES): Remove rule.
21655 * README: Don't refer to NOTES.
21656 * manual/creature.texi: Don't include macros.texi.
21657 * manual/intro.texi (creature.texi): Remove comment referring to
21660 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21661 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21662 * configure: Regenerated.
21663 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21664 LIBC_TRY_CC_OPTION.
21665 (libc_cv_as_i686): Likewise.
21666 (libc_cv_cc_avx): Likewise.
21667 (libc_cv_cc_sse2avx): Likewise.
21668 (libc_cv_cc_fma4): Likewise.
21669 (libc_cv_cc_novzeroupper): Likewise.
21670 * sysdeps/i386/configure: Regenerated.
21673 * sysdeps/i386/fpu/s_cexp.S: Remove.
21674 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21675 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21676 * math/libm-test.inc (cexp_test): Add more tests.
21677 * sysdeps/i386/fpu/libm-test-ulps: Update.
21678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21680 2012-03-21 Allan McRae <allan@archlinux.org>
21682 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21684 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21687 * math/w_exp2.c: Do not include <float.h>.
21688 (o_threshold, u_threshold): Remove.
21689 (__exp2): Calculate result before checking finiteness and calling
21691 * math/w_exp2f.c: Likewise.
21692 * math/w_exp2l.c: Likewise.
21693 * math/libm-test.inc (exp2_test): Require overflow exception for
21697 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21698 range of signed 64-bit integers before using fistpll. Remove
21699 checks for whether integers fit in mantissa bits.
21700 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21701 the range of signed 32-bit integers before using fistpl. Remove
21702 checks for whether integers fit in mantissa bits.
21703 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21704 (__ieee754_powl): Test for y outside the range of signed 64-bit
21705 integers before using fistpll. Reduce 64-bit values to 63-bit
21707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21708 divide-by-zero is raised for zero to large negative powers.
21709 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21710 (__ieee754_powl): Test for y outside the range of signed 64-bit
21711 integers before using fistpll. Reduce 64-bit values to 63-bit
21713 * math/libm-test.inc (pow_test): Add more tests.
21715 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21717 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21718 <stdio-common/_itoa.h>.
21719 * debug/segfault.c: Likewise.
21720 * elf/dl-cache.c: Likewise.
21721 * elf/dl-minimal.c: Likewise.
21722 * elf/dl-misc.c: Likewise.
21723 * elf/dl-sysdep.c: Likewise.
21724 * elf/dl-version.c: Likewise.
21725 * elf/rtld.c: Likewise.
21726 * hurd/hurdsock.c: Likewise.
21727 * hurd/lookup-retry.c: Likewise.
21728 * malloc/malloc.c: Likewise.
21729 * malloc/mtrace.c: Likewise.
21730 * nscd/nscd_getgr_r.c: Likewise.
21731 * nscd/nscd_getpw_r.c: Likewise.
21732 * nscd/nscd_getserv_r.c: Likewise.
21733 * posix/getopt_init.c: Likewise.
21734 * posix/wordexp.c: Likewise.
21735 * stdio-common/_itoa.c: Likewise.
21736 * stdio-common/printf_fphex.c: Likewise.
21737 * stdio-common/vfprintf.c: Likewise.
21738 * string/_strerror.c: Likewise.
21739 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21740 * sysdeps/i386/i686/hp-timing.h: Likewise.
21741 * sysdeps/mach/_strerror.c: Likewise.
21742 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21743 * sysdeps/mach/hurd/sethostid.c: Likewise.
21744 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21745 * sysdeps/mach/xpg-strerror.c: Likewise.
21746 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21747 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21748 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21749 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21750 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21751 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21752 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21753 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21754 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21755 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21756 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21757 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21758 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21759 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21760 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21761 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21762 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21763 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21764 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21765 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21766 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21768 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21770 * stdio-common/_itoa.h: Moved to ...
21771 * sysdeps/generic/_itoa.h: Here.
21773 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21775 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21776 instead of "_itoa.h" and "_itowa.h".
21777 * stdio-common/vfprintf.: Likewise.
21779 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21781 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21783 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21784 (__signbit): Likwise.
21785 (llrintf): Likwise.
21788 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21790 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21793 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21795 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21796 OVERFLOW_EXCEPTION_OK.
21797 * math/libm-test.inc ("Philosophy"): Update comment about
21799 (OVERFLOW_EXCEPTION): Define.
21800 (OVERFLOW_EXCEPTION_OK): Likewise.
21801 (INVALID_EXCEPTION_OK): Renumber.
21802 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21803 (IGNORE_ZERO_INF_SIGN): Likewise.
21804 (test_exceptions): Handle FE_OVERFLOW.
21805 (exp10_test): Expect overflow exceptions.
21806 (exp2_test): Likewise.
21807 (expm1_test): Likewise.
21808 (nextafter_test): Likewise.
21809 (pow_test): Likewise.
21810 (scalbn_test): Likewise.
21811 (scalbln_test): Likewise.
21813 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21815 * sysdeps/x86_64/bits/atomic.h
21816 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21818 (atomic_exchange_acq): Likewise.
21819 (__arch_exchange_and_add_body): Likewise.
21820 (__arch_add_body): Likewise.
21821 (atomic_add_negative): Likewise.
21822 (atomic_add_zero): Likewise.
21824 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21826 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21827 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21829 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21831 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21832 Check __x86_64__ instead of __WORDSIZE.
21834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21836 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21838 2012-03-19 David S. Miller <davem@davemloft.net>
21840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21842 * sysdeps/sparc/fpu/fenv_private.h: New file.
21843 * sysdeps/sparc/fpu/math_private.h: Use it.
21844 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21846 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21847 (libc_feholdexcept_setroundl): Remove.
21848 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21850 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21851 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21853 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21855 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21856 int64_t instead of long int.
21857 (INSERT_WORDS64): Likwise.
21859 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21861 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21862 _Unwind_GetCFA return to _Unwind_Ptr first.
21864 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21867 * math/s_clog.c: Include <float.h>.
21868 (__clog): Scale large or subnormal inputs.
21869 * math/s_clogf.c: Likewise.
21870 * math/s_clogl.c: Likewise.
21871 * math/s_clog10.c: Include <float.h>.
21872 (M_LOG10_2): Define.
21873 (__clog10): Scale large or subnormal inputs.
21874 * math/s_clog10f.c: Likewise.
21875 * math/s_clog10l.c: Likewise.
21876 * math/libm-test.inc (clog_test): Add more tests.
21877 (clog10_test): Likewise.
21878 * sysdeps/i386/fpu/libm-test-ulps: Update.
21879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21882 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21884 * math/libm-test.inc (atan2_test): Add another test.
21886 * Makerules (common-objdir-compile): Remove.
21887 * sysdeps/unix/Makefile (config-generated): Do not add
21888 $(unix-generated) to variable.
21889 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21890 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21892 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21894 [generic bits/local_lim.h] (before-compile): Do not append to
21896 [generic bits/local_lim.h] (common-generated): Likewise.
21897 [generic sys/param.h] (before-compile): Do not append to variable.
21898 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21899 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21900 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21901 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21903 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21904 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21905 [generic sys/param.h] ($(addprefix
21906 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21907 [generic sys/param.h] (common-generated): Do not append to
21909 [generic sys/param.h] (sysdep_headers): Likewise.
21910 [generic bits/errno.h] (before-compile): Do not append to
21912 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21914 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21915 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21916 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21917 [generic bits/errno.h] (common-generated): Do not append to
21919 [generic bits/ioctls.h] (before-compile): Do not append to
21921 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21923 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21924 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21925 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21927 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21928 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21929 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21930 [generic bits/ioctls.h] (common-generated): Do not append to
21932 [generic sys/syscall.h] (syscall.h): Remove variable.
21933 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21935 [generic sys/syscall.h] (before-compile): Do not append to
21937 [generic sys/syscall.h] (common-generated): Likewise.
21938 * sysdeps/unix/errnos-tmpl.c: Remove file.
21939 * sysdeps/unix/errnos.awk: Likewise.
21940 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21941 * sysdeps/unix/ioctls.awk: Likewise.
21942 * sysdeps/unix/mk-local_lim.c: Likewise.
21943 * sysdeps/unix/snarf-ioctls: Likewise.
21945 2012-03-19 Richard Henderson <rth@twiddle.net>
21947 * sysdeps/i386/fpu/fenv_private.h: New file.
21948 * sysdeps/i386/fpu/math_private.h: Use it.
21949 (math_opt_barrier, math_force_eval): Remove.
21950 (libc_feholdexcept_setround_53bit): Remove.
21951 (libc_feupdateenv_53bit): Remove.
21952 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21953 (math_opt_barrier, math_force_eval): Remove.
21954 (libc_feholdexcept): Remove.
21955 (libc_feholdexcept_setround): Remove.
21956 (libc_fetestexcept, libc_fesetenv): Remove.
21957 (libc_feupdateenv_test): Remove.
21958 (libc_feupdateenv, libc_feholdsetround): Remove.
21959 (libc_feresetround): Remove.
21961 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21962 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21964 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21965 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21966 (libc_feupdateenv_testl): New.
21967 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21968 (libc_feupdateenv_testf): New.
21969 (libc_feupdateenv): Use libc_feupdateenv_test.
21970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21971 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21973 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21974 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21975 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21976 (libc_feresetround_noex): New.
21977 (libc_feresetround_noexf): New.
21978 (libc_feresetround_noexl): New.
21979 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21980 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21981 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21982 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21987 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21988 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21989 SET_RESTORE_ROUND_NOEX.
21990 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21991 SET_RESTORE_ROUND_NOEXF.
21992 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21993 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21994 (libc_feholdsetroundf): New.
21995 (libc_feresetround, libc_feresetroundf): New.
21997 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21998 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21999 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22001 * sysdeps/generic/math_private.h: Include <fenv.h>.
22002 (default_libc_feholdexcept): New.
22003 (default_libc_feholdexcept_setround): New.
22004 (default_libc_fesetenv, default_libc_feupdateenv): New.
22005 (libc_feholdexcept): Only define if undefined.
22006 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22007 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22008 (libc_feholdexcept_setroundl): Likewise.
22009 (libc_feholdexcept_setround_53bit): Likewise.
22010 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22011 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22012 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22013 (libc_feupdateenv_53bit): Likewise.
22014 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22015 (libc_feholdexcept): Convert from macro to inline function.
22016 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22017 (libc_fesetenv, libc_feupdateenv): Likewise.
22019 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22020 not previously defined.
22021 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22022 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22023 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22024 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22025 * sysdeps/ieee754/flt-32/math_private.h: New file.
22026 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22027 math_private.h below SET_FLOAT_WORD.
22028 (__isnan, __isinf_ns, __finite): Remove.
22029 (__isnanf, __isinf_nsf, __finitef): Remove.
22031 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22035 2012-03-17 David S. Miller <davem@davemloft.net>
22038 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22041 2012-03-16 David S. Miller <davem@davemloft.net>
22043 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22047 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22049 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22050 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22051 sysdep_routines when subdir is sysvipc.
22052 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22053 __getshmlba helper.
22055 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22057 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22059 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22062 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22064 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22065 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22066 (__lround): Renamed to ...
22067 (__llround): This. Replace long int with long long int.
22068 Define lround functions as aliases of llround functions.
22069 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22071 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22073 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22074 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22075 adresses to uintptr_t. Replace "long int" and "unsigned long
22076 int" with "greg_t" on va_arg.
22078 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22080 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22081 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22083 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22084 Move e_machine check before EI_CLASS check. Handle x32
22085 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22086 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22087 SKIP_EM_IA_64 and include
22088 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22090 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22091 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22092 (add_system_dir): New macro.
22094 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22095 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22097 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22108 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22110 * math/w_j0f.c (j0f): Likewise.
22112 * math/w_j0l.c (__j0l): Likewise.
22114 * math/w_j1.c (j1): Likewise.
22116 * math/w_j1f.c (j1f): Likewise.
22118 * math/w_j1l.c (__j1l): Likewise.
22120 * math/w_jn.c (jn): Likewise.
22122 * math/w_jnf.c (jnf): Likewise.
22124 * math/w_jnl.c (__jnl): Likewise.
22126 * math/libm-test.inc (j0_test): Add more tests.
22127 (j1_test): Likewise.
22128 (jn_test): Likewise. Add trailing semicolon to existing test.
22129 (y0_test): Likewise.
22130 (y1_test): Likewise.
22131 * sysdeps/i386/fpu/libm-test-ulps: Update.
22132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22136 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22137 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22138 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22139 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22140 (__tanl): Set errno for infinite argument.
22141 * sysdeps/i386/fpu/mptan.c: Remove.
22142 * sysdeps/i386/fpu/s_tan.S: Likewise.
22143 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22144 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22145 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22146 * math/libm-test.inc (tan_test): Add more tests and enable more
22147 tests for double and long double.
22148 * sysdeps/i386/fpu/libm-test-ulps: Update.
22149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22151 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22153 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22154 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22156 2012-03-16 Roland McGrath <roland@hack.frob.com>
22158 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22159 * configure.in: Use it for both main tree and add-ons.
22160 * configure: Regenerated.
22162 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22164 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22166 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22168 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22172 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22173 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22178 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22180 != 0 for prec == 2.
22181 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22182 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22183 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22184 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22185 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22186 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22187 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22188 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22189 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22190 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22191 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22192 * math/libm-test.inc (cos_test): Add more tests and enable more
22193 tests for long double.
22194 (sin_test): Likewise.
22195 (sincos_test): Likewise.
22196 * sysdeps/i386/fpu/libm-test-ulps: Update.
22197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22199 2012-03-16 David S. Miller <davem@davemloft.net>
22201 * sysdeps/sparc/fpu/math_private.h: New file.
22203 2012-03-15 David S. Miller <davem@davemloft.net>
22205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22219 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22220 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22222 * sysdeps/sparc/sparc-ifunc.h: New file.
22223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22268 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22270 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22274 2012-03-15 Andreas Jaeger <aj@suse.de>
22277 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22278 ieee754/flt-32 implementation for sin, cos and sincos.
22279 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22280 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22281 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22282 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22283 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22284 ieee754/flt-32 implementation for tan.
22286 * math/libm-test.inc (cos_test): Enable some large input tests for
22288 (sin_test): Likewise.
22289 (sincos_test): Likewise.
22290 (tan_test): Add tests for large input.
22292 * sysdeps/i386/fpu/libm-test-ulps: Update.
22294 2012-03-15 Andreas Jaeger <aj@suse.de>
22297 * math/libm-test.inc (cos_test): Add more test cases.
22298 (sin_test): Likewise.
22299 (sincos_test): Likewise.
22301 2012-03-15 Andreas Jaeger <aj@suse.de>
22304 * math/libm-test.inc (cos_test): Add a test case for large input
22306 (sin_test): Likewise.
22307 (sincos_test): Likewise.
22309 2012-03-15 Andreas Jaeger <aj@suse.de>,
22310 Joseph Myers <joseph@codesourcery.com>
22313 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22314 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22315 * sysdeps/i386/fpu/branred.c: Likewise.
22316 * sysdeps/i386/fpu/dosincos.c: Likewise.
22317 * sysdeps/i386/fpu/mpa.c: Likewise.
22318 * sysdeps/i386/fpu/s_cos.S: Likewise.
22319 * sysdeps/i386/fpu/s_sin.S: Likewise.
22320 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22321 * sysdeps/i386/fpu/sincos32.c: Likewise.
22323 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22325 (libc_feupdateenv_53bit): Define.
22326 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22328 (libc_feupdateenv_53bit): Define.
22330 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22331 53 bit (without extend i386 double precision).
22333 * math/libm-test.inc (sincos_test): Add tests for large input.
22337 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22339 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22343 2012-03-15 David S. Miller <davem@davemloft.net>
22345 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22346 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22347 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22348 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22373 fmin/fmax sysdep routines.
22374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22376 2012-03-14 David S. Miller <davem@davemloft.net>
22378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22383 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22455 * sysdeps/sparc/configure.in: New file.
22456 * sysdeps/sparc/configure: Generate.
22457 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22458 * configure: Regenerate.
22459 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22460 * config.make.in (have-as-vis3): New.
22461 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22462 available use -Av9d instead of -Av9a.
22463 * sysdeps/sparc/sparc64/Makefile: Likewise.
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22479 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22480 fzeros/fnegs to load 0x80000000 into a float register instead of
22482 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22484 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22488 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22489 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22490 ($(inst_includedir)/bits/syscall.h): Remove rule.
22491 ($(objpfx)bits/syscall.d): Include instead of
22492 $(objpfx)syscall-list.d.
22493 (generated): Change syscall-list.h and syscall-list.d to
22494 bits/syscall.h and bits/syscall.d.
22496 2012-03-14 Roland McGrath <roland@hack.frob.com>
22499 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22501 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22504 * math/s_csqrt.c: Include <float.h>.
22505 (__csqrt): Scale large or subnormal inputs.
22506 * math/s_csqrtf.c: Likewise.
22507 * math/s_csqrtl.c: Likewise.
22508 * math/libm-test.inc (csqrt_test): Add more tests.
22509 * sysdeps/i386/fpu/libm-test-ulps: Update.
22510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22513 * math/libm-test.inc (hypot_test): Add more tests.
22515 2012-03-13 David S. Miller <davem@davemloft.net>
22518 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22519 double-precision for the calculation instead of scaling.
22521 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22523 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22524 manipulate bits before adding and subtracting TWO52[sx].
22525 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22526 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22528 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22530 2012-03-13 David S. Miller <davem@davemloft.net>
22532 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22533 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22535 rtld-global-offsets.h
22536 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22538 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22541 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22543 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22544 'err' in the ifdef scope in which it is actually used.
22546 * nss/nss_db/db-init.c: Include string.h
22548 2012-03-12 David S. Miller <davem@davemloft.net>
22550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22551 masking out of the most significant byte of random value used.
22552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22553 Fix coding style in previous change.
22555 * sysdeps/unix/sysv/linux/kernel-features.h
22556 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22557 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22559 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22562 2012-03-11 David S. Miller <davem@davemloft.net>
22564 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22565 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22566 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22567 for 'resultvar' otherwise things get truncated on 64-bit.
22569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22570 Fix masking out of the most significant byte of random value used.
22572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22574 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22578 2012-03-09 David S. Miller <davem@davemloft.net>
22580 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22581 variables with appropriate CPP guards.
22582 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22583 frame pointer, not the stack pointer. Correct layout comments. Fix test
22584 on resulting framesize and the management of the outregs buffer for pltexit.
22585 Preserve floating point return values across _dl_call_pltexit call.
22586 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22587 framesize and the management of the outregs buffer for pltexit.
22588 Preserve floating point return values across _dl_call_pltexit
22590 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22591 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22592 (print_exit): Fix format string for return register value.
22594 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22596 * sunrpc/Makefile (others): Add rpcgen.
22597 ($(objpfx)rpcgen): Remove special build rule and dependency on
22599 * sunrpc/rpcgen.c: New file.
22601 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22604 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22605 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22606 * sysdeps/i386/crti.S: Likewise.
22607 * sysdeps/i386/crtn.S: Likewise.
22608 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22609 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22610 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22611 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22612 * sysdeps/sh/crti.S: Likewise.
22613 * sysdeps/sh/crtn.S: Likewise.
22614 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22617 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22619 * locale/programs/locfile-kw.gperf: Likewise.
22620 * locale/programs/charmap-kw.h: Regenerated.
22621 * locale/programs/locfile-kw.h: Likewise.
22624 * intl/plural.y: Replace FSF snail mail address with URL.
22625 * intl/plural.c: Regenerated.
22627 2012-03-09 Richard Henderson <rth@twiddle.net>
22629 * include/math_private.h: Remove file.
22630 * math/math_private.h: Move file ...
22631 * sysdeps/generic/math_private.h: ... here.
22633 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22634 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22635 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22637 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22638 and <math_private.h>.
22639 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22640 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22641 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22642 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22643 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22670 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22671 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22676 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22678 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22682 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22689 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22727 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22731 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22732 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22733 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22735 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22736 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22737 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22738 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22739 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22740 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22741 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22742 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22743 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22744 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22745 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22746 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22747 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22748 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22749 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22750 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22751 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22752 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22753 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22754 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22755 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22756 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22757 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22759 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22760 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22761 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22762 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22763 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22764 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22765 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22766 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22767 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22768 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22769 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22770 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22771 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22772 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22773 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22774 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22775 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22776 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22777 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22778 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22779 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22780 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22781 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22782 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22783 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22784 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22785 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22786 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22787 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22788 * sysdeps/ieee754/k_standard.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22856 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22859 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22861 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22862 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22863 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22864 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22904 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22906 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22908 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22909 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22911 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22916 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22917 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22919 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22920 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22921 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22922 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22923 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22925 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22926 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22927 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22928 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22929 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22930 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22932 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22933 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22934 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22935 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22937 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22938 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22939 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22940 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22942 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22943 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22945 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22946 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22947 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22948 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22949 * sysdeps/ieee754/s_lib_version.c: Likewise.
22950 * sysdeps/ieee754/s_matherr.c: Likewise.
22951 * sysdeps/ieee754/s_signgam.c: Likewise.
22952 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22953 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22954 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22955 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22956 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22957 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22958 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22959 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22960 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22961 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22962 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22963 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22964 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22965 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22966 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22967 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22968 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22969 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22970 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22972 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22974 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22976 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22977 * sunrpc/rpc_main.c: Likewise.
22978 * sunrpc/rpc_svcout.c: Likewise.
22980 2012-03-09 David S. Miller <davem@davemloft.net>
22982 * include/math_private.h: New file.
22984 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22986 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22987 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22988 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22989 from <bits/socket_type.h>.
22990 (enum __socket_type): Don't define here.
22991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22993 bits/socket_type.h.
22996 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22997 checking __USE_GNU.
22999 * Makerules ($(inst_includedir)/%.h): New rule.
23000 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23001 (install-others): Remove variable setting.
23002 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23004 2012-03-08 Richard Henderson <rth@twiddle.net>
23006 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23007 from macro to inline function; merge with the
23008 !__LIBC_INTERNAL_MATH_INLINES version.
23009 (__ieee754_sqrtf): Likewise.
23011 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23012 to inline function.
23013 (__rintf, __floor, __floorf): Likewise.
23015 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23016 macro to inline function.
23017 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23019 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23020 not <math/math_private.h>.
23022 2012-03-08 David S. Miller <davem@davemloft.net>
23024 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23026 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23028 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23030 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23032 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23033 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23035 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23037 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23038 be defined individually, they must be defined as a block. Define
23039 S for printing a string instead of hidint the different by using a
23040 macro for adding the 'l'.
23041 * stdio-common/tst-fphex-wide.c: Adjust.
23043 2012-03-07 Marek Polacek <polacek@redhat.com>
23045 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23047 2012-03-08 Marek Polacek <polacek@redhat.com>
23050 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23051 * stdio-common/tst-fphex.c: Define a few macros to make the
23052 test reusable. Use them.
23053 * stdio-common/tst-fphex-wide.c: New file.
23055 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23058 * manual/macros.texi (gnusystems): New macro.
23059 (nongnusystems): Likewise.
23060 (gnulinuxhurdsystems): Likewise.
23061 (gnuhurdsystems): Likewise..
23062 (gnulinuxsystems): Likewise.
23063 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23064 variants of the GNU system, not "GNU system".
23065 * manual/conf.texi: Likewise.
23066 * manual/errno.texi: Likewise. Update example of errno macro
23068 * manual/filesys.texi: Likewise.
23069 (getumask): Document as specific to GNU/Hurd.
23070 * manual/install.texi: Likewise. Reword some references to
23072 * manual/intro.texi: Likewise.
23073 * manual/io.texi: Likewise.
23074 (File Name Portability): Detail which constraints are inapplicable
23075 to all GNU systems and which are only inapplicable to GNU/Hurd.
23076 * manual/job.texi: Likewise.
23077 * manual/llio.texi: Likewise.
23078 (O_NOCTTY): Document as present on GNU/Linux.
23079 * manual/maint.texi: Likewise.
23080 * manual/memory.texi: Likewise.
23081 * manual/pattern.texi: Likewise.
23082 * manual/pipe.texi: Likewise.
23083 * manual/process.texi: Likewise.
23084 * manual/resource.texi: Likewise.
23085 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23087 * manual/setjmp.texi: Likewise.
23088 * manual/signal.texi: Likewise.
23089 * manual/startup.texi: Likewise.
23090 * manual/stdio.texi: Likewise.
23091 * manual/terminal.texi: Likewise.
23092 (ONLCR): Document as POSIX.
23093 (OXTABS): Document availability on GNU/Linux as XTABS.
23094 (ONOEOT): Document availability separately from other bits.
23095 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23096 * manual/time.texi: Likewise.
23097 * manual/users.texi: Likewise.
23098 * INSTALL: Regenerated.
23099 * sysdeps/gnu/errlist.c: Regenerated.
23101 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23102 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23103 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23105 * configure: Regenerated.
23107 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23109 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23110 default includes instead of AC_HEADER_CHECK.
23111 * sysdeps/i386/configure: Regenerated.
23114 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23115 * math/s_cacoshf.c (__cacoshf): Likewise.
23116 * math/s_cacoshl.c (__cacoshl): Likewise.
23117 * math/s_casinh.c (__casinh): Set signs of result from argument.
23118 * math/s_casinhf.c (__casinhf): Likewise.
23119 * math/s_casinhl.c (__casinhl): Likewise.
23120 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23121 (casinh_test): Add more tests.
23122 * sysdeps/i386/fpu/libm-test-ulps: Update.
23123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23125 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23127 * po/zh_TW.po: Update from translation team.
23129 * login/Makefile (distribute): Remove variable.
23130 * catgets/Makefile: Likewise.
23131 * mach/Makefile: Likewise.
23132 * malloc/Makefile: Likewise.
23133 * misc/Makefile: Likewise.
23134 * iconv/Makefile: Likewise.
23135 * nscd/Makefile: Likewise.
23136 * hurd/Makefile: Likewise.
23137 * manual/Makefile: Likewise.
23138 * locale/Makefile: Likewise.
23139 * intl/Makefile: Likewise.
23140 * conform/Makefile: Likewise.
23141 * nss/Makefile: Likewise.
23142 * time/Makefile: Likewise.
23143 * soft-fp/Makefile: Likewise.
23144 * dirent/Makefile: Likewise.
23145 * gmon/Makefile: Likewise.
23146 * po/Makefile: Likewise.
23147 * rt/Makefile: Likewise.
23148 * socket/Makefile: Likewise.
23149 * math/Makefile: Likewise.
23150 * signal/Makefile: Likewise.
23151 * debug/Makefile: Likewise.
23152 * elf/Makefile: Likewise.
23153 * timezone/Makefile: Likewise.
23154 * stdlib/Makefile: Likewise.
23155 * iconvdata/Makefile: Likewise.
23156 * sunrpc/Makefile: Likewise.
23157 * io/Makefile: Likewise.
23158 * argp/Makefile: Likewise.
23159 * inet/Makefile: Likewise.
23160 * hesiod/Makefile: Likewise.
23161 * grp/Makefile: Likewise.
23162 * csu/Makefile: Likewise.
23163 * wctype/Makefile: Likewise.
23164 * crypt/Makefile: Likewise.
23165 * libio/Makefile: Likewise.
23166 * string/Makefile: Likewise.
23167 * nis/Makefile: Likewise.
23168 * resolv/Makefile: Likewise.
23169 * stdio-common/Makefile: Likewise.
23170 * wcsmbs/Makefile: Likewise.
23171 * dlfcn/Makefile: Likewise.
23172 * posix/Makefile: Likewise.
23175 * timezone/Makefile: Don't install timezone files, just the programs
23178 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23180 * nss/databases.def: Add missing gshadow entry.
23182 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23184 2012-03-06 Marek Polacek <polacek@redhat.com>
23187 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23188 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23189 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23190 * stdio-common/tst-long-dbl-fphex.c: New file.
23192 2012-03-06 David S. Miller <davem@davemloft.net>
23194 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23195 (set_obp_int): New function.
23196 (get_obp_int): New function.
23197 (__get_clockfreq_via_dev_openprom): Likewise.
23198 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23199 Avoid unused variable warnings on 'val' and use builtin_expect.
23200 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23202 (INLINE_CLONE_SYSCALL): Likewise.
23204 2012-03-05 David S. Miller <davem@davemloft.net>
23206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23208 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23213 only for |x| >= 40.
23214 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23216 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23219 Replace gettimeofday with __vdso_gettimeofday.
23221 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23222 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23223 __vdso_clock_gettime and __vdso_getcpu.
23225 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23226 time with __vdso_time.
23228 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23230 * manual/lang.texi (size_t): Note types to which size_t may be
23231 equivalent with the GNU C Library, but do not describe when
23232 differences between them are significant.
23234 2012-03-05 Andreas Jaeger <aj@suse.de>
23236 * sysdeps/i386/fpu/libm-test-ulps: Update.
23238 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23241 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23242 (__ieee754_pow): Save and restore rounding mode and use
23243 round-to-nearest for main computations.
23244 * math/libm-test.inc (pow_test_tonearest): New function.
23245 (pow_test_towardzero): Likewise.
23246 (pow_test_downward): Likewise.
23247 (pow_test_upward): Likewise.
23248 (main): Call the new functions.
23249 * sysdeps/i386/fpu/libm-test-ulps: Update.
23250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23253 * math/libm-test.inc (cosh_test_tonearest): New function.
23254 (cosh_test_towardzero): Likewise.
23255 (cosh_test_downward): Likewise.
23256 (cosh_test_upward): Likewise.
23257 (sinh_test_tonearest): Likewise.
23258 (sinh_test_towardzero): Likewise.
23259 (sinh_test_downward): Likewise.
23260 (sinh_test_upward): Likewise.
23261 (main): Call the new functions.
23262 * sysdeps/i386/fpu/libm-test-ulps: Update.
23263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23265 2012-03-05 Tom de Vries <tom@codesourcery.com>
23267 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23268 default stack guard is set in last bytes.
23269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23271 2012-03-05 Kees Cook <keescook@chromium.org>
23273 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23276 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23277 possibly allocate from heap instead of stack.
23278 * stdio-common/bug-vfprintf-nargs.c: New file.
23279 * stdio-common/Makefile (tests): Add nargs overflow test.
23281 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23285 2012-03-03 Marek Polacek <polacek@redhat.com>
23287 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23288 * math/math_private.h: Likewise.
23289 * stdlib/tst-strtod.c: Likewise.
23290 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23291 * sysdeps/x86_64/bits/atomic.h: Likewise.
23293 2012-03-02 David S. Miller <davem@davemloft.net>
23295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23299 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23300 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23301 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23302 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23304 2012-03-02 Roland McGrath <roland@hack.frob.com>
23307 * manual/examples/README: New file, says the example source files
23308 can be used under GPL>=2.
23309 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23310 line containing just "*/".
23311 * manual/examples/add.c: Add copyright header (GPL>=2).
23312 * manual/examples/argp-ex1.c: Likewise.
23313 * manual/examples/argp-ex2.c: Likewise.
23314 * manual/examples/argp-ex3.c: Likewise.
23315 * manual/examples/argp-ex4.c: Likewise.
23316 * manual/examples/atexit.c: Likewise.
23317 * manual/examples/db.c: Likewise.
23318 * manual/examples/dir.c: Likewise.
23319 * manual/examples/dir2.c: Likewise.
23320 * manual/examples/execinfo.c: Likewise.
23321 * manual/examples/filecli.c: Likewise.
23322 * manual/examples/filesrv.c: Likewise.
23323 * manual/examples/fmtmsgexpl.c: Likewise.
23324 * manual/examples/genpass.c: Likewise.
23325 * manual/examples/inetcli.c: Likewise.
23326 * manual/examples/inetsrv.c: Likewise.
23327 * manual/examples/isockad.c: Likewise.
23328 * manual/examples/longopt.c: Likewise.
23329 * manual/examples/memopen.c: Likewise.
23330 * manual/examples/memstrm.c: Likewise.
23331 * manual/examples/mkfsock.c: Likewise.
23332 * manual/examples/mkisock.c: Likewise.
23333 * manual/examples/mygetpass.c: Likewise.
23334 * manual/examples/pipe.c: Likewise.
23335 * manual/examples/popen.c: Likewise.
23336 * manual/examples/rprintf.c: Likewise.
23337 * manual/examples/search.c: Likewise.
23338 * manual/examples/select.c: Likewise.
23339 * manual/examples/setjmp.c: Likewise.
23340 * manual/examples/sigh1.c: Likewise.
23341 * manual/examples/sigusr.c: Likewise.
23342 * manual/examples/stpcpy.c: Likewise.
23343 * manual/examples/strdupa.c: Likewise.
23344 * manual/examples/strftim.c: Likewise.
23345 * manual/examples/strncat.c: Likewise.
23346 * manual/examples/subopt.c: Likewise.
23347 * manual/examples/swapcontext.c: Likewise.
23348 * manual/examples/termios.c: Likewise.
23349 * manual/examples/testopt.c: Likewise.
23350 * manual/examples/testpass.c: Likewise.
23351 * manual/examples/timeval_subtract.c: Likewise.
23354 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23356 * manual/timeval_subtract.c.texi: ... here, new file.
23358 2012-03-02 David S. Miller <davem@davemloft.net>
23360 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23362 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23365 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23366 (__sin): Save and restore rounding mode and use round-to-nearest
23367 for all computations.
23368 (__cos): Save and restore rounding mode and use round-to-nearest
23369 for all computations.
23370 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23372 (tan): Save and restore rounding mode and use round-to-nearest for
23374 * math/libm-test.inc (cos_test_tonearest): New function.
23375 (cos_test_towardzero): Likewise.
23376 (cos_test_downward): Likewise.
23377 (cos_test_upward): Likewise.
23378 (sin_test_tonearest): Likewise.
23379 (sin_test_towardzero): Likewise.
23380 (sin_test_downward): Likewise.
23381 (sin_test_upward): Likewise.
23382 (tan_test_tonearest): Likewise.
23383 (tan_test_towardzero): Likewise.
23384 (tan_test_downward): Likewise.
23385 (tan_test_upward): Likewise.
23386 (main): Call the new functions.
23387 * sysdeps/i386/fpu/libm-test-ulps: Update.
23388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23391 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23392 small n, then large n, before computing and testing k+n.
23393 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23398 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23399 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23400 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23401 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23402 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23403 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23404 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23405 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23406 * math/libm-test.inc (scalbn_test): Add more tests.
23407 (scalbln_test): Likewise.
23409 * manual/filesys.texi (mode_t): Describe constraints on size and
23410 signedness, not exact equivalence to a particular type.
23412 (ino64_t): Likewise.
23414 (nlink_t): Likewise.
23415 (blkcnt_t): Likewise.
23416 (blkcnt64_t): Likewise.
23417 * manual/llio.texi (off_t): Likewise.
23420 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23421 (__ieee754_exp): Save and restore rounding mode and use
23422 round-to-nearest for all computations.
23423 * math/libm-test.inc (exp_test_tonearest): New function.
23424 (exp_test_towardzero): Likewise.
23425 (exp_test_downward): Likewise.
23426 (exp_test_upward): Likewise.
23427 (main): Call the new functions.
23428 * sysdeps/i386/fpu/libm-test-ulps: Update.
23429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23431 2012-03-01 Chris Demetriou <cgd@google.com>
23433 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23434 have predictable order.
23436 2012-03-01 David S. Miller <davem@davemloft.net>
23438 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23440 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23441 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23442 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23443 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23445 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23446 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23447 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23449 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23450 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23451 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23452 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23453 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23457 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23458 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23459 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23461 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23462 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23463 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23464 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23465 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23466 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23467 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23468 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23469 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23470 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23471 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23472 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23474 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23475 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23477 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23478 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23479 * sysdeps/sparc/elf/configure: Regenerated.
23481 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23483 * configure.in (AS, LD): Require binutils 2.20 or later.
23484 * configure: Regenerated.
23485 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23486 as required minimum version.
23487 * INSTALL: Regenerated.
23491 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23492 before squaring exponent.
23493 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23494 bottom long double and 27 bits of top long double before squaring
23496 * math/libm-test.inc (erfc_test): Add more tests.
23497 * sysdeps/i386/fpu/libm-test-ulps: Update.
23498 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23501 2012-03-01 Kai Tietz <ktietz@redhat.com>
23503 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23504 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23505 containing bit-fields.
23506 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23507 * soft-fp/single.h (_FP_UNION_S): Likewise.
23508 * soft-fp/double.h (_FP_UNION_D): Likewise.
23510 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23513 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23514 not include ../strcmp.S.
23515 [USE_AS_STRNCASECMP_L]: Likewise.
23516 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23517 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23518 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23519 (__strncasecmp_l_ia32): Define as alias to
23520 __strncasecmp_l_nonascii.
23523 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23524 * sysdeps/i386/fpu/libm-test-ulps: Update.
23525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23527 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23530 2012-02-29 Jeff Law <law@redhat.com>
23532 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23533 out of bounds read.
23535 2012-02-29 Marek Polacek <polacek@redhat.com>
23538 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23539 * elf/Makefile: Add rules to run tst-unused-dep.out.
23541 2012-02-28 David S. Miller <davem@davemloft.net>
23543 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23544 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23545 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23547 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23548 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23550 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23552 * math/libm-test.inc (llround_test): Move one test from
23553 lround_test. Use TEST_f_L in moved test.
23554 (lround_test): Move misplaced test to llround_test. Add testcase
23557 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23559 * sysdeps/x86_64/fpu/e_expf.S: New file.
23560 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23562 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23565 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23566 of remain_len that may cause incomplete multi-byte character and
23568 * posix/bug-regex33.c: New file.
23569 * posix/Makefile (tests): Add bug-regex33.
23571 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23573 * manual/macros.texi: New file.
23574 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23575 * manual/libc.texinfo: Include macros.texi.
23576 * manual/creatute.texi: Likewise.
23577 * manual/install.texi: Likewise.
23578 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23579 @glibcadj{} in references to the GNU C Library.
23580 * manual/charset.texi: Likewise.
23581 * manual/conf.texi: Likewise.
23582 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23583 when not using those macros.
23584 * manual/creature.texi: Likewise.
23585 * manual/crypt.texi: Likewise.
23586 * manual/errno.texi: Likewise.
23587 * manual/filesys.texi: Likewise.
23588 * manual/header.texi: Likewise.
23589 * manual/install.texi: Likewise.
23590 * manual/intro.texi: Likewise.
23591 * manual/io.texi: Likewise.
23592 * manual/job.texi: Likewise.
23593 * manual/lang.texi: Likewise.
23594 * manual/libc.texiinfo: Likewise.
23595 * manual/llio.texi: Likewise.
23596 * manual/locale.texi: Likewise.
23597 * manual/maint.texi: Likewise.
23598 * manual/math.texi: Likewise.
23599 * manual/memory.texi: Likewise.
23600 * manual/message.texi: Likewise.
23601 * manual/nss.texi: Likewise.
23602 * manual/pattern.texi: Likewise.
23603 * manual/process.texi: Likewise.
23604 * manual/resource.texi: Likewise.
23605 * manual/search.texi: Likewise.
23606 * manual/setjmp.texi: Likewise.
23607 * manual/signal.texi: Likewise.
23608 * manual/socket.texi: Likewise.
23609 * manual/startup.texi: Likewise.
23610 * manual/stdio.texi: Likewise.
23611 * manual/string.texi: Likewise.
23612 * manual/sysinfo.texi: Likewise.
23613 * manual/syslog.texi: Likewise.
23614 * manual/terminal.texi: Likewise.
23615 * manual/time.texi: Likewise.
23616 * manual/users.texi: Likewise.
23617 * INSTALL: Regenerated.
23618 * NOTES: Regenerated.
23619 * sysdeps/gnu/errlist.c: Regenerated.
23621 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23623 * include/dirent.h: Include <dirstream.h> before
23626 2012-02-28 David S. Miller <davem@davemloft.net>
23628 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23629 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23630 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23631 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23633 2012-02-27 David S. Miller <davem@davemloft.net>
23635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23637 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23638 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23641 frame pointer instead of stack pointer relative arg slot.
23642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23643 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23644 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23646 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23649 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23651 2012-02-27 David S. Miller <davem@davemloft.net>
23653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23657 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23658 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23659 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23660 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23662 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23664 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23665 later. Allow versions 5-9.
23666 * configure: Regenerated.
23667 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23668 required minimum version and 4.6 as recommended version. Do not
23669 mention bugs in GCC 2.7 and 2.8.
23670 * INSTALL: Regenerated.
23672 2012-02-27 David S. Miller <davem@davemloft.net>
23674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23678 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23679 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23680 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23681 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23683 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23684 manipulate bits before adding and subtracting TWO112[sx].
23685 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23687 2012-02-27 Roland McGrath <roland@hack.frob.com>
23690 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23691 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23692 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23693 being in POSIX, because they are in 1003.1-2008.
23695 * rt/tst-aio.c: Include <fcntl.h>.
23696 * rt/tst-aio7.c: Likewise.
23697 * rt/tst-aio64.c: Likewise.
23699 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23701 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23703 * manual/install.texi (--with-headers): Describe headers as
23704 interface headers, not private headers.
23705 (Specific advice for GNU/Linux systems): Describe use of headers
23706 from "make headers_install", not private headers from older
23708 * INSTALL: Regenerated.
23709 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23711 * sysdeps/unix/sysv/linux/configure: Regenerated.
23713 * manual/llio.texi (fclean): Remove documentation.
23715 * manual/Makefile (libc-texi-generated): New variable. Include
23717 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23718 $(libc-texi-generated), not duplicated list of files.
23719 (version.texi, stamp-version): New rules.
23720 (realclean): Remove $(libc-texi-generated), not individual files
23721 from that list. Do not remove dir-add.texinfo.
23722 * manual/libc.texinfo: Comment out uses of edition numbers and
23723 references to printed manual. Remove last-updated dates.
23724 (EDITION): Comment out.
23726 (VERSION, UPDATED): Remove.
23727 (version.texi): Include.
23729 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23731 * sysdeps/posix/spawni.c: Include <signal.h>.
23732 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23733 * sysdeps/pthread/aio_fsync.c: Likewise.
23735 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23737 * conform/Makefile (tests): Run only when not cross-compiling and
23738 when fast-check is not defined.
23740 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23741 * conform/data/limits.h-data: Fixes for POSIX2008.
23742 * conform/run-conformtest.sh: Run all tests.
23743 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23745 * include/bits/dlfcn.h: Likewise.
23746 * include/langinfo.h: Likewise.
23747 * include/monetary.h: Likewise.
23748 * include/sys/poll.h: Likewise.
23750 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23752 * posix/spawn.h: Define __need_sigset_t.
23753 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23754 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23755 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23756 to get sigevent_t only.
23757 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23758 only for __USE_GNU.
23759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23760 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23761 process_vm_writev only for __USE_GNU.
23762 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23764 * conform/Makefile: For now ignore errors from run-conformtest.
23765 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23766 POSIX to avoid namespace pollution. Don't prepend headers.
23767 * conform/data/aio.h-data: Fixes for POSIX testing.
23768 * conform/data/fcntl.h-data: Likewise.
23769 * conform/data/glob.h-data: Likewise.
23770 * conform/data/grp.h-data: Likewise.
23771 * conform/data/pthread.h-data: Likewise.
23772 * conform/data/pwd.h-data: Likewise.
23773 * conform/data/signal.h-data: Likewise.
23774 * conform/data/spawn.h-data: Likewise.
23775 * conform/data/stdio.h-data: Likewise.
23776 * conform/data/stdlib.h-data: Likewise.
23777 * conform/data/stropts.h-data: Likewise.
23778 * conform/data/sys/mman.h-data: Likewise.
23779 * conform/data/sys/stat.h-data: Likewise.
23780 * conform/data/sys/types.h-data: Likewise.
23781 * conform/data/sys/wait.h-data: Likewise.
23782 * conform/data/time.h-data: Likewise.
23783 * conform/data/unistd.h-data: Likewise.
23784 * conform/data/utime.h-data: Likewise.
23786 * io/sys/stat.h: fchmod was always in POSIX.
23787 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23788 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23789 * rt/aio.h: Define __need_timespec before including <time.h>.
23790 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23791 struct. Add forward declaration of pthread_attr_t and use it in
23793 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23794 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23795 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23796 always remove CLK_TCK definition.
23798 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23800 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23802 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23804 * conform/run-conformtest.sh: New file.
23805 * conform/Makefile: Run run-conformtest for tests.
23806 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23809 * conform/data/uchar.h-data: New file.
23810 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23811 * conform/data/arpa/inet.h-data: Likewise.
23812 * conform/data/assert.h-data: Likewise.
23813 * conform/data/complex.h-data: Likewise.
23814 * conform/data/cpio.h-data: Likewise.
23815 * conform/data/ctype.h-data: Likewise.
23816 * conform/data/dirent.h-data: Likewise.
23817 * conform/data/dlfcn.h-data: Likewise.
23818 * conform/data/errno.h-data: Likewise.
23819 * conform/data/fcntl.h-data: Likewise.
23820 * conform/data/float.h-data: Likewise.
23821 * conform/data/fmtmsg.h-data: Likewise.
23822 * conform/data/fnmatch.h-data: Likewise.
23823 * conform/data/ftw.h-data: Likewise.
23824 * conform/data/glob.h-data: Likewise.
23825 * conform/data/grp.h-data: Likewise.
23826 * conform/data/iconv.h-data: Likewise.
23827 * conform/data/inttypes.h-data: Likewise.
23828 * conform/data/langinfo.h-data: Likewise.
23829 * conform/data/libgen.h-data: Likewise.
23830 * conform/data/limits.h-data: Likewise.
23831 * conform/data/locale.h-data: Likewise.
23832 * conform/data/math.h-data: Likewise.
23833 * conform/data/monetary.h-data: Likewise.
23834 * conform/data/mqueue.h-data: Likewise.
23835 * conform/data/ndbm.h-data: Likewise.
23836 * conform/data/net/if.h-data: Likewise.
23837 * conform/data/netdb.h-data: Likewise.
23838 * conform/data/netinet/in.h-data: Likewise.
23839 * conform/data/nl_types.h-data: Likewise.
23840 * conform/data/poll.h-data: Likewise.
23841 * conform/data/pthread.h-data: Likewise.
23842 * conform/data/pwd.h-data: Likewise.
23843 * conform/data/regex.h-data: Likewise.
23844 * conform/data/sched.h-data: Likewise.
23845 * conform/data/search.h-data: Likewise.
23846 * conform/data/semaphore.h-data: Likewise.
23847 * conform/data/setjmp.h-data: Likewise.
23848 * conform/data/signal.h-data: Likewise.
23849 * conform/data/spawn.h-data: Likewise.
23850 * conform/data/stdarg.h-data: Likewise.
23851 * conform/data/stdio.h-data: Likewise.
23852 * conform/data/stdlib.h-data: Likewise.
23853 * conform/data/string.h-data: Likewise.
23854 * conform/data/strings.h-data: Likewise.
23855 * conform/data/stropts.h-data: Likewise.
23856 * conform/data/sys/ipc.h-data: Likewise.
23857 * conform/data/sys/mman.h-data: Likewise.
23858 * conform/data/sys/msg.h-data: Likewise.
23859 * conform/data/sys/resource.h-data: Likewise.
23860 * conform/data/sys/select.h-data: Likewise.
23861 * conform/data/sys/sem.h-data: Likewise.
23862 * conform/data/sys/shm.h-data: Likewise.
23863 * conform/data/sys/socket.h-data: Likewise.
23864 * conform/data/sys/stat.h-data: Likewise.
23865 * conform/data/sys/statvfs.h-data: Likewise.
23866 * conform/data/sys/time.h-data: Likewise.
23867 * conform/data/sys/timeb.h-data: Likewise.
23868 * conform/data/sys/times.h-data: Likewise.
23869 * conform/data/sys/types.h-data: Likewise.
23870 * conform/data/sys/uio.h-data: Likewise.
23871 * conform/data/sys/un.h-data: Likewise.
23872 * conform/data/sys/utsname.h-data: Likewise.
23873 * conform/data/sys/wait.h-data: Likewise.
23874 * conform/data/syslog.h-data: Likewise.
23875 * conform/data/tar.h-data: Likewise.
23876 * conform/data/termios.h-data: Likewise.
23877 * conform/data/utime.h-data: Likewise.
23878 * conform/data/utmpx.h-data: Likewise.
23879 * conform/data/varargs.h-data: Likewise.
23880 * conform/data/wchar.h-data: Likewise.
23881 * conform/data/wctype.h-data: Likewise.
23882 * conform/data/wordexp.h-data: Likewise.
23884 * include/stropts.h: New file.
23885 * include/uchar.h: New file.
23886 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23887 * include/assert.h: Likewise.
23888 * include/ctype.h: Likewise.
23889 * include/dirent.h: Likewise.
23890 * include/dlfcn.h: Likewise.
23891 * include/fcntl.h: Likewise.
23892 * include/fnmatch.h: Likewise.
23893 * include/glob.h: Likewise.
23894 * include/grp.h: Likewise.
23895 * include/libio.h: Likewise.
23896 * include/locale.h: Likewise.
23897 * include/math.h: Likewise.
23898 * include/net/if.h: Likewise.
23899 * include/netdb.h: Likewise.
23900 * include/netinet/in.h: Likewise.
23901 * include/pthread.h: Likewise.
23902 * include/pwd.h: Likewise.
23903 * include/regex.h: Likewise.
23904 * include/sched.h: Likewise.
23905 * include/search.h: Likewise.
23906 * include/setjmp.h: Likewise.
23907 * include/signal.h: Likewise.
23908 * include/stdio.h: Likewise.
23909 * include/stdlib.h: Likewise.
23910 * include/string.h: Likewise.
23911 * include/sys/cdefs.h: Likewise.
23912 * include/sys/mman.h: Likewise.
23913 * include/sys/msg.h: Likewise.
23914 * include/sys/resource.h: Likewise.
23915 * include/sys/select.h: Likewise.
23916 * include/sys/socket.h: Likewise.
23917 * include/sys/stat.h: Likewise.
23918 * include/sys/statvfs.h: Likewise.
23919 * include/sys/time.h: Likewise.
23920 * include/sys/times.h: Likewise.
23921 * include/sys/uio.h: Likewise.
23922 * include/sys/utsname.h: Likewise.
23923 * include/sys/wait.h: Likewise.
23924 * include/termios.h: Likewise.
23925 * include/time.h: Likewise.
23926 * include/ulimit.h: Likewise.
23927 * include/unistd.h: Likewise.
23928 * include/utime.h: Likewise.
23929 * include/wchar.h: Likewise.
23930 * include/wctype.h: Likewise.
23931 * include/wordexp.h: Likewise.
23933 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23935 * time/time.h: TIME_UTC must be a macro.
23936 Make timespec_get available for ISO C11 only as well.
23938 2012-02-24 Ulrich Drepper <drepper@gmail.com>
23940 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23941 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23943 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23945 * configure.in: Use -o not -a in test for unsupported multi-arch.
23947 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23949 * manual/texinfo.tex: Update to version 2012-01-19.16.
23951 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23953 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23955 2012-02-24 Roland McGrath <roland@hack.frob.com>
23958 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23959 * manual/fdl-1.3.texi: New file.
23960 * manual/fdl-1.1.texi: File removed.
23963 * manual/libc.texinfo (FDL_VERSION): New @set.
23964 Use it for mention of FDL in cover text.
23965 (Documentation License): Use it in @include file name.
23967 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23968 Roland McGrath <roland@hack.frob.com>
23971 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23972 not LONG_LONG_MAX and LONG_LONG_MIN.
23973 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23974 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23976 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23978 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23982 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23983 manipulate bits before adding and subtracting TWO23[sx].
23984 * math/libm-test.inc (nearbyint_test): Add more tests.
23986 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23989 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23990 bits before adding and subtracting TWO23[sx].
23991 * math/libm-test.inc (rint_test): Add more tests.
23992 (rint_test_tonearest): Likewise.
23993 (rint_test_towardzero): Likewise.
23994 (rint_test_downward): Likewise.
23995 (rint_test_upward: Likewise.
23997 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24000 * include/stdc-predef.h: New file. Extracted from features.h.
24001 * include/features.h: Include stdc-predef.h.
24002 * Makefile (headers): Add stdc-predef.h.
24003 * CONFORMANCE (Compiler limitations): Update.
24005 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24007 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24009 2012-02-21 David S. Miller <davem@davemloft.net>
24011 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24012 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24014 2012-02-20 David S. Miller <davem@davemloft.net>
24016 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24017 using a normal save/restore sequence, rather than allocating a
24018 dummy stack frame just to store a frame pointer and restore.
24019 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24021 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24023 * manual/install.texi: Fix stray word in line-wrapped comment.
24025 2012-02-20 David S. Miller <davem@davemloft.net>
24027 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24028 both binutils and gcc support GOTDATA.
24030 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24031 "rd %pc" in the PIC register setup sequences.
24033 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24034 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24035 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24036 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24037 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24039 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24040 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24041 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24042 (SYSCALL_ERROR_HANDLER): Likewise.
24043 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24044 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24046 (SYSCALL_ERROR_HANDLER): Likewise.
24048 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24049 (HAVE_GCC_GOTDATA): New.
24050 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24051 relocation support in both binutils and gcc.
24052 * sysdeps/sparc/elf/configure: Regenerate.
24054 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24055 * sysdeps/sparc/sparc32/elf/configure: Delete.
24056 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24057 * sysdeps/sparc/sparc64/elf/configure: Delete.
24058 * sysdeps/sparc/elf/configure.in: New file.
24059 * sysdeps/sparc/elf/configure: Generate.
24061 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24062 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24063 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24064 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24065 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24067 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24069 * manual/install.texi: Do not mention specific glibc version
24071 * manual/libc.texinfo (VERSION, UPDATED): Update.
24072 (@copying): Use @copyright{} and range of years.
24074 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24077 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24078 [crti.S not in sysdirs] (generated): Do not append.
24079 [crti.S not in sysdirs] (omit-deps): Likewise.
24080 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24081 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24082 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24083 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24084 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24086 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24087 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24088 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24089 * csu/defs.awk: Remove file.
24090 * sysdeps/generic/initfini.c: Likewise.
24091 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24093 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24096 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24098 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24099 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24100 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24101 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24102 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24103 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24105 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24106 (__EPOLL_PACKED): Define to empty if not defined by
24108 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24112 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24114 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24115 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24116 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24117 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24119 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24123 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24125 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24127 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24128 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24129 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24132 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24137 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24139 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24140 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24142 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24144 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24147 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24149 * math/w_acos.c: Use non-signaling floating-point comparisons.
24150 * math/w_acosf.c: Likewise.
24151 * math/w_acosh.c: Likewise.
24152 * math/w_acoshf.c: Likewise.
24153 * math/w_acoshl.c: Likewise.
24154 * math/w_acosl.c: Likewise.
24155 * math/w_asin.c: Likewise.
24156 * math/w_asinf.c: Likewise.
24157 * math/w_asinl.c: Likewise.
24158 * math/w_atanh.c: Likewise.
24159 * math/w_atanhf.c: Likewise.
24160 * math/w_atanhl.c: Likewise.
24161 * math/w_exp2.c: Likewise.
24162 * math/w_exp2f.c: Likewise.
24163 * math/w_exp2l.c: Likewise.
24164 * math/w_j0.c: Likewise.
24165 * math/w_j0f.c: Likewise.
24166 * math/w_j0l.c: Likewise.
24167 * math/w_j1.c: Likewise.
24168 * math/w_j1f.c: Likewise.
24169 * math/w_j1l.c: Likewise.
24170 * math/w_jn.c: Likewise.
24171 * math/w_jnf.c: Likewise.
24172 * math/w_log.c: Likewise.
24173 * math/w_log10.c: Likewise.
24174 * math/w_log10f.c: Likewise.
24175 * math/w_log10l.c: Likewise.
24176 * math/w_log2.c: Likewise.
24177 * math/w_log2f.c: Likewise.
24178 * math/w_log2l.c: Likewise.
24179 * math/w_logf.c: Likewise.
24180 * math/w_logl.c: Likewise.
24181 * math/w_sqrt.c: Likewise.
24182 * math/w_sqrtf.c: Likewise.
24183 * math/w_sqrtl.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24187 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24188 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24190 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24193 * manual/string.texi (strnlen): Use correct parameter name in
24194 equivalent expression.
24196 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24199 * manual/users.texi (seteuid): Consistently use neweuid for
24202 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24205 * manual/nss.texi (Services in the NSS configuration): Correct
24206 list of services in example configuration file.
24208 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24211 * manual/arith.texi: Remove statements about negative zero
24212 behaving identically to zero.
24214 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24217 * manual/install.texi: Do not document upgrading from libc5.
24219 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24222 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24224 2012-02-18 David S. Miller <davem@davemloft.net>
24226 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24227 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24228 %o7 across the call.
24229 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24232 SETUP_PIC_REG_LEAF.
24233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24234 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24235 * sysdeps/sparc/crtn.S: Likewise.
24237 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24239 * aout/Makefile: Remove.
24241 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24244 * manual/examples/argp-ex1.c (main): Format definition in GNU
24246 * manual/examples/argp-ex2.c (main): Likewise.
24247 * manual/examples/argp-ex3.c (main): Likewise.
24248 * manual/examples/argp-ex4.c (main): Likewise.
24249 * manual/examples/longopt.c (main): Use new-style prototype
24251 * manual/examples/strncat.c (main): Specify return type and use
24252 (void) for arguments.
24253 * manual/examples/subopt.c (main): Use char **argv argument.
24255 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24258 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24261 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24264 * manual/string.texi (strchr): Change when strchrnul is
24267 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24270 * manual/locale.texi (setlocale): Document LOCPATH.
24272 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24275 * manual/process.texi (execle): Move @dots{} before last argument.
24277 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24280 * manual/charset.texi (Generic Charset Conversion): Fix typo
24281 (LC_TYPE -> LC_CTYPE).
24283 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24286 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24287 (scalbnf): Likewise.
24288 (scalbnl): Likewise.
24289 (scalbln): Likewise.
24290 (scalblnf): Likewise.
24291 (scalblnl): Likewise.
24292 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24293 (vwarnx): Likewise.
24296 * manual/filesys.texi (telldir): Use braces around return type.
24297 * manual/llio.texi (mmap): Add space after comma.
24298 (mmap64): Likewise.
24299 * manual/math.texi (jn): Use @var{} on parameter names.
24305 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24307 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24309 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24310 (sched_get_priority_max): Likewise.
24311 * manual/signal.texi (sigvec): Add space after comma.
24312 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24314 (if_indextoname): Likewise.
24315 (if_freenameindex): Likewise.
24316 (sendto): Use ',' instead of '.' in prototype.
24317 * manual/startup.texi (syscall): Use @dots{} instead of literal
24319 * manual/stdio.texi (__fpending): Separate initial words of
24320 paragraph from @deftypefun line.
24321 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24323 (vsyslog): Use @var{} on parameter names.
24324 * manual/terminal.texi (stty): Use @var{} on parameter names.
24325 * manual/users.texi (getutmp): Use @var{} on parameter names.
24326 (getutmpx): Likewise.
24328 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24331 * manual/stdio.texi (fopen): Fix typos in description of
24334 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24337 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24338 get clock_id definition.
24340 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24343 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24344 (madvise): Cast every argument to void on its own.
24346 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24349 * manual/startup.texi (Exit Status): Fix typo.
24351 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24354 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24355 * manual/examples/argp-ex2.c: Likewise.
24356 * manual/examples/argp-ex3.c: Likewise.
24358 2012-02-16 Richard Henderson <rth@redhat.com>
24360 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24361 * sysdeps/s390/s390-32/initfini.c: Remove.
24362 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24363 * sysdeps/s390/s390-64/initfini.c: Remove.
24365 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24367 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24368 compiler output for sysdeps/generic/initfini.c.
24369 * sysdeps/sh/elf/initfini.c: Remove file.
24371 2012-02-16 David S. Miller <davem@davemloft.net>
24374 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24376 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24377 * sysdeps/sparc/crti.S: New file.
24378 * sysdeps/sparc/crtn.S: New file.
24379 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24380 * sysdeps/sparc/sparc64/Makefile: Likewise.
24382 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24385 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24387 2012-02-15 Roland McGrath <roland@hack.frob.com>
24390 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24392 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24393 (write, read, close): Likewise.
24394 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24396 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24398 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24399 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24400 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24401 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24403 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24407 2012-02-14 Marek Polacek <polacek@redhat.com>
24409 * sysdeps/x86_64/crti.S: New file.
24410 * sysdeps/x86_64/crtn.S: New file.
24411 * sysdeps/x86_64/elf/initfini.c: Remove file.
24413 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24415 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24416 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24417 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24418 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24420 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24424 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24426 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24427 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24428 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24429 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24431 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24435 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24437 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24438 __feraiseexcept instead of feraiseexcept.
24440 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24441 nanosleep invocations.
24442 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24443 strings, and add error checking for a nanosleep invocations.
24445 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24447 Replace FSF snail mail address with URLs, as per GNU coding standards.
24448 Most of the snail mail addresses were wrong anyway, and omitting
24449 them makes the source code easier to maintain. Almost all of the
24450 changes are to license notices and to locale LC_IDENTIFICATION
24451 addresses, except for this one:
24452 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24453 not its snail mail address.
24455 2012-02-09 Richard Henderson <rth@twiddle.net>
24457 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24458 of kernel-features.h.
24460 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24462 2012-02-08 Marek Polacek <polacek@redhat.com>
24464 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24465 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24466 * sysdeps/gnu/_G_config.h: Likewise.
24467 * sysdeps/generic/_G_config.h: Likewise.
24469 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24471 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24475 * sysdeps/powerpc/powerpc32/crti.S: New file.
24476 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24477 * sysdeps/powerpc/powerpc64/crti.S: New file.
24478 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24480 * Makeconfig (have-initfini): Don't set.
24481 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24482 * configure.in (nopic_initfini): Don't substitute.
24483 * config.h.in (HAVE_INITFINI): Don't #undef.
24484 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24485 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24487 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24489 Support crti.S and crtn.S provided directly by architectures.
24490 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24491 [crti.S in sysdirs] (omit-deps): Likewise.
24492 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24493 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24494 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24495 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24496 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24497 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24498 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24499 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24500 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24501 compiler output for sysdeps/generic/initfini.c.
24502 * sysdeps/i386/elf/Makefile: Remove file.
24503 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24505 2012-02-07 Marek Polacek <polacek@redhat.com>
24507 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24508 * sysdeps/gnu/_G_config.h: Likewise.
24509 * sysdeps/mach/hurd/_G_config.h: Likewise.
24511 2012-02-07 Marek Polacek <polacek@redhat.com>
24513 * math/Makefile (tests): Add tst-CMPLX2.
24514 * math/tst-CMPLX2.c: New file.
24516 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24518 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24520 * math/libm-test.inc (jn_test): Add missing L suffix.
24522 2012-02-06 Marek Polacek <polacek@redhat.com>
24524 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24525 * sysdeps/i386/fpu/e_powf.S: Likewise.
24526 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24527 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24528 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24529 * sysdeps/i386/fpu/e_pow.S: Likewise.
24530 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24531 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24532 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24533 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24534 * sysdeps/i386/fpu/e_log2.S: Likewise.
24535 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24536 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24537 * sysdeps/i386/fpu/e_powl.S: Likewise.
24538 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24540 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24541 * sysdeps/i386/fpu/e_logl.S: Likewise.
24542 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24543 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24544 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24545 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24546 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24547 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24548 * sysdeps/i386/fpu/e_log.S: Likewise.
24549 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24550 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24551 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24552 * sysdeps/i386/fpu/e_logf.S: Likewise.
24553 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24554 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24555 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24556 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24557 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24558 * sysdeps/i386/fpu/e_log10.S: Likewise.
24559 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24560 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24561 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24562 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24564 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24565 * sysdeps/i386/asm-syntax.h: Likewise.
24566 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24567 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24568 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24569 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24570 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24571 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24572 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24573 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24574 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24575 * sysdeps/powerpc/sysdep.h: Likewise.
24576 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24577 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24579 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24582 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24584 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24586 * sysdeps/i386/sysdep.h: Include <features.h>.
24587 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24590 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24592 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24594 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24597 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24599 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24600 (SETUP_PIC_REG): Use GET_PC_THUNK.
24601 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24604 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24606 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24607 for non-PIC compilation.
24608 (SETUP_PIC_REG): Add .p2align directive.
24609 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24610 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24611 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24612 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24613 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24614 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24615 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24617 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24618 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24619 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24620 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24621 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24622 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24623 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24624 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24625 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24626 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24627 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24628 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24629 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24630 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24631 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24632 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24633 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24635 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24637 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24638 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24639 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24640 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24641 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24642 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24643 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24644 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24645 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24646 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24647 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24648 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24649 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24651 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24653 * math/tst-CMPLX.c: Include <stdio.h>.
24655 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24657 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24659 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24660 * sysdeps/sparc/bits/mathdef.h: Likewise.
24662 2012-01-31 Marek Polacek <polacek@redhat.com>
24664 * libio/libio.h: Don't define _PARAMS.
24665 * locale/programs/config.h: Don't define PARAMS.
24666 * stdlib/strtol_l.c: Likewise.
24667 (__strtol_l): Remove PARAMS from the prototype.
24669 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24671 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24672 names. Just use the correct names. Remove unnecessary wrapper
24674 * malloc/arena.c: Likewise.
24675 * malloc/hooks.c: Likewise.
24677 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24678 ARENA_TEST says not to. Simplify test for creation of a new arena.
24679 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24681 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24683 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24685 (update_get_addr): New function.
24686 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24687 GET_ADDR_MODULE parameter.
24689 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24691 * crypt/cert.c: Remove __STDC__ conditionals.
24692 * crypt/crypt-entry.c: Likewise.
24693 * crypt/crypt_util.c: Likewise.
24694 * libio/filedoalloc.c: Likewise.
24695 * libio/fileops.c: Likewise.
24696 * libio/genops.c: Likewise.
24697 * libio/iofclose.c: Likewise.
24698 * libio/iofdopen.c: Likewise.
24699 * libio/iofopen.c: Likewise.
24700 * libio/iofopen64.c: Likewise.
24701 * libio/iogetdelim.c: Likewise.
24702 * libio/iopopen.c: Likewise.
24703 * libio/obprintf.c: Likewise.
24704 * libio/oldfileops.c: Likewise.
24705 * libio/oldiofclose.c: Likewise.
24706 * libio/oldiofdopen.c: Likewise.
24707 * libio/oldiofopen.c: Likewise.
24708 * libio/oldiopopen.c: Likewise.
24709 * libio/wfiledoalloc.c: Likewise.
24710 * libio/wgenops.c: Likewise.
24711 * locale/programs/xmalloc.c: Likewise.
24712 * misc/syslog.c: Likewise.
24713 * stdio-common/xbug.c: Likewise.
24714 * string/memchr.c: Likewise.
24715 * string/memcmp.c: Likewise.
24716 * string/memrchr.c: Likewise.
24717 * string/rawmemchr.c: Likewise.
24718 * sysdeps/posix/getcwd.c: Likewise.
24719 * time/strftime_l.c: Likewise.
24721 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24723 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24724 * config.make.in (config-cflags-sse2avx): Define.
24725 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24728 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24730 * scripts/config.guess: Update from upstream config git repository.
24731 * scripts/config.sub: Likewise.
24733 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24735 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24737 (R_TILEPRO_*, R_TILEGX_*): New macros.
24739 * scripts/firstversions.awk: Fix bug in version range handling.
24741 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24743 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24745 * include/sys/epoll.h: New file.
24746 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24749 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24751 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24752 Avoid unnecessary __WORDSIZE == 64 test.
24753 (fmaxf): Use VEX format if possible.
24758 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24759 * math/math_private.h: Remove libc_fegetround* and
24761 * sysdeps/i386/configure.in: Check for -msse2avx.
24762 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24763 also if SSE2AVX is defined.
24764 Remove libc_fegetround* and libc_fesetround*.
24765 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24766 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24767 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24769 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24770 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24771 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24772 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24773 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24775 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24777 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24779 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24781 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24783 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24786 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24788 * Makeconfig (libm): Define.
24789 * elf/Makefile: Add rules to build and run tst-relsort1.
24790 * elf/tst-relsort1.c: New file.
24791 * elf/tst-relsort1mod1.c: New file.
24792 * elf/tst-relsort1mod2.c: New file.
24794 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24796 * math/s_ldexp.c: Remove __STDC__ conditionals.
24797 * math/s_ldexpf.c: Likewise.
24798 * math/s_ldexpl.c: Likewise.
24799 * math/s_nextafter.c: Likewise.
24800 * math/s_nexttowardf.c: Likewise.
24801 * math/s_significand.c: Likewise.
24802 * math/s_significandf.c: Likewise.
24803 * math/s_significandl.c: Likewise.
24804 * math/w_jnl.c: Likewise.
24805 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24806 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24807 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24808 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24809 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24810 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24811 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24812 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24813 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24814 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24815 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24817 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24818 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24819 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24820 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24821 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24822 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24823 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24824 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24825 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24826 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24827 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24828 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24829 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24830 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24831 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24832 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24833 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24834 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24835 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24836 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24837 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24838 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24839 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24840 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24841 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24842 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24843 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24844 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24845 * sysdeps/ieee754/k_standard.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24855 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24864 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24865 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24874 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24875 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24876 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24877 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24878 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24881 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24882 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24883 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24884 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24885 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24888 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24898 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24899 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24900 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24902 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24903 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24904 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24905 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24906 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24907 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24908 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24910 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24911 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24912 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24915 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24916 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24917 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24920 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24921 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24922 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24923 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24924 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24925 * sysdeps/ieee754/s_matherr.c: Likewise.
24926 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24927 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24929 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24931 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24933 * crypt/md5.h: Remove __STDC__ conditionals.
24934 * libio/libioP.h: Likewise.
24935 * locale/programs/config.h: Likewise.
24936 * sysdeps/generic/sysdep.h: Likewise.
24937 * sysdeps/i386/asm-syntax.h: Likewise.
24938 * sysdeps/s390/asm-syntax.h: Likewise.
24939 * sysdeps/unix/sysdep.h: Likewise.
24940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24943 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24945 * libio/libio.h: Remove __STDC__ conditionals.
24946 * malloc/obstack.h: Likewise.
24947 * math/complex.h: Likewise.
24948 * math/math.h: Likewise.
24949 * sysdeps/generic/_G_config.h: Likewise.
24950 * sysdeps/gnu/_G_config.h: Likewise.
24951 * sysdeps/mach/hurd/_G_config.h: Likewise.
24952 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24953 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24954 * sysdeps/sparc/bits/mathdef.h: Likewise.
24956 2012-01-26 Ulrich Drepper <drepper@gmail.com>
24959 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24960 Clean up HAS_* macros.
24961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24962 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24964 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24966 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24967 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24968 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24969 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24970 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24972 2012-01-25 Joseph Myers <joseph@codesourcery.com>
24974 * elf/tst-unique3.cc (gets): Remove declaration.
24975 * elf/tst-unique3lib.cc (gets): Likewise.
24976 * elf/tst-unique3lib2.cc (gets): Likewise.
24977 * elf/tst-unique4.cc (gets): Likewise.
24979 2012-01-24 Ulrich Drepper <drepper@gmail.com>
24981 * include/stdio.h: Add C++ protection. Add gets declarations and
24983 * debug/tst-chk1.c: Don't declare gets here.
24984 * stdio-common/tst-gets.c: Likewise.
24986 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24988 * posix/glob: Remove directory.
24990 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24992 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24994 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24996 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24997 of the non-standard EPFNOSUPPORT.
24999 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25001 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25002 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25003 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25005 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25007 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25009 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25011 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25013 * nscd/grpcache.c (cache_addgr): Likewise.
25014 * nscd/hstcache.c (cache_addhst): Likewise.
25015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25016 * nscd/pwdcache.c (cache_addpw): Likewise.
25017 * nscd/servicescache.c (cache_addserv): Likewise.
25019 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25021 * malloc/malloc.c: Various cleanups.
25022 * malloc/hooks.c: Likewise.
25024 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25025 * stdlib/bug-fmtmsg1.c: New file.
25027 * stdlib/fmtmsg.c (init): Add missing unlock.
25028 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25030 2012-01-12 Marek Polacek <polacek@redhat.com>
25032 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25035 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25037 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25038 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25039 macro to ensure uniqueness of label name.
25040 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25041 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25043 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25045 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25047 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25048 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25049 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25052 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25054 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25056 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25057 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25058 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25060 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25062 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25063 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25064 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25067 * math/bits/math-finite.h: Add ldexp support.
25069 2012-01-10 Marek Polacek <polacek@redhat.com>
25071 * locale/programs/localedef.h (show_archive_content): Add noreturn
25074 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25076 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25078 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25080 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25082 * io/Makefile (headers): Add bits/poll2.h.
25084 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25087 typo #include statement.
25089 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25091 * include/sys/cdefs.h: Define __attribute_alloc_size.
25092 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25093 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25094 * elf/pldd.c: Likewise.
25095 * iconv/iconv_charmap.c: Likewise.
25096 * iconv/iconvconfig.c: Likewise.
25097 * iconv/strtab.c: Likewise.
25098 * locale/programs/locale.c: Likewise.
25099 * locale/programs/localedef.h: Likewise.
25100 * locale/programs/simple-hash.c: Likewise.
25101 * nscd/nscd.h: Likewise.
25102 * nss/makedb.c: Likewise.
25103 * sysdeps/generic/ldconfig.h: Likewise.
25104 * locale/programs/localedef.c: Remove xmalloc prototype.
25105 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25107 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25109 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25112 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25114 * math/Makefile (tests): Add tst-CMPLX.
25115 * math/tst-CMPLX.c: New file.
25117 * math/complex.h (CMPLXL): Fix typo.
25119 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25120 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25122 * debug/tst-chk1.c: Add poll and ppoll tests.
25123 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25124 * include/sys/poll.h: Add hidden proto for ppoll.
25125 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25126 * sysdeps/mach/hurd/ppoll.c: Likewise.
25127 * io/ppoll.c: Likewise.
25128 * debug/poll_chk.c: New file.
25129 * debug/ppoll_chk.c: New file.
25130 * include/bits/poll2.h: New file.
25131 * io/bits/poll2.h: New file.
25134 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25136 * configure.in: static is always set to yes. Remove.
25137 * config.make.in: Don't set build-static.
25138 * Makeconfig: Remove use of build-static.
25139 * dlfcn/Makefile: Likewise.
25140 * elf/Makefile: Likewise.
25141 * math/Makefile: Likewise.
25142 * misc/Makefile: Likewise.
25143 * nptl/Makefile: Likewise.
25144 * sysdeps/mach/hurd/Makefile: Likewise.
25146 * configure.in: PWD_P is not used anymore.
25147 * config.make.in: Remove PWD_P entry.
25149 * configure.in: Remove last remnants of RANLIB.
25150 No need to check for signed size_t anymore.
25151 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25153 Remove __builtin_expect test because we require at least gcc 3.4.
25154 * aclocal.m4: Likewise.
25156 * wcsmbs/mbrtoc16.c: Implement using towc function.
25157 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25158 * wcsmbs/wcsmbsload.c: Likewise.
25159 * iconv/gconv_simple.c: Likewise.
25160 * iconv/gconv_int.h: Likewise.
25161 * iconv/gconv_builtin.h: Likewise.
25162 * iconv/iconv_prog.c: Remove CHAR16 handling.
25164 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25166 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25168 * configure.in: Remove --with-elf and --enable-bounded options.
25169 Dont set base_machine for ia64. More non-ELF conditions removed.
25170 Remove testing and setting of leading underscore information.
25171 * config.make.in (build-bounded): Set to no.
25172 * config.h.in: Remove NO_UNDERSCORES entry.
25173 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25175 * csu/start.c: Remove !NO_UNDERSCORE code.
25176 * locale/localeinfo.h: Likewise.
25177 * sysdeps/generic/machine-gmon.h: Likewise.
25178 * sysdeps/generic/sysdep.h: Likewise.
25179 * sysdeps/i386/sysdep.h: Likewise.
25180 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25181 * sysdeps/mach/sysdep.h: Likewise.
25182 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25184 * sysdeps/sh/sysdep.h: Likewise.
25185 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25186 * sysdeps/unix/i386/sysdep.S: Likewise.
25187 * sysdeps/unix/sparc/start.c: Likewise.
25188 * sysdeps/unix/sparc/sysdep.S: Likewise.
25189 * sysdeps/unix/sparc/sysdep.h: Likewise.
25190 * sysdeps/unix/start.c: Likewise.
25191 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25192 * sysdeps/x86_64/sysdep.h: Likewise.
25194 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25197 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25199 * argp/argp-fmtstream.h: Use const instead __const.
25200 * argp/argp.h: Likewise.
25201 * assert/assert.h: Likewise.
25202 * bits/fenv.h: Likewise.
25203 * bits/sched.h: Likewise.
25204 * bits/sigset.h: Likewise.
25205 * bits/sigthread.h: Likewise.
25206 * catgets/nl_types.h: Likewise.
25207 * conform/data/pthread.h-data: Likewise.
25208 * crypt/crypt-private.h: Likewise.
25209 * crypt/crypt.h: Likewise.
25210 * crypt/crypt_util.c: Likewise.
25211 * ctype/ctype.h: Likewise.
25212 * debug/execinfo.h: Likewise.
25213 * debug/mbsnrtowcs_chk.c: Likewise.
25214 * debug/mbsrtowcs_chk.c: Likewise.
25215 * debug/wcsnrtombs_chk.c: Likewise.
25216 * debug/wcsrtombs_chk.c: Likewise.
25217 * debug/wcstombs_chk.c: Likewise.
25218 * dirent/dirent.h: Likewise.
25219 * dlfcn/dlfcn.h: Likewise.
25220 * elf/neededtest4.c: Likewise.
25221 * grp/grp.h: Likewise.
25222 * gshadow/gshadow.h: Likewise.
25223 * iconv/gconv.h: Likewise.
25224 * iconv/gconv_int.h: Likewise.
25225 * iconv/gconv_simple.c: Likewise.
25226 * iconv/iconv.h: Likewise.
25227 * iconv/loop.c: Likewise.
25228 * iconv/skeleton.c: Likewise.
25229 * include/aio.h: Likewise.
25230 * include/aliases.h: Likewise.
25231 * include/argz.h: Likewise.
25232 * include/arpa/inet.h: Likewise.
25233 * include/assert.h: Likewise.
25234 * include/dirent.h: Likewise.
25235 * include/dlfcn.h: Likewise.
25236 * include/execinfo.h: Likewise.
25237 * include/fcntl.h: Likewise.
25238 * include/fenv.h: Likewise.
25239 * include/glob.h: Likewise.
25240 * include/grp.h: Likewise.
25241 * include/libintl.h: Likewise.
25242 * include/mntent.h: Likewise.
25243 * include/netdb.h: Likewise.
25244 * include/pwd.h: Likewise.
25245 * include/rpc/netdb.h: Likewise.
25246 * include/sched.h: Likewise.
25247 * include/search.h: Likewise.
25248 * include/shadow.h: Likewise.
25249 * include/signal.h: Likewise.
25250 * include/stdio.h: Likewise.
25251 * include/stdlib.h: Likewise.
25252 * include/string.h: Likewise.
25253 * include/sys/socket.h: Likewise.
25254 * include/sys/stat.h: Likewise.
25255 * include/sys/statfs.h: Likewise.
25256 * include/sys/statvfs.h: Likewise.
25257 * include/sys/syslog.h: Likewise.
25258 * include/sys/time.h: Likewise.
25259 * include/sys/uio.h: Likewise.
25260 * include/time.h: Likewise.
25261 * include/unistd.h: Likewise.
25262 * include/utmp.h: Likewise.
25263 * include/wchar.h: Likewise.
25264 * include/wctype.h: Likewise.
25265 * inet/aliases.h: Likewise.
25266 * inet/arpa/inet.h: Likewise.
25267 * inet/netinet/ether.h: Likewise.
25268 * inet/netinet/in.h: Likewise.
25269 * intl/libintl.h: Likewise.
25270 * io/bits/fcntl2.h: Likewise.
25271 * io/fcntl.h: Likewise.
25272 * io/ftw.h: Likewise.
25273 * io/sys/poll.h: Likewise.
25274 * io/sys/stat.h: Likewise.
25275 * io/sys/statfs.h: Likewise.
25276 * io/sys/statvfs.h: Likewise.
25277 * io/utime.h: Likewise.
25278 * libio/bits/stdio.h: Likewise.
25279 * libio/bits/stdio2.h: Likewise.
25280 * libio/libio.h: Likewise.
25281 * libio/libioP.h: Likewise.
25282 * libio/stdio.h: Likewise.
25283 * locale/lc-ctype.c: Likewise.
25284 * locale/locale.h: Likewise.
25285 * login/utmp.h: Likewise.
25286 * malloc/arena.c: Likewise.
25287 * malloc/malloc.c: Likewise.
25288 * malloc/malloc.h: Likewise.
25289 * malloc/mcheck.c: Likewise.
25290 * malloc/mtrace.c: Likewise.
25291 * math/bits/mathcalls.h: Likewise.
25292 * math/fenv.h: Likewise.
25293 * math/math_private.h: Likewise.
25294 * misc/bits/error.h: Likewise.
25295 * misc/bits/syslog.h: Likewise.
25296 * misc/err.h: Likewise.
25297 * misc/error.h: Likewise.
25298 * misc/fstab.h: Likewise.
25299 * misc/mntent.h: Likewise.
25300 * misc/regexp.h: Likewise.
25301 * misc/search.h: Likewise.
25302 * misc/sgtty.h: Likewise.
25303 * misc/sys/mman.h: Likewise.
25304 * misc/sys/syslog.h: Likewise.
25305 * misc/sys/uio.h: Likewise.
25306 * misc/sys/xattr.h: Likewise.
25307 * misc/ttyent.h: Likewise.
25308 * nis/rpcsvc/ypclnt.h: Likewise.
25309 * nss/nss.h: Likewise.
25310 * posix/bits/unistd.h: Likewise.
25311 * posix/fnmatch.h: Likewise.
25312 * posix/glob.h: Likewise.
25313 * posix/sched.h: Likewise.
25314 * posix/spawn.h: Likewise.
25315 * posix/sys/wait.h: Likewise.
25316 * posix/unistd.h: Likewise.
25317 * posix/wordexp.h: Likewise.
25318 * pwd/pwd.h: Likewise.
25319 * resolv/netdb.h: Likewise.
25320 * resource/sys/resource.h: Likewise.
25321 * rt/aio.h: Likewise.
25322 * rt/bits/mqueue2.h: Likewise.
25323 * rt/mqueue.h: Likewise.
25324 * shadow/shadow.h: Likewise.
25325 * signal/signal.h: Likewise.
25326 * socket/send.c: Likewise.
25327 * socket/sendto.c: Likewise.
25328 * socket/sys/socket.h: Likewise.
25329 * stdio-common/printf.h: Likewise.
25330 * stdlib/bits/stdlib.h: Likewise.
25331 * stdlib/fmtmsg.h: Likewise.
25332 * stdlib/monetary.h: Likewise.
25333 * stdlib/stdlib.h: Likewise.
25334 * stdlib/ucontext.h: Likewise.
25335 * streams/stropts.h: Likewise.
25336 * string/argz.h: Likewise.
25337 * string/bits/string2.h: Likewise.
25338 * string/string.h: Likewise.
25339 * string/strings.h: Likewise.
25340 * sunrpc/rpc/auth.h: Likewise.
25341 * sunrpc/rpc/auth_des.h: Likewise.
25342 * sunrpc/rpc/clnt.h: Likewise.
25343 * sunrpc/rpc/netdb.h: Likewise.
25344 * sunrpc/rpc/pmap_clnt.h: Likewise.
25345 * sunrpc/rpc/xdr.h: Likewise.
25346 * sysdeps/generic/inttypes.h: Likewise.
25347 * sysdeps/generic/net/if.h: Likewise.
25348 * sysdeps/generic/sys/swap.h: Likewise.
25349 * sysdeps/gnu/net/if.h: Likewise.
25350 * sysdeps/gnu/utmpx.h: Likewise.
25351 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25352 * sysdeps/i386/i486/bits/string.h: Likewise.
25353 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25354 * sysdeps/s390/bits/string.h: Likewise.
25355 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25356 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25357 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25358 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25359 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25360 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25361 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25362 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25363 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25364 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25365 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25366 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25367 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25368 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25369 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25370 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25371 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25373 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25374 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25375 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25376 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25377 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25378 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25379 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25380 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25381 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25382 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25383 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25384 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25385 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25386 * sysvipc/sys/ipc.h: Likewise.
25387 * sysvipc/sys/msg.h: Likewise.
25388 * sysvipc/sys/sem.h: Likewise.
25389 * sysvipc/sys/shm.h: Likewise.
25390 * termios/termios.h: Likewise.
25391 * time/sys/time.h: Likewise.
25392 * time/time.h: Likewise.
25393 * wcsmbs/bits/wchar2.h: Likewise.
25394 * wcsmbs/uchar.h: Likewise.
25395 * wcsmbs/wchar.h: Likewise.
25396 * wctype/wctype.h: Likewise.
25399 * Makeconfig: Remove all but ELF support including AIX support.
25400 * Makerules: Likewise.
25401 * config.h.in: Likewise.
25402 * config.make.in: Likewise.
25403 * configure: Likewise.
25404 * configure.in: Likewise.
25405 * csu/Makefile: Likewise.
25406 * csu/version.c: Likewise.
25407 * debug/Makefile: Likewise.
25408 * dlfcn/Makefile: Likewise.
25409 * elf/Makefile: Likewise.
25410 * extra-lib.mk: Likewise.
25411 * iconv/Makefile: Likewise.
25412 * include/libc-symbols.h: Likewise.
25413 * include/shlib-compat.h: Likewise.
25414 * resolv/Makefile: Likewise.
25415 * resolv/res_libc.c: Likewise.
25416 * rt/Makefile: Likewise.
25417 * sysdeps/i386/asm-syntax.h: Likewise.
25418 * sysdeps/i386/sysdep.h: Likewise.
25419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25420 * sysdeps/mach/sysdep.h: Likewise.
25421 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25422 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25423 * sysdeps/s390/asm-syntax.h: Likewise.
25424 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25426 * sysdeps/sh/sysdep.h: Likewise.
25427 * sysdeps/unix/sparc/sysdep.h: Likewise.
25428 * sysdeps/wordsize-32/divdi3.c: Likewise.
25429 * sysdeps/x86_64/sysdep.h: Likewise.
25431 * argp/Versions: Remove _argp_unlock_xxx.
25434 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25435 * abilist/libBrokenLocale.abilist: Likewise.
25436 * abilist/libanl.abilist: Likewise.
25437 * abilist/libc.abilist: Likewise.
25438 * abilist/libcrypt.abilist: Likewise.
25439 * abilist/libdl.abilist: Likewise.
25440 * abilist/libm.abilist: Likewise.
25441 * abilist/libnsl.abilist: Likewise.
25442 * abilist/libpthread.abilist: Likewise.
25443 * abilist/libresolv.abilist: Likewise.
25444 * abilist/librt.abilist: Likewise.
25445 * abilist/libthread_db.abilist: Likewise.
25446 * abilist/libutil.abilist: Likewise.
25447 * abilist/libnss_db.abilist: New file.
25449 * scripts/abilist.awk: Add support for indirect functions.
25451 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25453 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25455 * shlib-versions: Remove entries for ports architectures.
25457 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25459 * elf/stackguard-macros.h: Remove support for IA-64.
25460 * elf/tst-auditmod1.c: Likewise.
25461 * sysdeps/generic/ldsodefs.h: Likewise.
25463 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25464 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25468 * configure.in: Remove --enable-omitfp support.
25470 * config.make.in: Likewise.
25471 * Makeconfig: Likewise.
25472 * manual/install.texi: Likewise.
25474 In case anyone cares, the IA-64 architecture could move to ports.
25475 * sysdeps/ia64/*: Removed.
25476 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25477 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25480 * configure.in: Remove entries for unsupported architectures.
25483 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25484 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25486 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25487 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25488 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25489 fall back to using wcrtomb.
25490 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25491 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25493 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25494 * wcsmbs/tst-c16c32-1.c: New file.
25496 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25499 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25501 * elf/tst-unique3.cc: Add explicit declaration of gets.
25502 * elf/tst-unique3lib.cc: Likewise.
25503 * elf/tst-unique3lib2.cc: Likewise.
25504 * elf/tst-unique4.cc: Likewise.
25506 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25508 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25511 * assert/assert.h (static_assert): Don't define for C++.
25512 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25513 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25515 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25517 * iconv/loop.c (single loop): Fix assertion in storing of
25520 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25522 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25524 * posix/getconf.c: Update copyright year.
25525 * nss/getent.c: Likewise.
25526 * nss/makedb.c: Likewise.
25527 * iconv/iconvconfig.c: Likewise.
25528 * iconv/iconv_prog.c: Likewise.
25529 * elf/ldconfig.c: Likewise.
25530 * elf/pldd.c: Likewise.
25531 * elf/sotruss.ksh: Likewise.
25532 * catgets/gencat.c: Likewise.
25533 * csu/version.c: Likewise.
25534 * elf/ldd.bash.in: Likewise.
25535 * elf/sprof.c (print_version): Likewise.
25536 * locale/programs/locale.c: Likewise.
25537 * locale/programs/localedef.c: Likewise.
25538 * login/programs/pt_chown.c: Likewise.
25539 * nscd/nscd.c (print_version): Likewise.
25540 * debug/xtrace.sh: Likewise.
25541 * malloc/memusage.sh: Likewise.
25542 * malloc/mtrace.pl: Likewise.
25543 * debug/catchsegv.sh: Likewise.
25545 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25547 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25550 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25553 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25554 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25556 * iconv/gconv_int.h: Likewise.
25557 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25558 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25559 from libc for GLIBC_2.16.
25560 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25561 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25562 * wcsmbs/uchar.h: Really define mbstate_t.
25563 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25564 * wcsmbs/c16rtomb.c: New file.
25565 * wcsmbs/mbrtoc16.c: New file.
25566 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25567 for C/POSIX locale.
25568 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25569 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25571 * wcsmbs/wchar.h: Add missing __restrict.
25573 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25576 * time/Makefile (routines): Add timespec_get.
25577 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25578 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25579 timespec for ISO C11.
25580 * time/timespec_get.c: New file.
25581 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25582 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25585 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25586 * stdlib/stdlib.h: Declare aligned_alloc.
25587 * Versions.def: Add GLIBC_2.16 for libc.
25588 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25591 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25594 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25598 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25601 * assert/assert.h (static_assert): Define.
25603 * version.h: Update for 2.16 development version.
25606 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25609 * version.h (RELEASE): Bump for 2.15 release.
25610 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25612 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25613 Patch by Marek Polacek <mpolacek@redhat.com>.
25615 * bits/byteswap.h: Protect long long constants with __extension__.
25616 * sysdeps/i386/bits/byteswap.h: Likewise.
25617 * sysdeps/ia64/bits/byteswap.h: Likewise.
25618 * sysdeps/s390/bits/byteswap.h: Likewise.
25619 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25621 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25625 destination buffer.
25626 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25628 2011-12-23 Marek Polacek <polacek@redhat.com>
25630 * elf/dl-addr.c (determine_info): Add inline keyword.
25631 * elf/tst-auditmod4b.c (check_avx): Likewise.
25632 * elf/tst-auditmod6b.c (check_avx): Likewise.
25633 * elf/tst-auditmod6c.c (check_avx): Likewise.
25634 * elf/tst-auditmod7b.c (check_avx): Likewise.
25636 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25638 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25641 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25644 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25645 processing for last bytes.
25647 2011-08-06 Bruno Haible <bruno@clisp.org>
25650 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25651 U+0385, not to U+1FEE.
25654 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25655 entry for U+00A5 U+0301.
25657 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25660 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25661 buffer for the output is too small.
25663 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25667 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25668 SSE flags if possible.
25670 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25674 processing for last bytes.
25676 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25678 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25679 (syscall-list-default-options, syscall-list-default-condition)
25680 (syscall-list-includes): Define.
25681 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25682 list of ABIs and options and #if conditions for each ABI. Do not
25683 handle common syscalls between ABIs specially.
25684 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25686 (syscall-list-variants, syscall-list-32bit-options)
25687 (syscall-list-32bit-condition, syscall-list-64bit-options)
25688 (syscall-list-64bit-condition): Define.
25689 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25690 (syscall-list-variants, syscall-list-32bit-options)
25691 (syscall-list-32bit-condition, syscall-list-64bit-options)
25692 (syscall-list-64bit-condition): Define.
25693 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25695 (syscall-list-variants, syscall-list-32bit-options)
25696 (syscall-list-32bit-condition, syscall-list-64bit-options)
25697 (syscall-list-64bit-condition): Define.
25698 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25700 (syscall-list-variants, syscall-list-32bit-options)
25701 (syscall-list-32bit-condition, syscall-list-64bit-options)
25702 (syscall-list-64bit-condition): Define.
25704 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25706 * locale/iso-639.def: Add brx entry.
25709 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25710 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25712 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25713 __feraiseexcept_renamed.
25715 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25718 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25719 EPOLLET with unsigned values.
25720 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25721 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25723 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25724 to large cancellation.
25725 * math/s_cacoshf.c: Likewise.
25726 * math/s_cacoshl.c: Likewise.
25728 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25732 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25733 * math/s_cacoshf.c: Likewise.
25734 * math/s_cacoshl.c: Likewise.
25736 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25739 * iconv/gconv.h: Define __GCONV_SWAP.
25740 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25741 * iconvdata/utf-16.c: Likewise.
25742 * iconvdata/utf-32.c: Likewise.
25744 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25747 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25748 numerator after shifting it by one limb.
25750 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25752 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25753 under [__USE_EXTERN_INLINES].
25755 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25758 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25760 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25762 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25763 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25765 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25766 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25767 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25768 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25769 for strncasecmp/strncasecmp_l compilation.
25770 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25771 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25773 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25776 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25779 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25782 * time/tzfile.c (__tzfile_read): Check values from file header.
25784 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25786 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25787 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25788 * powerpc/powerpc32/dl-start.S: Likewise.
25789 * powerpc/powerpc32/elf/start.S: Likewise.
25790 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25791 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25792 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25793 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25794 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25795 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25796 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25797 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25798 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25799 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25800 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25801 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25802 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25803 * powerpc/powerpc32/memset.S: Likewise.
25804 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25805 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25806 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25807 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25808 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25809 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25810 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25811 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25812 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25813 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25814 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25815 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25816 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25818 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25820 * math/libm-test.inc: Added more nearbyint tests.
25821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25822 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25824 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25826 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25828 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25831 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25833 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25834 Add wcscpy-ssse3 wcscpy-c.
25835 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25836 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25837 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25838 * sysdeps/x86_64/wcschr.S: New file.
25839 * sysdeps/x86_64/wcsrchr.S: New file.
25840 * string/test-strcmp.c: Remove checking of wcscmp function for
25842 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25843 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25844 wcsrchr-sse2 wcsrchr-c.
25845 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25846 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25847 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25848 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25849 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25850 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25851 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25852 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25853 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25854 * wcsmbc/wcschr.c (WCSCHR): New macro.
25856 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25858 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25859 * wcsmbs/test-wcsrchr.c: New file.
25860 * string/test-strrchr.c: Add wcsrchr support.
25862 * wcsmbs/test-wcscpy.c: New file.
25863 * string/test-strcpy.c: Add wcscpy support.
25866 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25868 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25871 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25874 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25876 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25878 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25879 Minor optimizations.
25881 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25882 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25883 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25885 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25887 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25888 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25889 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25890 for gcc to avoid warnings.
25891 * inet/Makefile (tests): Add tst-checks.
25892 * inet/tst-checks.c: New file.
25894 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25897 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25900 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25901 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25903 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25905 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25907 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25910 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25912 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25914 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25915 conditional on GCC version.
25916 (__arch_compare_and_exchange_val_8_acq)
25917 (__arch_compare_and_exchange_val_16_acq)
25918 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25919 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25920 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25922 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25924 * sysdeps/sh/backtrace.c: New file.
25926 2011-12-02 Andreas Schwab <schwab@redhat.com>
25928 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25931 2011-12-01 Andreas Schwab <schwab@redhat.com>
25933 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25934 falling back to utime.
25936 2011-11-30 Andreas Schwab <schwab@redhat.com>
25938 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25939 expectations for float.
25941 2011-11-29 Andreas Schwab <schwab@redhat.com>
25943 * locale/weight.h (findidx): Add parameter len.
25944 * locale/weightwc.h (findidx): Likewise.
25945 * posix/fnmatch_loop.c (FCT): Adjust caller.
25946 * posix/regcomp.c (build_equiv_class): Likewise.
25947 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25948 * posix/regexec.c (check_node_accept_bytes): Likewise.
25949 * string/strcoll_l.c (STRCOLL): Likewise.
25950 * string/strxfrm_l.c (STRXFRM): Likewise.
25952 2011-11-17 Ulrich Drepper <drepper@gmail.com>
25954 * Makefile.in: Remove CVSOPT handling.
25955 * configure.in: Remove use of AC_REVISION.
25956 * iconvdata/Makefile (distribute): No need to filter out CVS.
25957 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25960 2011-11-16 Andreas Schwab <schwab@redhat.com>
25962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25963 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25964 [USE_AS_STRNCASECMP_L]: Likewise.
25965 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25966 NO_TLS_DIRECT_SEG_REFS.
25967 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25968 Fix argument offsets for non-PIC.
25969 [USE_AS_STRNCASECMP_L]: Likewise.
25970 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25971 NO_TLS_DIRECT_SEG_REFS.
25973 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25975 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25977 * locale/loadlocale.c (_nl_load_locale): Likewise.
25979 2011-11-15 Andreas Schwab <schwab@redhat.com>
25981 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25982 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25983 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25984 (SYSCALL_GETTIME): Set errno on error.
25986 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25987 count references to noai6ai_cached.
25989 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25991 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25993 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25994 FD_CLOEXEC for /proc/self/maps.
25996 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25997 FD_CLOEXEC for /proc/meminfo.
25999 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26002 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26003 FD_CLOEXEC for given file.
26005 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26007 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26008 FD_CLOEXEC for /etc/hosts.
26009 (_gethtent): Likewise.
26011 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26013 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26014 cancellation and set FD_CLOEXEC for /etc/netgroup.
26016 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26017 reading /etc/publickey.
26019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26020 allow cancellation when reading /etc/group.
26022 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26024 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26026 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26027 when using data file.
26029 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26031 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26032 (write_nis_obj): Use "c" and "e" in fopen.
26034 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26036 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26038 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26040 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26042 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26045 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26047 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26049 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26051 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26052 file parsing and set FD_CLOEXEC.
26054 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26056 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26058 2011-11-14 Andreas Schwab <schwab@redhat.com>
26060 * malloc/arena.c (arena_get2): Don't call reused_arena when
26061 _int_new_arena failed.
26063 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26065 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26066 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26067 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26068 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26069 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26070 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26071 to compile strcasecmp and strncasecmp.
26072 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26073 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26077 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26079 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26080 locale-defines.sym to gen-as-const-headers.
26081 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26082 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26084 to compile strcasecmp and strncasecmp.
26085 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26086 strcasecmp_l and strncasecmp_l.
26087 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26088 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26089 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26090 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26091 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26092 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26093 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26094 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26095 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26096 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26097 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26099 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26101 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26102 result of SYSDEP_GETTIME_CPU to retval.
26103 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26104 parameter list to macro. Remove trailing semicolon. Adjust users.
26106 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26109 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26111 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26113 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26114 from unused variable.
26116 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26118 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26121 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26124 * sunrpc/rpc_prot.c (rejected): Fix case value.
26126 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26127 unsigned long long int to avoid warnings in shift.
26129 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26131 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26134 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26135 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26136 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26138 * nis/nis_table.c (nis_list): Use variable of correct type for
26139 result of __follow_path call.
26141 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26143 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26144 of math functions ceil, trunc, floor, round, and sqrt, when
26145 avaliable on the platform.
26146 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26148 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26149 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26150 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26152 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26154 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26155 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26157 2011-11-11 Roland McGrath <roland@hack.frob.com>
26159 * include/unistd.h: Fix __readlink return type.
26160 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26162 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26164 * stdlib/ucontext.h: Undo last change for makecontext.
26166 2011-11-11 Andreas Schwab <schwab@redhat.com>
26168 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26170 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26171 * setjmp/setjmp.h: Mark functions as non-leaf.
26172 * setjmp/bits/setjmp2.h: Likewise.
26173 * stdlib/ucontext.h: Likewise.
26175 2011-11-10 Andreas Schwab <schwab@redhat.com>
26177 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26178 (reused_arena): Don't check arena limit.
26179 (arena_get2): Atomically check arena limit.
26181 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26183 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26184 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26189 2011-11-07 Andreas Schwab <schwab@redhat.com>
26191 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26192 handler when locking.
26194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26195 Fix size of allocated buffer.
26197 2011-11-04 Andreas Schwab <schwab@redhat.com>
26200 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26201 declarations for long double functions.
26202 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26204 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26206 2011-11-03 Andreas Schwab <schwab@redhat.com>
26208 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26211 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26214 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26216 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26218 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26220 * include/alloca.h (stackinfo_alloca_round): Define.
26221 (extend_alloca): Use it.
26222 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26223 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26226 * scripts/check-local-headers.sh: Ignore libaudit.h.
26228 * nscd/Makefile (extra-objs): Make recursively expanded.
26230 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26232 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26233 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26235 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26236 * posix/tst-rfc3484-2.c: Likewise.
26237 * posix/tst-rfc3484-3.c: Likewise.
26239 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26241 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26243 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26244 process_vm_writev from libc using GLIBC_2.15 version.
26246 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26248 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26250 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26253 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26256 * nss/getent.c (initgroups_keys): Show error message in case no group
26259 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26260 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26261 __bump_nl_timestamp.
26262 * nscd/connections (nscd_init): When host database is served open
26263 netlink socket and request notification about configuration changes.
26264 (main_loop_poll): Track netlink file descriptor and bump timestamp
26265 in case data becomes available.
26266 (main_loop_epoll): Likewise.
26267 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26268 (database_pers_head): Add extra_data fileds.
26269 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26270 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26271 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26273 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26274 in6ai data, call __free_in6ai.
26275 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26276 Add -DHAVE_NETLINK.
26277 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26278 interface information. Reuse previous data if netlink timestamp
26280 (__bump_nl_timestamp): New function.
26281 (__free_in6ai): New function.
26283 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26285 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26286 close_not_cancel_no_status here.
26287 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26289 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26292 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26295 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26296 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26297 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26299 2011-07-03 Andreas Jaeger <aj@suse.de>
26302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26303 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26304 * math/libm-test.inc (sin_test): Add test case.
26306 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26309 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26310 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26312 * elf/chroot_canon.c (chroot_canon): Cleanups.
26314 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26317 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26318 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26320 * string/test-strchr.c: Make usable for strchrnul testing.
26321 * string/test-strchrnul.c: New file.
26322 * string/Makefile (strop-tests): Add strchrnul.
26324 * po/it.po: Update from translation team.
26325 * po/es.po: Likewise.
26327 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26329 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26330 the three constants needed as parameters. Drop the others.
26331 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26332 __m128i_strloadu_tolower.
26333 Create and initialize variable zero and use it in all the places
26334 where _mm_setzero_si128 was used.
26336 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26337 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26338 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26339 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26341 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26342 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26343 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26344 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26345 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26346 __mpranred, __mptan.
26347 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26348 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26349 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26350 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26351 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26352 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26353 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26354 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26355 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26357 2011-10-28 Andreas Schwab <schwab@redhat.com>
26359 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26360 redefine if SHARED.
26361 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26364 wide char related routines to wcsmbs subdir.
26366 2011-10-27 Andreas Schwab <schwab@redhat.com>
26369 * misc/sys/cdefs.h (__THROWNL): Define.
26370 * posix/unistd.h: Use __THREADNL instead of __THREAD
26371 for memory synchronization functions.
26373 2011-10-26 Roland McGrath <roland@hack.frob.com>
26376 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26378 * manual/stdio.texi (Obstack Streams): Node removed.
26380 2011-10-26 Andreas Schwab <schwab@redhat.com>
26382 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26383 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26384 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26386 * math/math_private.h (math_force_eval): Allow non-addressable
26388 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26390 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26392 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26393 file is not needed.
26395 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26396 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26397 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26398 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26399 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26400 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26401 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26402 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26404 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26405 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26406 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26407 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26408 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26409 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26410 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26411 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26412 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26413 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26414 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26415 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26416 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26417 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26418 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26419 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26420 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26421 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26422 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26424 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26425 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26427 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26428 place. Use VEX encoding when compiling for AVX.
26430 2011-10-25 Andreas Schwab <schwab@redhat.com>
26432 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26433 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26435 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26437 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26439 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26440 useless if() expression.
26441 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26450 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26451 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26452 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26453 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26454 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26455 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26456 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26457 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26458 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26459 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26461 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26463 2011-10-25 Andreas Schwab <schwab@redhat.com>
26465 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26467 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26469 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26471 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26472 .text section. Avoid duplicate constants.
26473 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26475 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26477 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26481 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26482 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26483 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26484 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26485 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26487 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26488 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26490 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26492 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26493 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26494 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26496 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26497 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26498 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26499 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26500 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26501 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26502 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26504 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26505 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26506 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26507 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26508 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26509 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26510 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26511 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26512 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26513 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26514 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26515 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26516 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26517 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26519 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26521 * sysdeps/x86_64/dla.h: Move to ...
26522 * sysdeps/x86_64/fpu/dla.h: ...here.
26523 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26524 situations. Use __builtin_fma only for gcc 4.6 and up.
26526 * config.make.in: Add have-mfma4 entry.
26527 * configure.in: Substitute libc_cv_cc_fma4.
26528 * math/Makefile (dbl-only-routines): Add sincostab.
26529 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26530 Use __sincostab not sincos.
26531 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26533 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26538 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26539 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26540 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26541 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26543 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26544 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26546 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26547 define aliases when function name is a macro.
26548 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26549 sysdeps/ieee754/dbl-64/sincos.tbl.
26550 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26551 fma4-enabled routines.
26552 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26553 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26554 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26555 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26556 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26557 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26558 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26559 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26560 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26561 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26562 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26563 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26564 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26565 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26566 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26567 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26568 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26569 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26570 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26571 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26572 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26573 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26574 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26575 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26576 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26577 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26578 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26579 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26580 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26581 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26583 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26586 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26588 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26589 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26591 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26592 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26594 2011-10-24 Andreas Schwab <schwab@redhat.com>
26596 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26598 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26600 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26602 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26604 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26606 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26607 Remove unused variable magic_bits.
26608 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26610 * string/strnlen.c: Define and use STRNLEN macro.
26611 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26612 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26614 * wcsmbs/wcslen.c: Define and use WCSLEN.
26615 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26616 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26617 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26618 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26619 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26620 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26621 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26623 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26626 strnlen-sse2-no-bsf.
26627 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26628 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26629 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26630 Add strnlen support.
26631 (USE_AS_STRNLEN): New macro.
26632 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26633 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26634 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26635 * sysdeps/x86_64/wcslen.S: New file.
26637 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26639 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26640 XMM-moves are used for copying on small sizes.
26642 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26644 * wcsmbs/Makefile (strop-tests): Add wcschr.
26645 * wcsmbs/test-wcschr.c: New file.
26646 * string/test-strchr.c: Update.
26647 Add wcschr support.
26650 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26652 * wcsmbs/Makefile (strop-tests): Add wcslen.
26653 * wcsmbs/test-wcslen.c: New file.
26654 * string/test-strlen.c: Update.
26655 Add wcslen support.
26658 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26660 * po/it.po: Update from translation team.
26662 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26664 * sysdeps/x86_64/wcscmp.S: Update.
26665 Fix wrong comparison semantics.
26666 wcscmp shall use signed comparison not unsigned.
26667 Don't use substraction to avoid overflow bug.
26668 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26669 * wcsmbc/wcscmp.c: Likewise.
26670 * string/test-strcmp.c: Likewise.
26671 Add new tests to check cases with negative values.
26673 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26675 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26676 * sysdeps/x86_64/dla.h: ...here. New file.
26677 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26678 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26687 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26690 __ynl_finite aliases.
26692 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26696 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26698 [DLA_FMA] (EMULV): Use DLA_FMA.
26699 [DLA_FMA] (MUL12): Use EMULV.
26700 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26701 that are not needed.
26702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26707 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26710 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26712 * math/s_nan.c: Undef __nan.
26713 * math/s_nanf.c: Undef __nanf.
26714 * math/s_nanl.c: Undef __nanl.
26715 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26718 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26720 * math/s_catan.c: Add branch predictions.
26721 * math/s_catanf.c: Likewise.
26722 * math/s_catanh.c: Likewise.
26723 * math/s_catanhf.c: Likewise.
26724 * math/s_catanhl.c: Likewise.
26725 * math/s_catanl.c: Likewise.
26726 * math/s_cexp.c: Likewise.
26727 * math/s_cexpf.c: Likewise.
26728 * math/s_cexpl.c: Likewise.
26729 * math/s_clog.c: Likewise.
26730 * math/s_clog10.c: Likewise.
26731 * math/s_clog10f.c: Likewise.
26732 * math/s_clog10l.c: Likewise.
26733 * math/s_clogf.c: Likewise.
26734 * math/s_clogl.c: Likewise.
26735 * math/s_csqrt.c: Likewise.
26736 * math/s_csqrtf.c: Likewise.
26737 * math/s_csqrtl.c: Likewise.
26738 * math/s_ctanf.c: Likewise.
26739 * math/s_ctanh.c: Likewise.
26740 * math/s_ctanhf.c: Likewise.
26741 * math/s_ctanhl.c: Likewise.
26742 * math/s_ctanl.c: Likewise.
26744 * math/math_private.h: Define __nan, __nanf, __nanl.
26745 * math/s_cacosh.c: Include <math_private.h>.
26746 * math/s_cacoshl.c: Likewise.
26747 * math/s_casinh.c: Likewise.
26748 * math/s_casinhf.c: Likewise.
26749 * math/s_casinhl.c: Likewise.
26750 * math/s_ccos.c: Rely entire on ccosh.
26751 * math/s_ccosf.c: Rely entire on ccoshf.
26752 * math/s_ccosl.c: Rely entirely on ccoshl.
26753 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26754 Remove tests for FE_INVALID.
26755 * math/s_ccoshf.c: Likewise.
26756 * math/s_ccoshl.c: Likewise.
26757 * math/s_csin.c: Likewise.
26758 * math/s_csinf.c: Likewise.
26759 * math/s_csinh.c Likewise.
26760 * math/s_csinhf.c: Likewise.
26761 * math/s_csinhl.c: Likewise.
26762 * math/s_csinl.c: Likewise.
26763 * math/s_ctan.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26765 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26766 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26768 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26771 compilation problems.
26773 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26776 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26778 * sysdeps/i386/configure.in: Test for -mfma4 option.
26779 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26780 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26781 COMMON_CPUID_INDEX_80000001.
26782 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26783 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26784 use it if FMA3 is not supported.
26785 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26787 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26788 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26790 2011-10-20 Andreas Schwab <schwab@redhat.com>
26793 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26794 it would create a cycle with a link time dependency.
26796 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26798 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26800 * string/Makefile (strop-tests): Add rawmemchr.
26801 * string/test-rawmemchr.c: New file.
26803 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26804 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26805 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26806 when compiling str{,n}casecmp and when AVX is available. Hook up
26807 new optimized code in initializers.
26809 2011-10-19 Andreas Schwab <schwab@redhat.com>
26811 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26812 __feraiseexcept instead of feraiseexcept.
26814 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26816 * math/math_private.h: Define defaults for libc_fetestexcept and
26818 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26819 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26820 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26821 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26822 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26823 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26824 libc_fetestexcept and libc_feupdateenv.
26826 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26827 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26828 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26829 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26830 libc_feholdexcept_setround.
26832 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26833 Add s_nearbyint-c and s_nearbyintf-c.
26834 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26835 nearbyintf inlines.
26836 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26837 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26838 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26839 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26841 * math/math_private.h: Define defaults for libc_fegetround,
26842 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26843 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26844 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26845 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26846 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26847 standard functions.
26848 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26849 Remove comments and hacks for old compiler versions.
26850 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26851 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26852 libc_feholdexceptl.
26854 2011-10-18 Andreas Schwab <schwab@redhat.com>
26856 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26857 (__feraiseexcept_renamed): Add __NTH.
26858 (feraiseexcept): Add __NTH. Rename local variables to fix
26859 namespace violations.
26861 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26863 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26865 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26867 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26868 recently added interfaces.
26869 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26871 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26872 about macro parameter expansion.
26874 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26875 __NO_MATH_INLINES is defined. Cleanups.
26877 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26878 and __floorf is target has SSE4.1.
26879 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26880 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26881 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26882 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26884 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26886 (floorf): Likewise.
26888 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26890 2011-10-17 Andreas Schwab <schwab@redhat.com>
26892 * misc/sys/cdefs.h: Fix last change.
26894 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26897 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26899 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26901 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26902 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26903 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26904 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26906 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26907 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26908 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26909 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26910 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26911 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26912 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26913 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26914 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26915 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26916 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26917 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26918 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26919 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26920 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26921 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26922 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26924 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26925 ceil, ceilf, floor, floorf.
26927 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26928 Perform IRELATIVE relocations last.
26930 * elf/do-rel.h: Add another parameter nrelative, replacing the
26931 local variable with the same name. Change name of the function
26932 to end in Rel or Rela (uppercase).
26933 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26934 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26935 elf_dynamic_do_##reloc function.
26937 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26939 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26940 is sufficient, at least on modern CPUs.
26942 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26944 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26945 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26947 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26949 * math/bits/math-finite.h: Add entries for exp.
26950 * math/e_expl.c: Add __*_finite alias.
26951 * sysdeps/i386/fpu/e_exp.S: Likewise.
26952 * sysdeps/i386/fpu/e_expf.S: Likewise.
26953 * sysdeps/i386/fpu/e_expl.c: Likewise.
26954 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26955 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26958 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26959 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26960 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26962 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26963 is sufficient, at least on modern CPUs.
26965 * ctype/ctype-info.c (__ctype_init): Define.
26966 * include/ctype.h (__ctype_init): Declare.
26967 (__ctype_b_loc): The variable is always initialized.
26968 (__ctype_toupper_loc): Likewise.
26969 (__ctype_tolower_loc): Likewise.
26970 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26971 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26973 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26975 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26977 * configure.in: Also look in $cxxmachine/include for C++ system
26980 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26982 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26983 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26984 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26985 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26986 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26987 (USE_AS_WMEMCMP): New macro.
26989 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26990 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26991 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26992 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26994 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26995 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26996 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26997 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26998 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26999 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27000 (USE_AS_WMEMCMP): New macro.
27001 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27002 * sysdeps/string/test-memcmp.c: Update.
27003 Fix simple_wmemcmp.
27005 * wcsmbs/wmemcmp.c: Update.
27006 (WMEMCMP): New macro.
27009 2011-10-12 Andreas Jaeger <aj@suse.de>
27012 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27014 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27016 * libio/iofwide.c (do_length): Avoid warning.
27018 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27020 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27022 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27024 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27025 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27026 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27027 * sysdeps/i386/i686/fpu/e_log.S: New file.
27028 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27029 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27031 * ctype/ctype.h: Add support for inlined isXXX functions when
27032 compiling C++ code.
27034 2011-10-14 Andreas Schwab <schwab@redhat.com>
27036 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27038 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27040 2011-10-13 Roland McGrath <roland@hack.frob.com>
27043 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27045 2011-10-13 Andreas Schwab <schwab@redhat.com>
27047 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27048 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27051 * sysdeps/x86_64/memrchr.S: Check for zero size.
27053 * string/stratcliff.c: Add memrchr tests.
27055 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27058 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27059 rawmemchr-sse2 rawmemchr-sse2-bsf.
27060 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27061 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27062 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27063 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27064 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27065 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27066 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27067 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27068 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27069 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27070 * string/memrchr.c (MEMRCHR): New macro.
27072 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27074 Add integration with gcc's -ffinite-math-only and optimize wrapper
27076 * Versions.def: Define GLIBC_2.15 version for libm.
27077 * math/Makefile (headers): Add bits/math-finite.h.
27078 * math/bits/math-finite.h: New file.
27079 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27080 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27081 * math/e_acoshl.c: Add __*_finite alias.
27082 * math/e_acosl.c: Likewise.
27083 * math/e_asinl.c: Likewise.
27084 * math/e_atan2l.c: Likewise.
27085 * math/e_atanhl.c: Likewise.
27086 * math/e_coshl.c: Likewise.
27087 * math/e_exp10.c: Likewise.
27088 * math/e_exp10f.c: Likewise.
27089 * math/e_exp10l.c: Likewise.
27090 * math/e_exp2l.c: Likewise.
27091 * math/e_fmodl.c: Likewise.
27092 * math/e_gammal_r.c: Likewise.
27093 * math/e_hypotl.c: Likewise.
27094 * math/e_j0l.c: Likewise.
27095 * math/e_j1l.c: Likewise.
27096 * math/e_jnl.c: Likewise.
27097 * math/e_lgammal_r.c: Likewise.
27098 * math/e_log10l.c: Likewise.
27099 * math/e_log2l.c: Likewise.
27100 * math/e_logl.c: Likewise.
27101 * math/e_powl.c: Likewise.
27102 * math/e_sinhl.c: Likewise.
27103 * math/e_sqrtl.c: Likewise.
27104 * math/e_scalb.c: Completely rewritten and optimized.
27105 * math/e_scalbf.c: Likewise.
27106 * math/e_scalbl.c: Likewise.
27107 * math/w_acos.c: Likewise.
27108 * math/w_acosf.c: Likewise.
27109 * math/w_acosl.c: Likewise.
27110 * math/w_acosh.c: Likewise.
27111 * math/w_acoshf.c: Likewise.
27112 * math/w_acoshl.c: Likewise.
27113 * math/w_asin.c: Likewise.
27114 * math/w_asinf.c: Likewise.
27115 * math/w_asinl.c: Likewise.
27116 * math/w_atan2.c: Likewise.
27117 * math/w_atan2f.c: Likewise.
27118 * math/w_atan2l.c: Likewise.
27119 * math/w_atanh.c: Likewise.
27120 * math/w_atanhf.c: Likewise.
27121 * math/w_atanhl.c: Likewise.
27122 * math/w_exp10.c: Likewise.
27123 * math/w_exp10f.c: Likewise.
27124 * math/w_exp10l.c: Likewise.
27125 * math/w_fmod.c: Likewise.
27126 * math/w_fmodf.c: Likewise.
27127 * math/w_fmodl.c: Likewise.
27128 * math/w_j0.c: Likewise.
27129 * math/w_j0f.c: Likewise.
27130 * math/w_j0l.c: Likewise.
27131 * math/w_j1.c: Likewise.
27132 * math/w_j1f.c: Likewise.
27133 * math/w_j1l.c: Likewise.
27134 * math/w_jn.c: Likewise.
27135 * math/w_jnf.c: Likewise.
27136 * math/w_log.c: Likewise.
27137 * math/w_logf.c: Likewise.
27138 * math/w_logl.c: Likewise.
27139 * math/w_log10.c: Likewise.
27140 * math/w_log10f.c: Likewise.
27141 * math/w_log10l.c: Likewise.
27142 * math/w_log2.c: Likewise.
27143 * math/w_log2f.c: Likewise.
27144 * math/w_log2l.c: Likewise.
27145 * math/w_pow.c: Likewise.
27146 * math/w_powf.c: Likewise.
27147 * math/w_powl.c: Likewise.
27148 * math/w_remainder.c: Likewise.
27149 * math/w_remainderf.c: Likewise.
27150 * math/w_remainderl.c: Likewise.
27151 * math/w_scalb.c: Likewise.
27152 * math/w_scalbf.c: Likewise.
27153 * math/w_scalbl.c: Likewise.
27154 * math/w_sqrt.c: Likewise.
27155 * math/w_sqrtf.c: Likewise.
27156 * math/w_sqrtl.c: Likewise.
27157 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27158 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27160 * math/math_private.h: Declare __kernel_standard_f.
27161 * math/w_cosh.c: Remove cruft and optimize a bit.
27162 * math/w_coshf.c: Likewise.
27163 * math/w_coshl.c: Likewise.
27164 * math/w_exp2.c: Likewise.
27165 * math/w_exp2f.c: Likewise.
27166 * math/w_exp2l.c: Likewise.
27167 * math/w_hypot.c: Likewise.
27168 * math/w_hypotf.c: Likewise.
27169 * math/w_hypotl.c: Likewise.
27170 * math/w_lgamma.c: Likewise.
27171 * math/w_lgamma_r.c: Likewise.
27172 * math/w_lgammaf.c: Likewise.
27173 * math/w_lgammaf_r.c: Likewise.
27174 * math/w_lgammal.c: Likewise.
27175 * math/w_lgammal_r.c: Likewise.
27176 * math/w_sinh.c: Likewise.
27177 * math/w_sinhf.c: Likewise.
27178 * math/w_sinhl.c: Likewise.
27179 * math/w_tgamma.c: Likewise.
27180 * math/w_tgammaf.c: Likewise.
27181 * math/w_tgammal.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27183 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27184 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27185 Minor optimizations. Pretty printing. Remove cruft.
27186 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27187 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27188 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27189 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27190 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27191 * sysdeps/i386/fpu/e_asin.S: Likewise.
27192 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27193 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27194 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27195 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27196 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27197 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27198 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27199 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27200 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27201 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27202 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27203 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27204 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27205 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27206 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27207 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27208 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27209 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27210 * sysdeps/i386/fpu/e_log.S: Likewise.
27211 * sysdeps/i386/fpu/e_log10.S: Likewise.
27212 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27213 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27214 * sysdeps/i386/fpu/e_log2.S: Likewise.
27215 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27216 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27217 * sysdeps/i386/fpu/e_logf.S: Likewise.
27218 * sysdeps/i386/fpu/e_logl.S: Likewise.
27219 * sysdeps/i386/fpu/e_pow.S: Likewise.
27220 * sysdeps/i386/fpu/e_powf.S: Likewise.
27221 * sysdeps/i386/fpu/e_powl.S: Likewise.
27222 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27223 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27224 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27225 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27226 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27227 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27228 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27229 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27230 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27232 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27234 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27235 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27237 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27238 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27252 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27253 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27254 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27255 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27256 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27257 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27258 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27259 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27260 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27261 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27262 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27263 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27264 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27265 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27266 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27267 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27268 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27269 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27270 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27271 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27272 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27284 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27289 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27290 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27291 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27293 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27295 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27296 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27297 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27298 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27299 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27301 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27302 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27303 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27305 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27306 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27311 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27312 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27314 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27316 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27317 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27318 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27319 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27320 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27321 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27322 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27323 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27324 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27325 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27326 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27327 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27328 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27329 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27330 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27331 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27332 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27333 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27334 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27335 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27336 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27337 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27338 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27339 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27340 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27341 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27342 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27343 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27344 (__isnanf): Likewise.
27345 (__isinf_ns): Likewise.
27346 (__isinf_nsf): Likewise.
27347 (__finite): Likewise.
27348 (__finitef): Likewise.
27349 (__ieee754_sqrt): Define as macro.
27350 (__ieee754_sqrtf): Define as macro.
27351 (__ieee754_sqrtl): Define as macro.
27352 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27354 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27355 __FINITE_MATH_ONLY__ consistent.
27356 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27358 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27360 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27363 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27365 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27367 * po/ja.po: Update from translation team.
27369 2011-10-08 Roland McGrath <roland@hack.frob.com>
27371 * locale/programs/locarchive.c (prepare_address_space): New function.
27372 (create_archive, enlarge_archive, open_archive): Use it.
27374 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27375 inside [SHARED], where it is used.
27377 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27379 * nss/getent.c (netgroup_keys): Remove unused variable.
27380 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27382 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27384 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27385 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27387 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27388 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27389 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27390 * math/Makefile (libm-calls): Add s_isinf_ns.
27391 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27392 * math/multc3.c: Likewise.
27393 * math/s_casin.c: Likewise.
27394 * math/s_casinf.c: Likewise.
27395 * math/s_casinl.c: Likewise.
27396 * math/s_ccos.c: Likewise.
27397 * math/s_ccosf.c: Likewise.
27398 * math/s_ccosl.c: Likewise.
27399 * math/s_ctan.c: Likewise.
27400 * math/s_ctanf.c: Likewise.
27401 * math/s_ctanh.c: Likewise.
27402 * math/s_ctanhf.c: Likewise.
27403 * math/s_ctanhl.c: Likewise.
27404 * math/s_ctanl.c: Likewise.
27405 * math/w_fmod.c: Likewise.
27406 * math/w_fmodf.c: Likewise.
27407 * math/w_fmodl.c: Likewise.
27408 * math/w_remainder.c: Likewise.
27409 * math/w_remainderf.c: Likewise.
27410 * math/w_remainderl.c: Likewise.
27411 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27412 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27413 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27415 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27416 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27417 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27418 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27420 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27422 * stdio-common/printf_fphex.c: Likewise.
27423 * stdio-common/printf_size.c: Likewise.
27425 * math/e_exp10.c: Include math_private.h using <...> not "...".
27426 * math/e_exp10f.c: Likewise.
27427 * math/e_exp10l.c: Likewise.
27428 * math/e_exp2l.c: Likewise.
27429 * math/e_j0l.c: Likewise.
27430 * math/e_j1l.c: Likewise.
27431 * math/e_jnl.c: Likewise.
27432 * math/e_lgammal_r.c: Likewise.
27433 * math/e_rem_pio2l.c: Likewise.
27434 * math/e_scalb.c: Likewise.
27435 * math/e_scalbf.c: Likewise.
27436 * math/e_scalbl.c: Likewise.
27437 * math/k_cosl.c: Likewise.
27438 * math/k_sinl.c: Likewise.
27439 * math/k_tanl.c: Likewise.
27440 * math/s_cacoshf.c: Likewise.
27441 * math/s_catan.c: Likewise.
27442 * math/s_catanf.c: Likewise.
27443 * math/s_catanh.c: Likewise.
27444 * math/s_catanhf.c: Likewise.
27445 * math/s_catanhl.c: Likewise.
27446 * math/s_catanl.c: Likewise.
27447 * math/s_ccosh.c: Likewise.
27448 * math/s_ccoshf.c: Likewise.
27449 * math/s_ccoshl.c: Likewise.
27450 * math/s_cexp.c: Likewise.
27451 * math/s_cexpf.c: Likewise.
27452 * math/s_cexpl.c: Likewise.
27453 * math/s_clog.c: Likewise.
27454 * math/s_clog10.c: Likewise.
27455 * math/s_clog10f.c: Likewise.
27456 * math/s_clog10l.c: Likewise.
27457 * math/s_clogf.c: Likewise.
27458 * math/s_clogl.c: Likewise.
27459 * math/s_csin.c: Likewise.
27460 * math/s_csinf.c: Likewise.
27461 * math/s_csinh.c: Likewise.
27462 * math/s_csinhf.c: Likewise.
27463 * math/s_csinhl.c: Likewise.
27464 * math/s_csinl.c: Likewise.
27465 * math/s_csqrt.c: Likewise.
27466 * math/s_csqrtf.c: Likewise.
27467 * math/s_csqrtl.c: Likewise.
27468 * math/s_ctan.c: Likewise.
27469 * math/s_ctanf.c: Likewise.
27470 * math/s_ctanh.c: Likewise.
27471 * math/s_ctanhf.c: Likewise.
27472 * math/s_ctanhl.c: Likewise.
27473 * math/s_ctanl.c: Likewise.
27474 * math/s_ldexp.c: Likewise.
27475 * math/s_ldexpf.c: Likewise.
27476 * math/s_ldexpl.c: Likewise.
27477 * math/s_significand.c: Likewise.
27478 * math/s_significandf.c: Likewise.
27479 * math/s_significandl.c: Likewise.
27480 * math/w_acos.c: Likewise.
27481 * math/w_acosf.c: Likewise.
27482 * math/w_acosh.c: Likewise.
27483 * math/w_acoshf.c: Likewise.
27484 * math/w_acoshl.c: Likewise.
27485 * math/w_acosl.c: Likewise.
27486 * math/w_asin.c: Likewise.
27487 * math/w_asinf.c: Likewise.
27488 * math/w_asinl.c: Likewise.
27489 * math/w_atan2.c: Likewise.
27490 * math/w_atan2f.c: Likewise.
27491 * math/w_atan2l.c: Likewise.
27492 * math/w_atanh.c: Likewise.
27493 * math/w_atanhf.c: Likewise.
27494 * math/w_atanhl.c: Likewise.
27495 * math/w_cosh.c: Likewise.
27496 * math/w_coshf.c: Likewise.
27497 * math/w_coshl.c: Likewise.
27498 * math/w_dremf.c: Likewise.
27499 * math/w_exp10.c: Likewise.
27500 * math/w_exp10f.c: Likewise.
27501 * math/w_exp10l.c: Likewise.
27502 * math/w_exp2.c: Likewise.
27503 * math/w_exp2f.c: Likewise.
27504 * math/w_fmod.c: Likewise.
27505 * math/w_fmodf.c: Likewise.
27506 * math/w_fmodl.c: Likewise.
27507 * math/w_hypot.c: Likewise.
27508 * math/w_hypotf.c: Likewise.
27509 * math/w_hypotl.c: Likewise.
27510 * math/w_j0.c: Likewise.
27511 * math/w_j0f.c: Likewise.
27512 * math/w_j0l.c: Likewise.
27513 * math/w_j1.c: Likewise.
27514 * math/w_j1f.c: Likewise.
27515 * math/w_j1l.c: Likewise.
27516 * math/w_jn.c: Likewise.
27517 * math/w_jnf.c: Likewise.
27518 * math/w_jnl.c: Likewise.
27519 * math/w_lgamma.c: Likewise.
27520 * math/w_lgamma_r.c: Likewise.
27521 * math/w_lgammaf.c: Likewise.
27522 * math/w_lgammaf_r.c: Likewise.
27523 * math/w_lgammal.c: Likewise.
27524 * math/w_lgammal_r.c: Likewise.
27525 * math/w_log.c: Likewise.
27526 * math/w_log10.c: Likewise.
27527 * math/w_log10f.c: Likewise.
27528 * math/w_log10l.c: Likewise.
27529 * math/w_log2.c: Likewise.
27530 * math/w_log2f.c: Likewise.
27531 * math/w_log2l.c: Likewise.
27532 * math/w_logf.c: Likewise.
27533 * math/w_logl.c: Likewise.
27534 * math/w_pow.c: Likewise.
27535 * math/w_powf.c: Likewise.
27536 * math/w_powl.c: Likewise.
27537 * math/w_remainder.c: Likewise.
27538 * math/w_remainderf.c: Likewise.
27539 * math/w_remainderl.c: Likewise.
27540 * math/w_scalb.c: Likewise.
27541 * math/w_scalbf.c: Likewise.
27542 * math/w_scalbl.c: Likewise.
27543 * math/w_sinh.c: Likewise.
27544 * math/w_sinhf.c: Likewise.
27545 * math/w_sinhl.c: Likewise.
27546 * math/w_sqrt.c: Likewise.
27547 * math/w_sqrtf.c: Likewise.
27548 * math/w_sqrtl.c: Likewise.
27549 * math/w_tgamma.c: Likewise.
27550 * math/w_tgammaf.c: Likewise.
27551 * math/w_tgammal.c: Likewise.
27553 * po/ja.po: Update from translation team.
27555 2011-09-29 Andreas Jaeger <aj@suse.de>
27558 * sunrpc/netname.c (netname2host): Fix logic.
27562 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27564 * math/w_remainder.c (__remainder): Likewise.
27565 * math/w_remainderf.c (__remainderf): Likewise.
27566 * math/libm-test.inc (remainder_test): Add test cases.
27568 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27570 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27573 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27575 * string/test-memcmp.c: Avoid unncessary #defines.
27576 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27578 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27580 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27581 Use new sse2 version for core i3 - i7 as it's faster
27582 than sse42 version.
27583 (bit_Prefer_PMINUB_for_stringop): New.
27584 * sysdeps/x86_64/rawmemchr.S: Update.
27585 Replace with faster SSE2 version.
27586 * sysdeps/x86_64/memrchr.S: New file.
27587 * sysdeps/x86_64/memchr.S: Update.
27588 Replace with faster SSE2 version.
27590 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27592 * elf/dl-load.c (lose): Add cast to avoid warning.
27594 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27596 * po/ca.po: Update from translation team.
27598 * inet/getnetgrent_r.c: Hook up nscd.
27599 * nscd/Makefile (routines): Add nscd_netgroup.
27600 (nscd-modules): Add netgroupcache.
27601 (CFLAGS-netgroupcache.c): Define.
27602 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27603 (cache_search): Add const to second parameter.
27604 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27606 (dbs): Add netgrdb entry.
27607 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27608 (verify_persistent_db): Handle netgrdb.
27609 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27610 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27612 (netgroup_response_header): Define.
27613 (innetgroup_response_header): Define.
27614 (datahead): Add netgroup_response_header and innetgroup_response_header
27616 * nscd/nscd.conf: Add entries for netgroup cache.
27617 * nscd/nscd.h (dbtype): Add netgrdb.
27618 (_PATH_NSCD_NETGROUP_DB): Define.
27619 (netgroup_iov_disabled): Declare.
27620 (xmalloc, xcalloc, xrealloc): Move declarations here.
27621 (cache_search): Adjust prototype.
27622 Add netgroup-related prototypes.
27623 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27624 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27625 (__nscd_innetgr): Declare.
27626 * nscd/selinux.c (perms): Use access_vector_t as element type and
27627 add netgroup-related initializers.
27628 * nscd/netgroupcache.c: New file.
27629 * nscd/nscd_netgroup.c: New file.
27630 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27631 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27632 For four parameters use innetgr.
27633 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27634 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27635 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27636 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27638 * nscd/connections.c (register_traced_file): Don't register file
27639 for disabled databases.
27641 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27643 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27645 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27646 from tree and freeing node.
27648 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27650 * nss/nsswitch.c (__nss_database_lookup): Handle
27651 nss_parse_service_list out of memory case.
27653 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27655 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27656 out of memory case.
27658 2011-10-04 Andreas Schwab <schwab@redhat.com>
27660 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27661 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27663 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27664 elf_machine_rela, elf_machine_lazy_rel.
27665 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27666 (ELF_DYNAMIC_DO_REL): Likewise.
27667 (ELF_DYNAMIC_DO_RELA): Likewise.
27668 (ELF_DYNAMIC_RELOCATE): Likewise.
27669 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27670 to ELF_DYNAMIC_DO_REL.
27671 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27672 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27673 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27675 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27676 skip_ifunc, don't call ifunc function if non-zero.
27677 (elf_machine_rela): Likewise.
27678 (elf_machine_lazy_rel): Likewise.
27679 (elf_machine_lazy_rela): Likewise.
27680 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27681 (elf_machine_lazy_rel): Likewise.
27682 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27684 (elf_machine_lazy_rel): Likewise.
27685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27687 (elf_machine_lazy_rel): Likewise.
27688 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27689 (elf_machine_lazy_rel): Likewise.
27690 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27691 (elf_machine_lazy_rel): Likewise.
27692 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27693 (elf_machine_lazy_rel): Likewise.
27694 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27695 (elf_machine_lazy_rel): Likewise.
27696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27697 (elf_machine_lazy_rel): Likewise.
27698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27699 (elf_machine_lazy_rel): Likewise.
27701 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27703 * nss/nss_files/files-init.c (_nss_files_init): Use static
27704 initialization for all the *_traced_file variables.
27706 2011-09-28 Andreas Schwab <schwab@redhat.com>
27708 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27710 2011-09-27 Roland McGrath <roland@hack.frob.com>
27713 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27715 2011-09-27 Andreas Schwab <schwab@redhat.com>
27717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27718 Reread the line before reparsing it.
27720 2011-09-26 Andreas Schwab <schwab@redhat.com>
27722 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27724 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27725 Maxim Kuvyrkov <maxim@codesourcery.com>
27726 Joseph Myers <joseph@codesourcery.com>
27728 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27729 if needed for __stack_chk_guard.
27731 2011-09-19 Roland McGrath <roland@hack.frob.com>
27733 * sysdeps/posix/spawni.c (script_execute): Always define it.
27734 It will be optimized away if unused.
27735 (maybe_script_execute): New function.
27736 (__spawni): Call it.
27738 * Makerules: Don't include tls.make.
27739 (config-tls): Always set to thread.
27740 * tls.make.c: File removed.
27742 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27744 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27745 * config.make.in (CPPFLAGS-config): New substituted variable.
27747 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27749 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27752 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27753 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27755 2011-09-15 Roland McGrath <roland@hack.frob.com>
27757 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27758 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27759 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27760 (CALL_FAIL): Likewise.
27761 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27762 (CALL_FAIL): Macro removed.
27763 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27765 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27767 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27768 for __FINITE_MATH_ONLY__ == 1.
27770 2011-09-15 Andreas Schwab <schwab@redhat.com>
27772 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27773 __ieee754_sqrt instead of sqrt.
27774 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27775 __ieee754_sqrtf instead of sqrtf.
27776 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27777 __floorf instead of floorf.
27778 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27779 __floorf, __truncf instead of floorf, truncf.
27781 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27783 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27785 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27786 __extern_always_inline.
27787 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27790 2011-09-14 Andreas Schwab <schwab@redhat.com>
27792 * elf/rtld.c (dl_main): Also relocate in dependency order when
27793 doing symbol dependency testing.
27795 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27798 Always define `refsym'.
27800 2011-09-13 Andreas Schwab <schwab@redhat.com>
27802 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27803 (__FD_ELT): Renamed from __FDELT.
27804 * misc/bits/select2.h (__FD_ELT): Likewise.
27805 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27806 __FD_MASK instead of __FDELT, __FDMASK.
27807 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27809 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27812 * elf/Makefile (gen-ldd): Fix pattern.
27814 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27815 (init_tls): Likewise.
27817 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27819 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27821 2011-09-12 Andreas Schwab <schwab@redhat.com>
27823 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27824 `struct cmsghdr *' instead of `void *'.
27825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27828 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27830 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27832 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27833 ldd_rewrite_script.
27835 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27837 * configure.in: Remove --with-tls option.
27838 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27839 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27840 out in case it is missing.
27841 * sysdeps/ia64/elf/configure.in: Likewise.
27842 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27843 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27844 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27845 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27846 * sysdeps/sh/elf/configure.in: Likewise.
27847 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27848 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27849 * sysdeps/x86_64/elf/configure.in: Likewise.
27850 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27851 * sysdeps/mach/hurd/tls.h: Likewise.
27854 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27857 * configure.in: Fix use of AC_INIT.
27859 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27861 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27863 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27865 * malloc/hooks.c: Likewise.
27868 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27869 variables statically.
27870 (narenas): Initialize.
27871 (list_lock): Initialize.
27872 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27873 initializtion of main_arena and list_lock. Small cleanups.
27874 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27875 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27876 Add initializers to main_arena and mp_.
27877 (malloc_state): Remove pagesize member. Change all users to use
27880 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27881 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27882 is always initialized.
27884 * malloc/malloc.c: Removed unused configurations and dead code.
27885 * malloc/arena.c: Likewise.
27886 * malloc/hooks.c: Likewise.
27887 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27889 * include/tls.h: Removed. USE___THREAD must always be defined.
27890 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27891 * elf/dl-libc.c: Likewise.
27892 * elf/dl-tsd.c: Likewise.
27893 * include/errno.h: Likewise.
27894 * include/netdb.h: Likewise.
27895 * include/resolv.h: Likewise.
27896 * inet/herrno-loc.c: Likewise.
27897 * inet/herrno.c: Likewise.
27898 * malloc/arena.c: Likewise.
27899 * malloc/hooks.c: Likewise.
27900 * malloc/malloc.c: Likewise.
27901 * resolv/res-state.c: Likewise.
27902 * resolv/res_libc.c: Likewise.
27903 * sysdeps/i386/dl-machine.h: Likewise.
27904 * sysdeps/ia64/dl-machine.h: Likewise.
27905 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27906 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27907 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27908 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27909 * sysdeps/sh/dl-machine.h: Likewise.
27910 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27911 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27912 * sysdeps/unix/i386/sysdep.S: Likewise.
27913 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27914 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27919 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27920 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27921 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27923 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27924 * sysdeps/x86_64/dl-machine.h: Likewise.
27925 * tls.make.c: Likewise.
27927 * configure.in: Remove --with-__thread option. Make tests for
27928 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27929 tls_model attribute fail if no support is available. Remove
27931 * Makeconfig: Adjust for dropped configure option. All features are
27933 * Makerules: Likewise.
27934 * Versions.def: Likewise.
27935 * argp/argp-fmtstream.c: Likewise.
27936 * argp/argp-fmtstream.h: Likewise.
27937 * argp/argp-help.c: Likewise.
27938 * assert/assert.c: Likewise.
27939 * config.h.in: Likewise.
27940 * config.make.in: Likewise.
27941 * configure: Likewise.
27942 * configure.in: Likewise.
27943 * csu/Versions: Likewise.
27944 * csu/init.c: Likewise.
27945 * elf/tst-audit2.c: Likewise.
27946 * elf/tst-tls10.c: Likewise.
27947 * elf/tst-tls10.h: Likewise.
27948 * elf/tst-tls11.c: Likewise.
27949 * elf/tst-tls12.c: Likewise.
27950 * elf/tst-tls14.c: Likewise.
27951 * elf/tst-tlsmod11.c: Likewise.
27952 * elf/tst-tlsmod12.c: Likewise.
27953 * elf/tst-tlsmod13.c: Likewise.
27954 * elf/tst-tlsmod13a.c: Likewise.
27955 * elf/tst-tlsmod14a.c: Likewise.
27956 * elf/tst-tlsmod15b.c: Likewise.
27957 * elf/tst-tlsmod16a.c: Likewise.
27958 * elf/tst-tlsmod16b.c: Likewise.
27959 * elf/tst-tlsmod7.c: Likewise.
27960 * elf/tst-tlsmod8.c: Likewise.
27961 * elf/tst-tlsmod9.c: Likewise.
27962 * gmon/gmon.c: Likewise.
27963 * grp/fgetgrent_r.c: Likewise.
27964 * grp/putgrent.c: Likewise.
27965 * hurd/fopenport.c: Likewise.
27966 * include/libc-symbols.h: Likewise.
27967 * include/tls.h: Likewise.
27968 * intl/gettextP.h: Likewise.
27969 * intl/loadinfo.h: Likewise.
27970 * locale/global-locale.c: Likewise.
27971 * locale/localeinfo.h: Likewise.
27972 * mach/devstream.c: Likewise.
27973 * malloc/arena.c: Likewise.
27974 * malloc/set-freeres.c: Likewise.
27975 * misc/err.c: Likewise.
27976 * misc/getttyent.c: Likewise.
27977 * misc/mntent_r.c: Likewise.
27978 * posix/getopt.c: Likewise.
27979 * posix/wordexp.c: Likewise.
27980 * pwd/fgetpwent_r.c: Likewise.
27981 * resolv/Versions: Likewise.
27982 * resolv/res_hconf.c: Likewise.
27983 * shadow/fgetspent_r.c: Likewise.
27984 * shadow/putspent.c: Likewise.
27985 * stdio-common/printf_fphex.c: Likewise.
27986 * stdio-common/tmpfile.c: Likewise.
27987 * stdlib/abort.c: Likewise.
27988 * stdlib/fmtmsg.c: Likewise.
27989 * sunrpc/auth_unix.c: Likewise.
27990 * sunrpc/clnt_perr.c: Likewise.
27991 * sunrpc/clnt_tcp.c: Likewise.
27992 * sunrpc/clnt_udp.c: Likewise.
27993 * sunrpc/clnt_unix.c: Likewise.
27994 * sunrpc/openchild.c: Likewise.
27995 * sunrpc/svc_simple.c: Likewise.
27996 * sunrpc/svc_tcp.c: Likewise.
27997 * sunrpc/svc_udp.c: Likewise.
27998 * sunrpc/svc_unix.c: Likewise.
27999 * sunrpc/xdr.c: Likewise.
28000 * sunrpc/xdr_array.c: Likewise.
28001 * sunrpc/xdr_rec.c: Likewise.
28002 * sunrpc/xdr_ref.c: Likewise.
28003 * sunrpc/xdr_stdio.c: Likewise.
28005 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28007 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28009 2011-07-03 Andreas Jaeger <aj@suse.de>
28011 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28012 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28013 regenerate with gen-libm-tests.pl.
28015 2010-05-12 Petr Baudis <pasky@suse.cz>
28018 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28019 around j0() zero points by switching to j1().
28020 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28021 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28023 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28025 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28027 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28029 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28032 Patch in part by Pavel Roskin <proski@gnu.org>.
28035 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28037 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28038 Free memory block if necessary.
28041 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28042 be NULL. Don't lock in this case.
28044 2011-09-09 Roland McGrath <roland@hack.frob.com>
28046 * elf/elf.h (ELFOSABI_GNU): New macro.
28047 (ELFOSABI_LINUX): Define to that.
28049 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28051 * string/strncat.c (strncat): Undef the symbol in case it has been
28052 defined in bits/string.h.
28054 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28056 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28058 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28061 2011-08-17 Andreas Jaeger <aj@suse.de>
28063 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28065 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28066 Ian Lance Taylor <iant@google.com>
28068 * math/libm-test.inc (lround_test): New testcase.
28069 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28071 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28073 * Makefile: Remove support for automatic cvs check-ins.
28074 * Makerules: Likewise.
28075 * config.make.in: Likewise.
28076 * configure.in: Likewise.
28077 * intl/Makefile: Likewise.
28078 * locale/Makefile: Likewise.
28079 * po/Makefile: Likewise.
28080 * posix/Makefile: Likewise.
28081 * sysdeps/gnu/Makefile: Likewise.
28082 * sysdeps/mach/hurd/Makefile: Likewise.
28083 * sysdeps/sparc/sparc32/Makefile: Likewise.
28086 * posix/Makefile (bug-regex32-ENV): Define.
28087 Patch by John Stanley <jpsinthemix@verizon.net>.
28089 * misc/Makefile (headers): Add bits/select2.h.
28090 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28091 * misc/bits/select2.h: New file.
28092 * include/bits/select2.h: New file.
28093 * debug/Makefile (routines): Add fdelt_chk.
28094 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28095 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28097 * debug/fdelt_chk.c: New file.
28099 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28100 * wcsmbs/test-wmemcmp.c: Likewise.
28101 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28102 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28104 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28106 * string/Makefile (strop-tests): Add memcmp.
28107 * string/test-wmemcmp.c: New file.
28108 * string/test-memcmp.c: Add wmemcmp support.
28110 2011-09-08 Roland McGrath <roland@hack.frob.com>
28113 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28116 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28117 garbage value in a __mach_port_mod_refs call in the cases of the
28118 task-self and thread-self ports.
28120 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28122 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28124 2011-09-08 Andreas Schwab <schwab@redhat.com>
28126 * elf/dl-load.c (lose): Check for non-null L.
28128 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28130 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28132 * elf/dl-libc.c (dlerror_run): Pass back error code from
28136 * elf/dl-load.c (lose): Free l_origin if it is valid.
28138 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28140 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28141 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28142 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28143 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28144 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28145 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28147 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28149 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28150 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28151 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28152 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28153 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28154 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28155 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28156 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28157 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28158 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28160 2011-08-15 Alan Modra <amodra@gmail.com>
28163 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28164 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28165 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28166 ppc_mcount to static-only-routines.
28167 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28169 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28170 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28172 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28174 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28175 for finite and infinity parameters.
28177 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28179 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28180 and add nop instructions for throughput optimization.
28181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28183 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28185 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28186 aligned copy for power7 with vector-scalar instructions.
28187 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28189 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28194 2011-09-07 Andreas Schwab <schwab@redhat.com>
28197 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28200 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28202 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28203 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28204 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28205 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28208 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28210 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28211 Forgot to demangle the pointer.
28213 * sysdeps/i386/sysdep.h: Define atom_text_section.
28214 * sysdeps/x86_64/sysdep.h: Likewise.
28215 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28216 section with atom_text_section.
28217 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28218 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28219 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28221 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28223 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28224 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28225 already be defined. Change to take two parameters and don't assign
28226 result to variable. Adjust all users.
28227 Define INTERNAL_GETTIME if not already defined.
28228 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28231 HAVE_CLOCK_GETTIME_VSYSCALL.
28232 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28234 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28235 gettimeofday vsyscall, just use time.
28237 2011-09-06 Andreas Schwab <schwab@redhat.com>
28239 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28242 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28244 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28248 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28250 syscall if possible.
28252 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28254 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28255 e_ident. Don't pass to find_mapsXX.
28256 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28258 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28261 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28262 * sysdeps/x86_64/multiarch/strchr.S: Update.
28263 Check bit_slow_BSF bit.
28264 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28265 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28266 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28268 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28271 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28273 (tryshell): Define.
28274 (__spawni): Change last parameter to be flag. Test
28275 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28276 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28277 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28278 * posix/spawni.c: Likewise.
28279 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28280 * posix/spawnp.c: Likewise. Change normal version to use
28281 SPAWN_XFLAGS_USE_PATH.
28282 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28283 SPAWN_XFLAGS_TRY_SHELL.
28286 * posix/glob.h: Remove gcc 1.x support.
28289 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28291 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28294 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28296 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28297 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28298 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28299 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28300 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28301 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28303 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28305 * sysdeps/x86_64/wcscmp.S: New file.
28307 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28308 wcscmp-c wcscmp-sse2
28309 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28310 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28311 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28312 * wcsmbs/wcscmp.c: Allow renaming.
28314 2011-09-05 David S. Miller <davem@davemloft.net>
28316 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28317 stack slot, rather than the struct return pointer slot.
28318 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28319 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28321 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28323 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28325 * po/ja.po: Update from translation team.
28328 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28329 kernel in 64-bit binaries.
28331 2011-09-01 David S. Miller <davem@davemloft.net>
28333 * elf/elf.h (HWCAP_SPARC_*): Move to..
28334 * sysdeps/sparc/sysdep.h: this new file and add new values.
28335 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28336 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28337 _DL_HWCAP_COUNT to 24.
28338 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28340 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28341 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28342 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28344 instead of magic constants.
28345 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28347 2011-08-31 David S. Miller <davem@davemloft.net>
28349 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28351 Reimplement to do errno handling inline.
28352 (SYSCALL_ERROR_HANDLER): New macro.
28353 (__SYSCALL_STRING): Do not do errno handling in asm.
28354 (__CLONE_SYSCALL_STRING): Delete.
28355 (__INTERNAL_SYSCALL_STRING): Delete.
28356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28357 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28358 (PSEUDO): Reimplement to do errno handling inline.
28359 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28360 (SYSCALL_ERROR_HANDLER): New macro.
28361 (__SYSCALL_STRING): Do not do errno handling in asm.
28362 (__CLONE_SYSCALL_STRING): Delete.
28363 (__INTERNAL_SYSCALL_STRING): Delete.
28364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28365 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28367 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28368 (inline_syscall*): Add 'err' argument.
28369 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28370 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28371 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28372 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28374 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28375 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28377 2011-08-30 Andreas Schwab <schwab@redhat.com>
28379 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28381 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28383 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28386 2011-08-24 David S. Miller <davem@davemloft.net>
28388 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28390 2011-08-24 Andreas Schwab <schwab@redhat.com>
28392 * elf/Makefile: Add rules to build and run unload8 test.
28393 * elf/unload8.c: New file.
28394 * elf/unload8mod1.c: New file.
28395 * elf/unload8mod1x.c: New file.
28396 * elf/unload8mod2.c: New file.
28397 * elf/unload8mod3.c: New file.
28399 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28402 2011-08-23 David S. Miller <davem@davemloft.net>
28404 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28405 subtract stack bias.
28406 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28407 %sp not %fp in calculations.
28408 (_JMPBUF_UNWINDS_ADJ): Likewise.
28410 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28411 (aio_suspend): Call it to force an exception region around the
28412 AIO_MISC_WAIT() invocation.
28414 2011-08-23 Andreas Schwab <schwab@redhat.com>
28416 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28419 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28421 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28423 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28424 and <dl-machine.h>.
28425 (Elf64_FuncDesc): Remove.
28427 2011-08-22 David S. Miller <davem@davemloft.net>
28429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28430 sigaltstack check, add missing cfi directives.
28431 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28432 missing cfi directives, and sigaltstack handling.
28434 2011-08-16 Andreas Schwab <schwab@redhat.com>
28437 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28438 object is seen twice.
28439 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28441 * elf/Makefile (distribute): Add tst-initorder2.c.
28442 (tests): Add tst-initorder2.
28443 (modules-names): Add tst-initorder2a tst-initorder2b
28444 tst-initorder2c tst-initorder2d. Add rules to build them.
28445 ($(objpfx)tst-initorder2.out): New rule.
28446 * elf/tst-initorder2.c: New file.
28447 * elf/tst-initorder2.exp: New file.
28449 2011-08-22 Andreas Schwab <schwab@redhat.com>
28451 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28453 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28454 dependencies back to end of function.
28456 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28457 $(elfobjdir)/ld.so.
28459 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28462 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28464 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28465 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28466 of __vdso_gettimeofday.
28467 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28468 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28470 (_libc_vdso_platform_setup): Remove initialization of
28471 __vdso_gettimeofday and __vdso_time.
28473 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28475 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28476 and fgetc_unlocked.
28477 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28480 * elf/dl-open.c (add_to_global): Report additions to the global scope
28481 for LD_DEBUG=scopes.
28482 (dl_open_worker): Also print scope of newly loaded dependencies.
28483 (_dl_show_scope): Indicate if there is no scope.
28486 * stdio-common/Makefile (tests): Add bug24.
28487 * stdio-common/bug24.c: New file.
28489 2011-08-19 Andreas Jaeger <aj@suse.de>
28492 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28493 non-existant file when using close-on-exec mode.
28495 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28497 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28498 the very first instruction.
28500 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28501 the CFI state in the end.
28502 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28503 inclusion of dl-trampoline.h.
28504 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28506 2011-08-19 Andreas Schwab <schwab@redhat.com>
28508 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28509 expectations for long double.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28512 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28514 2011-08-14 David S. Miller <davem@davemloft.net>
28516 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28517 artificual limit depends upon the system page size.
28519 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28521 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28522 * resolv/Makefile: Define CFLAGS-libresolv.
28524 2011-08-17 Andreas Schwab <schwab@redhat.com>
28526 * nss/makedb.c (compute_tables): Make variables used in nested
28529 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28531 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28532 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28533 if buffer was too small.
28535 * elf/pldd.c (main): Attach to all threads in the process.
28536 Rewrite /proc handling to use *at functions.
28538 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28540 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28541 specifies first scope to show.
28542 (dl_open_worker): Update callers. Move printing scope of new
28543 object to before the relocation.
28544 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28545 * sysdeps/generic/ldsodefs.h: Update declaration.
28547 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28548 string for the scope number.
28550 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28552 * nscd/servicescache.c (cache_addserv): Make sure written is always
28555 2011-08-14 Roland McGrath <roland@hack.frob.com>
28557 * sysdeps/i386/i486/bits/atomic.h
28558 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28559 statement expression, so as to suppress "set but not used" warning.
28560 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28562 * string/strncat.c (STRNCAT): Use prototype definition.
28564 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28565 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28567 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28568 (localedef-modules): Add localedef.
28569 (locale-modules): Add locale.
28571 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28572 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28573 to avoid a warning.
28575 2011-08-14 David S. Miller <davem@davemloft.net>
28577 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28578 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28580 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28582 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28583 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28584 * elf/rtld.c (dl_main): Set l_name of vDSO.
28585 Call _dl_show_scope when DL_DEBUG_SCOPES.
28586 (process_dl_debug): Recognize scopes flag and also set it for all.
28587 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28588 Declare _dl_show_scope.
28590 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28591 (do_dlopen): Pass caller_dlopen to dl_open.
28592 (__libc_dlopen_mode): Initialize caller_dlopen.
28594 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28595 of libc. Make tolower call locale-independent. Optimize a bit by
28596 using isdigit instead of isalnum.
28597 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28599 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28601 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28602 was a dependency or dynamically loaded.
28604 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28606 * intl/l10nflist.c: Allow architecture-specific pop function.
28607 * sysdeps/x86_64/l10nflist.c: New file.
28609 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28612 2011-08-10 Andreas Schwab <schwab@redhat.com>
28614 * include/dirent.h: Add libc_hidden_proto for scandirat and
28615 scandirat64. Don't declare __scandirat64.
28616 * dirent/scandirat.c: Add libc_hidden_def.
28617 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28618 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28620 2011-08-10 David S. Miller <davem@davemloft.net>
28622 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28624 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28625 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28626 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28628 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28630 * Versions.def [libc]: Add GLIBC_2.15.
28631 * dirent/Makefile (routines): Add scandirat and scandirat64.
28632 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28634 * dirent/dirent.h: Declare scandirat and scandirat64.
28635 * dirent/scandirat.c: New file.
28636 * dirent/scandirat64.c: New file.
28637 * sysdeps/wordsize-64/scandirat.c: New file.
28638 * sysdeps/wordsize-64/scandirat64.c: New file.
28639 * dirent/opendir.c: Define opendirat.
28640 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28642 * dirent/scandir64.c: Adjust for scandir.c change.
28643 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28644 __scandirat64, and __scandir_cancel_handler.
28645 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28646 additional parameter and use openat instead of open (outside of ld.so).
28647 Add new __opendir as wrapper around __opendirat.
28648 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28649 here without requiring old scandirat implementation.
28651 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28653 * dirent/scandir.c (cancel_handler): Renamed to
28654 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28655 defined. Adjust users.
28656 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28657 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28659 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28661 * string/test-string.h (IMPL): Use __STRING to expand name and then
28664 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28667 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28669 * string/Makefile: Update.
28670 (strop-tests): Append strncat.
28671 * string/test-wcscmp.c: New file.
28672 New comprehensive test for wcscmp.
28673 * string/test-strcmp.c: Update.
28674 (WIDE): New define.
28676 2011-07-22 Andreas Schwab <schwab@redhat.com>
28678 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28681 2011-07-26 Andreas Schwab <schwab@redhat.com>
28683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28684 encoding to ACE if AI_IDN.
28686 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28688 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28689 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28691 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28693 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28694 Fix overflow bug in strncat.
28695 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28697 * string/test-strncat.c: Update.
28698 Add new tests for checking overflow bugs.
28700 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28703 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28704 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28705 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28706 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28707 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28708 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28709 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28710 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28713 (USE_AS_STRCAT): Define.
28714 Add strcat and strncat support.
28715 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28717 2011-07-25 Andreas Schwab <schwab@redhat.com>
28719 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28720 __n bigger than INT_MAX+1.
28721 (__strncmp_g): Likewise.
28723 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28725 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28726 * libio/stido.h: Likewise.
28728 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28733 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28734 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28735 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28736 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28737 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28740 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28745 (_dl_x86_64_save_sse): Likewise.
28747 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28751 (_dl_x86_64_save_sse): Likewise.
28753 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28755 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28757 2011-07-21 Andreas Schwab <schwab@redhat.com>
28759 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28761 (_dl_x86_64_save_sse): Use correct AVX check.
28763 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28765 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28766 bug in strncpy/strncat.
28767 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28769 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28771 * string/tester.c (test_strcat): Add tests for different alignments
28772 of source and destination.
28773 (test_strncat): Likewise.
28775 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28778 * posix/glob.c (glob): Check passed in values before using them in
28779 expressions to avoid some overflows.
28780 (glob_in_dir): Likewise.
28783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28784 check for AVX enablement so that we don't crash with old kernels and
28786 * elf/tst-audit4.c: Add same checks here.
28787 * elf/tst-audit6.c: Likewise.
28789 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28791 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28793 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28795 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28797 * po/cs.po: Update from translation team.
28798 * po/bg.po: Likewise.
28800 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28802 * misc/sys/cdefs.h: Add support for const attribute.
28803 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28804 to gnu_dev_{major,minor,makedev} functions.
28806 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28808 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28810 2011-07-20 Andreas Schwab <schwab@redhat.com>
28812 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28815 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28818 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28819 register in order to avoid conflicts with the soft frame pointer
28820 being held in r11 when necessary.
28821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28822 (INTERNAL_VSYSCALL_NCS): Likewise.
28824 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28826 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28827 * elf/dl-fini.c (_dl_fini): Adjust caller.
28828 * elf/dl-close.c (_dl_close_worker): Likewise.
28829 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28831 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28833 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28834 "aux_cache->nlibs < 0".
28836 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28837 in the reload-count case.
28839 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28842 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28843 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28844 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28845 * sysdeps/x86_64/multiarch/strcat.S: New file.
28846 * sysdeps/x86_64/multiarch/strncat.S: New file.
28847 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28848 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28849 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28850 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28851 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28852 (USE_AS_STRCAT): Define.
28853 Add strcat and strncat support.
28854 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28855 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28856 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28857 * string/strncat.c: Update.
28858 (USE_AS_STRNCAT): Define.
28859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28860 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28862 * sysdeps/x86_64/multiarch/init-arch.h
28863 (bit_Prefer_PMINUB_for_stringop): New.
28864 (index_Prefer_PMINUB_for_stringop): Likewise.
28865 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28866 bit_Prefer_PMINUB_for_stringop.
28868 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28870 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28872 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28873 of casting of buffer.
28874 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28875 buffer32 and buffer64.
28876 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28877 writes instead of casting of buffer.
28878 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28880 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28883 2011-07-19 Andreas Schwab <schwab@redhat.com>
28885 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28887 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28889 * nscd/nscd.c (termination_handler): Don't do anything for a database
28890 if it has not yet been initialized.
28892 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28894 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28896 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28898 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28900 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28902 * po/nl.po: Update from translation team.
28903 * po/sv.po: Likewise.
28905 2011-07-16 Roland McGrath <roland@hack.frob.com>
28907 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28908 now disallowed by GCC.
28910 * configure.in (use-default-link): Default to yes if a test -shared
28911 link meets our qualifications.
28912 * configure: Regenerated.
28914 * config.make.in (output-format): New variable.
28915 * configure.in: Check for ld --print-output-format support.
28916 * configure: Regenerated.
28917 * Makerules ($(common-objpfx)format.lds)
28918 [$(output-format) != unknown]: Just use $(output-format),
28919 instead of the linker-script munging.
28921 2011-07-14 Roland McGrath <roland@hack.frob.com>
28923 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28924 of $(common-objpfx)shlib.lds.
28925 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28927 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28928 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28930 * configure.in (-z relro check): Adjust test code to add a large
28931 writable data section after it.
28932 * configure: Regenerated.
28934 2011-07-11 Roland McGrath <roland@hack.frob.com>
28936 * configure.in (-z relro check): Fix test code to make the variable
28938 * configure: Regenerated.
28940 2011-07-11 Ulrich Drepper <drepper@gmail.com>
28942 * nscd/nscd.h (struct traced_file): Define.
28943 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28944 elements. Add traced_files.
28945 (inotify_fd): Declare.
28946 (register_traced_file): Declare.
28947 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28948 (inotify_fd): Export.
28949 (resolv_conf_descr): Remove.
28950 (nscd_init): Move inotify descriptor creation to main.
28951 Don't register files for notification here.
28952 (register_traced_file): New function.
28953 (invalidate_cache): Don't use reset_res to determine whether to call
28954 res_init, go through the list of registered files.
28955 (main_loop_poll): The inotify descriptors are now stored in the
28956 structures for the traced files.
28957 (main_loop_epoll): Likewise
28958 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28959 to __nss_disable_nscd.
28960 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28961 for a database anymore. Check the records for all the registered
28963 * nss/Makefile (libnss_files-routines): Add files-init.
28964 (libnss_db-routines): Add db-init.
28965 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28966 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28967 * nss/nss_db/db-init.c: New file.
28968 * nss/nss_files/files-init.c: New file.
28969 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28970 __nss_lookup_function.
28971 (__nss_lookup_function): Call nss_load_library.
28972 (nss_load_all_libraries): New function.
28973 (__nss_disable_nscd): Take parameter with callback function for files
28974 to register. Set is_nscd. Load all the DSOs for the NSS modules
28975 used for the cached services.
28976 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28977 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28978 options for features to all the files in nscd.
28980 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28982 2011-07-10 Roland McGrath <roland@hack.frob.com>
28984 * csu/elf-init.c (__libc_csu_init): Comment typo.
28986 2011-07-09 Ulrich Drepper <drepper@gmail.com>
28988 * po/pl.po: Update from translation team.
28989 * po/ja.po: Likewise.
28990 * po/ru.po: Likewise.
28991 * po/ko.po: Likewise.
28992 * po/fr.po: Likewise.
28994 2011-07-09 Roland McGrath <roland@hack.frob.com>
28996 * configure.in (.ctors/.dtors header and trailer check):
28997 Use an empirical test on a built program.
28998 * configure: Regenerated.
29000 * configure.in (-z relro check): Use an empirical test on a built DSO.
29001 Detect, but do not require, on ia64.
29002 * configure: Regenerated.
29004 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29005 Update tests that use readelf to use $READELF instead.
29006 * configure: Regenerated.
29008 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29010 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29011 if the result is not used.
29013 2011-07-05 Andreas Jaeger <aj@suse.de>
29016 * stdlib/tst-strtod.c: Add testcase.
29018 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29020 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29021 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29022 The latter has a higher limit. Take additional parameter to pass to
29024 (__pathconf): Pass file to __statfs_link_max.
29025 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29027 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29031 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29032 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29034 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29035 (__statfs_filesize_max): Likewise.
29036 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29038 2011-07-05 Andreas Jaeger <aj@suse.de>
29040 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29042 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29044 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29046 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29049 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29051 * Makefile (strop-tests): Add strncat.
29052 * string/test-strncat.c: New file.
29054 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29056 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29058 2011-06-21 Andreas Jaeger <aj@suse.de>
29060 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29061 Copy rule from iconvdata/Makefile.
29063 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29066 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29067 but no long options are defined, just return 'W'.
29069 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29072 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29074 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29076 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29078 (innetgr): Likewise.
29080 2011-07-05 Roland McGrath <roland@hack.frob.com>
29082 * config.make.in (install_root): Default to $(DESTDIR).
29084 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29086 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29088 2011-07-02 Roland McGrath <roland@hack.frob.com>
29090 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29092 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29093 containing directory rather than embedding absolute directory names.
29095 * scripts/check-local-headers.sh: Rewritten using awk.
29096 Match by word, not by line. Print error messages for matches.
29097 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29099 * Makerules [shlib-lds-flags empty]:
29100 ($(common-objpfx)libc_pic.opts): New target.
29101 ($(common-objpfx)libc_pic.os.clean): New target.
29102 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29104 * config.make.in (OBJCOPY): New variable.
29105 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29106 * configure: Regenerated.
29108 * config.make.in (use-default-link): New variable.
29109 * configure.in (use_default_link): Grok --with-default-link to set it.
29110 * configure: Regenerated.
29111 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29112 (shlib-lds, shlib-lds-flags): Define to empty.
29114 * Makerules (shlib-lds): New variable.
29115 (shlib-lds-flags): New variable.
29116 (build-shlib, build-moduile, build-module-asneeded): Use it.
29117 ($(common-objpfx)libc.so): Use $(shlib-lds).
29118 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29119 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29121 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29122 DT_FLAGS/DT_FLAGS_1 with zero flags.
29124 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29125 linker script munging.
29127 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29129 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29131 * crypt/sha512.c (sha512_process_block): Perform total addition using
29132 128-bit if possible.
29133 (__sha512_finish_ctx): Likewise.
29134 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29136 * crypt/sha256.c (SWAP64): Define.
29137 (sha256_process_block): Perform total addition using 64-bit if
29139 (__sha256_finish_ctx): Likewise.
29141 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29143 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29145 * nscd/hstcache.c (cache_addhst): Likewise.
29146 * nscd/grpcache.c (cache_addgr): Likewise.
29147 * nscd/aicache.c (addhstaiX): Likewise
29148 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29150 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29152 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29154 * nscd/hstcache.c (cache_addhst): Likewise.
29155 * nscd/grpcache.c (cache_addgr): Likewise.
29156 * nscd/aicache.c (addhstaiX): Likewise
29158 2011-07-01 Andreas Schwab <schwab@redhat.com>
29160 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29161 domain only when needed.
29163 2011-06-30 Andreas Schwab <schwab@redhat.com>
29165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29166 is always restored.
29168 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29170 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29171 are re-adding the entry.
29172 * nscd/servicescache.c (cache_addserv): Likewise.
29174 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29176 * sysdeps/generic/dl-irel.h: fix protection against multiple
29178 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29180 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29183 * malloc/memusage.sh: Fix quoting in message.
29184 * debug/xtrace.sh: Likewise.
29186 * configure.in: Remove support for --experimental-malloc option, make
29188 * config.make.in: Likewise.
29189 * malloc/Makefile: Likewise.
29191 2011-06-27 Andreas Schwab <schwab@redhat.com>
29193 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29194 two-byte characters.
29196 2011-06-27 Roland McGrath <roland@hack.frob.com>
29198 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29199 AC_CACHE_CHECK invocation.
29200 * configure: Regenerated.
29202 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29204 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29207 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29208 bit from old_res_options.
29210 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29212 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29213 value type for setfct.
29215 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29218 __gettimeofday instead of gettimeofday.
29220 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29222 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29224 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29226 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29228 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29231 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29234 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29235 strcpy-sse2-unaligned strncpy-sse2-unaligned
29236 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29237 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29238 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29239 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29240 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29242 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29243 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29244 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29245 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29246 (STRCPY): Support SSE2 and SSSE3 versions.
29248 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29251 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29252 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29253 kernels which artificially limit size of requests.
29255 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29258 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29259 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29260 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29261 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29262 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29263 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29264 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29265 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29266 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29267 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29268 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29269 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29270 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29271 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29273 Enable unaligned load optimization for Intel Core i3, i5 and i7
29275 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29277 (index_Fast_Unaligned_Load): Define.
29278 (HAS_FAST_UNALIGNED_LOAD): Define.
29280 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29282 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29284 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29287 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29288 until it is clear that the information is realy needed.
29289 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29291 2011-06-22 Andreas Schwab <schwab@redhat.com>
29293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29295 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29297 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29298 /sys/devices/system/cpu/online if it is usable.
29300 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29301 reading the information from the /proc filesystem to once a second.
29303 2011-06-21 Andreas Jaeger <aj@suse.de>
29305 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29306 NULL after inclusion of kernel headers.
29308 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29310 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29311 calls to internal_setent.
29314 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29315 addresses using gethostbyname4_r ignore IPv4 addresses.
29317 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29318 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29320 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29322 2011-06-20 David S. Miller <davem@davemloft.net>
29324 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29326 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29328 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29329 (elf_irel): Use it.
29330 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29331 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29332 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29333 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29334 * sysdeps/x86_64/dl-irel.h: Likewise.
29336 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29337 * elf/dl-sym.c: Likewise.
29339 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29341 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29342 need to dereference resplen2.
29344 2011-06-14 Andreas Schwab <schwab@redhat.com>
29346 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29348 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29350 * Makeconfig: Define vardbdir and inst_vardbdir.
29351 * nss/Makefile: Add rules to install db-Makefile.
29353 * nss/nss_db/db-XXX.c: Cleanup.
29355 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29356 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29358 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29359 * nss/makedb.c: Implement -g option to specify that value strings
29360 are generated and should not be added to table iterated over for
29362 * nss/nss_db/db-initgroups.c: New file.
29364 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29367 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29368 (internal_getgrouplist): Adjust to name change.
29369 Update use_initgroups_entry if this is not the first call.
29370 * nss/databases.def: Add initgroups entry.
29372 * nss/makedb.c (compute_tables): Check result of multiple hash table
29373 sizes to minimize maximum chain length.
29375 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29377 * Versions.def: Add entry for libnss_db.
29378 * shlib-versions: Likewise.
29379 * nss/Makefile: Add rules to build libnss_db.
29380 * nss/Versions: Add libnss_db information. Organize libnss_files
29382 * nss/db-Makefile: Add gshadow support. Change rules for the new
29383 makedb progra. Some minor improvements to generate smaller files.
29384 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29386 * nss/makedb.c: ...here.
29387 Improve database format to be smaller and require less memory at
29389 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29391 * nss/nss_db/db-netgrp.c: Likewise.
29392 * nss/nss_db/db-open.c: Likewise.
29393 * nss/nss_files/flies-XXX.x: Adjust comments.
29394 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29395 * nss/nss_files/files-grp.c: Likewise.
29396 * nss/nss_files/files-hosts.c: Likewise.
29397 * nss/nss_files/files-network.c: Likewise.
29398 * nss/nss_files/files-proto.c: Likewise.
29399 * nss/nss_files/files-pwd.c: Likewise.
29400 * nss/nss_files/files-rpc.c: Likewise.
29401 * nss/nss_files/files-service.c: Likewise.
29402 * nss/nss_files/files-sgrp.c: Likewise.
29403 * nss/nss_files/files-spwd.c: Likewise.
29404 * nss/nss_db/db-alias.c: Removed.
29405 * nss/nss_db/dummy-db.h: Removed.
29407 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29409 * nss/makedb.c: Rewritten to not use database library.
29410 * nss/Makefile: Update to build new makedb program.
29412 2011-06-14 Andreas Jaeger <aj@suse.de>
29414 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29415 memset declaration.
29417 2011-06-10 Andreas Schwab <schwab@redhat.com>
29419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29422 2011-06-10 Roland McGrath <roland@hack.frob.com>
29424 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29425 * elf/Makefile ($(objpfx)ld.so): Likewise.
29427 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29428 Don't list ld.so twice in dependencies.
29430 * posix/bug-regex31.c: Include <stdlib.h>.
29432 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29434 * nis/nss_compat/compat-spwd.c
29435 (getspent_next_nss_netgr): Remove unused variable.
29436 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29438 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29439 nonmembers" output to use the right array.
29441 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29443 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29445 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29446 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29447 * catgets/gencat.c (read_input_file): Likewise.
29448 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29450 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29451 variable definition inside #if's controlling its use.
29453 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29455 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29457 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29459 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29462 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29464 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29465 * configure: Regenerated.
29467 * Makerules: Revert last change.
29468 * elf/Makefile: Likewise.
29470 2011-06-09 Roland McGrath <roland@hack.frob.com>
29472 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29473 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29474 (reloc-link): Likewise.
29476 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29478 * elf/Makefile: Add rules to build pldd.
29479 * elf/pldd.c: New file.
29480 * elf/pldd-xx.c: New file.
29482 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29484 * version.h: Update for 2.15 development version.
29486 2011-06-07 David S. Miller <davem@davemloft.net>
29488 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29490 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29491 elf_machine_lazy_rel): Likewise.
29492 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29494 elf_machine_lazy_rel): Likewise.
29495 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29496 dl_hwcap via passed in argument.
29497 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29500 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29502 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29504 2011-06-06 Roland McGrath <roland@hack.frob.com>
29507 * manual/fdl-1.1.texi: New file, verbatim from:
29508 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29509 * manual/lgpl-2.1.texi: New file, verbatim from:
29510 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29511 * manual/Makefile (licenses): New variable, list those new file names.
29513 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29515 * manual/fdl.texi: File removed.
29516 * manual/lesser.texi: File removed.
29517 * manual/libc.texinfo (Copying, Documentation License):
29518 Use new @include file names, put @appendix directive before @include.
29520 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29523 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29524 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29525 (mq_open): Add __NTH.
29527 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29530 Assume Intel Core i3/i5/i7 processor if AVX is available.
29532 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29537 2011-05-31 Andreas Schwab <schwab@redhat.com>
29539 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29540 memory. Use alloca_account. Fix memory leak when retrying.
29542 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29544 * version.h (RELEASE): Bump for 2.14 release.
29545 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29547 * config.make.in (RANLIB): Remove entry.
29549 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29551 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29552 (libc.pot): Work around missing support for .ksh extension in xgettext.
29555 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29556 if both request failed.
29557 (send_dg): In case of server errors clear resplen or *resplen2.
29560 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29561 when there are multiple maps.
29562 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29563 (_dl_fini): Remove test here.
29565 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29567 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29570 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29571 bit from old_res_options.
29572 (gaih_inet): Likewise.
29575 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29578 * resolv/res_init.c (res_setoptions): Make the code more compact.
29581 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29585 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29587 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29590 * malloc/malloc.h: Declare malloc hook variables as volatile.
29592 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29596 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29597 raise in the comment.
29598 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29599 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29600 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29602 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29605 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29606 grow the buffers more if it already has to be sufficient.
29607 (build_wcs_upper_buffer): Likewise.
29608 * posix/regexec.c (check_matching): Likewise.
29609 (clean_state_log_if_needed): Likewise.
29610 (extend_buffers): Don't enlarge buffers beyond size of the input
29612 Patches mostly by Emil Wojak <emil@wojak.eu>.
29613 * posix/bug-regex32.c: New file.
29614 * posix/Makefile (tests): Add bug-regex32.
29616 * locale/findlocale.c (_nl_find_locale): Return right away if
29617 _nl_explode_name failed.
29618 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29620 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29622 * debug/xtrace.sh: Unify messages.
29623 * malloc/memusage.sh: Likewise.
29626 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29627 time symbol from vDSO. Substitute with vsyscall if not available.
29628 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29631 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29632 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29633 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29634 Add sendmmsg and internal_sendmmsg.
29635 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29636 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29637 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29639 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29640 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29641 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29643 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29646 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29647 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29649 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29653 * iconvdata/Makefile (tests): Add bug-iconv9.
29654 * iconvdata/bug-iconv9.c: New file.
29656 2011-05-27 Andreas Schwab <schwab@redhat.com>
29659 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29661 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29663 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29664 (struct user_regs_struct): Change intcs field back to cs.
29666 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29668 * po/ja.po: Update from translation team.
29670 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29673 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29674 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29676 2011-05-20 Andreas Schwab <schwab@redhat.com>
29678 * stdlib/longlong.h: Update from GCC.
29680 2011-05-23 Andreas Schwab <schwab@redhat.com>
29682 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29684 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29685 Add parameter name.
29686 (__sysconf): Pass it down.
29688 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29691 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29693 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29694 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29695 add in in __libc_use_alloca calls. Adjust callers.
29696 (glob): Use malloc in some situations.
29698 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29699 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29702 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29704 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29705 and CLOCK_BOOTTIME_ALARM.
29708 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29711 * string/_strerror.c (__strerror_r): Print negative errors as signed
29715 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29716 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29717 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29719 * configure.in: Fix typo in redirection and correct removal of test
29720 files in two cases.
29723 * locale/setlocale.c (new_composite_name): Fix test to check for
29724 identical name of all categories.
29727 * libio/filedoalloc.c (local_isatty): New function.
29728 (_IO_file_doallocate): Use local_isatty.
29729 * stdio-common/perror.c (perror): In case a new stream is used
29730 forward the stream error.
29731 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29734 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29739 * include/alloca.h (extend_alloca_account): Define.
29742 * posix/regex.h: Fix comments with documentation of user-accessible
29743 fields after compilation and describe correct free'ing of pattern
29744 after re_compile_pattern.
29745 Patch by Reuben Thomas <rrt@sc3d.org>.
29747 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29749 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29750 and -mno-altivec to prevent the compiler from using Altivec and/or
29751 VSX instructions when the corresponding registers are not available.
29753 2011-05-19 Andreas Schwab <schwab@redhat.com>
29755 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29757 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29759 * libio/freopen.c (freopen): Use __dup2, not dup2.
29760 * libio/freopen64.c (freopen64): Likewise.
29762 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29765 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29766 * math/Makefile (tests): Add test-powl.
29767 (CFLAGS-test-powl.c): Define.
29768 * math/test-powl.c: New file.
29770 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29772 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29774 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29777 * iconvdata/gb18030.c: Update to GB18020-2005.
29779 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29781 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29782 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29783 Patch by Aharon Robbins <arnold@skeeve.com>.
29786 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29790 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29791 through underflows.
29794 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29795 point to strings before performing equality test for error_one_per_line
29799 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29803 (struct user_fpregs_struct): Avoid __uint*_t types.
29806 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29807 symbol info. Use it instead of calling _dl_addr locally.
29808 (lock_and_info): New function.
29809 (tr_freehook): Call lock_and_info and pass symbol info as additional
29810 parameter to tr_where.
29811 (tr_mallochook): Likewise.
29812 (tr_reallochook): Likewise.
29813 (tr_memalignhook): Likewise.
29815 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29816 used and couldn't be at all thread-safe.
29818 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29820 * libio/freopen.c (freopen): Don't close old file descriptor
29821 before the new one is opened. Instead dup the new file descriptor
29822 to the old one after the new stream is created.
29823 * libio/freopen64.c (freopen64): Likewise.
29824 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29825 * libio/fileops.c (_IO_new_file_close_it): Handle new
29826 _IO_FLAGS2_NOCLOSE flag.
29827 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29828 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29829 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29830 _IO_FLAGS2_NOCLOSE flag.
29831 * include/unistd.h: Add hidden_proto for dup3.
29832 Define __have_dup3.
29833 * io/dup3.c: Define hidden symbol.
29834 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29837 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29838 when an incomplete long option is used.
29839 * posix/tst-getopt_long1.c: New file.
29840 * posix/Makefile (tests): Add tst-getopt_long1.
29843 * scripts/config.guess: Update from autoconf-2.68.
29844 * scripts/config.sub: Likewise.
29847 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29849 (has_cpuclock): ...this. New function.
29850 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29851 macro here based on has_cpuclock code.
29854 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29855 First byte (not low byte) is now always NUL.
29856 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29858 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29859 Use non-cancelable interfaces.
29862 * locale/iso-639.def: Add entry for Sorani.
29865 * include/stdlib.h: Move include protection to the right place.
29866 Define abort_msg_s. Declare __abort_msg with it.
29867 * stdlib/abort.c (__abort_msg): Adjust type.
29868 * assert/assert.c (__assert_fail_base): New function. Majority
29869 of code from __assert_fail. Allocate memory for __abort_msg with
29871 (__assert_fail): Now call __assert_fail_base.
29872 * assert/assert-perr.c: Remove bulk of implementation. Use
29873 __assert_fail_base.
29874 * include/assert.hL Declare __assert_fail_base.
29875 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29877 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29879 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29883 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29884 until all modules are registered in the DTV.
29885 * elf/Makefile: Add rules to build and run tst-tls19.
29886 * elf/tst-tls19.c: New file.
29887 * elf/tst-tls19mod1.c: New file.
29888 * elf/tst-tls19mod2.c: New file.
29889 * elf/tst-tls19mod3.c: New file.
29890 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29893 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29897 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29898 two-byte sequence errors.
29899 * iconvdata/Makefile (tests): Add bug-iconv8.
29900 * iconvdata/bug-iconv8.c: New file.
29903 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29906 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29909 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29910 (dummy_getcfa): New function.
29911 (init): Get _Unwind_GetCFA address, use dummy if not found.
29912 (backtrace_helper): In recursion check, also check whether CFA changes.
29913 (__backtrace): Completely initialize arg.
29915 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29916 storing incomplete byte sequence in state object. Avoid testing for
29917 guaranteed too small input if we know there is enough data available.
29919 2011-05-11 Andreas Schwab <schwab@redhat.com>
29921 * Makeconfig (+link-pie): Indent.
29922 * Rules (binaries-pie): Define if $(have-fpie) and
29924 (binaries-shared): Also filter out $(binaries-pie).
29925 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29926 * nscd/Makefile (others-pie): Add nscd.
29927 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29928 ($(objpfx)nscd): Remove command override.
29929 * login/Makefile (others-pie): Add pt_chown.
29930 ($(objpfx)pt_chown): Remove command override.
29931 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29932 remove command overrides.
29934 2011-05-13 Ulrich Drepper <drepper@gmail.com>
29936 * libio/tst_putwc.c: Fix error messages.
29939 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29940 currently writing and seek to current position when not.
29941 * libio/Makefile (tests): Add bug-fclose1.
29942 * libio/bug-fclose1.c: New file.
29944 2011-05-12 Ulrich Drepper <drepper@gmail.com>
29947 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29948 don't set DF_1_NODELETE here.
29949 (do_lookup_x): When entering new entry test for copy relocation
29950 and if necessary set DF_1_NODELETE flag.
29951 * elf/tst-unique4.cc: New file.
29952 * elf/tst-unique4.h: New file.
29953 * elf/tst-unique4lib.cc: New file.
29954 * elf/Makefile: Add rules to build and run tst-unique4.
29955 Patch by Piotr Bury <pbury@goahead.com>.
29957 2011-05-11 Ulrich Drepper <drepper@gmail.com>
29960 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29963 * misc/mntent_r.c (addmntent): Flush the stream after the output
29966 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29967 (is_trusted_path_normalize): Skip initial colon. Append slash
29968 to empty buffer. Duplicate is_trusted_path code but allow
29969 constructed patch to be prefix.
29970 (is_dst): Allow $ORIGIN followed by /.
29971 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29972 Correct testing of result of is_trusted_path_normalize
29973 (decompose_rpath): Fix warning.
29975 2011-05-10 Ulrich Drepper <drepper@gmail.com>
29978 * grp/initgroups.c (internal_getgrouplist): When we found the service
29979 list through the initgroups entry in nsswitch.conf do not always
29980 continue on a successful lookup. Don't always use the
29981 __nss_group_database value if it is set.
29982 * nss/nsswitch.conf (initgroups): Change action for successful db
29983 lookup to continue for compatibility.
29985 2011-05-09 Ulrich Drepper <drepper@gmail.com>
29988 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29990 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29992 * iconvdata/tst-tables.sh: Likewise.
29993 * iconvdata/cp770.c: New file.
29994 * iconvdata/cp771.c: New file.
29995 * iconvdata/cp772.c: New file.
29996 * iconvdata/cp773.c: New file.
29997 * iconvdata/cp774.c: New file.
29998 * iconvdata/testdata/CP770: New file.
29999 * iconvdata/testdata/CP770..UTF8: New file.
30000 * iconvdata/testdata/CP771: New file.
30001 * iconvdata/testdata/CP771..UTF8: New file.
30002 * iconvdata/testdata/CP772: New file.
30003 * iconvdata/testdata/CP772..UTF8: New file.
30004 * iconvdata/testdata/CP773: New file.
30005 * iconvdata/testdata/CP773..UTF8: New file.
30006 * iconvdata/testdata/CP774: New file.
30007 * iconvdata/testdata/CP774..UTF8: New file.
30009 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30011 * iconvdata/gen-8bit-gap.sh: Likewise.
30012 * iconvdata/gen-8bit.sh: Likewise.
30014 * locale/iso-639.def: Add ary entry.
30017 * locale/C-translit.h.in: Add U20A1 transliteration.
30020 * locale/iso-639.def: Add wae entry.
30021 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30024 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30028 * locale/C-translit.h.in: Add entry for U20B9.
30029 Patch by pravin.d.s@gmail.com.
30031 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30034 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30035 ENAMETOOLONG use generic getcwd.
30036 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30037 in rtld. Use *stat64.
30038 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30039 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30040 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30041 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30042 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30043 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30044 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30045 __fstatat64 macros.
30046 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30047 * dirent/rewinddir.c: Add libc_hidden_def.
30048 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30049 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30051 * include/dirent.h (__alloc_dir): Add flags parameter.
30052 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30053 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30055 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30056 from fdopendir if O_CLOEXEC is already set.
30058 2011-03-15 Alan Modra <amodra@gmail.com>
30060 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30061 l_tls_firstbyte_offset non-zero. Save padding offset in
30062 l_tls_firstbyte_offset for later use.
30063 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30064 freeing static tls block.
30066 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30068 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30069 where #ifdef was intended. The intent is to prevent ARG_MAX from
30070 being defined by the kernel headers.
30072 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30075 * resolv/resolv.h: Define RES_NOTLDQUERY.
30076 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30077 no-tld-query and set RES_NOTLDQUERY.
30078 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30079 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30080 modern BIND to search name as TLD unless forbidden.
30082 2011-05-07 Petr Baudis <pasky@suse.cz>
30083 Ulrich Drepper <drepper@gmail.com>
30086 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30087 (is_trusted_path): ...to here.
30088 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30089 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30090 using is_trusted_path_normalize() in setuid scripts.
30092 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30094 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30095 __BEGIN/__END_DECLS.
30097 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30099 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30100 NSS_STATUS_NOTFOUND if no record was found.
30102 2011-05-05 Andreas Schwab <schwab@redhat.com>
30104 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30105 (headers-not-in-tirpc): Remove rpc/netdb.h
30106 * resolv/netdb.h: Revert last change.
30108 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30110 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30111 circular dependency between libgcc.a and libc.a.
30113 2011-05-05 Andreas Schwab <schwab@redhat.com>
30115 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30116 * nis/Makefile: Don't install rpcsvc/*.
30117 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30118 instead of <rpc/types.h>.
30119 (MAXHOSTNAMELEN): Define.
30121 2011-05-03 Andreas Schwab <schwab@redhat.com>
30123 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30125 2011-04-28 Maciej Babinski <mbabinski@google.com>
30128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30129 gethostbyname4_r when IPv6 results are possible.
30131 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30134 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30135 _PC_PIPE_BUF handling.
30137 2011-04-30 Bruno Haible <bruno@clisp.org>
30140 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30141 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30143 * inet/getnameinfo.c (getnameinfo): Likewise.
30145 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30147 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30148 to groups setting in database lookup.
30149 * nss/nsswitch.conf: Add initgroups entry.
30151 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30154 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30156 Patch by Eric Blake <eblake@redhat.com>.
30158 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30160 * sunrpc/Makefile (need-export-routines): Add svc_run.
30161 (routines): Remove svc_run.
30162 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30163 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30164 * sunrpc/svc_run.c (svc_run): Likewise.
30165 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30167 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30169 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30170 problem in reallocation in last patch.
30172 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30174 * sunrpc/Makefile: Move inclusion of Rules.
30176 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30178 * nss/nss_files/files-initgroups.c: New file.
30179 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30180 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30181 _nss_files_initgroups_dyn.
30183 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30185 * elf/elf.h (R_ARM_IRELATIVE): Define.
30187 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30189 * po/ru.po: Update from translation team.
30191 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30193 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30196 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30199 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30200 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30202 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30205 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30207 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30209 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30210 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30213 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30216 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30218 * stdlib/bug-getcontext.c: New file.
30219 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30221 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30223 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30224 instructions into .machine "z9-109".
30225 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30226 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30228 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30230 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30231 between environment variables and auxiliary vector.
30233 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30235 * Makefile: Add rules to build linkobj/libc.so.
30236 * include/libc-symbols.h: Define libc_hidden_nolink.
30237 * include/rpc/auth.h: Mark functions which are to be hidden.
30238 * include/rpc/auth_des.h: Likewise.
30239 * include/rpc/auth_unix.h: Likewise.
30240 * include/rpc/clnt.h: Likewise.
30241 * include/rpc/des_crypt.h: Likewise.
30242 * include/rpc/key_prot.h: Likewise.
30243 * include/rpc/pmap_clnt.h: Likewise.
30244 * include/rpc/pmap_prot.h: Likewise.
30245 * include/rpc/pmap_rmt.h: Likewise.
30246 * include/rpc/rpc_msg.h: Likewise.
30247 * include/rpc/svc.h: Likewise.
30248 * include/rpc/svc_auth.h: Likewise.
30249 * include/rpc/xdr.h: Likewise.
30250 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30251 * nss/Makefile: Likewise.
30252 * sunrpc/Makefile: Don't install headers. Build library with normal
30253 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30254 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30255 for the compat linking library. Remove use of INTDEF/INTUSE.
30256 * sunrpc/auth_none.c: Likewise.
30257 * sunrpc/auth_unix.c: Likewise.
30258 * sunrpc/authdes_prot.c: Likewise.
30259 * sunrpc/authuxprot.c: Likewise.
30260 * sunrpc/clnt_gen.c: Likewise.
30261 * sunrpc/clnt_perr.c: Likewise.
30262 * sunrpc/clnt_raw.c: Likewise.
30263 * sunrpc/clnt_simp.c: Likewise.
30264 * sunrpc/clnt_tcp.c: Likewise.
30265 * sunrpc/clnt_udp.c: Likewise.
30266 * sunrpc/clnt_unix.c: Likewise.
30267 * sunrpc/des_crypt.c: Likewise.
30268 * sunrpc/des_soft.c: Likewise.
30269 * sunrpc/get_myaddr.c: Likewise.
30270 * sunrpc/key_call.c: Likewise.
30271 * sunrpc/key_prot.c: Likewise.
30272 * sunrpc/netname.c: Likewise.
30273 * sunrpc/pm_getmaps.c: Likewise.
30274 * sunrpc/pm_getport.c: Likewise.
30275 * sunrpc/pmap_clnt.c: Likewise.
30276 * sunrpc/pmap_prot.c: Likewise.
30277 * sunrpc/pmap_prot2.c: Likewise.
30278 * sunrpc/pmap_rmt.c: Likewise.
30279 * sunrpc/publickey.c: Likewise.
30280 * sunrpc/rpc_cmsg.c: Likewise.
30281 * sunrpc/rpc_common.c: Likewise.
30282 * sunrpc/rpc_dtable.c: Likewise.
30283 * sunrpc/rpc_prot.c: Likewise.
30284 * sunrpc/rpc_thread.c: Likewise.
30285 * sunrpc/rtime.c: Likewise.
30286 * sunrpc/svc.c: Likewise.
30287 * sunrpc/svc_auth.c: Likewise.
30288 * sunrpc/svc_authux.c: Likewise.
30289 * sunrpc/svc_raw.c: Likewise.
30290 * sunrpc/svc_run.c: Likewise.
30291 * sunrpc/svc_simple.c: Likewise.
30292 * sunrpc/svc_tcp.c: Likewise.
30293 * sunrpc/svc_udp.c: Likewise.
30294 * sunrpc/svc_unix.c: Likewise.
30295 * sunrpc/svcauth_des.c: Likewise.
30296 * sunrpc/xcrypt.c: Likewise.
30297 * sunrpc/xdr.c: Likewise.
30298 * sunrpc/xdr_array.c: Likewise.
30299 * sunrpc/xdr_float.c: Likewise.
30300 * sunrpc/xdr_intXX_t.c: Likewise.
30301 * sunrpc/xdr_mem.c: Likewise.
30302 * sunrpc/xdr_rec.c: Likewise.
30303 * sunrpc/xdr_ref.c: Likewise.
30304 * sunrpc/xdr_sizeof.c: Likewise.
30305 * sunrpc/xdr_stdio.c: Likewise.
30307 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30310 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30311 * sysdeps/ia64/dl-tls.h: Likewise.
30312 * sysdeps/powerpc/dl-tls.h: Likewise.
30313 * sysdeps/s390/dl-tls.h: Likewise.
30314 * sysdeps/sh/dl-tls.h: Likewise.
30315 * sysdeps/sparc/dl-tls.h: Likewise.
30316 * sysdeps/x86_64/dl-tls.h: Likewise.
30317 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30319 2011-03-14 Andreas Schwab <schwab@redhat.com>
30321 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30322 rpath element also skip the following colon.
30323 (expand_dynamic_string_token): Add is_path parameter and pass
30324 down to DL_DST_REQUIRED and _dl_dst_substitute.
30325 (decompose_rpath): Call expand_dynamic_string_token with
30326 non-zero is_path. Ignore empty rpaths.
30327 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30330 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30335 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30338 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30339 Patch by Filipe David Manana <fdmanana@apache.org>.
30341 2011-04-07 Andreas Schwab <schwab@redhat.com>
30343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30344 Maintain aligned stack.
30345 (CHECK_RSP): Remove unused macro.
30347 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30349 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30350 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30352 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30354 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30356 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30358 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30361 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30362 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30363 * sysdeps/x86_64/memmove.c: New file.
30364 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30365 (memcpy): Renamed to ...
30366 (__new_memcpy): This.
30367 (memcpy): Provide GLIBC_2_14 memcpy.
30368 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30369 (memcpy): Provide GLIBC_2_2_5 memcpy.
30371 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30374 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30376 2011-03-30 Andreas Schwab <schwab@redhat.com>
30378 * misc/syncfs.c: New file.
30379 * misc/Makefile (routines): Add syncfs.
30380 * posix/unistd.h: Declare syncfs.
30381 * sysdeps/unix/syscalls.list: Add syncfs.
30383 2011-04-01 Andreas Schwab <schwab@redhat.com>
30385 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30388 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30390 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30392 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30395 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30397 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30398 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30399 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30401 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30403 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30405 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30406 sync_file_range.c with -fexceptions.
30407 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30408 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30409 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30410 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30411 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30412 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30413 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30414 sync_file_range as cancellation point
30415 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30416 now a wrapper around __call_sync_file_range with cancellation handling.
30417 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30418 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30419 function name to __call_sync_file_range.
30420 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30421 Add call_sync_file_range.
30423 2011-04-01 Andreas Schwab <schwab@redhat.com>
30425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30428 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30430 * iconv/iconv.h: Fix typo in comment.
30431 * io/fcntl.h: Likewise.
30432 * libio/stdio.h: Likewise.
30433 * posix/spawn.h: Likewise.
30434 * posix/unistd.h: Likewise.
30435 * stdlib/stdlib.h: Likewise.
30436 * time/time.h: Likewise.
30437 * wcsmbs/wchar.h: Likewise.
30439 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30440 open_by_handle): Add.
30441 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30442 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30443 Augment a few comments.
30444 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30446 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30449 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30452 * io/fcntl.h (AT_EMPTY_PATH): Define.
30454 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30456 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30457 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30458 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30460 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30461 * Versions.def: Add GLIBC_2.14.
30462 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30465 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30467 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30469 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30471 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30474 * string/test-strncmp.c (do_page_test): New function.
30475 (check2): Likewise.
30476 (test_main): Call check2.
30477 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30479 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30482 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30483 Handle cache information in CPU leaf 4.
30484 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30486 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30489 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30490 character representation.
30491 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30493 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30495 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30496 END(__isnan) to END(__isnanf) to match function entry point/label
30497 EALIGN(__isnanf,...).
30499 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30501 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30503 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30506 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30507 copy from the symbol referenced in the relocation to initialize the
30509 Patch by Piotr Bury <pbury@goahead.com>.
30510 * elf/Makefile: Add rules to build and tst-unique3.
30511 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30512 * elf/tst-unique3.cc: New file.
30513 * elf/tst-unique3.h: New file.
30514 * elf/tst-unique3lib.cc: New file.
30515 * elf/tst-unique3lib2.cc: New file.
30517 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30519 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30521 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30522 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30525 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30527 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30528 to-be-loaded object along a path to loader is ld.so.
30530 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30531 Ulrich Drepper <drepper@gmail.com>
30533 * sysdeps/x86_64/memset.S: After aligning destination, code
30534 branches to different locations depending on the value of
30535 misalignment, when multiarch is enabled. Fix this.
30537 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30539 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30540 Set _x86_64_preferred_memory_instruction for AMD processsors.
30541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30542 Set bit_Prefer_SSE_for_memop for AMD processors.
30544 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30546 * libio/fmemopen.c (fmemopen): Optimize a bit.
30548 2011-03-03 Andreas Schwab <schwab@redhat.com>
30550 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30552 2011-03-03 Roland McGrath <roland@redhat.com>
30554 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30556 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30558 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30559 __bzero_ultra1 instead of __memset_ultra1.
30561 2011-02-23 Andreas Schwab <schwab@redhat.com>
30562 Ulrich Drepper <drepper@gmail.com>
30565 * include/link.h (struct link_map): Add l_orig_initfini.
30566 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30567 returning unsuccessfully.
30568 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30569 close of a file loaded at startup, restore the original l_initfini
30571 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30572 list, store the pointer.
30573 * elf/Makefile ($(objpfx)noload-mem): New rule.
30574 (noload-ENV): Define.
30575 (tests): Add $(objpfx)noload-mem.
30576 * elf/noload.c: Include <memcheck.h>.
30577 (main): Call mtrace. Close all opened handles.
30579 2011-02-17 Andreas Schwab <schwab@redhat.com>
30582 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30583 dependencies are missing.
30585 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30587 Fix __if_freereq crash: Unlike the generic version which uses free,
30589 * sysdeps/mach/hurd/ifreq.h: New file.
30591 2011-01-27 Petr Baudis <pasky@suse.cz>
30592 Ulrich Drepper <drepper@gmail.com>
30595 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30596 to extend_alloca().
30597 * stdio-common/bug23.c: New file.
30598 * stdio-common/Makefile (tests): Add bug23.
30600 2010-09-28 Andreas Schwab <schwab@redhat.com>
30601 Ulrich Drepper <drepper@gmail.com>
30604 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30605 before performing relro protection. At old place add assertion
30606 to make sure nothing changed.
30608 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30609 Glauber de Oliveira Costa <glommer@gmail.com>
30611 * elf/elf.h: Add new ARM TLS relocs.
30613 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30616 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30618 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30620 * sysdeps/wordsize-64/tst-writev.c: New file.
30622 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30624 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30625 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30626 insns in _dl_start to prevent a TOC reference before relocs are
30629 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30632 * Makeconfig: Remove RANLIB definition.
30633 * Makerules: Don't use RANLIB.
30634 * aclocal.m4: Remove ranlib test.
30635 * configure.in: No need to check for ranlib.
30636 * elf/rtld-Rules: Don't use RANLIB.
30638 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30640 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30642 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30643 inclusion protection macro.
30645 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30646 SIGRTMIN and SIGRTMAX and print information in that case only when
30647 SIGRTMIN is defined.
30649 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30651 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30652 arginfo fn returning -1.
30654 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30655 and thousands string is zero terminated.
30657 2011-02-03 Andreas Schwab <schwab@redhat.com>
30659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30660 sysdeps/unix/sysv/linux/bits/socket.h.
30662 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30664 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30665 (__CPU_COUNT): Remove old macros.
30666 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30667 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30668 (__CPU_ALLOC, __CPU_FREE): Add macros.
30669 (__sched_cpualloc, __sched_cpufree): Add declarations.
30671 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30673 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30674 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30675 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30676 (readdhstai): Return value of addhstaiX call.
30677 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30678 (addgrbyX): Return value returned by cache_addgr.
30679 (readdgrbyname): Return value returned by addgrbyX.
30680 (readdgrbygid): Likewise.
30681 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30682 (addpwbyX): Return value returned by cache_addpw.
30683 (readdpwbyname): Return value returned by addhstbyX.
30684 (readdpwbyuid): Likewise.
30685 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30686 (addservbyX): Return value returned by cache_addserv.
30687 (readdservbyname): Return value returned by addservbyX:
30688 (readdservbyport): Likewise.
30689 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30690 (addhstbyX): Return value returned by cache_addhst.
30691 (readdhstbyname): Return value returned by addhstbyX.
30692 (readdhstbyaddr): Likewise.
30693 (readdhstbynamev6): Likewise.
30694 (readdhstbyaddrv6): Likewise.
30695 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30696 (readdinitgroups): Return value returned by addinitgroupsX.
30697 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30698 (prune_cache): Keep track of timeout value of re-added entries.
30699 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30700 * nscd/nscd.h: Adjust prototypes of readd* functions.
30702 2011-02-04 Roland McGrath <roland@redhat.com>
30704 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30705 (nis_stats): Likewise.
30706 * nis/nis_modify.c (nis_modify): Likewise.
30707 * nis/nis_remove.c (nis_remove): Likewise.
30708 * nis/nis_add.c (nis_add): Likewise.
30710 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30712 * posix/fnmatch_loop.c: Add some consts.
30714 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30716 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30719 * config.make.in (config-cflags-novzeroupper): Define.
30720 * configure.in: Substitute libc_cv_cc_novzeroupper.
30721 * elf/Makefile (AVX-CFLAGS): Define.
30722 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30723 (CFLAGS-tst-auditmod4a.c): Likewise.
30724 (CFLAGS-tst-auditmod4b.c): Likewise.
30725 (CFLAGS-tst-auditmod6b.c): Likewise.
30726 (CFLAGS-tst-auditmod6c.c): Likewise.
30727 (CFLAGS-tst-auditmod7b.c): Likewise.
30728 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30730 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30732 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30733 function to the callback.
30734 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30736 2011-02-02 Andreas Schwab <schwab@redhat.com>
30738 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30741 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30744 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30746 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30748 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30751 * elf/Makefile: Add rules to build and run new test.
30752 * elf/tst-initorder.c: New file.
30753 * elf/tst-initorder.exp: New file.
30754 * elf/tst-initordera1.c: New file.
30755 * elf/tst-initordera2.c: New file.
30756 * elf/tst-initordera3.c: New file.
30757 * elf/tst-initordera4.c: New file.
30758 * elf/tst-initorderb1.c: New file.
30759 * elf/tst-initorderb2.c: New file.
30760 * elf/tst-order-a1.c: New file.
30761 * elf/tst-order-a2.c: New file.
30762 * elf/tst-order-a3.c: New file.
30763 * elf/tst-order-a4.c: New file.
30764 * elf/tst-order-b1.c: New file.
30765 * elf/tst-order-b2.c: New file.
30766 * elf/tst-order-main.c: New file.
30767 New test case by George Gensure <werkt0@gmail.com>.
30769 2010-10-01 Andreas Schwab <schwab@redhat.com>
30771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30772 decoding ACE if AI_CANONIDN.
30774 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30776 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30778 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30780 * version.h (RELEASE): Bump for 2.13 release.
30781 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30783 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30785 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30787 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30788 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30789 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30790 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30791 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30792 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30794 * posix/getconf.c: Update copyright year.
30795 * catgets/gencat.c: Likewise.
30796 * csu/version.c: Likewise.
30797 * debug/catchsegv.sh: Likewise.
30798 * debug/xtrace.sh: Likewise.
30799 * elf/ldconfig.c: Likewise.
30800 * elf/ldd.bash.in: Likewise.
30801 * elf/sprof.c (print_version): Likewise.
30802 * iconv/iconv_prog.c: Likewise.
30803 * iconv/iconvconfig.c: Likewise.
30804 * locale/programs/locale.c: Likewise.
30805 * locale/programs/localedef.c: Likewise.
30806 * malloc/memusage.sh: Likewise.
30807 * malloc/mtrace.pl: Likewise.
30808 * nscd/nscd.c (print_version): Likewise.
30809 * nss/getent.c: Likewise.
30811 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30812 PF_CAIF, and PF_ALG.
30813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30815 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30817 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30818 (modules-names): Use them.
30819 (ifunc-test-modules, ifunc-pie-tests): Define.
30820 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30821 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30822 (test-extras): Likewise.
30823 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30824 $(compile-command.c).
30825 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30826 (all-built-dso): Define.
30827 (check-textrel.out, check-execstack.out): Depend on it.
30829 * configure.in: Don't override --enable-multi-arch.
30831 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30834 * nscd/hstcache.c (tryagain): Define.
30835 (cache_addhst): Return tryagain not notfound for temporary errors.
30836 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30839 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30842 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30843 to make the syscall.
30844 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30847 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30848 and fall back to matching as normal character if the string ends before
30849 the matching ']' is found. This is what POSIX requires.
30850 * posix/testfnm.c: Adjust test result.
30851 * posix/globtest.sh: Adjust test result. Add new test.
30852 * posix/tst-fnmatch.input: Likewise.
30853 * posix/tst-fnmatch2.c: Add new test.
30855 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30857 * elf/Makefile (check-execstack): Revert last change. Depend on
30859 (check-execstack.h): New target.
30860 (generated): Add check-execstack.h.
30861 * elf/check-execstack.c: Include "check-execstack.h".
30862 (main): Revert last change.
30863 (handle_file): Return zero if GNU_STACK is absent and
30864 DEFAULT_STACK_PERMS doesn't include PF_X.
30866 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30868 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30869 in child fails because the descriptor is already closed.
30870 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30871 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30872 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30875 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30879 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30880 temporary buffer used to handle multi lookups locally.
30881 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30883 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30885 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30888 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30890 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30891 alignment for SSE2.
30893 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30896 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30897 characters. When rounding increased number of integer digits recompute
30899 * stdio-common/tst-grouping.c: New file.
30900 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30902 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30904 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30905 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30907 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30909 * bits/select.h: Likewise.
30911 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30913 * po/ja.po: Update from translation team.
30915 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30918 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30919 implementation just like for lxstat, fxstatat, et al.
30921 2010-12-27 Jim Meyering <meyering@redhat.com>
30924 * posix/regexec.c (build_trtable): Return failure indication upon
30925 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30927 2010-12-25 Ulrich Drepper <drepper@gmail.com>
30930 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30931 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30932 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30933 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30936 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30939 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30940 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30942 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30944 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30945 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30946 script has SORT_BY_INIT_PRIORITY.
30947 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30948 NO_CTORS_DTORS_SECTIONS is defined.
30949 * elf/soinit.c: Likewise.
30950 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30951 NO_CTORS_DTORS_SECTIONS is defined.
30952 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30953 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30954 * sysdeps/sh/init-first.c: Likewise.
30955 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30957 2010-12-24 Ulrich Drepper <drepper@gmail.com>
30959 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30960 always use the slow path.
30962 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30964 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30965 similar rule which adds the sysdep directories to the header search in
30966 order to pick up the correct platform stackinfo.h.
30967 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30968 perform test if it is, otherwise return successfully without testing.
30969 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30970 DEFAULT_STACK_PERMS define in stackinfo.h.
30971 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30972 defined in stackinfo.h.
30973 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30974 DEFAULT_STACK_PERMS defined in stackinfo.h.
30975 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30976 * sysdeps/ia64/stackinfo.h: Likewise.
30977 * sysdeps/s390/stackinfo.h: Likewise.
30978 * sysdeps/sh/stackinfo.h: Likewise.
30979 * sysdeps/sparc/stackinfo.h: Likewise.
30980 * sysdeps/x86_64/stackinfo.h: Likewise.
30981 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30982 PF_X for powerpc64. Retain PF_X for powerpc32.
30984 2010-12-19 Ulrich Drepper <drepper@gmail.com>
30986 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30988 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30989 GETDENTS_64BIT_ALIGNED.
30991 2010-12-14 Ulrich Drepper <dreper@gmail.com>
30993 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30995 2010-12-10 Andreas Schwab <schwab@redhat.com>
30997 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31000 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31001 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31003 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31004 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31006 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31009 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31012 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31014 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31016 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31018 * po/it.po: Update from translation team.
31020 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31025 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31027 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31029 2010-11-24 Andreas Schwab <schwab@redhat.com>
31031 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31033 (gaih_getanswer_slice): Likewise.
31035 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31039 2010-05-31 Petr Baudis <pasky@suse.cz>
31042 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31043 silently even in the chroot mode.
31045 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31047 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31048 last patch a bit. Pretty printing
31050 2010-05-31 Petr Baudis <pasky@suse.cz>
31053 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31054 initialization of skip_initgroups_dyn.
31056 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31058 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31059 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31061 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31063 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31065 2010-11-11 Andreas Schwab <schwab@redhat.com>
31067 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31068 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31069 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31070 ($(objpfx)tst-fnmatch-mem): New rule.
31071 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31072 * posix/tst-fnmatch.c (main): Call mtrace.
31074 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31077 Support Intel processor model 6 and model 0x2c.
31079 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31081 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31084 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31087 * string/test-strncasecmp.c (check_result): New function.
31088 (do_one_test): Use it.
31089 (check1): New function.
31090 (test_main): Use it.
31091 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31092 Support strcasecmp and strncasecmp.
31094 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31097 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31098 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31100 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31102 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31106 * sysdeps/x86_64/multiarch/bzero.S: New file.
31107 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31108 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31109 * sysdeps/x86_64/multiarch/memset.S: New file.
31110 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31112 Set bit_Prefer_SSE_for_memop for Intel processors.
31113 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31115 (index_Prefer_SSE_for_memop): Define.
31116 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31118 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31120 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31121 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31123 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31126 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31127 (__x86_64_raw_data_cache_size_half): Likewise.
31128 (__x86_64_raw_shared_cache_size): Likewise.
31129 (__x86_64_raw_shared_cache_size_half): Likewise.
31131 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31132 (__x86_64_raw_data_cache_size_half): Likewise.
31133 (__x86_64_raw_shared_cache_size): Likewise.
31134 (__x86_64_raw_shared_cache_size_half): Likewise.
31135 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31136 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31137 and __x86_64_raw_shared_cache_size_half. Round
31138 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31139 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31140 to multiple of 256 bytes.
31142 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31145 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31146 of inacessible symlinks. Verify result of symlink before returning it.
31147 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31148 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31150 2010-10-28 Erich Ritz <erichritz@gmail.com>
31152 * math/math.h (isinf): Fix typo in comment.
31154 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31156 * po/da.po: Update from translation team.
31158 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31160 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31161 is added to the list.
31163 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31164 Ulrich Drepper <drepper@gmail.com>
31166 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31167 the global list here. Move code to...
31168 (_dl_add_to_namespace_list): ...here. New function.
31169 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31170 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31171 * elf/dl-load.c (lose): Don't remove the element from the list.
31172 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31173 (_dl_map_object): Likewise.
31175 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31178 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31179 into all bytes of SSE register.
31180 Patch by Richard Li <richardpku@gmail.com>.
31182 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31185 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31188 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31190 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31191 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31192 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31193 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31198 2010-10-22 Andreas Schwab <schwab@redhat.com>
31200 * include/dlfcn.h (__RTLD_SECURE): Define.
31201 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31202 mode & __RTLD_SECURE instead.
31203 (open_path): Rename preloaded parameter to secure.
31204 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31205 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31206 * elf/dl-deps.c (openaux): Likewise.
31207 * elf/rtld.c (struct map_args): Remove is_preloaded.
31208 (map_doit): Don't use it.
31209 (dl_main): Likewise.
31210 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31211 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31213 2010-09-09 Andreas Schwab <schwab@redhat.com>
31215 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31216 (sysd-rules-targets): Remove duplicates.
31217 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31218 rtld-%.$o dependency.
31220 2010-10-18 Andreas Schwab <schwab@redhat.com>
31222 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31223 _dl_map_object do it.
31225 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31227 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31228 fast fma builtins, define the macros in the C99 standard.
31229 (FP_FAST_FMAF): Likewise.
31230 (FP_FAST_FMAL): Likewise.
31231 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31233 * bits/mathdef.h: Update copyright year.
31234 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31236 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31238 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31239 builtins, define the macros in the C99 standard.
31240 (FP_FAST_FMAF): Likewise.
31241 (FP_FAST_FMAL): Likewise.
31242 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31244 (FP_FAST_FMAF): Likewise.
31246 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31249 * math/libm-test.inc (fma_test): Some new testcases.
31250 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31251 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31252 y and infinite z. Do multiplication by C already in long double.
31253 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31255 y and infinite z. Do bitwise or of inexact bit into u.d.
31256 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31257 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31258 * sysdeps/i386/fpu/s_fma.S: Removed.
31259 * sysdeps/i386/fpu/s_fmal.S: Removed.
31261 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31264 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31266 computation is not scheduled after fetestexcept. Fix value
31267 of minimum denormal long double.
31269 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31272 * math/libm-test.inc (fma_test): Add some more tests.
31273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31276 2010-10-15 Andreas Schwab <schwab@redhat.com>
31278 * scripts/data/localplt-s390-linux-gnu.data: New file.
31279 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31281 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31284 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31285 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31287 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31289 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31291 if one of x and y is very large and the other is subnormal.
31292 * sysdeps/s390/fpu/s_fmaf.c: New file.
31293 * sysdeps/s390/fpu/s_fma.c: New file.
31294 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31295 * sysdeps/powerpc/fpu/s_fma.S: New file.
31296 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31297 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31298 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31300 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31303 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31305 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31306 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31307 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31308 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31309 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31310 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31311 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31313 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31316 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31317 * posix/bug-regex31.input: Add test case.
31319 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31321 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31322 * posix/bug-regex31.input: New file.
31325 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31326 (parse_sub_exp): Fix last change, use postorder.
31328 * posix/bug-regex31.c: New file.
31329 * posix/Makefile: Add rules to build and run bug-regex31.
31331 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31334 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31337 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31338 to have entries in sys_siglist.
31341 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31344 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31347 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31348 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31349 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31350 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31351 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31352 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31353 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31354 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31355 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31356 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31357 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31358 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31359 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31360 * math/ftestexcept.c (fetestexcept): Likewise.
31361 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31362 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31363 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31364 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31365 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31366 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31367 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31369 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31372 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31375 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31377 * string/bug-strstr1.c: New file.
31378 * string/Makefile: Add rules to build and run bug-strstr1.
31380 2010-10-05 Eric Blake <eblake@redhat.com>
31383 * string/str-two-way.h (two_way_long_needle): Always clear memory
31384 when skipping input due to the shift table.
31386 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31389 * malloc/mcheck.c: Handle large requests.
31392 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31393 for strncmp and strncasecmp.
31394 * string/stratcliff.c: Add tests for strcmp and strncmp.
31395 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31397 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31399 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31402 2010-09-30 Andreas Jaeger <aj@suse.de>
31404 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31405 (CGROUP_SUPER_MAGIC): Define.
31406 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31407 Handle btrfs and cgroup file systems.
31408 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31411 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31413 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31414 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31416 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31419 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31420 trying to locate the ELF header.
31422 2010-09-27 Andreas Schwab <schwab@redhat.com>
31425 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31426 Mask out sign-bit copies when constructing f_fsid.
31428 2010-09-24 Petr Baudis <pasky@suse.cz>
31430 * debug/stack_chk_fail_local.c: Add missing licence exception.
31431 * debug/warning-nop.c: Likewise.
31433 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31435 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31436 implementing getdents64 using getdents syscall, set d_type if
31437 __ASSUME_GETDENTS32_D_TYPE.
31439 2010-09-16 Andreas Schwab <schwab@redhat.com>
31441 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31442 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31444 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31447 * posix/unistd.h: Undo change of feature selection for ftruncate from
31450 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31452 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31455 2010-09-20 Andreas Schwab <schwab@redhat.com>
31457 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31459 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31461 2010-09-14 Andreas Schwab <schwab@redhat.com>
31463 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31464 variables after CHECK_SP call.
31465 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31467 2010-09-13 Andreas Schwab <schwab@redhat.com>
31468 Ulrich Drepper <drepper@redhat.com>
31470 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31471 re-relocationg ld.so.
31472 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31473 _dl_init_paths call.
31474 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31477 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31479 * resolv/res_init.c (__res_vinit): Count the default server we added.
31481 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31482 Ulrich Drepper <drepper@redhat.com>
31485 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31486 (____longjmp_chk): Use %ebx for saving value across system call.
31489 2010-09-06 Andreas Schwab <schwab@redhat.com>
31491 * manual/Makefile: Don't mix pattern rules with normal rules.
31493 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31495 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31497 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31498 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31499 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31500 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31501 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31504 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31507 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31508 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31510 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31512 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31513 * sysdeps/x86_64/addmul_1.S: Likewise.
31514 * sysdeps/x86_64/lshift.S: Likewise.
31515 * sysdeps/x86_64/mul_1.S: Likewise.
31516 * sysdeps/x86_64/rshift.S: Likewise.
31517 * sysdeps/x86_64/sub_n.S: Likewise.
31518 * sysdeps/x86_64/submul_1.S: Likewise.
31520 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31522 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31523 Define __sched_param instead of SCHED_* and sched_param when
31524 <bits/sched.h> is included with __need_schedparam defined.
31525 * bits/sched.h [__need_schedparam]
31526 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31527 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31528 (__defined_schedparam): Define to 1.
31529 (__sched_param): New structure, identical to sched_param.
31530 (__need_schedparam): Undefine.
31532 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31534 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31535 (epoll_create1): Declare.
31537 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31539 2010-08-31 Andreas Schwab <schwab@redhat.com>
31542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31543 shifting retval into place.
31545 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31547 * nis/rpcsvc/nis.h: Update copyright notice.
31548 * nis/rpcsvc/nis.x: Likewise.
31549 * nis/rpcsvc/nis_callback.h: Likewise.
31550 * nis/rpcsvc/nis_callback.x: Likewise.
31551 * nis/rpcsvc/nis_object.x: Likewise.
31552 * nis/rpcsvc/nis_tags.h: Likewise.
31553 * nis/rpcsvc/yp.h: Likewise.
31554 * nis/rpcsvc/yp.x: Likewise.
31555 * nis/rpcsvc/ypupd.h: Likewise.
31556 * nis/yp_xdr.c: Likewise.
31557 * nis/ypupdate_xdr.c: Likewise.
31559 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31560 mainly the body of pmap_getport. Add parameters to specify timeouts.
31561 (pmap_getport): Use __libc_rpc_getport.
31562 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31563 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31564 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31566 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31571 2010-08-27 Roland McGrath <roland@redhat.com>
31573 * sysdeps/i386/i686/multiarch/Makefile
31574 (CFLAGS-varshift.c): New variable.
31576 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31578 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31579 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31583 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31585 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31587 * sysdeps/x86_64/strlen.S: Unroll the loop.
31588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31589 strlen-sse2 strlen-sse2-bsf.
31590 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31591 __strlen_no_bsf if bit_Slow_BSF is set.
31592 (__strlen_sse42): Removed.
31593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31594 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31596 2010-08-25 Roland McGrath <roland@redhat.com>
31598 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31599 * sysdeps/x86_64/multiarch/varshift.c: New file.
31600 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31601 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31602 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31603 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31605 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31608 strlen-sse2 strlen-sse2-bsf.
31609 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31610 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31611 (__strlen_sse2): Removed.
31612 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31615 bit_Slow_BSF for Atom.
31616 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31617 (index_Slow_BSF): Define.
31618 (HAS_SLOW_BSF): Define.
31620 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31623 * resolv/res_init.c (__res_vinit): When no server address at all
31624 is given default to loopback.
31626 2010-08-24 Roland McGrath <roland@redhat.com>
31628 * configure.in: Remove config-name.h generation.
31629 * configure: Regenerated.
31630 * config-name.in: File removed.
31631 * scripts/config-uname.sh: New file.
31632 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31633 ($(objdir)config-name.h): New target.
31635 * sunrpc/rpc_parse.h: Avoid nested comment.
31637 2010-08-24 Richard Henderson <rth@redhat.com>
31638 Ulrich Drepper <drepper@redhat.com>
31639 H.J. Lu <hongjiu.lu@intel.com>
31641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31643 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31644 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31645 _mm_alignr_epi8 with _mm_loadu_si128.
31646 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31647 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31648 (__m128i_shift_right): Removed.
31649 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31650 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31651 * sysdeps/x86_64/multiarch/varshift.h: New file.
31652 * sysdeps/x86_64/multiarch/varshift.S: New file.
31654 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31656 * configure.in: Move assembler checks to before sysdep dir checking.
31658 2010-08-20 Petr Baudis <pasky@suse.cz>
31660 * LICENSES: Sync the sunrpc license.
31662 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31664 * sunrpc/auth_des.c: Update copyright notice once again.
31665 * sunrpc/auth_none.c: Likewise.
31666 * sunrpc/auth_unix.c: Likewise.
31667 * sunrpc/authdes_prot.c: Likewise.
31668 * sunrpc/authuxprot.c: Likewise.
31669 * sunrpc/bindrsvprt.c: Likewise.
31670 * sunrpc/clnt_gen.c: Likewise.
31671 * sunrpc/clnt_perr.c: Likewise.
31672 * sunrpc/clnt_raw.c: Likewise.
31673 * sunrpc/clnt_simp.c: Likewise.
31674 * sunrpc/clnt_tcp.c: Likewise.
31675 * sunrpc/clnt_udp.c: Likewise.
31676 * sunrpc/clnt_unix.c: Likewise.
31677 * sunrpc/des_crypt.c: Likewise.
31678 * sunrpc/des_soft.c: Likewise.
31679 * sunrpc/get_myaddr.c: Likewise.
31680 * sunrpc/getrpcport.c: Likewise.
31681 * sunrpc/key_call.c: Likewise.
31682 * sunrpc/key_prot.c: Likewise.
31683 * sunrpc/openchild.c: Likewise.
31684 * sunrpc/pm_getmaps.c: Likewise.
31685 * sunrpc/pm_getport.c: Likewise.
31686 * sunrpc/pmap_clnt.c: Likewise.
31687 * sunrpc/pmap_prot.c: Likewise.
31688 * sunrpc/pmap_prot2.c: Likewise.
31689 * sunrpc/pmap_rmt.c: Likewise.
31690 * sunrpc/rpc/auth.h: Likewise.
31691 * sunrpc/rpc/auth_unix.h: Likewise.
31692 * sunrpc/rpc/clnt.h: Likewise.
31693 * sunrpc/rpc/des_crypt.h: Likewise.
31694 * sunrpc/rpc/key_prot.h: Likewise.
31695 * sunrpc/rpc/netdb.h: Likewise.
31696 * sunrpc/rpc/pmap_clnt.h: Likewise.
31697 * sunrpc/rpc/pmap_prot.h: Likewise.
31698 * sunrpc/rpc/pmap_rmt.h: Likewise.
31699 * sunrpc/rpc/rpc.h: Likewise.
31700 * sunrpc/rpc/rpc_des.h: Likewise.
31701 * sunrpc/rpc/rpc_msg.h: Likewise.
31702 * sunrpc/rpc/svc.h: Likewise.
31703 * sunrpc/rpc/svc_auth.h: Likewise.
31704 * sunrpc/rpc/types.h: Likewise.
31705 * sunrpc/rpc/xdr.h: Likewise.
31706 * sunrpc/rpc_clntout.c: Likewise.
31707 * sunrpc/rpc_cmsg.c: Likewise.
31708 * sunrpc/rpc_common.c: Likewise.
31709 * sunrpc/rpc_cout.c: Likewise.
31710 * sunrpc/rpc_dtable.c: Likewise.
31711 * sunrpc/rpc_hout.c: Likewise.
31712 * sunrpc/rpc_main.c: Likewise.
31713 * sunrpc/rpc_parse.c: Likewise.
31714 * sunrpc/rpc_parse.h: Likewise.
31715 * sunrpc/rpc_prot.c: Likewise.
31716 * sunrpc/rpc_sample.c: Likewise.
31717 * sunrpc/rpc_scan.c: Likewise.
31718 * sunrpc/rpc_scan.h: Likewise.
31719 * sunrpc/rpc_svcout.c: Likewise.
31720 * sunrpc/rpc_tblout.c: Likewise.
31721 * sunrpc/rpc_util.c: Likewise.
31722 * sunrpc/rpc_util.h: Likewise.
31723 * sunrpc/rpcinfo.c: Likewise.
31724 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31725 * sunrpc/rpcsvc/key_prot.x: Likewise.
31726 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31727 * sunrpc/rpcsvc/mount.x: Likewise.
31728 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31729 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31730 * sunrpc/rpcsvc/rex.x: Likewise.
31731 * sunrpc/rpcsvc/rstat.x: Likewise.
31732 * sunrpc/rpcsvc/rusers.x: Likewise.
31733 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31734 * sunrpc/rpcsvc/spray.x: Likewise.
31735 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31736 * sunrpc/rtime.c: Likewise.
31737 * sunrpc/svc.c: Likewise.
31738 * sunrpc/svc_auth.c: Likewise.
31739 * sunrpc/svc_authux.c: Likewise.
31740 * sunrpc/svc_raw.c: Likewise.
31741 * sunrpc/svc_run.c: Likewise.
31742 * sunrpc/svc_simple.c: Likewise.
31743 * sunrpc/svc_tcp.c: Likewise.
31744 * sunrpc/svc_udp.c: Likewise.
31745 * sunrpc/svc_unix.c: Likewise.
31746 * sunrpc/svcauth_des.c: Likewise.
31747 * sunrpc/xcrypt.c: Likewise.
31748 * sunrpc/xdr.c: Likewise.
31749 * sunrpc/xdr_array.c: Likewise.
31750 * sunrpc/xdr_float.c: Likewise.
31751 * sunrpc/xdr_mem.c: Likewise.
31752 * sunrpc/xdr_rec.c: Likewise.
31753 * sunrpc/xdr_ref.c: Likewise.
31754 * sunrpc/xdr_sizeof.c: Likewise.
31755 * sunrpc/xdr_stdio.c: Likewise.
31757 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31760 2010-08-19 Andreas Schwab <schwab@redhat.com>
31762 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31764 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31766 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31767 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31768 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31769 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31770 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31771 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31772 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31773 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31774 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31775 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31776 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31777 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31778 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31779 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31781 2010-07-26 Anton Blanchard <anton@samba.org>
31783 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31784 * malloc/arena.c (heap_trim): Likewise.
31786 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31788 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31790 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31791 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31793 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31795 * sysdeps/i386/elf/Makefile: New file.
31797 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31799 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31800 from fanotify_init.
31801 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31804 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31806 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31808 * sysdeps/multiarch/strcmp.S: Likewise.
31810 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31812 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31813 strncase_l-nonascii.
31814 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31815 Add strncase_l-ssse3.
31816 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31817 * sysdeps/x86_64/strcmp.S: Likewise.
31818 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31819 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31820 * sysdeps/x86_64/strncase.S: New file.
31821 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31822 * sysdeps/x86_64/strncase_l.S: New file.
31823 * string/Makefile (strop-tests): Add strncasecmp.
31824 * string/test-strncasecmp.c: New file.
31826 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31829 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31830 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31832 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31834 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31836 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31838 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31839 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31840 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31842 2010-05-01 Alan Modra <amodra@gmail.com>
31844 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31845 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31846 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31847 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31848 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31849 tidying. Don't tail-call __sigjmp_save for static lib.
31850 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31852 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31853 (CALL_MCOUNT): Add eh info, and nop after bl.
31854 (TAIL_CALL_SYSCALL_ERROR): New macro.
31855 (PSEUDO_RET): Use it.
31856 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31857 Correct save location of integer regs and cr.
31858 (_dl_profile_resolve): Correct cr save location. Delete nops
31859 after bl when SHARED. Reduce cfi size a little by better
31860 placement of cfi directives.
31861 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31862 make a stack frame. Instead use parm save area as a temp.
31863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31864 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31866 Don't make a stack frame for parent, use parm save area.
31867 Increase child stack frame to 112 bytes. Don't save unused reg,
31868 and adjust reg usage. Set up cfi on error recovery and
31869 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31871 (__makecontext): Add dummy nop after jump to exit.
31872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31873 Use correct parm save area and cr save, reduce stack frame.
31874 Correct cfi for possible PSEUDO_RET frame setup.
31875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31876 Branch to local label emitted by PSEUDO_RET rather than
31879 2010-08-12 Andreas Schwab <schwab@redhat.com>
31882 * locale/programs/locale.c (print_assignment): New function.
31883 (show_locale_vars): Use it.
31885 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31887 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31889 (struct statfs64): Likewise.
31890 (_STATFS_F_FLAGS): Define.
31891 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31892 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31893 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31894 (ST_VALID): Define locally.
31895 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31896 __statvfs_getflags, use the provided value.
31897 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31898 __ASSUME_STATFS_F_FLAGS.
31900 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31902 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31903 Add sys/fanotify.h.
31904 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31905 fanotify_mask for GLIBC_2.13.
31906 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31907 fanotify_init and fanotify_mark.
31908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31909 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31911 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31913 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31914 prlimit64 for GLIBC_2.13.
31915 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31920 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31921 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31922 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31923 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31925 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31928 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31929 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31931 * nss/Makefile: Add rules to build and run tst-nss-test1.
31932 * shlib-versions: Add entry for libnss_test1.
31933 * nss/nss_test1.c: New file.
31934 * nss/tst-nss-test1.c: New file.
31936 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31937 (__nss_configure_lookup): Set appropriate entry in
31938 __nss_configure_lookup to true.
31939 * nss/nsswitch.h: Define enum with indeces of databases in
31940 databases and __nss_database_custom arrays. Declare
31941 __nss_database_custom.
31942 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31943 to avoid using nscd when custom rules are installed.
31944 * nss/getXXbyYY_r.c: Likewise.
31945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31947 * nss/nss_files/files-parse.c: Whitespace fixes.
31949 2010-08-09 Ulrich Drepper <drepper@redhat.com>
31952 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31953 * posix/fnmatch_loop.c: Likewise.
31955 2010-07-17 Andi Kleen <ak@linux.intel.com>
31957 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31958 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31959 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31960 * Versions.def [GLIBC_2.13]: Add.
31962 2010-08-06 Ulrich Drepper <drepper@redhat.com>
31964 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31965 Also fail if tpwd after pwuid call is NULL.
31967 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31969 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31970 when converting to ms.
31972 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31974 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31975 EOPNOTSUPP errors with ENOTTY.
31976 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31977 EOPNOTSUPP errors with ENOTTY.
31979 2010-07-31 Ulrich Drepper <drepper@redhat.com>
31981 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31982 Add strcasecmp_l-ssse3.
31983 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31985 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31986 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31987 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31989 2010-07-30 Ulrich Drepper <drepper@redhat.com>
31991 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31993 * string/Makefile (strop-tests): Add strcasecmp.
31994 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31995 strcasecmp_l-nonascii.
31996 (gen-as-const-headers): Add locale-defines.sym.
31997 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31998 * sysdeps/x86_64/strcasecmp.S: New file.
31999 * sysdeps/x86_64/strcasecmp_l.S: New file.
32000 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32001 * sysdeps/x86_64/locale-defines.sym: New file.
32002 * string/test-strcasecmp.c: New file.
32004 * string/test-strcasestr.c: Test both ends of the range of characters.
32005 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32007 2010-07-29 Roland McGrath <roland@redhat.com>
32010 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32012 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32014 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32017 2010-07-27 Andreas Schwab <schwab@redhat.com>
32019 * manual/memory.texi (Malloc Tunable Parameters): Document
32022 2010-07-26 Roland McGrath <roland@redhat.com>
32025 * configure.in (-fgnu89-inline check): Set and substitute
32026 gnu89_inline, not libc_cv_gnu89_inline.
32027 * configure: Regenerated.
32028 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32030 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32032 * string/test-strnlen.c: New file.
32033 * string/Makefile (strop-tests): Add strnlen.
32034 * string/tester.c (test_strnlen): Add a few more test cases.
32035 * string/tst-strlen.c: Better error reporting.
32037 * sysdeps/x86_64/strnlen.S: New file.
32039 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32041 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32042 lower-latency instructions.
32044 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32046 * string/test-strcasestr.c: New file.
32047 * string/test-strstr.c: New file.
32048 * string/Makefile (strop-tests): Add strstr and strcasestr.
32049 * string/str-two-way.h: Don't undefine MAX.
32050 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32052 2010-07-21 Andreas Schwab <schwab@redhat.com>
32054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32055 strcasestr-nonascii.
32056 (CFLAGS-strcasestr-nonascii.c): Define.
32057 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32058 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32059 Remove unused attribute.
32061 2010-07-20 Roland McGrath <roland@redhat.com>
32063 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32064 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32065 ld.so.cache was broken. With it, there is no way to disable dsocaps
32066 like LD_HWCAP_MASK can disable hwcaps.
32068 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32070 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32072 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32074 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32075 call in strcasestr.
32076 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32077 __strcasestr_sse42_nonascii.
32078 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32079 strcasestr-nonascii.c.
32080 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32082 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32084 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32085 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32086 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32087 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32089 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32091 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32094 2010-07-06 Andreas Schwab <schwab@redhat.com>
32097 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32100 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32102 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32103 _PC_PIPE_BUF using F_GETPIPE_SZ.
32105 2010-07-05 Roland McGrath <roland@redhat.com>
32107 * manual/arith.texi (Rounding Functions): Fix rint description
32108 implicit in round description.
32110 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32112 * elf/Makefile: Fix linking for a few tests to make recent linker
32115 2010-06-30 Andreas Schwab <schwab@redhat.com>
32117 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32118 $(common-objpfx)libc_nonshared.a.
32120 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32122 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32123 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32124 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32125 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32126 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32127 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32128 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32129 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32144 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32145 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32146 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32147 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32148 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32149 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32150 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32151 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32152 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32153 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32154 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32155 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32171 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32173 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32174 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32175 * string/memmove.c (memmove): Renamed to ...
32176 (MEMMOVE): ...this. Default to memmove.
32177 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32178 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32181 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32182 mempcpy-ssse3-back memmove-ssse3-back.
32183 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32184 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32185 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32186 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32187 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32188 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32189 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32190 * sysdeps/x86_64/multiarch/memmove.c: New file.
32191 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32192 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32193 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32194 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32195 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32196 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32198 (index_Fast_Copy_Backward): Define.
32199 (HAS_ARCH_FEATURE): Define.
32200 (HAS_FAST_REP_STRING): Define.
32201 (HAS_FAST_COPY_BACKWARD): Define.
32203 2010-06-21 Andreas Schwab <schwab@redhat.com>
32205 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32206 Restore proper fallback handling.
32208 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32211 * posix/group_member.c (__group_member): Correct checking loop.
32213 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32214 OOM in getpwuid_r correctly. Return error number when the caller
32215 should return, otherwise -1.
32216 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32217 call returning > 0 value.
32218 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32220 2010-06-07 Andreas Schwab <schwab@redhat.com>
32222 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32223 libc_nonshared.a from targets in modules-names.
32225 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32227 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32230 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32232 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32233 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32237 2010-06-02 Andreas Schwab <schwab@redhat.com>
32239 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32241 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32243 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32245 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32246 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32249 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32250 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32252 2010-06-14 Roland McGrath <roland@redhat.com>
32254 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32256 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32258 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32259 __REDIRECT followed by __THROW.
32260 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32261 * posix/getopt.h (getopt): Likewise.
32263 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32265 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32266 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32267 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32269 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32270 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32272 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32274 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32276 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32280 Properly check family and model.
32282 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32284 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32286 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32288 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32290 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32292 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32295 2010-05-19 Andreas Schwab <schwab@redhat.com>
32297 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32300 2010-05-21 Andreas Schwab <schwab@redhat.com>
32302 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32303 and internal_recvmmsg.
32304 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32305 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32306 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32307 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32309 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32310 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32311 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32313 2010-05-20 Andreas Schwab <schwab@redhat.com>
32315 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32317 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32319 POWER7 optimizations.
32320 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32321 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32323 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32325 * version.h: Update for 2.13 development version.
32327 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32329 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32330 exceptions. Return 0.
32332 2010-05-07 Roland McGrath <roland@redhat.com>
32334 * elf/ldconfig.c (main): Add a const.
32336 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32338 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32339 (args_options): Add no-idn option.
32340 (ahosts_keys_int): Add idn_flags to ai_flags.
32341 (parse_option): Handle 'i' option to clear idn_flags.
32343 * malloc/malloc.c (_int_free): Possible race in the most recently
32344 added check. Only act on the data if no current modification
32347 See ChangeLog.17 for earlier changes.